/* CSS Custom Properties */
:root {
    --color-charcoal: #1a1a1a;
    --color-off-white: #f5f5f0;
    --color-forest-deep: #1e3a2f;
    --color-forest-medium: #2d4f3f;
    --color-gold: #b8975c;
    --color-gold-muted: #9a7f4e;
    --color-amber: #c9a962;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-smooth: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-off-white);
    background-color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.15) 0%,
        rgba(30, 58, 47, 0.2) 50%,
        rgba(26, 26, 26, 0.5) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
    color: var(--color-off-white);
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.15em;
    color: var(--color-off-white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-gold-muted);
    border-bottom: 2px solid var(--color-gold-muted);
    transform: rotate(45deg);
    opacity: 0.6;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--color-charcoal);
}

.about-quote {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-off-white);
    opacity: 0.9;
}

.about-quote::before,
.about-quote::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold-muted), transparent);
    margin: 2rem auto;
}

/* Links Section */
.links {
    padding: 6rem 0 8rem;
    background: linear-gradient(to bottom, var(--color-charcoal), var(--color-forest-deep));
}

.links-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    color: var(--color-off-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    border: 1px solid rgba(184, 151, 92, 0.3);
    border-radius: 2px;
    transition: all var(--transition-smooth);
    min-width: 220px;
    justify-content: center;
}

.link-item:hover {
    background-color: rgba(184, 151, 92, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.link-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity var(--transition-smooth);
}

.link-item:hover .link-icon {
    opacity: 1;
}

.link-icon svg {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: var(--color-forest-deep);
    text-align: center;
}

.footer p {
    font-size: 0.85rem;
    color: var(--color-off-white);
    opacity: 0.5;
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Disable parallax on mobile for performance */
    .hero::before {
        background-attachment: scroll;
    }

    .hero-title {
        letter-spacing: 0.2em;
    }

    .hero-tagline {
        padding: 0 1rem;
    }

    .about {
        padding: 5rem 0;
    }

    .links {
        padding: 4rem 0 6rem;
    }

    .link-item {
        min-width: 200px;
        padding: 0.9rem 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        letter-spacing: 0.15em;
    }

    .about-quote p {
        line-height: 1.8;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero::before {
        background-attachment: scroll;
    }

    .hero-content {
        animation: none;
    }

    .scroll-indicator {
        animation: none;
    }

    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
