:root {
    --primary-color: #1A3636;
    --secondary-color: #F5F5F0;
    --accent-color: #C87965;
    --text-dark: #2C2C2C;
    --text-light: #FAFAFA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 1.1rem;
    font-weight: 300;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.2;
}

p {
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

/* Typography specifics */
h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -1px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--text-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax */
    z-index: -2;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 54, 54, 0.4), rgba(26, 54, 54, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-md);
    z-index: 1;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    text-align: center;
    color: var(--secondary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.7);
    z-index: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(250, 250, 250, 0.7);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(250, 250, 250, 0.7);
    border-radius: 2px;
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Content Sections */
.content-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--secondary-color);
}

#intro .text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* Split Layout */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.split.reversed .split-text {
    order: 1;
}

.split.reversed .split-image {
    order: 2;
}

.split-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(26, 54, 54, 0.08);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-text {
    padding: 0 var(--spacing-md);
}

/* Full Width Image in Container */
.full-img-container {
    margin: var(--spacing-lg) 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.full-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
}

footer h3 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

footer p {
    text-align: center;
    margin-bottom: var(--spacing-xs);
    opacity: 0.8;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
    margin-top: var(--spacing-md);
}

#back-to-top {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: 1px solid rgba(245, 245, 240, 0.3);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    white-space: nowrap;
    width: max-content;
    padding: 0 1rem;
    border-radius: 25px;
}

#back-to-top:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* Animations Triggered by Classes */
.reveal-up, .reveal-left, .reveal-right, .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active, .reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .split.reversed .split-text {
        order: 2;
    }
    
    .split.reversed .split-image {
        order: 1;
    }

    .split-image img {
        aspect-ratio: 16/9;
    }
    
    .content-section {
        padding: var(--spacing-lg) 0;
    }
}
