/* Star Lash Studio — Custom Styles */

/* Base reset & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px;
}

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

/* Smooth focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #5eead4;
    color: #134e4a;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* Blob animations */
.blob {
    animation: pulse-soft 4s ease-in-out infinite;
}

.blob:nth-child(2) {
    animation-delay: 1s;
}

.blob:nth-child(3) {
    animation-delay: 2s;
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Service card image placeholders */
.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Testimonial card hover */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 120px;
    font-family: 'Playfair Display', serif;
    color: rgba(13, 148, 136, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* Button ripple effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

/* Gallery grid responsive */
@media (max-width: 768px) {
    .img-zoom.col-span-2 {
        col-span: 1;
    }
    
    .img-zoom.row-span-2 {
        row-span: 1;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, .btn-primary, .btn-secondary {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Reduced motion */
@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;
    }
}

/* Tall mobile screens */
@media (min-height: 800px) {
    .gradient-hero {
        min-height: 100vh;
    }
}
