/* =========================================================
   Gents of Savannah — Home
   Palette (unchanged from original):
     #019cc0  (brand teal)
     #e93434  (accent red)
     #333     (nav dark)
     #000     (dark sections)
     #ffffff  (page background)
   ========================================================= */

:root {
    --teal: #019cc0;
    --teal-dark: #017a97;
    --red: #e93434;
    --ink: #111;
    --ink-soft: #333;
    --line: rgba(255,255,255,0.14);
    --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute; inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-media-inner {
    position: absolute; inset: -4%;
    background: url('../media/shop/shop5.jpg') center/cover no-repeat;
    transform: scale(1.08);
    animation: heroZoom 18s ease-out forwards;
    filter: brightness(.7) contrast(1.02);
}
@keyframes heroZoom {
    from { transform: scale(1.15); }
    to   { transform: scale(1.0); }
}

.hero-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%),
        radial-gradient(ellipse at center, rgba(1,156,192,0.12), transparent 60%);
}

/* Header */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
}
.brand { display: flex; align-items: center; }
.brand-logo {
    height: 62px;
    width: auto;
    background: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.site-nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
    align-items: center;
}
.site-nav a {
    color: #fff;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 14px;
    position: relative;
    transition: color .25s var(--ease);
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--teal); }
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }

.site-nav a.nav-cta {
    background: var(--teal);
    border-radius: 999px;
    padding: 10px 22px;
    margin-left: 8px;
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.site-nav a.nav-cta:hover {
    background: var(--teal-dark);
    color: #fff;
    transform: translateY(-2px);
}
.site-nav a.nav-cta::after { display: none; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    z-index: 5;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: transform .3s var(--ease), opacity .25s;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 100px;
    max-width: 900px;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0,0,0,0.35);
    padding: 8px 18px;
    border: 1px solid rgba(1,156,192,0.4);
    border-radius: 999px;
    margin-bottom: 26px;
}
.hero-title {
    font-family: "Playfair Display", "Oswald", serif;
    font-weight: 600;
    font-size: clamp(40px, 7vw, 60px);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero-title .accent {
    color: var(--teal);
    font-style: italic;
}
.hero-sub {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

/* Buttons */
.btn {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 4px;
    display: inline-block;
    transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 10px 30px rgba(1,156,192,0.35);
}
.btn-primary:hover {
    background: #fff;
    color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.25);
}
.btn-ghost {
    border-color: rgba(255,255,255,0.55);
    color: #fff;
}
.btn-ghost:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-3px);
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(233,52,52,0.08);
    border: 1px solid rgba(233,52,52,0.35);
    padding: 6px 14px;
    border-radius: 999px;
    margin-top: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 44px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    z-index: 2;
}
.scroll-indicator span {
    display: block;
    width: 4px; height: 8px;
    background: #fff;
    border-radius: 2px;
    margin: 8px auto 0;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.stat {
    padding: 52px 20px;
    text-align: center;
    border-right: 1px solid #eee;
}
.stat:last-child { border-right: 0; }
.stat-num {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1;
    color: var(--teal);
}
.stat-num span {
    color: var(--red);
    font-size: 0.6em;
    vertical-align: top;
    margin-left: 2px;
}
.stat-label {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* =========================================================
   WELCOME / STORY
   ========================================================= */
main { display: block; }

.welcome {
    max-width: 1180px;
    margin: 0 auto;
    padding: 100px 32px;
}
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.welcome-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.welcome-image {
    position: relative;
}
.welcome-image::before {
    content: "";
    position: absolute;
    top: 18px; left: -18px;
    width: 100%; height: 100%;
    border: 3px solid var(--teal);
    border-radius: 8px;
    z-index: -1;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--teal);
}
.welcome-text h2 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 44px);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 22px;
}
.welcome-text p {
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    color: #3a3a3a;
    margin: 0 0 16px;
    text-align: left;
}
.welcome-note {
    margin-top: 22px !important;
    padding-left: 18px;
    border-left: 3px solid var(--teal);
    font-style: italic;
    color: var(--ink-soft) !important;
}

/* =========================================================
   CTA RIBBON
   ========================================================= */
.cta-ribbon {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    padding: 48px 24px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(1,156,192,0.25) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 56px);
}
.cta-ribbon .book-link {
    font-family: "Playfair Display", serif;
    font-size: clamp(20px, 2.3vw, 30px);
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform .25s var(--ease);
    display: inline-block;
    flex: 0 1 auto;
}
.cta-ribbon .book-link:hover { transform: translateY(-2px); }
.cta-ribbon .book-link b {
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
}

/* =========================================================
   BARBERSHOP POLES
   ========================================================= */
.barber-pole {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 44px;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.barber-pole-cap,
.barber-pole-base {
    width: 100%;
    height: 18px;
    background: linear-gradient(180deg, #2a2a2a 0%, #0a0a0a 50%, #2a2a2a 100%);
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 4px rgba(0,0,0,0.5);
    position: relative;
}
.barber-pole-cap {
    height: 14px;
    width: 72%;
    border-radius: 6px 6px 2px 2px;
}
.barber-pole-cap::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 8px;
    height: 10px;
    background: linear-gradient(180deg, #d4af37, #8c6a1a);
    border-radius: 50% 50% 2px 2px;
}
.barber-pole-base {
    height: 14px;
    width: 72%;
    border-radius: 2px 2px 6px 6px;
}
.barber-pole-cylinder {
    position: relative;
    width: 100%;
    height: 90px;
    overflow: hidden;
    border-radius: 22px / 8px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.barber-pole-stripes {
    position: absolute;
    inset: 0;
    /* Diagonal red/white/blue stripes. The pattern repeats vertically every 36px;
       animating background-position-y scrolls the stripes up to create the spin illusion. */
    background-image: repeating-linear-gradient(
        -60deg,
        #e93434 0px,
        #e93434 10px,
        #ffffff 10px,
        #ffffff 22px,
        #1d3557 22px,
        #1d3557 32px,
        #ffffff 32px,
        #ffffff 44px
    );
    background-size: 100% 100%;
    animation: barberSpin 2.2s linear infinite;
}
.barber-pole-glass {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Cylindrical shading: darker edges, bright highlight on left-center for a glass look */
    background:
        linear-gradient(90deg,
            rgba(0,0,0,0.35) 0%,
            rgba(0,0,0,0.05) 22%,
            rgba(255,255,255,0.55) 38%,
            rgba(255,255,255,0.1) 55%,
            rgba(0,0,0,0.1) 78%,
            rgba(0,0,0,0.4) 100%);
    mix-blend-mode: overlay;
}
@keyframes barberSpin {
    from { background-position: 0 0; }
    to   { background-position: 0 -44px; }
}
@media (prefers-reduced-motion: reduce) {
    .barber-pole-stripes { animation: none; }
}

/* =========================================================
   ADDRESS / SOCIAL / FOOTER (preserved structure)
   ========================================================= */
#address {
    background: #000;
    color: #fff;
    padding: 60px 20px 40px;
    text-align: center;
}
#address .logoblack {
    width: 280px;
    margin: 0 auto 16px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 6px;
}
#address p {
    font-size: 16px;
    margin: 0 0 12px;
    line-height: 1.6;
    letter-spacing: 0.04em;
}
#address .address-link,
#address .address-link:visited {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255,255,255,0.4);
    transition: color .2s, border-color .2s;
}
#address .address-link:hover {
    color: var(--teal);
    border-bottom-color: var(--teal);
}
.contact-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    font-size: 22px;
}
.contact-link:hover { text-decoration: underline; }
.map {
    width: 100%;
    max-width: 800px;
    height: 380px;
    margin-top: 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

#social-links {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 24px 20px 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
#social-links p { margin: 8px 0; letter-spacing: 0.18em; font-size: 14px; text-transform: uppercase; }
#social-links a { display: inline-block; margin: 0 10px; transition: transform .25s var(--ease); }
#social-links a:hover { transform: translateY(-3px); }
.sociallogo {
    width: 56px;
    border-radius: 8px;
}

footer {
    background: #000;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    letter-spacing: 0.12em;
}
footer p { margin: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
    .welcome-image img { height: 360px; }
    .welcome-image::before { display: none; }
    .site-header { padding: 14px 20px; }
    .brand-logo { height: 46px; padding: 4px 10px; }

    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: 0; right: 0;
        width: 84%;
        max-width: 340px;
        height: 100vh;
        background: rgba(10,10,10,0.97);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        padding: 90px 30px 30px;
        z-index: 4;
    }
    .site-nav.open { transform: translateX(0); }
    .site-nav ul { flex-direction: column; gap: 6px; align-items: flex-start; }
    .site-nav a { width: 100%; padding: 14px 10px; font-size: 17px; }
    .site-nav a::after { left: 10px; right: auto; width: 24px; }
    .site-nav a.nav-cta { margin-left: 0; margin-top: 12px; width: auto; text-align: center; }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
    .hero-content { padding: 110px 18px 90px; }
    .hero-actions .btn { padding: 14px 22px; font-size: 14px; }
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid #eee; padding: 34px 20px; }
    .stat:last-child { border-bottom: 0; }
    .welcome { padding: 60px 22px; }
    .welcome-image img { height: 280px; }
    .map { height: 280px; }
    .site-header { padding: 12px 16px; }
    .cta-ribbon { gap: 16px; padding: 36px 16px; }
    .barber-pole { width: 32px; }
    .barber-pole-cylinder { height: 66px; }
}
