:root {
    --bg-main: #dfe2e5; /* Very Light Nardo Gray */
    --bg-light: #cfd3d6; /* Slightly darker grey tint */
    --text-main: #0a0a0a; /* Dark text for contrast */
    --text-muted: #3a3a3a;
    --accent: #0a0a0a;
    --border-color: #aeb4b8; /* Lighter border */
    
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Archivo Black', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 {
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
}

h2.section-title.left-align {
    text-align: left;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

.section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-main);
    color: var(--bg-main);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
}

.btn-primary:hover {
    opacity: 0.8;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    background-color: var(--bg-main);
    transition: var(--transition);
}

nav.scrolled {
    background-color: var(--bg-main);
    padding: 0.4rem 0;
    box-shadow: 0 1px 0 var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.logo .dud {
    opacity: 0.4;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

.btn-book-nav {
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
    opacity: 1 !important;
}

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

.hamburger span {
    width: 25px;
    height: 1px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero-wrapper {
    height: 180vh; /* Provide scroll depth */
    position: relative;
    background-color: var(--bg-main);
}

.hero-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: var(--bg-main);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/metro.avif');
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform, border-radius;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(223, 226, 229, 0.6); /* Nardo grey overlay */
    opacity: 0;
    z-index: 0;
    transition: opacity 0.6s ease-out;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
    max-width: 900px;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Section */
.gallery-grid {
    column-count: 1;
    column-gap: 1.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        column-count: 3;
    }
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: var(--bg-light); /* Placeholder background */
    will-change: transform, opacity; /* Hardware acceleration */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-heading);
}

/* Services Section */
.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    padding: 3rem 0;
    text-align: center;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    max-width: 600px;
    margin-inline: auto;
}

.service-price {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
}

.service-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    width: 100px;
    margin: 0 auto;
}

/* Information Section */
.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

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

.info-image-wrapper {
    width: 100%;
    height: 100%;
}

.info-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    margin-top: 4rem;
}

.faq-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Booking Section */
.book-container {
    max-width: 700px;
}

.book-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition);
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-main);
}

/* Footer */
footer {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.social-links a {
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--text-muted);
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: fadeIn 0.4s;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-main);
    font-size: 40px;
    font-weight: 300;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover {
    opacity: 0.5;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Responsive */
@media (max-width: 992px) {
    .info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-section {
        padding-top: 8rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}
