/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.bg-primary {
    background-color: #1E90FF !important; /* Blue for sky/rain */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: #fff !important;
}

.nav-link:hover {
    color: #FFD700 !important; /* Orange hover */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1504608524841-42fe6f032b4b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #FFA500;
    border-color: #FFA500;
}

.btn-primary:hover {
    background-color: #FFD700;
    border-color: #FFD700;
}

/* Cards */
.card {
    transition: transform 0.3s;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-year {
    font-weight: 700;
    color: #1E90FF;
    display: inline-block;
    width: 80px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #FFA500;
    border-radius: 50%;
}

.timeline-item p {
    display: inline-block;
    margin: 0;
}

/* Table */
.table {
    background-color: #f8f9fa;
}

.table th, .table td {
    vertical-align: middle;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #1E90FF;
    color: #fff;
}

/* City Selector */
.form-select {
    max-width: 300px;
}

/* Betting Calculator */
#bettingCalculator {
    max-width: 400px;
}

#calculatorResult {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

#calculatorResult p {
    margin: 0;
    font-size: 1.1rem;
}

/* City Selector */
.form-select {
    max-width: 300px;
}

/* Betting Calculator */
#bettingCalculator {
    max-width: 400px;
}

#calculatorResult {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
}

#calculatorResult p {
    margin: 0;
    font-size: 1.1rem;
}

/* Hurricane Hero Background */
.hero.hurricane {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1508921340878-ba53e1f016ec?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Storm Tracker Card */
.storm-tracker-card {
    background-color: #f8f9fa;
    border: none;
}

/* Tornado Hero Background */
.hero.tornado {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1528482979779-422e38e3c7a6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Tornado Alert Card */
.tornado-alert-card {
    background-color: #f8f9fa;
    border: none;
}

/* Climate Hero Background */
.hero.climate {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1447433693259-c8549e352d87?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Climate Data Card */
.climate-data-card {
    background-color: #f8f9fa;
    border: none;
}

/* Kalshi Hero Background */
.hero.kalshi {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Polymarket Hero Background */
.hero.polymarket {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1506119493142-1c1ae94e7e05?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Resources Hero Background */
.hero.resources {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1519681393784-d120267933ba?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Resource Cards */
.resource-card {
    transition: transform 0.3s;
}
.resource-card:hover {
    transform: translateY(-5px);
}