/* =============================================
   CSS Reset and Base Styles
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-bg: #c5c9b8;
    --secondary-bg: #b8bcab;
    --card-bg: #f5f5f0;
    --dark-bg: #2d3a2d;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --accent-olive: #9a9a7c;
    --border-color: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --header-height: 80px;
    --container-padding: 40px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   Header Styles
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--container-padding);
    background: transparent;
}

.logo a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-dark);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.logo a:hover {
    opacity: 0.7;
}

.logo-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: contrast(1.1);
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.menu-btn:hover {
    opacity: 0.7;
}

.menu-btn span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 28px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    width: 100%;
}

.hamburger span:last-child {
    width: 100%;
}

/* =============================================
   Hero Section Styles
   ============================================= */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding: var(--header-height) var(--container-padding) 40px;
    gap: 20px;
    align-items: center;
    position: relative;

    /* Full-width background */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Blended overlay for seamless background integration */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Left side fade for text readability */
        linear-gradient(90deg,
            rgba(197, 201, 184, 0.9) 0%,
            rgba(197, 201, 184, 0.7) 25%,
            rgba(197, 201, 184, 0.3) 45%,
            transparent 65%),
        /* Top subtle fade */
        linear-gradient(180deg,
            rgba(197, 201, 184, 0.4) 0%,
            transparent 30%),
        /* Bottom subtle fade */
        linear-gradient(0deg,
            rgba(197, 201, 184, 0.3) 0%,
            transparent 20%);
    z-index: 1;
    pointer-events: none;
}

/* Left Content */
.hero-left {
    position: relative;
    padding-top: 60px;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    background: #1a2a1a;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translate(3px, -3px);
}

/* CTA Wrapper and Contact Popup */
.cta-wrapper {
    position: relative;
    display: inline-block;
}

.cta-button {
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.contact-popup {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 15px;
    display: flex;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.popup-icon svg {
    width: 24px;
    height: 24px;
}

.whatsapp-icon {
    background: #25D366;
    color: white;
}

.whatsapp-icon:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.email-icon {
    background: var(--dark-bg);
    color: white;
}

.email-icon:hover {
    background: #1a2a1a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Decorative Lines */
.decorative-lines {
    position: absolute;
    bottom: -100px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.line {
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0 6px 6px 0;
    backdrop-filter: blur(10px);
}

.line-1 {
    width: 180px;
}

.line-2 {
    width: 140px;
}

.line-3 {
    width: 200px;
}

.line-4 {
    width: 160px;
}

/* Removed: Center Building styles (now using background image) */

/* Right Content */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding-top: 60px;
    z-index: 10;
}

/* Info Card */
.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px 30px;
    max-width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.architect-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.profile-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.profile-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Pixel Pattern */
.pixel-pattern {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 150px;
    height: 100px;
    opacity: 0.8;
}

.pattern-svg {
    width: 100%;
    height: 100%;
}

/* Card Content */
.card-content {
    margin-top: 30px;
}

.card-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Experts Button */
.experts-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 18px 25px;
    border-radius: 12px;
    min-width: 220px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.experts-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    background: #1a2a1a;
}

.experts-button span {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
}

.experts-button svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.experts-button:hover svg {
    transform: translate(3px, -3px);
}

/* =============================================
   Menu Overlay
   ============================================= */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 58, 45, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav a:hover::after {
    width: 100%;
}

.mobile-nav a:hover {
    opacity: 0.8;
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 100px;
        gap: 30px;
    }

    .hero-left {
        padding-top: 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .cta-button {
        margin: 0 auto;
    }

    .decorative-lines {
        display: none;
    }

    .hero-right {
        align-items: center;
        padding-top: 20px;
    }

    .info-card {
        max-width: 100%;
    }

    .experts-button {
        width: 100%;
        max-width: 320px;
    }

    .mobile-nav a {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 20px;
    }

    .logo a {
        font-size: 0.75rem;
    }

    .menu-btn span {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .info-card {
        padding: 20px;
    }

    .card-content h2 {
        font-size: 1.25rem;
    }
}

/* =============================================
   Animations and Effects
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.info-card {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.experts-button {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Removed: building-image animation (now using background) */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-olive);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dark);
}