/* Custom styles and overrides */

:root {
    --color-coral-400: #FF9F8A;
    --color-coral-500: #FF8C75;
    --color-coral-600: #FF7A5E;
    --color-coral-100: #FFF0EC;
    --color-charcoal-800: #2D3748;
    --color-charcoal-900: #1A202C;
}

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

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

nav.scrolled .nav-logo,
nav.scrolled a:not(.px-5):not(.px-8) {
    color: #2D3748 !important;
}

nav.scrolled a:not(.px-5):not(.px-8):hover {
    color: #FF8C75 !important;
}

nav.scrolled .mobile-menu-btn svg {
    stroke: #2D3748 !important;
}

/* Service card hover */
.service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered fade-in for grid items */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* Input focus styles */
input:focus, select:focus, textarea:focus {
    border-color: var(--color-coral-400) !important;
    box-shadow: 0 0 0 3px rgba(255, 140, 117, 0.15) !important;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle gradient text for hero */
.text-gradient-coral {
    background: linear-gradient(135deg, var(--color-coral-400), var(--color-coral-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth image loading */
img {
    loading: lazy;
}

/* Selection color */
::selection {
    background: rgba(255, 140, 117, 0.25);
    color: var(--color-charcoal-900);
}
