@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&display=swap');

/* CSS Variables for Dark Theme with Gold Accents */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;
    --gold-primary: #C9BB9E;
    /* Muted Champagne / Ash Gold */
    --gold-hover: #b5a587;
    --gold-dark: #8c7f66;
    --border-color: #333333;

    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-tattoo: 'Great Vibes', cursive;
    --font-chicano: 'UnifrakturMaguntia', cursive;

    --transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: 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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}



html {
    scroll-behavior: smooth;
    touch-action: pan-x pan-y;
}

body {
    font-family: var(--font-main);
    background-color: #0d0d0d;
    background-image: radial-gradient(circle at top right, rgba(45, 40, 25, 0.25) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: pan-x pan-y;
}

input, textarea {
    -webkit-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.gold-text {
    color: var(--gold-primary);
}

/* Typography Utilities */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--gold-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: transparent !important;
    color: #fdfdfd;
    font-weight: 600;
    border: 2px solid var(--gold-primary) !important;
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.btn-primary:hover {
    background-color: var(--gold-primary) !important;
    color: #0a0a0a !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 187, 158, 0.3) !important;
}

.submit-btn {
    background-color: #0d0d0d !important;
    color: #c4b69d !important;
    border: 1px solid rgba(196, 182, 157, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #1a1a1a !important;
    color: #c4b69d !important;
    border-color: #c4b69d !important;
    box-shadow: 0 6px 20px rgba(196, 182, 157, 0.15) !important;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--bg-dark);
}

.btn-glow {
    filter: drop-shadow(0 0 8px rgba(201, 187, 158, 0.5));
}

.btn-glow:hover {
    filter: drop-shadow(0 0 12px rgba(201, 187, 158, 0.8));
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.5rem;
    background-color: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 90%;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 0;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: max(0.8rem, env(safe-area-inset-top)) 5% 0.6rem;
        background-color: rgba(10, 10, 10, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, #fdfdfd 0%, var(--gold-primary) 30%, var(--gold-dark) 70%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: filter 0.3s, transform 0.3s;
}

.logo:hover .logo-text {
    filter: brightness(1.2) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.8));
    transform: scale(1.02);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s, filter 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 400;
}

.nav-links li a:hover:not(.btn):not(.nav-tattoo-highlight) {
    color: var(--gold-primary);
}

.nav-tattoo-highlight {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin-top: 1px !important;
    border: 1px solid var(--gold-primary) !important;
    padding: 0.6rem 1.6rem !important;
    border-radius: 50px !important;
    font-family: var(--font-main) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1.5px;
    box-shadow: none !important;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(201, 187, 158, 0.4));
    
    background: linear-gradient(to bottom, #fdfdfd 0%, var(--gold-primary) 30%, var(--gold-dark) 70%, var(--gold-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.nav-tattoo-highlight:hover {
    background: var(--gold-primary) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #050505 !important;
    color: #050505 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 187, 158, 0.2) !important;
}

@keyframes premiumGleam {
    /* Kept intentionally empty to not throw syntax errors if anything else calls it safely */
}

.nav-links .btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    border-width: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gold-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/hero_bg_barbero.jpeg') center 60% / cover no-repeat;
    /* Using one of the provided photos as faint background */
    background-attachment: fixed;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Sub-page Hero Styles */
.sub-hero {
    height: 60vh;
}

.team-section {
    padding: 4rem 5% 6rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 5rem);
    white-space: normal;
    line-height: 1.2;
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-primary);
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.5));
}

.hero h2 {
    font-size: 3.2rem;
    font-family: var(--font-tattoo);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    text-transform: none;
}


.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Gallery */
.gallery {
    padding: 6rem 5%;
    position: relative;
    z-index: 1;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 0 60px;
}

.carousel-track-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    width: 100%;
    border-radius: 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track-container::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.gallery-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    height: 400px;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.15);
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
    background-color: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(8px);
    scroll-snap-align: start;
}

.gallery-item:hover {
    border-color: var(--gold-primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.carousel-btn {
    background: rgba(10, 10, 10, 0.9);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.carousel-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.carousel-btn.prev {
    left: 0px;
}

.carousel-btn.next {
    right: 0px;
}

/* Responsive updates for carousel */
@media (max-width: 992px) {
    .gallery-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 600px) {
    .carousel-wrapper {
        padding: 0 45px;
    }

    .gallery-item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 0px;
    }

    .carousel-btn.next {
        right: 0px;
    }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-container {
    background-color: rgba(15, 15, 15, 0.45);
    background-image:
        radial-gradient(circle at top left, rgba(201, 187, 158, 0.15), transparent 60%),
        radial-gradient(circle at bottom right, rgba(201, 187, 158, 0.05), transparent 60%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(201, 187, 158, 0.3);
    border-left: 1px solid rgba(201, 187, 158, 0.2);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: #c4b69d;
}

.booking-info {
    text-align: center;
}

.booking-info h2 {
    font-size: 2.5rem;
    color: #c4b69d;
    margin-bottom: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.booking-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.booking-form .half {
    flex: 1;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    font-family: var(--font-main);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Custom Select Glassmorphism */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-select-trigger:hover,
.custom-select-trigger.open {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(201, 187, 158, 0.15);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(201, 187, 158, 0.3);
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.custom-select-trigger.open+.custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-of-type {
    border-bottom: none;
}

.custom-option:hover {
    background-color: rgba(201, 187, 158, 0.15);
    color: var(--gold-primary);
}

.custom-select-trigger .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    margin-top: -4px;
}

.custom-select-trigger.open .arrow {
    transform: rotate(-135deg) translateY(-4px);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(201, 187, 158, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    background-image: radial-gradient(circle at top, rgba(26, 26, 26, 1) 0%, rgba(10, 10, 10, 1) 100%);
    padding: 4rem 5% 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column h3 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-column p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: lighten;
    margin-bottom: 1rem;
}

.footer-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logos .footer-logo {
    margin-bottom: 0.5rem;
}

.footer-brand {
    font-family: var(--font-heading);
    color: var(--text-primary) !important;
    font-size: 1.2rem !important;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 1.5rem;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* Masonry Gallery */
.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    border: 1px solid rgba(201, 187, 158, 0.15);
    transition: all 0.4s ease;
    background-color: rgba(10, 10, 10, 0.6);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.masonry-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(201, 187, 158, 0.3);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 3rem;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s, transform 0.3s;
    z-index: 3001;
}

.lightbox-close:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
}

/* Animations - Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.fade-in {
    animation: fadeIn 1.5s ease forwards;
}

.slide-up {
    animation: slideUp 1.2s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.5s ease 0.6s forwards;
}

.slide-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.slide-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee Tape */
.marquee-tape {
    width: 100%;
    margin-top: -65px;
    /* Safely pulls it up entirely above the viewport fold */
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--gold-primary);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.marquee-content span {
    margin: 0 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .booking-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 2.5rem 5% 4rem !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .tattoos-page .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        border: none;
        width: auto;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        word-break: break-word;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .marquee-tape {
        margin-top: -50px;
    }

    .marquee-content {
        animation-duration: 15s;
    }

    .booking-form .form-row {
        flex-direction: column;
        gap: 0;
    }

}

@media (max-width: 600px) {
    .sub-hero {
        height: 45vh !important;
        min-height: 280px !important;
        padding-top: 60px !important;
    }
    
    .sub-hero .hero-content {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Solución de rendimiento para iPads y Móviles (Bug de iOS con background-attachment: fixed) */
@media (hover: none) and (pointer: coarse), (max-width: 1024px) {
    .hero, .hero[style], .pricing, .gallery-section {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
}


/* Pricing Section */
.pricing {
    padding: 6rem 5%;
    position: relative;
    z-index: 1;
}

.pricing-list-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.pricing-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.pricing-info h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-main);
}

.pricing-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 2rem;
}

/* Group Rates Styling */
.special-offer {
    border: 1px solid var(--gold-dark);
    background: linear-gradient(145deg, #0a0a0a, #151105);
}

.pricing-group-rates {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-left: 2rem;
    min-width: 180px;
}

.rate-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.3rem;
}

.rate-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rate-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: capitalize;
}

.rate-price {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.rate-price small {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

@media (max-width: 600px) {
    .pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .pricing-amount,
    .pricing-group-rates {
        margin-left: 0;
        width: 100%;
    }
}

/* Tattoos Page Exclusive Styles */
.tattoos-page {
    /* Antique Gold palette (Rich, not grey, not orange) */
    --gold-primary: #C5A059;
    --gold-hover: #D4B473;
    --gold-dark: #8E733E;
}

.tattoos-page .hero h1 {
    font-family: var(--font-chicano) !important;
    font-weight: 400;
    font-size: 5.5rem;
    text-transform: capitalize;
    margin-top: 0;
    background: linear-gradient(to bottom, #fdfdfd 0%, var(--gold-primary) 40%, var(--gold-dark) 70%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.95));
}

.tattoos-page .hero::before {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, rgba(5, 5, 5, 0.95) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tattoos-page .hero h2 {
    font-size: 3.5rem;
}

.tattoos-page .pricing {
    background: url('assets/tattoo_ink_bg.png') center / cover no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.tattoos-page .modal-container {
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.tattoos-page .pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.7);
    z-index: -1;
}

.tattoos-page .pricing-item {
    background-color: rgba(10, 10, 10, 0.7);
    background-image: linear-gradient(135deg, rgba(197, 160, 89, 0.05) 0%, transparent 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    transition: all 0.4s ease;
}

.tattoos-page .pricing-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(197, 160, 89, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(197, 160, 89, 0.15);
    background-color: rgba(15, 15, 15, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

/* Tattoos Masonry Hover Effect (Reveal) */
.tattoos-page .masonry-item {
    background-color: #050505;
}

.tattoos-page .masonry-item img {
    filter: grayscale(0%) brightness(0.95);
    transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tattoos-page .masonry-item:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.04);
}

/* ========================================= */
/* PREMIUM UX/UI UPGRADES                    */
/* ========================================= */

/* 1. Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* 2. Page Transition Fade-in */
body {
    animation: pageFadeIn 0.6s ease-out forwards;
}
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 3. Custom Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: max-content;
    max-width: 90vw;
}
.toast {
    background-color: rgba(25, 5, 5, 0.85);
    color: #ffdddd;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-left: 4px solid #e74c3c;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(231, 76, 60, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-sizing: border-box;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* 4. WhatsApp Floating Action Button */
.fab-whatsapp {
    position: fixed;
    bottom: 85px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #1a1a1a;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.fab-whatsapp:hover {
    background-color: var(--gold-primary);
    color: #1a1a1a;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}
.fab-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .fab-whatsapp {
        bottom: 70px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .fab-whatsapp svg {
        width: 25px;
        height: 25px;
    }
    .toast {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* 5. Active Nav Link Indicator */
.nav-links li a.nav-active {
    color: var(--gold-primary) !important;
    position: relative;
}
.nav-links li a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--gold-primary);
}

/* 6. Lazy Load Image Fade-in */
img.lazy-load-fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
img.lazy-load-fade.loaded {
    opacity: 1;
}