/* =====================================================================
           DESIGN SYSTEM TOKENS — FRANKLIN BARBER
           ===================================================================== */
:root {
    --color-primary: #dd3333;
    --color-primary-dark: #a31a1a;
    --color-primary-light: #ff4444;
    --color-primary-rgb: 221, 51, 51;

    --color-bg-darker: #000000;
    --color-bg-dark: #090909;
    --color-bg-card: #111111;
    --color-bg-surface: #181818;

    --color-text-light: #ffffff;
    --color-text-muted: #999999;
    --color-text-subtle: #555555;

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-hover: rgba(255, 255, 255, 0.35);

    --font-display: 'Anton', Impact, sans-serif;
    --font-heading: 'Open Sans Condensed', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-darker);
    color: var(--color-text-light);
    line-height: 1.6;
    font-weight: 600;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* TEXTURA ANALÓGICA GRAIN */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.035"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 9999;
}

::selection {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* =====================================================================
           HEADER & NAVEGAÇÃO
           ===================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0);
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 60px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.site-logo {
    font-family: var(--font-display);
    font-size: 55px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: -2px;
    text-transform: uppercase;
    display: inline-block;
    transform: scaleY(1.3) scaleX(0.9);
    transform-origin: left center;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

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

.site-nav {
    display: flex;
    gap: 34px;
    align-items: center;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-montserrat);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* =====================================================================
           BOTÃO RAZOR OFICIAL
           ===================================================================== */
.btn-razor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-montserrat);
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 18px 40px;
    background-color: var(--color-bg-darker);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-bounce);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --mouse-x: -150px;
    cursor: pointer;
}

.btn-razor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transition: height 0.3s ease;
    z-index: 1;
}

.btn-razor:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 35px rgba(221, 51, 51, 0.35);
    transform: scale(1.05) translateY(-2px);
}

.btn-razor:hover::before {
    height: 100%;
    z-index: 0;
}

.btn-razor::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: razorShine 5s var(--transition-smooth) infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes razorShine {
    0% {
        left: -150px;
    }

    40% {
        left: calc(100% + 150px);
    }

    100% {
        left: calc(100% + 150px);
    }
}

@media (hover: hover) and (pointer: fine) {
    .btn-razor:hover::after {
        animation: none;
        left: calc(var(--mouse-x) - 60px);
        transition: left 0.25s ease-out;
    }
}

.btn-razor span,
.btn-razor i {
    position: relative;
    z-index: 3;
}

.btn-razor.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-razor.btn-primary::before {
    background-color: #ffffff;
}

.btn-razor.btn-primary:hover {
    color: var(--color-primary-dark);
}

.btn-razor.btn-sm {
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 2px;
}

/* Efeito de Corte no Clique */
.click-slash {
    position: absolute;
    width: 2px;
    height: 160%;
    background: #ffffff;
    box-shadow: 0 0 15px #ffffff, 0 0 30px var(--color-primary);
    transform: skewX(-25deg);
    top: -30%;
    pointer-events: none;
    opacity: 0;
    z-index: 4;
}

.click-slash.active {
    animation: slashFlash 0.8s var(--transition-smooth) forwards;
}

@keyframes slashFlash {
    0% {
        opacity: 1;
        transform: skewX(-25deg) scaleX(1);
    }

    100% {
        opacity: 0;
        transform: skewX(-25deg) scaleX(25);
    }
}

/* =====================================================================
           HERO SECTION: 2-COLUMN SPLIT (FRANKLIN + NAVALHA FLUTUANTE)
           ===================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #060606;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 40%, rgba(221, 51, 51, 0.08) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Elemento Decorativo: Navalha Clássica Transparente Flutuante */
.hero-floating-razor {
    position: absolute;
    top: 8%;
    right: 58%;
    width: 180px;
    opacity: 0.15;
    transform: rotate(-25deg);
    filter: drop-shadow(0 0 25px rgba(221, 51, 51, 0.5)) invert(1);
    pointer-events: none;
    z-index: 1;
    animation: floatRazor 3s ease-in-out infinite alternate;
}

@keyframes floatRazor {
    0% {
        transform: translateY(0px) rotate(-25deg);
    }

    100% {
        transform: translateY(-20px) rotate(-20deg);
    }
}

/* Elemento Decorativo Scissor*/
.hero-floating-scissor {
    position: absolute;
    bottom: 12%;
    left: 3%;
    height: 420px;
    width: auto;
    opacity: 0.15;
    transform: rotate(15deg);
    filter: drop-shadow(0 0 25px rgba(221, 51, 51, 0.5)) invert(1);
    pointer-events: none;
    z-index: 1;
    animation: floatScissor 3.0s ease-in-out infinite alternate;
}

@keyframes floatScissor {
    0% {
        transform: translateY(-25px) rotate(25deg);
    }

    100% {
        transform: translateY(0px) rotate(15deg);
    }
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left-content {
    text-align: left;
}

.hero-tag {
    font-family: var(--font-montserrat);
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    background: var(--color-primary);
    display: inline-block;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(221, 51, 51, 0.35);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(52px, 7vw, 102px);
    font-weight: 700;
    color: #ffffff;
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9);
}

.hero-title .highlight {
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 2px var(--color-primary);
    display: block;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: var(--font-montserrat);
    font-size: 17px;
    font-weight: 600;
    color: #d1d1d1;
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.75;
}

.hero-subtitle strong {
    color: #ffffff;
    background: rgba(221, 51, 51, 0.3);
    padding: 2px 8px;
    border-left: 2px solid var(--color-primary);
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.hero-mini-badges {
    display: flex;
    gap: 25px;
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
}

.mini-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-badge-item i {
    color: var(--color-primary);
    font-size: 16px;
}

.mini-badge-item span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
}

/* FOTO DO FRANKLIN NO HERO */
.hero-right-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 640px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(221, 51, 51, 0.12);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    z-index: 5;
}

.hero-frank-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: contrast(110%) brightness(0.95);
    transition: transform 0.6s var(--transition-smooth);
}

.hero-image-frame:hover .hero-frank-photo {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-floating-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    padding: 12px 20px;
    z-index: 6;
}

.hero-floating-tag h4 {
    font-family: var(--font-montserrat);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.hero-floating-tag span {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================================
           SEÇÃO RITUAIS & FERRAMENTAS TRADICIONAIS (PINCEL & NAVALHA)
           ===================================================================== */
.craft-showcase-section {
    background: #080808;
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.craft-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.bg-floating-brush {
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 500px;
    opacity: 0.08;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;

    mix-blend-mode: lighten;
}

.bg-floating-razor {
    position: absolute;
    top: -40px;
    right: -80px;
    width: 400px;
    opacity: 0.15;
    transform: rotate(35deg);
    pointer-events: none;
    z-index: 1;
    filter: invert(1) drop-shadow(0 0 20px rgba(221, 51, 51, 0.3));
}

.craft-text-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 20px;
}

.craft-text-content p {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* =====================================================================
           CONTAINER & ESTRUTURA GERAL
           ===================================================================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.section {
    padding: 7rem 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-tag {
    font-family: var(--font-montserrat);
    font-size: 12px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.05;
}

.section-title span {
    color: var(--color-primary);
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 16px;
    font-weight: 600;
    margin-top: 14px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* =====================================================================
           SEÇÃO EDITORIAL FRANKLIN BARBER (ESTILO HIGH PROFILE)
           ===================================================================== */
.profile-section {
    background: linear-gradient(135deg, #0e0e0e 0%, #050505 100%);
    padding: 7rem 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}

.profile-titles {
    margin-bottom: 2rem;
}

.profile-firstname {
    font-family: var(--font-montserrat);
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 0.95;
    color: #ffffff;
    display: block;
}

.profile-lastname {
    font-family: var(--font-montserrat);
    font-size: clamp(54px, 7vw, 92px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 0.95;
    color: transparent;
    -webkit-text-stroke: 1.5px #ffffff;
    display: block;
    margin-bottom: 12px;
}

.profile-subtitle-badge {
    font-family: var(--font-montserrat);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: var(--color-primary);
    display: inline-block;
    padding-left: 2px;
}

.profile-quote {
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    color: #e8e8e8;
    line-height: 1.6;
    margin-bottom: 2rem;
    border-left: 2px solid var(--color-primary);
    padding-left: 20px;
}

.profile-body-text p {
    font-size: 15px;
    color: #b5b5b5;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.profile-body-text strong {
    color: #ffffff;
    font-weight: 700;
}

.profile-image-wrap {
    position: relative;
    height: 800px;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.profile-image-wrap::before,
.profile-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    z-index: 10;
    pointer-events: none;
    transition: all 0.6s ease;
}

.profile-image-wrap:hover::before {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
    animation: drawBorder 0.8s ease forwards;
}

.profile-image-wrap:hover::after {
    border-bottom-color: var(--color-primary);
    border-left-color: var(--color-primary);
    animation: drawBorder 0.8s ease forwards;
    box-shadow: 0 0 20px rgba(221, 51, 51, 0.5), inset 0 0 20px rgba(221, 51, 51, 0.3);
}

.profile-image-wrap .razor-slash {
    position: absolute;
    width: 4px;
    height: 200%;
    background: #ffffff;
    box-shadow: 0 0 15px #ffffff, 0 0 40px var(--color-primary);
    transform: skewX(-25deg) translateY(-100%);
    top: 0;
    left: -50%;
    pointer-events: none;
    opacity: 0;
    z-index: 15;
    transition: none;
}

.profile-image-wrap .razor-slash {
    animation: imageSlash 5s ease-out infinite;
}

@keyframes imageSlash {
    0% {
        opacity: 0;
        left: -50%;
        transform: skewX(-25deg) scaleX(1);
    }

    10% {
        opacity: 1;
    }

    20% {
        opacity: 1;
        left: 150%;
        transform: skewX(-25deg) scaleX(3);
    }

    21%,
    100% {
        opacity: 0;
        left: 150%;
        transform: skewX(-25deg) scaleX(3);
    }
}

.profile-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.4);
    transform-origin: center 20%;
    transition: all 0.6s var(--transition-smooth);
    display: block;
}

.profile-image-wrap:hover img {
    filter: brightness(1.1);
    transform: scale(1.45);
}

.profile-image-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    padding: 12px 20px;
    z-index: 5;
}

.profile-image-tag span {
    font-family: var(--font-montserrat);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffffff;
    display: block;
}

.profile-image-tag small {
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =====================================================================
           SEÇÃO DE VÍDEOS: FRANKLIN EM AÇÃO
           ===================================================================== */
.video-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.video-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.video-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.video-container video {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 5;
}

.video-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.video-card-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;
}

.video-card-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* =====================================================================
           GALERIA DO FRANKLIN (PRESENÇA & CORTES)
           ===================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    height: 460px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: filter 0.5s ease, transform 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gallery-tag {
    font-size: 11px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    display: block;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

/* =====================================================================
           SERVIÇOS DE CORTE & BARBA
           ===================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    overflow: hidden;
}

/* Preços Estilo Mercado Livre para a Lojinha */
.boutique-price {
    font-family: 'Proxima Nova', -apple-system, 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif !important;
    font-size: 28px !important; /* Aumentado em 30% a 40% para destaque */
    font-weight: 300 !important;
    letter-spacing: 2px !important;
    color: #ffffff !important;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    min-width: 0; /* Fix CSS Grid auto min-width blowout */
}

.service-card .btn-razor {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-border);
    transition: background 0.3s;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.service-card:hover::before {
    background: var(--color-primary);
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
    width: 100%;
}

.service-icon {
    font-size: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
    width: 32px;
    text-align: left;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.1;
    text-align: center;
    flex-grow: 1;
    color: #ffffff;
}

.service-price {
    font-family: var(--font-display);
    font-size: 32px;
    color: #ffffff;
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
}

.service-card .btn-razor {
    width: 100%;
}

/* =====================================================================
           PÁGINA DE DEPOIMENTOS DE CLIENTES
           ===================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s, height 0.3s ease;
    min-width: 420px;
    max-width: 480px;
    height: 370px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.testimonial-card.expanded {
    height: max-content;
}

.testimonial-text-wrapper {
    overflow: hidden;
    max-height: 85px; 
    position: relative;
    transition: max-height 0.4s ease;
}

.testimonial-text-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--color-bg-card));
    pointer-events: none;
    transition: opacity 0.3s;
}

.testimonial-card.expanded .testimonial-text-wrapper {
    max-height: 500px;
}

.testimonial-card.expanded .testimonial-text-wrapper::after {
    opacity: 0;
}

.expand-btn-container {
    text-align: center;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.expand-btn-container i {
    transition: transform 0.3s;
}

.testimonial-card.expanded .expand-btn-container i {
    transform: rotate(180deg);
}

.testimonial-card:hover {
    border-color: var(--color-primary);
}

.quote-icon-top {
    font-size: 32px;
    color: var(--color-primary);
    opacity: 0.8;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    font-weight: 600;
    color: #d8d8d8;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid var(--color-primary);

}

.author-info h4 {
    font-family: var(--font-montserrat);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.author-info span {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.stars-row {
    color: #f1c40f;
    font-size: 13px;
    margin-top: 4px;
}

/* =====================================================================
           MARKETPLACE & BOUTIQUE DE PRODUTOS
           ===================================================================== */
.coming-soon-card {
    background: linear-gradient(145deg, #141414 0%, #080808 100%);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    padding: 4.5rem 2rem;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.coming-soon-icon {
    font-size: 54px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(221, 51, 51, 0.4));
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(221, 51, 51, 0.15);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-montserrat);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 6px 18px;
    margin-bottom: 1.5rem;
}

.coming-soon-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.coming-soon-desc {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.product-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.product-img-wrap {
    height: 260px;
    overflow: hidden;
    background: #080808;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-category {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 15px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 26px;
    color: #ffffff;
}

/* =====================================================================
           FOOTER OFICIAL
           ===================================================================== */
.site-footer {
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    font-family: var(--font-display);
    font-size: 44px;
    color: #fff;
    text-decoration: none;
    letter-spacing: -2px;
    text-transform: uppercase;
    display: inline-block;
    transform: scaleY(1.3) scaleX(0.9);
    transform-origin: left center;
    margin-bottom: 20px;
}

.footer-brand .logo span {
    color: var(--color-primary);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h5 {
    font-family: var(--font-montserrat);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--color-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--color-primary);
    font-size: 16px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-subtle);
    font-size: 13px;
    font-weight: 600;
}

.social-icons-row {
    display: flex;
    gap: 16px;
}

.social-icon-link {
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* =====================================================================
           MODAL DE AGENDAMENTO
           ===================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    max-width: 540px;
    width: 100%;
    position: relative;
    padding: 3rem 2.5rem;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s var(--transition-bounce);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid var(--color-border);
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 16px 18px;
    background: var(--color-bg-darker);
    border: 1px solid #2a2a2a;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--color-primary);
}

/* =====================================================================
           RESPONSIVIDADE
           ===================================================================== */
@media (max-width: 1024px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mini-badges {
        justify-content: center;
    }

    .hero-image-frame {
        height: 520px;
        margin: 0 auto;
    }

    /* Remoção das antigas media queries não mais utilizadas */
    .profile-image-wrap {
        height: 500px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .video-section-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
           MOBILE BOTTOM NAV (TIKTOK STYLE) & RESPONSIVO
           ===================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--color-border);
    z-index: 2000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    height: 65px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    gap: 4px;
    height: 100%;
    transition: color 0.3s;
}

.mobile-nav-item i {
    font-size: 20px;
}

.mobile-nav-item span {
    font-size: 10px;
    font-family: var(--font-montserrat);
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #fff;
}

.mobile-nav-item.active i,
.mobile-nav-item:hover i {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 64px;
    }

    .hero {
        min-height: calc(100vh - 65px);
        box-sizing: border-box;
    }

    section:not(.hero),
    .site-footer {
        min-height: auto;
        display: block;
        padding: 4rem 0;
        box-sizing: border-box;
    }

    body {
        padding-bottom: 65px;
        /* espaço para o bottom nav */
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    /* HEADER FIXA COM TRANSIÇÃO ATMOSFÉRICA NO MOBILE */
    .site-header {
        height: 64px;
        padding: 0 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(5, 5, 5, 0);
        border-bottom: 1px solid rgba(255, 255, 255, 0);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }

    .site-header.scrolled {
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
    }

    .site-logo {
        font-size: 34px;
        transform: scaleY(1.2) scaleX(0.95);
        transform-origin: left center;
        line-height: 1;
        margin: 0;
        display: inline-block;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
        transition: none;
    }

    .site-nav,
    .nav-actions {
        display: none;
    }

    .mobile-bottom-nav {
        display: block;
    }

    /* HERO SIMPLIFICADO NO MOBILE */
    .hero {
        min-height: calc(100vh - 65px);
        padding: 60px 0 35px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        background-image: url('../img/frankhomeImage 2026-08-17 at 10.57.18.jpeg');
        background-size: auto 145%;
        background-position: top center;
        background-repeat: no-repeat;
        background-color: transparent;
        overflow: hidden;
        position: relative;
    }

    .hero::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
    }

    .hero-right-stage,
    .hero-subtitle,
    .hero-mini-badges,
    .hero-tag,
    .hero-buttons a:not(.btn-primary) {
        display: none;
    }

    /* ELEMENTOS FLUTUANTES NO MOBILE: NAVALHA & TESOURA */
    .hero-floating-razor {
        display: block;
        opacity: 0.15;
        top: 5%;
        right: 3%;
        width: 70px;
        position: absolute;
        pointer-events: none;
        z-index: 1;
        animation: floatRazor 3s ease-in-out infinite alternate;
    }

    .hero-floating-scissor {
        display: block;
        opacity: 0.15;
        top: 12%;
        left: -12%;
        bottom: auto;
        height: 180px;
        width: auto;
        position: absolute;
        pointer-events: none;
        z-index: 1;
        animation: floatScissor 3s ease-in-out infinite alternate;
    }

    .hero-left-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
        width: 100%;
    }

    .btn-razor {
        padding: 16px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 320px;
    }

    /* SEÇÕES E MARGENS */
    .section {
        padding: 4.5rem 0 3.5rem;
        overflow: hidden;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(30px, 8vw, 42px);
    }

    .section-desc {
        font-size: 14px;
        margin-top: 10px;
        padding: 0 10px;
    }

    /* GRIDS MOBILE 1 COLUNA (SEM OVERFLOW) */
    .video-section-grid,
    .gallery-grid,
    .services-grid,
    .testimonials-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .service-card {
        padding: 1.6rem 1.4rem;
    }

    .service-top {
        gap: 10px;
        margin-bottom: 18px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-price {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 2rem 1.4rem;
        min-width: 80vw;
        max-width: 85vw;
        height: 390px;
    }

    .testimonial-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .product-card {
        width: 100%;
    }

    .product-details {
        padding: 1.4rem;
    }

    .video-card-content {
        padding: 1.4rem;
    }

    .video-card-title {
        font-size: 24px;
    }

    .gallery-item {
        height: 380px;
    }

    /* SEÇÃO RITUAIS & PINCEL */
    .craft-showcase-section {
        padding: 4rem 0;
        overflow: hidden;
    }

    .craft-text-content {
        padding: 20px 0;
    }

    .craft-text-content h3 {
        font-size: clamp(28px, 6vw, 36px);
    }

    .bg-floating-brush,
    .bg-floating-razor {
        display: none;
        /* remove elementos com coordenadas absolutas que geravam barra horizontal */
    }

    /* EDITORIAL FRANKLIN */
    .profile-section {
        padding: 4.5rem 0 3.5rem;
        overflow: hidden;
    }

    .profile-firstname,
    .profile-lastname {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: 2px;
    }

    .profile-quote {
        font-size: 15px;
        margin-bottom: 1.5rem;
        padding-left: 14px;
    }

    .profile-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
        width: 100%;
    }

    .profile-image-wrap {
        height: 520px;
        width: 100%;
    }

    .profile-image-wrap img {
        transform: scale(1.4);
        transform-origin: center 20%;
    }

    /* disable hover effects on mobile */
    .profile-image-wrap:hover img {
        transform: scale(1.4);
        filter: none;
    }

    .profile-image-wrap:hover::before,
    .profile-image-wrap:hover::after {
        animation: none;
        border-color: transparent;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .site-footer {
        padding-bottom: 8rem;
    }
}

/* =====================================================================
   GLOBAL PRELOADER
   ===================================================================== */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg-darker);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
}

.scissor-wrapper {
    position: relative;
    font-size: 60px;
    height: 60px;
    width: 60px;
    margin: 0 auto 20px;
}

.scissor-bg {
    color: #222;
    position: absolute;
    bottom: 0;
    left: 0;
}

.scissor-fill {
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    height: 0%;
    animation: fillScissor 2s ease-in-out infinite alternate;
}

@keyframes fillScissor {
    0% {
        height: 0%;
    }

    100% {
        height: 100%;
    }
}

.loading-text {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: blinkText 1.5s infinite;
}

@keyframes blinkText {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* =====================================================================
   CAROUSEL E MODAL (GALLERY)
   ===================================================================== */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    /* space for scrollbar */
}

/* Hide scrollbar for a cleaner look but keep functionality */
.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: #111;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none !important;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#testimonialsTrack {
    scroll-snap-type: none; /* Allows continuous 1px smooth scrolling without fighting CSS snap */
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--color-primary);
    color: #000;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    font-size: 18px;
    transition: 0.3s ease;
}

.carousel-nav-btn:hover {
    background: #e6b800; /* Darker gold */
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev-btn {
    left: -20px;
}

.carousel-nav-btn.next-btn {
    right: -20px;
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        display: none !important;
    }
}

.carousel-item {
    min-width: 300px;
    max-width: 350px;
    height: 450px;
    scroll-snap-align: start;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #111;
    border: 1px solid #222;
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: 260px;
        height: 380px;
    }
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.portfolio-video::-webkit-media-controls,
.portfolio-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

/* Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.98);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #222;
}

.gallery-modal-header h2 {
    font-size: 24px;
    color: #fff;
    font-family: var(--font-heading);
}

.btn-close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.btn-close-modal:hover {
    color: var(--color-primary);
}

.gallery-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-modal-body .modal-item {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border: 1px solid #222;
}

.gallery-modal-body img,
.gallery-modal-body video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}