/* ==========================================================================
   Utility Jude — WW2 Home Front Displays
   Warm, vintage 1940s aesthetic
   ========================================================================== */

/* --- Reset & Base --- */

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

:root {
    --cream:       #F5F0E8;
    --khaki:       #C2B280;
    --olive:       #5C5C3D;
    --brown:       #5C4033;
    --dark-brown:  #3B2A1F;
    --warm-white:  #FAF8F3;
    --muted-red:   #8B3A3A;
    --gold:        #B8960C;
    --text:        #3B2A1F;
    --text-light:  #6B5B4F;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Baskerville', 'Georgia', serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.7;
    font-size: 18px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    font-family: 'Raleway', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 1.8rem;
    color: var(--brown);
    margin-bottom: 1.2rem;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brown);
    text-decoration: underline;
    text-decoration-color: var(--khaki);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
    color: var(--muted-red);
    text-decoration-color: var(--muted-red);
}


/* --- Hero / Header --- */

.hero {
    background-color: var(--dark-brown);
    color: var(--cream);
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(194, 178, 128, 0.15) 0%, transparent 70%);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--cream);
}

.hero-subtitle {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--khaki);
    letter-spacing: 0.03em;
}


/* --- About --- */

.about {
    padding: 4rem 0;
    background-color: var(--warm-white);
}

.about p {
    max-width: 700px;
    margin: 0 auto 1rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

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


/* --- Gallery --- */

.gallery {
    padding: 4rem 0;
    background-color: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(59, 42, 31, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(59, 42, 31, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}


/* --- YouTube --- */

.youtube {
    padding: 4rem 0;
    background-color: var(--olive);
    color: var(--cream);
    text-align: center;
}

.youtube h2 {
    color: var(--cream);
}

.youtube p {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
    color: rgba(245, 240, 232, 0.85);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-youtube {
    background-color: #c4302b;
    color: #fff;
}

.btn-youtube:hover {
    background-color: #a52722;
    color: #fff;
}

.yt-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}


/* --- Contact --- */

.contact {
    padding: 4rem 0;
    background-color: var(--warm-white);
    text-align: center;
}

.contact p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.contact-email {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brown);
    text-decoration: none;
    border-bottom: 3px solid var(--khaki);
    padding-bottom: 4px;
    margin-bottom: 2rem;
    transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
    color: var(--muted-red);
    border-color: var(--muted-red);
}

.social-links {
    margin-top: 2rem;
}

.btn-facebook {
    background-color: #1877F2;
    color: #fff;
}

.btn-facebook:hover {
    background-color: #1466CC;
    color: #fff;
}

.fb-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}


/* --- Footer --- */

.footer {
    padding: 2rem 0;
    background-color: var(--dark-brown);
    color: rgba(245, 240, 232, 0.6);
    text-align: center;
    font-size: 0.85rem;
}


/* --- Responsive --- */

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding: 3.5rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about, .gallery, .youtube, .contact {
        padding: 3rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.8rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .contact-email {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-email {
        font-size: 1.1rem;
    }
}
