/* -------------------------
   GENERAL PAGE
------------------------- */

body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 25px;
}


html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}


/* -------------------------
   HEADER
------------------------- */

.site-header {
    width: 100%;
    margin-bottom: 0px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding-top: 20px;
}

nav a {
    color: #222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

nav a:hover {
    opacity: 0.6;
}

nav a:focus-visible,
.social-links a:focus-visible,
.product-card:focus-visible {
    outline: 2px solid #4e9ab2;
    outline-offset: 3px;
}

/* -------------------------
   HERO LOGO
------------------------- */

.hero {
    border-top: none;
    margin: 0px 0 40px;
    padding-top: 0;
}


/* -------------------------
   INTRO
------------------------- */

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    line-height: 1.7;
    color: #555;
}


/* -------------------------
   MAIN SHOP PHOTO
------------------------- */

.shop-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    display: block;
}


/* -------------------------
   SECTIONS
------------------------- */

section {
    border-top: 1px solid #4e9ab2;
    margin: 30px 0;
    padding-top: 0px;
}

#about,
#hours,
#products {
    text-align: center;
}

/* -------------------------
   PRODUCTS
------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 20px;
    margin-top: 35px;
}

.product-card {
    display: block;
    color: #222;
    text-decoration: none;
}

.product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-info {
    padding-top: 12px;
    text-align: left;
}

.product-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 500;
}

.product-info p {
    margin: 0;
    font-size: 12px;
    color: #222;
}

.product-card:hover {
    opacity: 0.8;
}


/* -------------------------
   MAILING LIST
------------------------- */

#mailing-list {
    text-align: center;
}

.signup-form {
    max-width: 550px;
    margin: 30px auto 0;
    text-align: left;
}

.signup-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.signup-form input {
    box-sizing: border-box;
    width: 200px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #4e9ab2;
    border-radius: 21px;
    font-family: inherit;
    font-size: 14px;
}

.signup-form input:focus {
    outline: 2px solid #4e9ab2;
    outline-offset: 2px;
}

.signup-form button {
    box-sizing: border-box;
    width: 200px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 21px;
    background: #4e9ab2;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.signup-form button:hover {
    opacity: 0.75;
}

#signup-message {
    margin: 15px 0;
    font-size: 14px;
    color: #b3261e;
    font-style: italic;
}

.website-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* -------------------------
   BARBER CHOP COMEDY SHOW
------------------------- */

#barber-chop {
    text-align: center;
    border-bottom: 1px solid #4e9ab2;
    padding-bottom: 60px;
}

.barber-chop-blurb {
    max-width: 650px;
    margin: 0 auto 35px;
}

.comedy-gallery {
    max-width: 600px;
    margin: 0 auto;
}

.comedy-gallery img {
    width: 100%;
    height: auto;
    display: block;
}


/* -------------------------
   FOOTER
------------------------- */
footer {
    text-align: center;
    padding: 30px 20px 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.social-links a:hover {
    opacity: 0.6;
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 700px) {

    main {
        padding: 30px 20px;
    }

    h2 {
        font-size: 24px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 25px;
        padding-top: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

}