/* Custom styles that extend Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    position: relative;
    overflow-x: hidden;
    background: #f3f4f6;
    color: #1f2937;
}
/* Hail and Lightning Animation */
.hail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(to bottom, #e5e7eb, #9ca3af);
}
.lightning {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    z-index: -1;
}

@keyframes lightning {
    0% { opacity: 0; }
    2% { opacity: 0.6; }
    4% { opacity: 0.2; }
    6% { opacity: 0.8; }
    8% { opacity: 0; }
    100% { opacity: 0; }
}
.hail {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: hail-fall linear infinite;
    filter: blur(0.5px);
}
@keyframes hail-fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Car being hit by hail */
.car-container {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 200px;
    z-index: -1;
    perspective: 1000px;
}
.car {
    width: 100%;
    height: 100%;
    background-image: url('http://static.photos/orange/640x360/5');
background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px 20px 0 0;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}
.car:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 20px 20px 0 0;
}
.hail-impact {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: impact 0.3s ease-out;
    filter: blur(0.5px);
}
@keyframes impact {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
/* Rain effect */
.rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.rain-drop {
    position: absolute;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    animation: rain-fall linear infinite;
}

@keyframes rain-fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
}
/* Weather forecast styles */
#weatherContainer {
    transition: all 0.3s ease;
}

.weather-card {
    transition: transform 0.3s ease;
}

.weather-card:hover {
    transform: translateY(-5px);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ff9800;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e65100;
}
/* Animation for form submission */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.confirmation-content {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Custom input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Custom transition for buttons */
.btn-transition {
    transition: all 0.2s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}