:root {
    --bg-color: #0a0a0a;
    --text-color: #f0f0f0;
    --accent-color: #d4af37;
    /* Gold */
    --accent-hover: #b5952f;
    --secondary-bg: #111;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    /* Subtle Texture */
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
    background-attachment: fixed;
}

body.no-scroll {
    overflow: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Navigation - Glassmorphism */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.98);
    /* Almost solid black */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    /* Pure White */
    font-size: 0.95rem;
    /* Slightly larger */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* Better contrast */
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-book {
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1.5rem;
    color: var(--accent-color) !important;
}

.btn-book:hover {
    background: var(--accent-color);
    color: #000 !important;
}

/* Legal Page Styles */
.legal-header {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 80px;
    /* Offset fixed nav */
}

.legal-header h1 {
    font-size: 3rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.legal-content h2 {
    color: var(--accent-color);
    font-family: var(--font-heading);
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax Effect */
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    /* Hidden initially for JS animation */
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 1rem 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--accent-color);
    color: #000;
}

/* Sections General */
.section {
    padding: 6rem 5%;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

h2.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

/* About Overlay Style */
.about-section {
    background-color: var(--secondary-bg);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    max-width: 700px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #aaa;
    font-size: 1.1rem;
}

/* Masonry Gallery */
.gallery-section {
    background-color: transparent;
    /* Use body texture */
}

.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    transition: opacity 1s;
}

.filters.visible {
    opacity: 1;
}

.filter-btn {
    background: none;
    border: none;
    color: #666;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--accent-color);
}

.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    background-color: #222;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
    opacity: 0.8;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Booking Form */
.contact-section {
    background: url('https://images.unsplash.com/photo-1554048612-387768052bf7?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax */
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.9);
    padding: 3rem;
    border: 1px solid #333;
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s ease-out;
}

.contact-container.visible {
    opacity: 1;
    transform: scale(1);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #fff;
}

/* Footer */
footer {
    background: #000;
    color: #555;
    text-align: center;
    padding: 3rem;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* General Animation Classes (Utility) */
[data-animate="fade-up"] {
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        column-count: 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    nav {
        background: rgba(10, 10, 10, 0.95);
    }

    .nav-links {
        display: none;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-color);
    letter-spacing: 5px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

body.loaded #preloader {
    opacity: 0;
    pointer-events: none;
}


/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 2rem;
    border: 1px solid #333;
    border-left: 3px solid var(--accent-color);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.review {
    font-size: 1.1rem;
    font-style: italic;
    color: #ddd;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author {
    color: var(--accent-color);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Footer Links */
.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.separator {
    color: #333;
    margin: 0 10px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: -100px;
    /* Hidden initially */
    left: 0;
    width: 100%;
    background: #111;
    border-top: 1px solid #333;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    transition: bottom 0.5s ease-out;
}

#cookie-banner.active {
    bottom: 0;
}

#cookie-banner p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

#accept-cookies {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#accept-cookies:hover {
    background: #fff;
}

/* Cursor Spotlight */
#cursor-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(212, 175, 55, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    mix-blend-mode: screen;
}

body:hover #cursor-spotlight {
    opacity: 1;
}

/* Nav Book Button */
.nav-book-btn {
    background: var(--accent-color);
    color: #000 !important;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
}

.nav-book-btn:hover {
    background: transparent;
    color: var(--accent-color) !important;
}

/* Stats Section */
.stats-section {
    padding: 4rem 5%;
    background: #080808;
    border-bottom: 1px solid #222;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    background: #0f0f0f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
    width: 100%;
    /* Ensure full width */
}

.service-card {
    background: #151515;
    padding: 3rem 2rem;
    border: 1px solid #222;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    height: 100%;
    /* Equal height */
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: #fff !important;
    /* Force White */
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-card p {
    color: #aaa !important;
    /* Force Gray */
    line-height: 1.6;
}

/* Process Section */
.process-section {
    background: #0a0a0a;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding: 2rem;
    border-left: 1px solid #333;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: #1a1a1a;
    position: absolute;
    top: 0;
    left: 2rem;
    z-index: 0;
}

.process-step h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.process-step p {
    position: relative;
    z-index: 1;
    color: #888;
}