/**
 * Nest Bakirkoy - Main Stylesheet
 */

:root {
    --nest-green: #2D8F6F;
    --nest-green-dark: #1E6B52;
    --nest-green-light: #3AAF8A;
    --gold: #C9A962;
    --gold-light: #E8D5A3;
    --charcoal: #1A1D21;
    --charcoal-light: #252A30;
    --slate: #2D3339;
    --cream: #F5F3EE;
    --white: #FFFFFF;
    --text-muted: #9BA3AD;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--charcoal);
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

.display-font {
    font-family: 'Cormorant Garamond', serif;
}

/* Language Selector - Inside Navbar */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    gap: 0.3rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--nest-green);
    border-color: var(--nest-green);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

nav.scrolled {
    background: rgba(26, 29, 33, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 4rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-nest {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--nest-green);
    letter-spacing: -1px;
}

.logo-bakirkoy {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 400;
    margin-left: 0.3rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--nest-green), var(--nest-green-dark));
    color: var(--white);
    padding: 0.9rem 2rem;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 143, 111, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(45, 143, 111, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 8rem 6rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(45, 143, 111, 0.15);
    border: 1px solid rgba(45, 143, 111, 0.3);
    padding: 0.6rem 1.2rem;
    margin-bottom: 2rem;
    width: fit-content;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nest-green-light);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--nest-green);
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
}

.hero-image-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #E8A838, #C9942A);
    color: var(--charcoal);
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Citizenship Banner */
.citizenship-banner {
    background: linear-gradient(135deg, var(--gold), #B8923A);
    color: var(--charcoal);
    padding: 1.5rem 4rem;
    text-align: center;
}

.citizenship-banner p {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.citizenship-banner a {
    color: var(--charcoal);
    text-decoration: underline;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--nest-green);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
}

/* About Section */
.about {
    padding: 10rem 6rem;
    background: var(--charcoal-light);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-text p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    float: left;
    line-height: 1;
    padding-right: 1rem;
    color: var(--gold);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.feature:hover {
    background: rgba(45, 143, 111, 0.08);
    border-color: rgba(45, 143, 111, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nest-green), var(--nest-green-dark));
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

.feature h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Investment Section */
.investment {
    padding: 8rem 6rem;
    background: var(--charcoal);
    position: relative;
}

.investment-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.investment-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.investment-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.investment-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.investment-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery {
    padding: 10rem 6rem;
    background: var(--charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 29, 33, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

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

.gallery-overlay span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

/* Location Section */
.location {
    padding: 10rem 6rem;
    background: var(--charcoal-light);
    position: relative;
    overflow: hidden;
}

.location::before {
    content: 'BAKIRKOY';
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.location-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.location-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 143, 111, 0.15);
    border: 1px solid rgba(45, 143, 111, 0.3);
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--nest-green);
    fill: none;
    stroke-width: 2;
}

.highlight-text {
    font-size: 0.95rem;
}

.location-map {
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 500px;
    background: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, var(--charcoal) 25%, transparent 25%),
        linear-gradient(-45deg, var(--charcoal) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--charcoal) 75%),
        linear-gradient(-45deg, transparent 75%, var(--charcoal) 75%);
    background-size: 20px 20px;
    opacity: 0.1;
}

.map-pin {
    position: relative;
    z-index: 1;
    text-align: center;
}

.map-pin svg {
    width: 60px;
    height: 60px;
    fill: var(--nest-green);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.map-address {
    margin-top: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
}

/* Timeline Section */
.timeline {
    padding: 10rem 6rem;
    background: var(--charcoal);
}

.timeline-content {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(even) .timeline-left {
    order: 3;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-right {
    order: 1;
    text-align: right;
}

.timeline-left {
    text-align: right;
}

.timeline-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
}

.timeline-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--nest-green);
    border-radius: 50%;
    position: relative;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--nest-green);
    border-radius: 50%;
    opacity: 0.5;
}

.timeline-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--nest-green), transparent);
}

.timeline-right h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-right p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 10rem 6rem;
    background: linear-gradient(135deg, var(--nest-green-dark) 0%, var(--charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(201, 169, 98, 0.1), transparent);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
}

.contact-text span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.3rem;
}

.contact-text a,
.contact-text p {
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--gold);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background: var(--charcoal);
    color: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--gold), #B8923A);
    border: none;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
footer {
    padding: 4rem 6rem;
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--nest-green);
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--gold);
    text-decoration: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--nest-green);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-menu-btn.active svg path {
    stroke: var(--gold);
}

/* Mobile Menu Open State */
body.menu-open {
    overflow: hidden;
}

/* Mobile Language Selector - Hidden on desktop */
.mobile-lang-selector {
    display: none;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 29, 33, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Show mobile language selector */
    .mobile-lang-selector {
        display: flex;
        gap: 0.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-lang-selector .lang-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Hide desktop language selector on mobile */
    .nav-right {
        display: none;
    }
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.form-message.success {
    background: rgba(45, 143, 111, 0.2);
    border: 1px solid var(--nest-green);
    color: var(--nest-green-light);
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff6666;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 8rem 4rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

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

}

@media (max-width: 992px) {
    nav {
        padding: 1rem 2rem;
    }

    .hero-content,
    .about,
    .gallery,
    .location,
    .timeline,
    .contact,
    .investment {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .about-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-image img {
        height: 400px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .gallery-item.featured {
        grid-column: span 1;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left !important;
    }

    .timeline-left,
    .timeline-right {
        text-align: left !important;
    }

    .timeline-center {
        display: none;
    }

    footer {
        padding: 3rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-tagline {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 0.5rem;
        display: block;
    }

    .citizenship-banner {
        padding: 1.5rem 2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* ===================================
   Chat Widget
   =================================== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nest-green), var(--nest-green-dark));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(45, 143, 111, 0.4);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(45, 143, 111, 0.5);
}

.chat-toggle svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: all 0.3s ease;
}

.chat-toggle .chat-close-icon {
    display: none;
}

.chat-widget.open .chat-toggle .chat-icon {
    display: none;
}

.chat-widget.open .chat-toggle .chat-close-icon {
    display: block;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--charcoal);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, var(--nest-green), var(--nest-green-dark));
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.chat-header-text {
    display: flex;
    flex-direction: column;
}

.chat-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

.chat-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-minimize {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-minimize svg {
    width: 18px;
    height: 18px;
    color: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--charcoal-light);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chat-message {
    max-width: 85%;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.bot {
    align-self: flex-start;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.user .message-content {
    background: var(--nest-green);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-content {
    background: var(--slate);
    color: var(--cream);
    border-bottom-left-radius: 4px;
}

.chat-message.typing .message-content {
    display: flex;
    gap: 4px;
    padding: 1rem 1.25rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.chat-input-container {
    padding: 1rem;
    background: var(--charcoal);
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
    flex: 1;
    background: var(--charcoal-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    color: var(--cream);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-input:focus {
    border-color: var(--nest-green);
}

.chat-send {
    width: 44px;
    height: 44px;
    background: var(--nest-green);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send:hover {
    background: var(--nest-green-dark);
    transform: scale(1.05);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-send svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* Chat Widget Mobile */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-toggle {
        width: 56px;
        height: 56px;
    }

    .chat-window {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .chat-widget.open .chat-toggle {
        display: none;
    }
}
