/* ═══════════════════════════════════════════════════════════════════
   Inkognito Tattoo — Custom Styles
   ═══════════════════════════════════════════════════════════════════ */

/* ── Base ── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(13, 148, 136, 0.4);
    color: #f1f5f9;
}

/* ── Navbar ── */
#navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background-color: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

/* ── Mobile Menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu .mobile-link {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

#mobileMenu.open .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ── Menu Toggle Animation ── */
#menuToggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menuToggle.active .menu-line:nth-child(2) {
    opacity: 0;
    width: 0;
}

#menuToggle.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
    background-color: #2dd4bf;
}

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b8a6, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(13, 148, 136, 0.05);
}

/* ── Gallery Items ── */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    will-change: transform;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .gallery-item img {
        transition: none;
    }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* ── Form Focus Styles ── */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.3);
}

/* ── Utility ── */
.text-gradient-teal {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Mobile Responsiveness ── */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.75rem;
    }

    #hero h1 span {
        font-size: 2.25rem;
    }

    .service-card {
        padding: 1.5rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}

/* ── Print ── */
@media print {
    #navbar,
    #contactForm,
    .gallery-item::after {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
