/* ========================================
   Beacon St. - Style Guide
   Color Palette: Dark Academia / Autumnal
   ======================================== */

/* ----------------------------------------
   Background Styles (saved for reference)
   ----------------------------------------

   PINSTRIPE:
   background-color: var(--color-espresso);
   background-image:
       repeating-linear-gradient(
           90deg,
           transparent,
           transparent 100px,
           rgba(61, 35, 20, 0.3) 100px,
           rgba(61, 35, 20, 0.3) 102px,
           transparent 102px,
           transparent 180px
       ),
       radial-gradient(
           ellipse 120% 80% at 50% 50%,
           rgba(74, 44, 42, 0.15) 0%,
           transparent 60%
       ),
       linear-gradient(
           180deg,
           var(--color-espresso) 0%,
           #321C12 25%,
           var(--color-espresso) 50%,
           #2A1610 75%,
           var(--color-espresso) 100%
       );

   STUDY:
   background-color: #211610;
   background-image:
       radial-gradient(
           ellipse 100% 80% at 50% 50%,
           transparent 0%,
           transparent 50%,
           rgba(15, 8, 5, 0.25) 75%,
           rgba(15, 8, 5, 0.45) 100%
       ),
       radial-gradient(
           ellipse 70% 60% at 50% 50%,
           rgba(60, 40, 30, 0.12) 0%,
           transparent 60%
       );

   ---------------------------------------- */

:root {
    /* Primary Colors - Dark Woods & Leather */
    --color-espresso: #2C1810;
    --color-walnut: #3D2314;
    --color-mahogany: #4A2C2A;
    --color-cognac: #6B3A2E;

    /* Accent Colors - Autumn */
    --color-burnt-sienna: #8B4513;
    --color-rust: #A0522D;
    --color-amber: #C4956A;

    /* Neutrals */
    --color-parchment: #D4C8B8;
    --color-cream: #E8DFD4;
    --color-stone: #C9BBA8;
    --color-charcoal: #2D2926;

    /* Typography */
    --font-serif: 'Cormorant', Baskerville, 'Baskerville Old Face', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    background-color: #211610;
    background-image:
        /* Soft vignette edges */
        radial-gradient(
            ellipse 100% 80% at 50% 50%,
            transparent 0%,
            transparent 50%,
            rgba(15, 8, 5, 0.25) 75%,
            rgba(15, 8, 5, 0.45) 100%
        ),
        /* Subtle pinstripe wood grain */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 120px,
            rgba(61, 35, 20, 0.15) 120px,
            rgba(61, 35, 20, 0.15) 122px,
            transparent 122px,
            transparent 200px
        ),
        /* Warm center glow */
        radial-gradient(
            ellipse 70% 60% at 50% 50%,
            rgba(60, 40, 30, 0.12) 0%,
            transparent 60%
        );
    color: var(--color-parchment);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========================================
   Layout
   ======================================== */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md);
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
    padding: var(--space-sm) 0;
}

.nav {
    display: flex;
    justify-content: flex-end;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-amber);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-parchment);
}

/* ========================================
   Main Content
   ======================================== */

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 0; 
}

.brand-container {
    text-align: center;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 12vw, 7rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-parchment);
    line-height: 1;
    text-decoration: underline;
    text-decoration-color: var(--color-amber);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
    white-space: nowrap;
}

/* ========================================
   About Page
   ======================================== */

.main-content--about {
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-md) 0;
}

.about-content {
    max-width: 600px;
    width: 100%;
}

.about-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-parchment);
}

.about-text p {
    margin-bottom: 1.5em;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-text {
        font-size: 0.9rem;
    }
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    padding: var(--space-md) 0 var(--space-sm);
    text-align: center;
}

.footer-text {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-amber);
    opacity: 0.6;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .page-wrapper {
        padding: var(--space-sm);
    }

    .brand-name {
        letter-spacing: 0.05em;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.8rem;
    }
}

/* ========================================
   Subtle Animations
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
    .brand-name {
        animation: fadeIn 2.5s ease-out;
    }

    /* Delayed nav fade only on home page */
    .nav-link {
        animation: fadeIn 1.5s ease-out 2.5s both;
    }

    /* About page - no delay on nav */
    .page--about .nav-link {
        animation: fadeIn 0.8s ease-out;
    }

    .page--about .about-text {
        animation: fadeIn 1s ease-out 0.3s both;
    }
}

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

