:root {
    --primary-bg: #F9F7F4;
    --secondary-bg: #F1EFE9;
    --accent-gold: #BC9F77;
    --deep-teal: #1E2D2F;
    --luxury-white: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #555555;

    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Inter', sans-serif;

    --transition-ultra: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
body {
    font-family: var(--sans-font);
    background-color: var(--primary-bg);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Texture Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grain-y.com/noise.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* Simplified Elegant Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-ultra);
}

nav.scrolled {
    padding: 1.2rem 5%;
    background: rgba(249, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.logo {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--deep-teal);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    transition: color 0.4s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Cinematic Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    scale: 1.1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: contrast(1.1);
}

.hero-content {
    overflow: hidden;
}

.hero-content h1 {
    font-family: var(--serif-font);
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.85;
    color: var(--deep-teal);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
}

.hero-content .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

/* Big Button Styling */
.reveal-btn {
    padding: 1.5rem 4rem;
    background: var(--deep-teal);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.reveal-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-5px) scale(1.02);
}

/* Horizontal Scroll Section Style */
.horizontal-scroll-container {
    display: flex;
    width: 400vw;
    height: 100vh;
    align-items: center;
}

.horizontal-item {
    width: 100vw;
    height: 100vh;
    padding: 10% 8%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Section Background Title */
.section-title-bg {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-family: var(--serif-font);
    font-size: 15vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(30, 45, 47, 0.05);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

/* Horizontal Progress */
.horizontal-progress {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(30, 45, 47, 0.1);
    z-index: 10;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.1s linear;
}

/* Modern Services Card */
.service-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    position: relative;
    z-index: 1;
}

.slide-info {
    position: relative;
}

.slide-number {
    font-family: var(--sans-font);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent-gold);
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
}

.slide-line {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin-bottom: 2rem;
}

.slide-info h2 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 2.5rem;
    color: var(--deep-teal);
    font-family: var(--serif-font);
    letter-spacing: -0.02em;
}

.slide-info ul {
    list-style: none;
    margin-top: 3rem;
}

.slide-info li {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    padding-left: 2.5rem;
    position: relative;
    font-weight: 400;
}

.slide-info li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 15px;
    height: 1px;
    background: var(--accent-gold);
}

.slide-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 650px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.15);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(30, 45, 47, 0.2));
    pointer-events: none;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-image:hover img {
    transform: scale(1.08);
}

/* Custom Cursor */
.cursor {
    width: 15px;
    height: 15px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: difference;
}

.cursor-text {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--deep-teal);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
}

.cursor.active {
    width: 80px;
    height: 80px;
    background: var(--luxury-white);
    mix-blend-mode: normal;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cursor.active .cursor-text {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Editorial Layout */
@media (max-width: 1024px) {
    .horizontal-scroll-container {
        height: auto;
        flex-direction: column;
        width: 100vw;
    }

    .horizontal-item {
        height: auto;
        padding: 5rem 5%;
    }

    .service-slide {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .slide-info h2 {
        font-size: 3.5rem;
    }

    .slide-image {
        height: 500px;
        order: -1;
        /* Image on top for mobile */
    }

    .section-title-bg {
        font-size: 25vw;
        top: 10%;
    }
}