/* ==========================================================
   Osan Barber — style.css
   Palette:
     cream   #FAF4E4   (background)
     ink     #1D1E2C   (text)
     red     #C6403A   (barber red, buttons)
     blue    #3E7A93   (barber blue, accents)
     muted   #6E6C63   (secondary text)
   ========================================================== */

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

:root {
    --cream: #FAF4E4;
    --ink:   #1D1E2C;
    --red:   #C6403A;
    --red-dark: #A32F2A;
    --blue:  #3E7A93;
    --muted: #6E6C63;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: "Archivo", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

h1, h2, .logo, .price, .phone {
    font-family: "Aleo", Georgia, serif;
}

a:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

/* ---------- Nav ---------- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(250, 244, 228, 0.95);
    border-bottom: 2px solid var(--ink);
}

nav {
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo {
    font-weight: 800;
    font-size: 26px;
    color: var(--red);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--ink);
}

.nav_links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav_links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav_links a:hover {
    color: var(--blue);
}

/* ---------- Buttons ---------- */

.btn, .cta {
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50px;
    padding: 10px 26px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.cta,
.btn_solid {
    background-color: var(--red);
    color: var(--cream);
}

.cta:hover,
.btn_solid:hover {
    background-color: var(--red-dark);
}

.btn_ghost {
    color: var(--cream);
    border: 2px solid var(--cream);
}

.btn_ghost:hover {
    background-color: var(--cream);
    color: var(--ink);
}

/* ---------- Hero ----------
   PHOTOS OF THE SHOP GO HERE.
   Replace / uncomment the background-image line below with your
   photo, e.g.:  background-image: linear-gradient(...), url("Images/shop.jpg");
   The linear-gradient stays on top so the white text is readable
   over any photo. Until then, a plain dark backdrop holds the space.
--------------------------------------------------------------- */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 64px;
    color: var(--cream);

    background-color: var(--ink);
    background-image: linear-gradient(rgba(29, 30, 44, 0.65), rgba(29, 30, 44, 0.75));
    /* background-image: linear-gradient(rgba(29, 30, 44, 0.55), rgba(29, 30, 44, 0.7)), url("Images/shop.jpg"); */
    background-size: cover;
    background-position: center;
}

.hero_inner {
    max-width: 760px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 13px;
    font-weight: 600;
    color: #B9D4E0;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(56px, 10vw, 112px);
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 20px;
}

.hero_sub {
    font-size: 20px;
    margin-bottom: 34px;
}

.hero_actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero_hours {
    margin-top: auto;
    padding-top: 48px;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #CFC9B8;
}

/* ---------- Barber stripe divider ---------- */

.stripe {
    height: 8px;
    background: repeating-linear-gradient(
        -45deg,
        var(--red)   0 14px,
        var(--cream) 14px 28px,
        var(--blue)  28px 42px,
        var(--cream) 42px 56px
    );
}

/* ---------- Info sections ---------- */

main {
    width: 100%;
}

.info {
    max-width: 680px;
    margin: 0 auto;
    padding: 72px 24px;
    text-align: center;
}

.info + .info {
    border-top: 2px solid var(--ink);
}

.info h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 24px;
}

.info h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    background-color: var(--red);
    margin: 12px auto 0;
    border-radius: 2px;
}

.note {
    color: var(--muted);
    font-size: 15px;
    margin-top: 18px;
}

/* Hours */

.hours_table {
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 18px;
}

.hours_table th,
.hours_table td {
    padding: 10px 18px;
    text-align: left;
}

.hours_table th {
    font-weight: 600;
}

.hours_table tr + tr {
    border-top: 1px dashed var(--muted);
}

/* Price board */

.price_board {
    list-style: none;
    max-width: 420px;
    margin: 0 auto;
    text-align: left;
}

.price_board li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 14px 0;
    font-size: 19px;
}

.price_board .service {
    font-weight: 600;
}

.price_board .dots {
    flex: 1;
    border-bottom: 2px dotted var(--muted);
    transform: translateY(-4px);
}

.price_board .price {
    font-weight: 800;
    font-size: 22px;
    color: var(--red);
}

.free_note {
    color: var(--blue);
    font-weight: 600;
    font-size: 16px;
}

/* Find us / Contact */

.address {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

#about .btn {
    margin-top: 24px;
}

.phone {
    display: inline-block;
    font-size: clamp(30px, 6vw, 44px);
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone:hover {
    color: var(--red);
}

/* ---------- Footer ---------- */

footer {
    text-align: center;
    font-size: 15px;
    color: var(--muted);
}

footer p {
    padding: 6px 24px;
}

footer p:first-of-type {
    padding-top: 28px;
}

.credit {
    padding-bottom: 28px;
}

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
    nav {
        justify-content: center;
    }
    .nav_links {
        gap: 18px;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .hero {
        padding-top: 150px;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
    }
}