/* Custom styles for Creative Images In Hair & Nail */

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

body {
    font-family: 'Nunito', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Selection color */
::selection {
    background-color: #ff8a52;
    color: white;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff8a52, #f05020);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f05020, #d93a15);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .float-animation {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    .decorative-circle,
    button,
    form {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-gradient {
        background: #f6f6f6 !important;
    }
    
    .hero-gradient h1,
    .hero-gradient p,
    .hero-gradient .text-white {
        color: #1a1a1a !important;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem !important;
    }
    
    .decorative-circle {
        display: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    .hero-gradient h1 {
        font-size: 2rem;
    }
}
