/* Custom Styles for CAA Project Head Start */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #c4653a;
    border-radius: 5px;
}

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

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal Animations */
.reveal-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-up.delay-100 {
    animation-delay: 0.1s;
}

.reveal-up.delay-200 {
    animation-delay: 0.2s;
}

.reveal-up.delay-300 {
    animation-delay: 0.3s;
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 101, 58, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button Hover Glow */
button:hover,
a:hover {
    box-shadow: 0 0 30px rgba(196, 101, 58, 0.3);
}

/* Input Focus Effects */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(196, 101, 58, 0.2);
}

/* Image Hover Zoom */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
}

/* Accessibility - 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;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
    .bg-luxury-dark {
        background-color: ButtonFace;
    }
    
    .text-luxury-sand-light {
        color: ButtonText;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 2px solid #c4653a;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: #c4653a;
    color: #f2e6da;
}
