/* ===== Custom Styles for Smile More Tattoo ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Floating Card Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-delayed-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.animate-float-delayed-2 {
    animation: float-delayed-2 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== Navbar Scroll State ===== */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .menu-line {
    background: #1a1a1a !important;
}

/* ===== Service Card Hover ===== */
.service-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

/* ===== Gallery Hover ===== */
.gallery-item {
    cursor: pointer;
}

/* ===== Process Step Hover ===== */
.process-step:hover h3 {
    color: #d4502b;
    transition: color 0.3s ease;
}

/* ===== Mobile Menu ===== */
.mobile-menu-open {
    overflow: hidden;
}

#mobile-menu.menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line.open-1 {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-line.open-2 {
    opacity: 0;
}

.menu-line.open-3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 5;
}

/* ===== Custom Select Arrow ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ===== Selection Color ===== */
::selection {
    background: #d4502b;
    color: #fefdf8;
}

/* ===== Focus Visible ===== */
*:focus-visible {
    outline: 2px solid #d4502b;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a67054;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}
