/* Custom styles for Turning Heads by Misty */

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

/* Selection color */
::selection {
    background: #f3b8a0;
    color: #53372d;
}

/* Body background pattern */
body {
    background-image: radial-gradient(circle at 20% 80%, rgba(243, 184, 160, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.03) 0%, transparent 50%);
}

/* Nav scroll effect */
.nav-scrolled {
    box-shadow: 0 2px 20px rgba(83, 55, 45, 0.08);
}

/* Hero text shadow for readability */
.hero-gradient h1 {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

/* Service card icon container */
.service-card > div:first-child {
    transition: transform 0.3s ease;
}
.service-card:hover > div:first-child {
    transform: scale(1.1) rotate(5deg);
}

/* Gallery hover overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(83, 55, 45, 0.2) 0%, transparent 50%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Testimonial quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: #f9dad0;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}
.testimonial-card {
    position: relative;
}
.testimonial-card p {
    position: relative;
    z-index: 1;
}

/* Decorative accent lines */
.deco-line {
    background: linear-gradient(90deg, #d14a28, #d4a574);
}

/* Floating animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 4px 20px rgba(209, 74, 40, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(209, 74, 40, 0.5); }
}
.btn-primary {
    animation: pulse-soft 3s ease-in-out infinite;
}
.btn-primary:hover {
    animation: none;
}

/* Mobile menu animations */
#mobileMenu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

/* Menu toggle animation */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle-active .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-toggle-active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .hero-gradient, #mobileMenu, #contactForm {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
