/* ===================================
   Stellar Crest — Brand Stylesheet
   =================================== */

/* 1. Custom Properties */
:root {
    --sc-navy:         #1B2A4A;
    --sc-hunter-green: #2C4A3E;
    --sc-gold:         #B8965A;
    --sc-gold-light:   #D4B87A;
    --sc-cream:        #FAF6EF;
    --sc-ivory:        #F0EBE0;
    --sc-parchment:    #E8E0D0;
    --sc-espresso:     #2A1F18;
    --sc-charcoal:     #3D3830;
    --sc-white:        #FEFDFB;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Cormorant Garamond', Garamond, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--sc-espresso);
    background-color: var(--sc-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. Typography Base */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 4. Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 246, 239, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--sc-parchment);
}

.nav-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wordmark {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sc-navy);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sc-navy);
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--sc-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* 5. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--sc-cream);
    background-image:
        radial-gradient(ellipse at 25% 20%, rgba(184, 150, 90, 0.045), transparent 60%),
        radial-gradient(ellipse at 75% 80%, rgba(27, 42, 74, 0.025), transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(232, 224, 208, 0.3), transparent 80%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: heroFadeIn 1.2s ease-out both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-ornament {
    width: 48px;
    height: 1px;
    background-color: var(--sc-gold);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sc-navy);
}

.hero-separator {
    width: 28px;
    height: 1px;
    background-color: var(--sc-gold);
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    color: var(--sc-charcoal);
}

/* 6. Products Section */
.products {
    background-color: var(--sc-ivory);
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid var(--sc-parchment);
    border-bottom: 1px solid var(--sc-parchment);
}

.products-inner {
    max-width: 600px;
    margin-inline: auto;
}

.products-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sc-gold);
    margin-bottom: 2rem;
}

.products-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: var(--sc-navy);
    margin-bottom: 1.25rem;
}

.products-description {
    font-size: 1.3125rem;
    color: var(--sc-espresso);
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-inline: auto;
}

.products-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sc-navy);
    border: 1px solid var(--sc-navy);
    padding: 1rem 3rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.products-cta:hover {
    background-color: var(--sc-navy);
    color: var(--sc-cream);
}

/* 7. Footer */
.footer {
    background-color: var(--sc-navy);
    padding: 3.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(184, 150, 90, 0.25);
}

.footer-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(250, 246, 239, 0.8);
}

.footer-accent {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.06em;
    color: var(--sc-gold-light);
    opacity: 0.85;
    margin-top: 0.75rem;
}

/* 8. Responsive */
@media (max-width: 768px) {
    .nav-inner {
        padding: 1rem 1.25rem;
    }

    .nav-wordmark {
        font-size: 0.8125rem;
        letter-spacing: 0.14em;
    }

    .hero {
        padding: 5rem 1.5rem;
    }

    .products {
        padding: 4.5rem 1.5rem;
    }

    .footer {
        padding: 2.5rem 1.5rem;
    }
}
