@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

/* ========================================
   GLOBAL
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #eeeeec;
    --text: #111111;
    --blue: #2029a7;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

button {
    font-family: inherit;
}


/* ========================================
   HEADER
   ======================================== */

header {
    height: 80px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.location {
    margin-left: auto;
    margin-right: 25px;
    font-size: 11px;
    text-transform: uppercase;
}

.menu {
    width: 38px;
    height: 30px;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu span {
    width: 100%;
    height: 2px;
    background: var(--text);
}


/* ========================================
   HERO
   ======================================== */

.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    width: 250px;
    height: 310px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.hero-word {
    position: absolute;
    color: var(--blue);
    font-weight: 700;
    line-height: 1;
}

.hero-word-left {
    top: 80px;
    left: -30px;
    font-size: 105px;
    opacity: 0.35;
}

.hero-word-right {
    top: 280px;
    left: 26%;
    font-size: 105px;
    white-space: nowrap;
    z-index: 4;
}


/* ========================================
   ABOUT
   ======================================== */

.about {
    position: relative;
    min-height: 420px;
    padding: 60px 70px 60px 140px;
}

.about-title {
    position: absolute;
    left: 40px;
    top: 60px;
    color: var(--blue);
    font-size: 54px;
    font-weight: 700;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.about-text {
    width: 45%;
}

.about-text p {
    font-size: 24px;
    line-height: 1.3;
    font-family: 'DotGothic16', monospace;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    margin-top: 45px;
}

.stat {
    width: 110px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    padding-bottom: 8px;
}

.stat span {
    width: 100%;
    font-size: 10px;
    text-transform: uppercase;
    border-top: 1px solid var(--blue);
    padding-top: 8px;
}

.about-images {
    position: relative;
    width: 300px;
    height: 260px;
}

.about-image-back {
    position: absolute;
    width: 210px;
    height: 240px;
    right: 0;
    top: 0;
    object-fit: cover;
    filter: grayscale(100%);
}

.about-image-front {
    position: absolute;
    width: 170px;
    height: 170px;
    left: 0;
    bottom: 0;
    object-fit: cover;
    filter: grayscale(100%);
    border: 3px solid var(--background);
    z-index: 2;
}


/* ========================================
   PRICES
   ======================================== */

.prices {
    padding: 40px 60px 80px;
}

.prices-title {
    margin-bottom: 50px;
    color: var(--blue);
    font-size: clamp(42px, 6vw, 60px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -2px;
    white-space: nowrap;
}

.prices-grid {
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    gap: 40px;
    align-items: start;
}

.price-column h3 {
    margin-bottom: 10px;
    padding-bottom: 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--blue);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 6px 0;
    font-size: 11px;
    border-bottom: 1px solid var(--blue);
}

.price-row span {
    line-height: 1.4;
}

.price-row strong {
    white-space: nowrap;
}

.beard-title {
    margin-top: 25px;
}

.prices-image {
    width: 220px;
    height: 290px;
}

.prices-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.complexes {
    margin-top: 65px;
}


/* ========================================
   DESKTOP
   ======================================== */

@media (min-width: 900px) {

    header {
        width: calc(100% - 100px);
        max-width: 1200px;
        height: 90px;
        margin: 0 auto;
        padding: 0;
    }

    .hero {
        position: relative;
        width: 100%;
        height: 610px;
        margin: 0 auto;
        overflow: hidden;
    }

    .hero-image-wrapper {
        position: absolute;
        width: 480px;
        height: 520px;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%);
    }

    .hero-word-left {
        position: absolute;
        top: 70px;
        left: -50px;
        font-size: 280px;
        font-weight: 700;
        line-height: 0.9;
        color: var(--blue);
        opacity: 0.28;
        white-space: nowrap;
        z-index: 1;
    }

    .hero-word-right {
        position: absolute;
        top: 383px;
        left: calc(78% - 450px);
        font-size: 185px;
        font-weight: 700;
        line-height: 0.9;
        color: var(--blue);
        white-space: nowrap;
        z-index: 4;
    }

    .about {
        width: calc(100% - 100px);
        max-width: 1200px;
        min-height: 480px;
        margin: 0 auto;
        padding: 70px 40px 70px 140px;
    }

    .about-title {
        left: 20px;
        top: 70px;
        font-size: 70px;
    }

    .about-content {
        gap: 100px;
    }

    .about-text {
        width: 48%;
    }

    .about-text p {
        font-size: 30px;
    }

    .stat strong {
        font-size: 28px;
    }

    .stat span {
        font-size: 11px;
    }

    .about-images {
        width: 330px;
        height: 300px;
    }

    .about-image-back {
        width: 230px;
        height: 270px;
    }

    .about-image-front {
        width: 180px;
        height: 190px;
    }

    .prices {
        width: calc(100% - 100px);
        max-width: 1200px;
        margin: 0 auto;
        padding: 70px 0 100px;
    }

    .prices-title {
        margin-bottom: 65px;
        font-size: 68px;
    }

    .prices-grid {
        grid-template-columns: 1fr 260px 1fr;
        gap: 55px;
    }

    .prices-image {
        width: 260px;
        height: 350px;
    }

    .price-column h3 {
        font-size: 18px;
    }

    .price-row {
        padding: 7px 0;
        font-size: 12px;
    }

    .complexes {
        margin-top: 70px;
    }

    .glass-toggle {
        left: max(60px, calc(65% - 700px));
        bottom: 20px;
        transform: none;
    }
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 600px) {

    header {
        height: 70px;
        padding: 0 25px;
    }

    .location {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .menu {
        width: 32px;
        height: 24px;
    }

    .hero {
        height: 430px;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 290px;
        top: 25px;
    }

    .hero-word-left {
        top: 105px;
        left: -35px;
        font-size: 72px;
    }

    .hero-word-right {
        top: 275px;
        left: 16%;
        transform: translateX(-10%);
        font-size: 65px;
        white-space: nowrap;
        text-align: center;
    }

    .about {
        padding: 55px 30px;
    }

    .about-title {
        position: static;
        margin-bottom: 35px;
        font-size: 42px;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .about-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-text {
        width: 100%;
    }

    .about-text p {
        font-size: 22px;
        line-height: 1.05;
    }

    .stats {
        width: 100%;
        margin-top: 45px;
        gap: 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .stat {
        width: 31%;
    }

    .stat strong {
        font-size: 14px;
    }

    .stat span {
        font-size: 10px;
    }

    .about-images {
        width: 290px;
        height: 280px;
        margin: 45px auto 0;
    }

    .about-image-back {
        width: 200px;
        height: 225px;
        right: 0;
        top: 0;
    }

    .about-image-front {
        width: 155px;
        height: 175px;
        left: 0;
        bottom: 0;
    }

    .prices {
        padding: 55px 30px 70px;
    }

    .prices-title {
        margin-bottom: 55px;
        font-size: 7.5vw;
        gap: 8px;
        flex-wrap: wrap;
        line-height: 1.1;
        white-space: normal;
    }

    .prices-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .price-column h3 {
        font-size: 18px;
    }

    .price-row {
        padding: 8px 0;
        font-size: 12px;
    }

    .prices-image {
        width: 100%;
        height: 320px;
    }

    .complexes {
        margin-top: 0;
    }

    .hero-marquee {
        z-index: 1;
    }

    .hero-image-wrapper {
        z-index: 2;
    }

    .hero-word-right {
        z-index: 4;
    }
    /* Fix the gooey button position on mobile */
    .master-picker {
        bottom: 115px; /* Moves the button up to overlap the image edge */
        transform: translateX(-50%) scale(0.85); /* Scales it down slightly to fit phone screens better */
    }
}


/* ========================================
   MASTER PICKER - SVG GOOEY EFFECT
   ======================================== */

.master-picker {
    position: absolute;
    left: 50%;
    bottom: 85px;
    transform: translateX(-50%);
    width: 80px; 
    height: 80px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    z-index: 10;
}

.gooey-container {
    position: absolute;
    top: -20px;
    left: -50px;
    right: -50px;
    bottom: -20px;
    filter: url('#gooey');
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.gooey-main {
    position: absolute;
    background-color: #050505;
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.gooey-secondary {
    position: absolute;
    background-color: #050505;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    animation: autoMoveBlob 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.master-main {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3;
}

.master-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.master-options {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    margin-left: -22px;
    z-index: 2;
    animation: autoMoveCluster 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.master-options img {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
    border: 1.5px solid #050505;
}

.master-options img:nth-child(1) { top: 0; left: 11px; }
.master-options img:nth-child(2) { bottom: 2px; left: 0; }
.master-options img:nth-child(3) { bottom: 2px; right: 0; }

@keyframes autoMoveBlob {
    0%, 100% { transform: translateX(0); }
    15%, 35%  { transform: translateX(60px); }
    50%      { transform: translateX(0); }
    65%, 85%  { transform: translateX(-60px); }
}

@keyframes autoMoveCluster {
    0%, 100% { opacity: 0; transform: translateX(0) scale(0.4); }
    15%, 35% { opacity: 1; transform: translateX(60px) scale(1); }
    50% { opacity: 0; transform: translateX(0) scale(0.4); }
    65%, 85% { opacity: 1; transform: translateX(-60px) scale(1); }
}


/* ========================================
   AUTOMATIC GLASSMORPHISM TOGGLE
   ======================================== */

.glass-toggle {
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    display: inline-flex;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.5), rgba(10, 10, 10, 0.7));
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 6px;
    z-index: 10;
}

.glass-slider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 110px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    z-index: 1;
    animation: autoSlide 4s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}

.glass-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    width: 110px;
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    cursor: default;
    outline: none;
}

.glass-btn span {
    font-size: 9px;
    opacity: 0.8;
    font-weight: 700;
}

.glass-btn:nth-child(2) {
    animation: colorLeft 4s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}

.glass-btn:nth-child(3) {
    animation: colorRight 4s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}

@keyframes autoSlide {
    0%, 40%   { transform: translateX(0); }
    50%, 90%  { transform: translateX(110px); }
    100%      { transform: translateX(0); }
}

@keyframes colorLeft {
    0%, 40%   { color: #111; }
    50%, 100% { color: rgba(255, 255, 255, 0.65); }
}

@keyframes colorRight {
    0%, 40%   { color: rgba(255, 255, 255, 0.65); }
    50%, 90%  { color: #111; }
    100%      { color: rgba(255, 255, 255, 0.65); }
}


/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideFromLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to { opacity: 0.28; transform: translateX(0); }
}

@keyframes slideFromRight {
    from { opacity: 0; transform: translateX(80px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroImageIn {
    from { opacity: 0; transform: translateX(-50%) translateY(30px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-image-wrapper {
    animation: heroImageIn 0.9s ease-out forwards;
}

.hero-word-left {
    animation: slideFromLeft 1s ease-out 0.25s both;
}

.hero-word-right {
    animation: slideFromRight 1s ease-out 0.4s both;
}

.about-title,
.about-text,
.stat,
.about-image-back,
.about-image-front {
    opacity: 0;
    transition: opacity 0.8s ease, translate 0.8s ease;
}

.about-title { translate: -30px 0; }
.about-text { translate: 0 30px; }
.stat { translate: 0 20px; }
.stat:nth-child(1) { transition-delay: 0.25s; }
.stat:nth-child(2) { transition-delay: 0.4s; }
.stat:nth-child(3) { transition-delay: 0.55s; }

.about-image-back {
    translate: 50px 0;
    transition-delay: 0.2s;
}

.about-image-front {
    translate: -50px 30px;
    transition-delay: 0.4s;
}

.about.is-visible .about-title,
.about.is-visible .about-text,
.about.is-visible .stat,
.about.is-visible .about-image-back,
.about.is-visible .about-image-front {
    opacity: 1;
    translate: 0 0;
}

.prices-title {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 18px;
    overflow: hidden;
    padding-bottom: 14px;
}

.prices-word {
    display: inline-block;
    opacity: 0;
    will-change: transform, opacity;
}

.prices-word-left {
    transform: translateX(-120px);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.prices-word-middle {
    transform: scale(0.4) rotate(-8deg);
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    transition-delay: 0.2s;
}

.prices-word-right {
    transform: translateX(140px);
    transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    transition-delay: 0.12s;
}

.prices-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.45s;
}

.prices.is-visible .prices-word { opacity: 1; }
.prices.is-visible .prices-word-left,
.prices.is-visible .prices-word-right { transform: translateX(0); }
.prices.is-visible .prices-word-middle { transform: scale(1) rotate(0); }
.prices.is-visible .prices-title::after { transform: scaleX(1); }


/* ========================================
   MARQUEE & GLITCH
   ======================================== */

.hero-marquee {
    position: absolute;
    top: 105px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-marquee-track {
    display: flex;
    width: max-content;
    animation: manMarquee 16s linear infinite;
    will-change: transform;
}

.hero-marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 100px;
    padding-right: 100px;
}

.hero-marquee span {
    font-size: 190px;
    font-weight: 700;
    line-height: 0.9;
    color: var(--blue);
    opacity: 0.28;
    white-space: nowrap;
}

@keyframes manMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.kinetic-glitch {
    position: absolute;
    opacity: 1;
    isolation: isolate;
}

.kinetic-glitch::before,
.kinetic-glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: var(--blue);
    pointer-events: none;
    will-change: transform, clip-path;
}

.kinetic-glitch::before {
    clip-path: inset(0 0 48% 0);
    animation: kineticTop 4.5s infinite;
}

.kinetic-glitch::after {
    clip-path: inset(48% 0 0 0);
    animation: kineticBottom 4.5s infinite;
}

@keyframes kineticTop {
    0% { transform: translate3d(-45px, -5px, 0) skewX(-12deg) scaleX(0.82); }
    3% { transform: translate3d(35px, 3px, 0) skewX(9deg) scaleX(1.12); }
    6% { transform: translate3d(-18px, -2px, 0) skewX(-5deg) scaleX(0.96); }
    9% { transform: translate3d(10px, 0, 0) skewX(3deg) scaleX(1.03); }
    12%, 100% { transform: translate3d(0, 0, 0) skewX(0deg) scaleX(1); }
}

@keyframes kineticBottom {
    0% { transform: translate3d(50px, 8px, 0) skewX(14deg) scaleX(1.15); }
    3% { transform: translate3d(-40px, -4px, 0) skewX(-10deg) scaleX(0.84); }
    6% { transform: translate3d(22px, 3px, 0) skewX(6deg) scaleX(1.08); }
    9% { transform: translate3d(-10px, 0, 0) skewX(-3deg) scaleX(0.98); }
    12%, 100% { transform: translate3d(0, 0, 0) skewX(0deg) scaleX(1); }
}


/* ========================================
   BOTTOM WINGED ISLAND (TERMIN BUCHEN)
   ======================================== */

.bottom-island-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.bottom-island-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0), rgba(32, 41, 167, 0.3) 20%, rgba(32, 41, 167, 0.3) 80%, rgba(17, 17, 17, 0));
    z-index: 1;
}

.booking-island {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 24px;
    background-color: #050505;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 2;
    gap: 8px;
}

.island-dot {
    width: 6px;
    height: 6px;
    background-color: #e6a972;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(230, 169, 114, 0.8);
}

.island-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-family: inherit;
}
/* ========================================
   REFINED MINIMAL BOOKING MODAL
   ======================================== */

.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: none;
    background: #ffffff;
    color: #111111;
    border-radius: 0;
    padding: 24px 28px;
    overflow-y: auto;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .booking-modal-container {
        max-width: 440px;
        height: 90vh;
        border-radius: 36px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    }
}
.booking-modal-overlay.active .booking-modal-container {
    transform: translateY(0);
}

/* Top App Bar */
.modal-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-spark {
    font-size: 22px;
    font-weight: 300;
}

.top-bar-actions {
    display: flex;
    gap: 8px;
}

.icon-pill, .modal-close-pill {
    background: #f4f4f2;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.icon-pill:hover, .modal-close-pill:hover {
    background: #e5e5e3;
}

/* Header Title */
.modal-header-title h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: #111;
}

/* Barber Card */
.barber-card {
    background: #f7f7f5;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.barber-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.barber-avatar-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e0f2f1;
    overflow: hidden;
    flex-shrink: 0;
}

.barber-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.barber-text-details h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #111;
}

.barber-role, .barber-datetime {
    display: block;
    font-size: 11px;
    color: #666;
    letter-spacing: -0.2px;
}

.barber-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: #ffffff;
    color: #111;
    text-align: center;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.2s;
}

.msg-btn {
    flex: 1;
    background: #ffffff;
}

.call-btn {
    width: 40px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #111;
    color: #fff;
}

/* Categories */
.modal-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cat-card {
    background: #f9f9f7;
    border: 1.5px solid #eaeae6;
    border-radius: 20px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-icon-box {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cat-card.active {
    border-color: #111;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Form Styles */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 10px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid #e2e2df;
    background: #fafaf8;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #111;
    background: #ffffff;
}

.confirm-booking-btn {
    margin-top: 6px;
    background: #111;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.confirm-booking-btn:hover {
    opacity: 0.95;
    transform: scale(0.99);
}
/* ========================================
   APPLE GLASSY FLATPICKR THEME
   ======================================== */
.flatpickr-calendar {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-radius: 24px !important;
    padding: 12px !important;
    font-family: inherit !important;
}

/* Hide the little popup arrow for a cleaner look */
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
    display: none !important;
}

/* Header Styling */
.flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: #111 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 800 !important;
    font-size: 16px !important;
}

.flatpickr-weekdays {
    background: transparent !important;
}

span.flatpickr-weekday {
    color: #888 !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

/* Days Styling */
.flatpickr-day {
    border-radius: 14px !important;
    color: #333 !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.2s ease;
}

.flatpickr-day:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.flatpickr-day.today {
    background: #f0f0f0 !important;
    border: 1px solid #ddd !important;
}

/* Selected Date */
.flatpickr-day.selected {
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Time Picker Section */
.flatpickr-time {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    margin-top: 8px !important;
}

.flatpickr-time input {
    color: #111 !important;
    font-weight: 700 !important;
}

.flatpickr-time input:hover, .flatpickr-time .flatpickr-am-pm:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}
/* ========================================
   SPINNING BARBER POLE MENU ICON
   ======================================== */

.custom-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-right: -10px; /* <--- Add this line to push it to the right */
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.spinning-pole-icon {
    width: 80px; /* Adjust this size to fit your header perfectly */
    height: auto;
    object-fit: contain;
    
    /* This instantly removes the white background from your image */
    mix-blend-mode: multiply; 
    
    /* This applies the turning animation */
    animation: turnPole 3.5s linear infinite;
}

/* Pause the spinning if the user hovers over it (optional nice touch) */
.custom-menu-btn:hover .spinning-pole-icon {
    animation-play-state: paused;
}

/* The 3D Rotation Animation */
@keyframes turnPole {
    0% {
        transform: perspective(400px) rotateY(0deg);
    }
    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}
