/* CSS Reset & Variables */
:root {
    --color-ivory: #F8F8F4;
    --color-stone: #8D8D8D;
    --color-dark-grey: #2C2C2C;
    --color-sage: #9CAF88;
    --color-gold: #C5A059;
    --color-gold-hover: #D4B06A;
    --color-white: #FFFFFF;

    --font-serif: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;

    --transition-speed: 0.6s;
    --gap-standard: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-ivory);
    color: var(--color-dark-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Start slightly zoomed for parallax effect */
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

.hero-content {
    /* position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); - centered via flexbox on parent */
    text-align: center;
    z-index: 1;
    transform: translateY(0);
    /* For parallax scroll usually handled in JS, but static for now */
}


.top-banner {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.main-heading {
    font-size: 4rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-heading .small-text {
    font-size: 1.5rem;
    font-family: var(--font-sans);
    letter-spacing: 0.3em;
    font-weight: 300;
    margin-top: 1rem;
    color: var(--color-gold);
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    /* Removed transform: translateX(-50%) to avoid conflict with fade-in-up animation */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--color-white);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Sections General */
section {
    padding: 80px 0;
}

/* Intro Section */
.intro-section {
    background-color: var(--color-ivory);
    padding-top: 100px;
}

.tagline {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.description {
    font-size: 1.1rem;
    color: var(--color-stone);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.description p {
    margin-bottom: 1rem;
}

.launch-line {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark-grey);
}

/* Features Section */
.features-section {
    background-color: #EEEFED;
    /* Slightly darker shade for contrast */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-dark-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    /* Soft rounding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-dark-grey);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-stone);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-ivory);
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-stone);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Primary 3D Button */
.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 0 #A38243, 0 10px 10px rgba(0, 0, 0, 0.1);
    /* 3D effect */
    position: relative;
    top: 0;
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #A38243, 0 15px 20px rgba(0, 0, 0, 0.15);
    /* Lift effect */
}

.btn-primary:active {
    top: 4px;
    box-shadow: 0 0 0 #A38243, inset 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Pressed */
    transform: translateY(0);
}

/* Secondary Outlined Button */
.btn-secondary {
    background-color: transparent;
    color: var(--color-dark-grey);
    border: 2px solid var(--color-dark-grey);
}

.btn-secondary:hover {
    background-color: var(--color-dark-grey);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #222;
    color: #888;
    padding: 2rem 0;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.5rem;
    }

    .main-heading .small-text {
        font-size: 1rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-image {
        object-position: 60% center;
    }
}