/* ==============================
   GOOD TIMES BARBERSHOP
   Main Stylesheet
   ============================== */

:root {
    --cream: #f2e6cf;
    --green: #29483a;
    --dark-green: #1d342a;
    --red: #a93429;
    --gold: #c49a52;
    --black: #1e1e1b;
}

/* RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */

header {
    background: var(--dark-green);
    color: var(--cream);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 6%;
    border-bottom: 5px solid var(--gold);
}
.hero-logo {
    width: min(550px, 70%);
    height: auto;
    display: block;
    margin-bottom: 25px;
}

.logo-line {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--gold);
}

.home-logo:visited {
    color: var(--cream);
}

.home-logo:hover {
    color: var(--gold);
}

.home-logo:visited {
    color: var(--cream);
}

.home-logo:hover {
    color: var(--gold);
}
header h1 {
    margin: 0;
    font-size: 25px;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

nav a {
    background: #c65a24;
    color: var(--cream);
    padding: 8px 14px;
    border-radius: 8px;
    border: 2px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.2s;
}

nav a:visited {
    color: var(--cream);
}

nav a:hover {
    background: #d7a64a;
    color: var(--dark-green);
    transform: translateY(-2px);
}

/* HERO */

.hero {
    min-height: 78vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 60px 20px;
}

.hero h2 {
    margin: 0;

    color: var(--green);

    font-size: clamp(70px, 12vw, 150px);
    line-height: .85;

    letter-spacing: -5px;
}

.hero p {
    margin: 30px 0;

    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
}

/* BOOK BUTTON */

.book-button {
    display: inline-block;

    background: var(--red);
    color: white;

    padding: 18px 34px;

    border: 3px solid var(--black);

    text-decoration: none;

    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;

    box-shadow: 5px 5px 0 var(--gold);

    transition: .2s;
}

.book-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--gold);
}
/* LOGO */

.hero-logo {
    width: min(500px, 70%);
    height: auto;
    display: block;
    margin-bottom: 20px;
}
/* ==============================
   MEET THE BARBERS
   ============================== */

.barbers {
    background: var(--green);
    color: var(--cream);
    padding: 90px 6%;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-kicker {
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(42px, 6vw, 75px);
    letter-spacing: 2px;
}

.barber-grid {
    max-width: 1350px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 55px;
}
.barber-card {
    width: 90%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 55px;
    padding-bottom: 55px;

    text-align: center;
    border-bottom: 6px solid var(--green);
}

.barber-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.barber-bio {
    width: 100%;
    max-width: 5850px;
    margin: 20px auto 28px;
    padding: 16px 28px;

    background: #c65a24;
    color: var(--cream);

    border: 5px solid var(--green);
    border-radius: 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.barber-bio p {
    margin: 0 0 13px;
}

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

.barber-note {
    font-size: 11px;
    font-style: italic;
    color: var(--cream);
}
.barber-note {
    font-size: 12px;
    font-style: italic;
    color: var(--gold);
}
.barber-photo {
    width: 75%;
    max-width: 240px;
    aspect-ratio: 4 / 5;
    margin: 25px auto 25px;

    background: var(--cream);
    color: var(--green);

    border: 4px solid var(--gold);
    border-radius: 18px;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    flex-shrink: 0;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.barber-card h3 {
    font-size: 28px;
    margin: 0 0 5px;
}

.barber-title {
    color: var(--gold);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.barber-button {
    display: inline-block;

    background: var(--red);
    color: white;

    border: 2px solid var(--cream);

    padding: 13px 22px;

    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.barber-button:hover {
    background: var(--cream);
    color: var(--green);
}
/* ==============================
   SERVICES PAGE
   ============================== */

.services-page {
    min-height: 80vh;
    background: var(--cream);
    padding: 90px 6%;
}

.services-page .section-heading h2 {
    color: var(--green);
}

.service-list {
    max-width: 850px;
    margin: 0 auto;

    border-top: 3px solid var(--green);
}

.service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 22px 10px;
    border-bottom: 2px solid var(--green);
}

.service-info {
    flex: 1;
}

.service h3 {
    display: inline-block;
    margin: 0;
    background: #c65a24;
    color: var(--cream);
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 9px 16px;
    border: 2px solid var(--gold);
    border-radius: 8px;
}

.service h3 small {
    font-size: 12px;
    font-weight: normal;
    text-transform: lowercase;
}

.service-info p {
    margin: 10px 0 0 3px;
    color: var(--green);
    font-size: 14px;
    line-height: 1.5;
}

.service-price {
    color: var(--green);
    font-size: 21px;
    font-weight: bold;
    white-space: nowrap;
}

.service h3 {
    margin: 0;
    background: #c65a24;
    color: var(--cream);
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 9px 16px;
    border: 2px solid var(--gold);
    border-radius: 8px;
}

.service span {
    color: var(--red);

    font-size: 21px;
    font-weight: bold;
}
.service-note {
    color: var(--cream);
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0;
}

.services-book {
    text-align: center;
    margin-top: 50px;
}
.service-note {
    font-size: 14px;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 0;
}
.services-note {
    max-width: 850px;
    margin: 18px auto 0;
    color: var(--green);
    font-size: 13px;
    font-style: italic;
    text-align: center;
    letter-spacing: 0.5px;
}
/* ==============================
   CONTACT PAGE
   ============================== */

.contact-page {
    min-height: 80vh;
    background: var(--cream);
    padding: 90px 6%;
}

.contact-page .section-heading h2 {
    color: var(--green);
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    color: var(--green);
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
}

.address-link {
    display: inline-block;
    color: var(--green);
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.6;
}

.address-link:hover {
    color: var(--red);
    text-decoration: underline;
}

.contact-detail {
    margin: 40px 0;
}

.contact-detail h4 {
    color: var(--red);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-detail p {
    font-size: 17px;
    line-height: 1.7;
}

.map-container {
    border: 5px solid var(--green);
    box-shadow: 8px 8px 0 var(--gold);
}

.contact-page .section-heading h2 {
    display: inline-block;
    background: #c65a24;
    color: var(--cream);
    padding: 10px 22px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    font-size: 38px;
    letter-spacing: 2px;
}
.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: 0;
}
.about-page {
    min-height: 80vh;
    background: var(--cream);
    padding: 90px 6%;
}

.about-page .section-heading h2 {
    color: var(--green);
}

.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--green);
    color: var(--cream);
    border: 4px solid var(--gold);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content h3 {
    color: var(--green);
    font-size: 32px;
    letter-spacing: 1px;
    margin-top: 0;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
}
/* MOBILE */

@media (max-width: 750px) {

    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 22px;
    }

    .hero h2 {
        letter-spacing: -2px;
    }

    .hero p {
    font-size: 15px;
}

.barber-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
}
}
/* HEADER LOGO LINK FIX */

header h1 .home-logo,
header h1 .home-logo:visited {
    color: var(--cream);
    text-decoration: none;
}

header h1 .home-logo span {
    text-decoration: none;
}

header h1 .home-logo:hover {
    color: var(--gold);
}
.contact-page .section-kicker {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.70);
}
.contact-heading-line {
    width: 180px;
    height: 6px;
    background: var(--green);
    margin: 18px auto;
    border-radius: 3px;
}
.barber-photo img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* GOOD TIMES SHOP BULLETIN */

.bulletin-section {
    max-width: 1100px;
    margin: 65px auto;
    padding: 0 20px;
    text-align: center;
}

.bulletin-section > h2 {
    color: var(--gold);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 3px;
    margin-bottom: 10px;
}


/* BULLETIN SUBTITLE */

.bulletin-subtitle {
    color: var(--cream);
    margin-bottom: 30px;
}

/* WOODEN FRAME AND CORK BACKGROUND */

.bulletin-board {
    background-color: #b58a56;
    background-image:
        repeating-linear-gradient(
            35deg,
            transparent 0px,
            rgba(70, 40, 20, 0.07) 2px,
            transparent 4px,
            transparent 11px
        );
    border: 15px ridge #69452c;
    border-radius: 6px;
    padding: 35px;
    box-shadow:
        inset 0 0 20px rgba(50, 30, 10, 0.35),
        0 12px 25px rgba(0, 0, 0, 0.3);
}

/* ARRANGEMENT OF PINNED NOTES */

.bulletin-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

/* PAPER NOTICES */

.bulletin-note {
    position: relative;
    background: #f6e9cb;
    color: #293d31;
    padding: 35px 20px 25px;
    min-height: 220px;
    box-sizing: border-box;
    box-shadow: 4px 6px 10px rgba(0,0,0,0.25);
    transform: rotate(-2deg);
}

/* SECOND PAPER NOTICE */

.bulletin-note:nth-child(2) {
    background: #e8e6cb;
    transform: rotate(2deg);
}

/* THIRD PAPER NOTICE */

.bulletin-note:nth-child(3) {
    background: #f5dab4;
    transform: rotate(-1deg);
}

/* RED PUSH PINS */

.pushpin {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 30%,
        #f47b5d,
        #9d241b 75%
    );
    box-shadow: 2px 3px 4px rgba(0,0,0,0.35);
}

/* DATE OR ANNOUNCEMENT LABEL */

.note-date {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #a14c27;
    margin-bottom: 12px;
}

/* ANNOUNCEMENT HEADINGS */

.bulletin-note h3 {
    font-size: 22px;
    color: #293d31;
    margin-bottom: 12px;
}

/* ANNOUNCEMENT TEXT */

.bulletin-note p {
    font-size: 15px;
    line-height: 1.6;
    color: #493d2f;
}

/* LINKS ON ANNOUNCEMENTS */

.bulletin-note a {
    display: inline-block;
    margin-top: 12px;
    color: #a14c27;
    font-weight: bold;
    text-decoration: underline;
}

/* MOBILE PHONE AND TABLET LAYOUT */

@media (max-width: 768px) {

    .bulletin-board {
        padding: 25px 18px;
        border-width: 10px;
    }

    .bulletin-notes {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bulletin-note {
        min-height: auto;
        padding: 35px 20px 25px;
    }
}


.bulletin-section {
    max-width: 900px;
    margin: 25px auto 0;
}

.bulletin-board {
    padding: 18px;
    border-width: 9px;
}

.bulletin-notes {
    gap: 15px;
}

.bulletin-note {
    min-height: 135px;
    padding: 25px 12px 15px;
}

/* SPACE ABOVE LOGO */

.hero {
    padding-top: 35px;
}
.bulletin-section {
    margin-bottom: 0;
}

.hero {
    min-height: 0;
    height: auto;
    padding-top: 35px;
    padding-bottom: 60px;
}
.bulletin-section > h2 {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* BRING CORKBOARD CLOSER TO HEADING */

.bulletin-subtitle {
    margin-top: 0;
    margin-bottom: 10px;
}

.bulletin-board {
    margin-top: 0;
}
/* VINTAGE GREEN PRICES WITH GOLD OUTLINE */

.services-page .service-price {
    color: #244B3C;
    font-style: italic;
    -webkit-text-stroke: 0.7px #C9A24D;
    paint-order: stroke fill;
}  
/* WORD AROUND THE SHOP - VINTAGE OUTLINE & SHADOW */

.bulletin-section > h2 {
    color: #C9A24D;
    -webkit-text-stroke: 1px #244B3C;
    paint-order: stroke fill;
    text-shadow: 3px 4px 3px rgba(36, 75, 60, 0.75);
}

/* HOMEPAGE SLOGAN - DARK GREEN */

.hero .hero-slogan {
    color: #244B3C;
}

.contact-slogan {
    font-size: 36px;
}


/* SERVICES PAGE - VINTAGE SHADOW & OUTLINE */

.services-page .section-heading h2,
.services-page .section-kicker {
    text-shadow: 3px 4px 3px rgba(36, 75, 60, 0.75);
    -webkit-text-stroke: 0.7px #244B3C;
    paint-order: stroke fill;
}
.hero {
    min-height: 0;
    height: auto;
    padding-top: 20px;
    padding-bottom: 50px;
}
/* KEEP GOOD TIMES LOGO ABOVE BULLETIN */

.homepage-top-logo {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 20px auto 10px;
}

.homepage-top-logo .hero-logo {
    display: block;
    position: static;
    transform: none;
    margin: 0 auto;
    width: 85%;
    max-width: 420px;
    height: auto;
}
.barber-bio {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
}
/* BARBER PAGE - ALTERNATING SIDE-BY-SIDE LAYOUT */

.barber-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.barber-layout .barber-photo {
    width: 100%;
    height: 100%;
    margin: 0;
}

.barber-layout .barber-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barber-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.barber-details .barber-bio {
    flex: 1;
}

/* ALTERNATE EVERY SECOND BARBER */

.barber-card:nth-of-type(even) .barber-photo {
    order: 2;
}

.barber-card:nth-of-type(even) .barber-details {
    order: 1;
}

/* MOBILE LAYOUT */

@media (max-width: 600px) {
    .barber-layout {
        grid-template-columns: 1fr;
    }

    .barber-card:nth-of-type(even) .barber-photo,
    .barber-card:nth-of-type(even) .barber-details {
        order: initial;
    }

    .barber-layout .barber-photo {
        height: auto;
    }

    .barber-layout .barber-photo img {
        height: auto;
    }
}
/* BARBER PAGE - BALANCED PHOTO AND BIO */

.barber-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: stretch;
    max-width: 1250px;
    margin: 0 auto;
}

.barber-photo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.barber-photo-column h3 {
    text-align: center;
    margin: 0 0 5px;
    font-size: 32px;
}

.barber-photo-column .barber-title {
    text-align: center;
    margin: 0 0 20px;
}

.barber-photo-column .barber-photo {
    width: 100%;
    max-width: 390px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
}

.barber-photo-column .barber-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.barber-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.barber-details .barber-bio {
    box-sizing: border-box;
    width: 100%;
    min-height: 490px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ALTERNATE PHOTO AND BIO */
.barber-card:nth-child(even) .barber-photo-column {
    order: 2;
}

.barber-card:nth-child(even) .barber-details {
    order: 1;
}

/* MOBILE LAYOUT */
@media (max-width: 700px) {
    .barber-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .barber-card:nth-child(even) .barber-photo-column,
    .barber-card:nth-child(even) .barber-details {
        order: initial;
    }

    .barber-details .barber-bio {
        min-height: 0;
    }
}
/* CENTER BARBER NAME AND PHOTO TOGETHER */

.barber-card {
    position: relative;
}

.barber-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.barber-photo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    position: static;
}

.barber-photo-column h3 {
    position: static;
    transform: none;
    margin: 0 0 5px;
    text-align: center;
    font-size: 32px;
}

.barber-photo-column .barber-title {
    position: static;
    transform: none;
    margin: 0 0 20px;
    text-align: center;
}

.barber-photo-column .barber-photo {
    position: static;
    transform: none;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.barber-details {
    align-self: center;
}

.barber-details .barber-bio {
    margin: 0;
}

/* KEEP MOBILE LAYOUT STACKED */
@media (max-width: 700px) {
    .barber-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* EVEN VERTICAL SPACING FOR BARBER SECTIONS */

.barber-card {
    padding-top: 50px;
    padding-bottom: 50px;
}

.barber-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.barber-photo-column,
.barber-details {
    align-self: center;
    justify-content: center;
}

.barber-photo-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.barber-details {
    display: flex;
    flex-direction: column;
}

.barber-details .barber-bio {
    margin: 0;
}
/* JOHN - BIO LEFT, PHOTO RIGHT */
.barber-card:nth-of-type(2) .barber-photo-column {
    order: 2;
}

.barber-card:nth-of-type(2) .barber-details {
    order: 1;
}
/* CHRIS — PHOTO LEFT, BIO RIGHT */
.barber-card:nth-of-type(3) .barber-photo-column {
    order: 1;
}

.barber-card:nth-of-type(3) .barber-details {
    order: 2;
}
/* SERVICES PAGE — GREEN TEXT WITH GOLD OUTLINE */
.services-page .section-kicker {
    font-size: 30px;
    font-weight: 900;
    color: #244B3C;
  -webkit-text-stroke: 2.5px #D4A63A;
    paint-order: stroke fill;
    text-shadow: 3px 4px 3px rgba(36, 75, 60, 0.55);
}
