:root {
    --primary-color: #d4af37; /* Gold */
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-color: #050505;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    /* The height determines how long the scroll experience lasts */
    height: 2000vh;
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
}

.navbar .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.navbar .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Canvas Container */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #000;
}

canvas {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.75; /* Slightly more dimming for better text contrast */
    transition: opacity 0.5s ease;
}

/* Content Overlay */
.content-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let scroll events pass through */
}

.section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    opacity: 1;
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: auto; /* Re-enable pointer for buttons if needed */
}

.section.top-section {
    top: 35%; /* move the initial text up */
}

.section.hidden {
    opacity: 0;
    transform: translate(-50%, -40%);
    pointer-events: none;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

p {
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, transparent 100%);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Button */
.book-now {
    margin-top: 30px;
    padding: 15px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.book-now:hover {
    background: var(--primary-color);
    color: #000;
}
