:root {
    --bg-color: #3d2f28;
    /* Warm dark mocha fallback */
    --bg-gradient: linear-gradient(135deg, #3d2f28, #5a4a40, #6b5a4e);
    --text-color: #faf6f2;
    --accent-color: #c4a882;
    /* Warm tan/camel */
    --accent-secondary: #e0d0bc;
    /* Light cream */
    --secondary-bg: rgba(196, 168, 130, 0.12);
    --glass-bg: rgba(250, 246, 242, 0.08);
    --glass-border: rgba(224, 208, 188, 0.3);
    --font-heading: 'Cinzel Decorative', cursive;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    /* Keep gradient fixed on scroll */
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 246, 242, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    /* Bigger */
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg,
            transparent 0%,
            transparent 70%,
            #3d2f28 100%),
        radial-gradient(circle at center, #5a4a40 0%, #2a201a 100%);
    z-index: -1;
}

/* We will add a background image dynamically or via CSS if available */

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #aaa;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 5%;
    padding-top: 6rem;
    padding-bottom: 8rem;
    background: linear-gradient(180deg,
            #3d2f28 0%,
            #4a3a30 10%,
            #5a4a40 30%,
            #6b5a4e 50%,
            #8a7868 70%,
            #a89080 85%,
            #c4b0a0 95%,
            #e0d6c8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--accent-color);
    font-style: italic;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    /* Increased gap for cards */
}

.gallery-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 3/4;
    /* Portrait orientation for art */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--accent-color);
}

/* SOLD Badge */
.sold-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.sold-badge::after {
    content: attr(data-label);
    background: rgba(196, 168, 130, 0.85);
    /* Accent color with transparency */
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0.5rem 100%;
    transform: rotate(45deg);
    /* Bottom-left to top-right diagonal */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    white-space: nowrap;
}

.gallery-info {
    text-align: center;
}

.gallery-title {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 0.3rem;
}

.gallery-desc {
    font-size: 0.95rem;
    color: #000;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg,
            #e0d6c8 0%,
            #ebe3d8 20%,
            #f5ede4 50%,
            #ebe3d8 80%,
            #e0d6c8 100%);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #6b5a4e;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a4a40;
}

/* Contact Section */
.contact-section {
    padding: 5rem 5% 2rem;
    padding-top: 4rem;
    text-align: center;
    background: linear-gradient(180deg,
            #e0d6c8 0%,
            #ebe3d8 30%,
            #f5ede4 100%);
}

.contact-content {
    margin-bottom: 4rem;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6b5a4e;
}

.contact-link {
    font-size: 1.5rem;
    color: var(--accent-color);
    display: block;
    margin: 2rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: #5a4a40;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c4a882;
}

.contact-content p {
    color: #5a4a40;
}

footer {
    border-top: 1px solid rgba(107, 90, 78, 0.2);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #6b5a4e;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Pure black background as requested */
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-img {
    max-width: 90%;
    max-height: 70vh;
    /* Reduced to give space for caption on mobile */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
    max-width: 800px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black for contrast */
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lightbox-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lightbox-caption p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2001;
}

.close-lightbox:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu to be implemented if needed */
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox-img {
        max-height: 60vh;
    }

    .lightbox-caption {
        width: 100%;
        margin-top: 1rem;
    }

    .lightbox-caption h3 {
        font-size: 1.4rem;
    }

    .lightbox-caption p {
        font-size: 0.95rem;
    }

    .close-lightbox {
        top: 1rem;
        right: 1.5rem;
        font-size: 2.5rem;
    }
}