/* Custom Styles for Divine Chiropractic & Nutrition */

/* Diagonal clip for hero */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Hero Content Animation */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Section Labels */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2d5f2d;
    margin-bottom: 1rem;
}

/* Section Headings */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #142814;
    margin-bottom: 1.5rem;
}

/* Service Cards */
.service-card {
    opacity: 1;
}

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

/* Approach Cards */
.approach-card {
    opacity: 1;
}

.approach-card:hover {
    transform: translateY(-4px);
}

/* Testimonial Cards */
.testimonial-card {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Scroll Reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(45, 95, 45, 0.1);
}

nav.scrolled .font-serif {
    color: #142814;
}

/* Mobile menu active state */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8fb88f;
}

/* Selection color */
::selection {
    background: #dce8dc;
    color: #142814;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Print styles */
@media print {
    nav, .hero-image-wrapper, #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
