/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette - Soft Blush & Rose */
    --color-primary: #C4929B;
    /* Dusty Rose */
    --color-primary-light: #F2D4D8;
    --color-primary-dark: #A06B75;
    --color-secondary: #fef8f8;
    /* Soft Blush White */
    --color-accent: #F5E1E4;
    /* Rose Beige */
    --color-text: #3A2D2F;
    --color-text-light: #6B5558;
    --color-white: #FFFFFF;
    --color-black: #1A1215;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(160, 107, 117, 0.08);
    --shadow-md: 0 10px 30px rgba(160, 107, 117, 0.1);
    --shadow-lg: 0 20px 40px rgba(160, 107, 117, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--color-black);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Loader
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-secondary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-animation {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 4px var(--color-primary-light);
    animation: pulse 2s infinite ease-in-out;
}

.loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.loader-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-text));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.loader-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(196, 146, 155, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(196, 146, 155, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(196, 146, 155, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background-color: rgba(254, 248, 248, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(160, 107, 117, 0.2);
}

.navbar.scrolled .nav-brand,
.navbar.scrolled .nav-links a {
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--color-primary-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: var(--transition-fast);
}

.navbar.scrolled .mobile-menu-btn span {
    background-color: var(--color-text);
}

/* Hamburger to X animation */
.mobile-menu-btn.open span {
    background-color: var(--color-text) !important;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/imagenes/hero.png') center/cover no-repeat;
    /* Adding a fallback background if image is generated later */
    background-color: var(--color-accent);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    color: var(--color-white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(196, 146, 155, 0.2);
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    animation: fadeInUp 1s forwards 0.2s;
    opacity: 0;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-white);
    animation: fadeInUp 1s forwards 0.4s;
    opacity: 0;
}

.hero-title em {
    font-style: italic;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s forwards 0.6s;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s forwards 0.8s;
    opacity: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(196, 146, 155, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
}

/* ==========================================================================
   Sections General
   ========================================================================== */
section {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
    background-color: var(--color-white);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-secondary);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, var(--color-accent));
    opacity: 0;
    transition: var(--transition-medium);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.service-card:hover::before {
    opacity: 0.3;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Multimedia Gallery
   ========================================================================== */
.gallery {
    background-color: var(--color-secondary);
}

.media-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 9/16;
    max-width: 400px;
    margin: 0 auto;
    background-color: #000;
}

.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary-dark);
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.play-btn svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

.play-btn:hover {
    background-color: var(--color-white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper.playing .play-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-wrapper:not(.playing):hover .play-btn {
    opacity: 1;
    visibility: visible;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.img-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1/1;
    position: relative;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.img-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

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

.img-card:hover::after {
    opacity: 1;
}

.img-card[data-lightbox] {
    cursor: pointer;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 18, 21, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    z-index: 9001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 9001;
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }
}

/* ==========================================================================
   Info Section (Location & Hours)
   ========================================================================== */
.info-section {
    background-color: var(--color-white);
    padding-bottom: 150px;
    /* Extra padding for floating btn */
}

.map-wrapper {
    max-width: 1200px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.map-wrapper iframe {
    display: block;
    border-radius: 20px;
    width: 100%;
    min-height: 400px;
}

.map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background-color: var(--color-secondary);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    text-align: center;
}

.map-link:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background-color: var(--color-secondary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
    border-color: var(--color-primary-light);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(196, 146, 155, 0.1);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.icon-box svg {
    width: 30px;
    height: 30px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.info-card p {
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.info-card a {
    color: var(--color-primary-dark);
    transition: var(--transition-fast);
}

.info-card a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #2D1F22;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-brand {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(196, 146, 155, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.footer-brand .logo-text {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--color-white);
    display: block;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.credit-link {
    color: #4da6ff;
    /* Blue highlight */
    font-weight: 500;
    transition: var(--transition-fast);
}

.credit-link:hover {
    color: #80bfff;
    text-decoration: underline;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: var(--transition-fast);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    animation-play-state: paused;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25D366;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: showTooltipOnce 6s ease-in-out 1s forwards;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #25D366;
}

@keyframes showTooltipOnce {
    0% { opacity: 0; visibility: visible; transform: translateY(-50%) translateX(10px); }
    10% { opacity: 1; transform: translateY(-50%) translateX(0); }
    20% { transform: translateY(-50%) translateX(-5px); }
    30% { transform: translateY(-50%) translateX(0); }
    40% { transform: translateY(-50%) translateX(-5px); }
    50% { transform: translateY(-50%) translateX(0); }
    85% { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
    100% { opacity: 0; visibility: hidden; transform: translateY(-50%) translateX(10px); }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

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

/* ==========================================================================
   Tattoo Removal Section
   ========================================================================== */
.tattoo-removal {
    background-color: var(--color-white);
}

.tattoo-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Las primeras 3 tarjetas llenan la primera fila normalmente */
/* Las 2 últimas se centran en la segunda fila */
.tattoo-card:nth-child(4) {
    grid-column: 1 / 2;
    margin-left: auto;
    width: 100%;
}

.tattoo-card:nth-child(5) {
    grid-column: 2 / 3;
    width: 100%;
}

/* Centrar la segunda fila (tarjetas 4 y 5) */
.tattoo-grid::after {
    content: '';
    grid-column: 3 / 4;
}

.tattoo-card {
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.tattoo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .media-container {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        margin-bottom: 30px;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .tattoo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tattoo-card:nth-child(4),
    .tattoo-card:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
    }

    .tattoo-grid::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        width: 30px;
        height: 22px;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }

    /* Mobile Menu Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(254, 248, 248, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        color: var(--color-text);
        font-size: 1.6rem;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;
        padding: 18px 40px;
        position: relative;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active a:nth-child(1) {
        transition: opacity 0.4s 0.15s ease, transform 0.4s 0.15s ease, color 0.3s ease;
    }

    .nav-links.active a:nth-child(2) {
        transition: opacity 0.4s 0.25s ease, transform 0.4s 0.25s ease, color 0.3s ease;
    }

    .nav-links.active a:nth-child(3) {
        transition: opacity 0.4s 0.35s ease, transform 0.4s 0.35s ease, color 0.3s ease;
    }

    .nav-links a::after {
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: var(--color-primary);
    }

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

    .nav-links a:hover::after {
        width: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .tattoo-card:nth-child(4),
    .tattoo-card:nth-child(5) {
        grid-column: auto;
        margin-left: 0;
    }
}