/* ==========================================================================
   Base Styles & Variables (Elyse Residence Style)
   ========================================================================== */
   :root {
    /* Colors - Luxury Dark Theme / Elyse Style */
    --clr-bg: #EAE6DF; /* Soft beige/stone background */
    --clr-bg-dark: #1C1C1A; /* Deep slate */
    --clr-text: #2A2A28; /* Dark ink */
    --clr-text-light: #F4F1EC;
    --clr-accent: #B89C72; /* Muted Gold/Bronze */
    --clr-accent-hover: #9E835A;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Jost', sans-serif;
    
    /* Spacing & Layout */
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 10rem;
    --container-w: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--space-xl) 0;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(234, 230, 223, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo .accent {
    color: var(--clr-accent);
}

.navbar.scrolled .logo, .navbar.scrolled .lang-btn {
    color: var(--clr-text);
}

.lang-switch {
    display: flex;
    gap: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-light); /* Initially on dark hero */
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.navbar.scrolled .lang-btn {
    color: var(--clr-text);
}

.lang-btn:hover, .lang-btn.active {
    opacity: 1;
    color: var(--clr-accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--clr-text-light);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using an upscale abstract luxury architecture background */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    z-index: -1;
    transform: scale(1.05); /* For entry animation */
    animation: zoomOut 10s ease-out forwards;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 10;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--clr-accent);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--clr-accent);
    color: var(--clr-text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--clr-accent);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1px solid var(--clr-text-light);
    border-radius: 20px;
    display: block;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 6px;
    background: var(--clr-text-light);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    animation: scroll 2s infinite;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-md);
    color: var(--clr-text);
}

.section-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 1px solid rgba(0,0,0,0.1);
    padding-left: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--clr-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.dark-bg {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
}

.dark-bg .section-heading {
    color: var(--clr-text-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: var(--space-lg);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.project-card {
    cursor: pointer;
}

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1.5rem;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--clr-accent);
    color: var(--clr-text-light);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.project-loc {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-accent);
    position: relative;
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--clr-accent);
    transition: var(--transition-smooth);
}

.project-card:hover .link-arrow::after {
    width: 100%;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--clr-bg);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%; /* Circle icons look more modern */
    color: var(--clr-text);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-text-light);
    border-color: var(--clr-accent);
    transform: translateY(-5px);
}

.fb-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.fb-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.fb-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #1877F2; /* FB Blue */
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0.6;
}

.partners-logo-grid span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--clr-text);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ccc;
}

.testimonial-card .author {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--clr-accent);
}

/* ==========================================================================
   Consultant Section
   ========================================================================== */
.consultant {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    text-align: center;
}

.consultant-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border: 1px solid rgba(184, 156, 114, 0.3); /* Accent color border */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
}

.consultant-info h2 {
    color: var(--clr-accent);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.consultant-info .name {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.consultant-info .title {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-light);
    opacity: 0.8;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes zoomOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-left: 0;
        padding-top: 2rem;
        flex-direction: row;
        justify-content: space-between;
    }
    .social-btn {
        width: 100px;
    }
}
