/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4a574;
    --secondary-color: #8b7355;
    --accent-color: #c9a877;
    --dark-color: #2c2c2c;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #4caf50;
    --error-color: #f44336;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ==================== Navigation ==================== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    flex: 1;
}

.logo h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 0;
}

.logo .tagline {
    font-size: 12px;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 2;
    justify-content: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* ==================== Hero Section ==================== */
.hero {
    background:
        linear-gradient(135deg, rgba(139, 115, 85, 0.82) 0%, rgba(212, 165, 116, 0.78) 100%),
        url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?w=1920&h=1080&fit=crop') center/cover no-repeat fixed;
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* ==================== Portfolio Section ==================== */
.portfolio {
    padding: 80px 20px;
    background-color: white;
}

.portfolio .container {
    text-align: center;
}

.portfolio h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 50px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e8dcc8 0%, #d4c5b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder svg {
    width: 100%;
    height: 100%;
}

.gallery-item h3 {
    padding: 20px 20px 10px;
    color: var(--secondary-color);
    font-size: 20px;
}

.gallery-item p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 14px;
}

/* ==================== Services Section ==================== */
.services {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.services .container {
    text-align: center;
}

.services h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* ==================== Pricing Section ==================== */
.pricing {
    padding: 80px 20px;
    background-color: white;
}

.pricing .container {
    text-align: center;
}

.pricing h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.2);
}

.pricing-card h3 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background-color: var(--secondary-color);
}

.pricing-note {
    color: #999;
    font-size: 14px;
    font-style: italic;
}

/* ==================== Contact Section ==================== */
.contact {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.contact .container {
    text-align: center;
}

.contact h2 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 8px;
}

.info-item p {
    color: #666;
}

.info-item a {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(212, 165, 116, 0.3);
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.form-note {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

.form-success {
    display: none;
    background-color: var(--success-color);
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-error {
    display: none;
    background-color: var(--error-color);
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ==================== Footer ==================== */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #ddd;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ddd;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ddd;
    font-size: 14px;
}

/* ==================== Stats Section ==================== */
.stats {
    background: var(--secondary-color);
    padding: 60px 20px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number-wrap {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number {
    display: inline-block;
}

.stat-suffix {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0;
}

/* ==================== Gallery Image & Overlay ==================== */
.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 115, 85, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.gallery-overlay span {
    color: white;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    text-transform: uppercase;
    border: 2px solid white;
    padding: 10px 24px;
    border-radius: 30px;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(139, 115, 85, 0.6);
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Maps Link ==================== */
.maps-link {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 5px;
}

.maps-link:hover {
    background: var(--secondary-color);
    color: white !important;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .portfolio h2,
    .services h2,
    .pricing h2,
    .contact h2 {
        font-size: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-grid {
        gap: 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number-wrap {
        font-size: 40px;
    }

    .nav-menu {
        gap: 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 22px;
    }

    .logo .tagline {
        font-size: 10px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .portfolio h2,
    .services h2,
    .pricing h2,
    .contact h2 {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .service-icon {
        font-size: 36px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .pricing-card h3 {
        font-size: 20px;
    }

    .pricing-card .price {
        font-size: 24px;
    }
}
