/* Custom styles for Southern Shield Insurance */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #831443, #d97706);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d174d, #e68a00);
}

/* Hero gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-gradient {
    background: linear-gradient(135deg, #500724 0%, #831443 35%, #9d174d 65%, #b45309 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(80, 7, 36, 0.2);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-link {
    color: #1f2937 !important;
}

.nav-scrolled .nav-text {
    color: #1f2937 !important;
}

.nav-scrolled #mobile-menu-btn {
    color: #1f2937 !important;
}

/* Button hover effects */
.amber-gradient:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #e68a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.plum-gradient:hover {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 23, 77, 0.3);
}

/* Form focus effects */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(157, 23, 77, 0.1);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .font-serif.text-4xl {
        font-size: 2.25rem;
    }
}

/* Print styles */
@media print {
    .hero-gradient {
        background: #831443 !important;
    }
    
    .card-hover {
        transform: none !important;
        box-shadow: none !important;
    }
}
