:root {
  --primary-color: #e63946;
  --secondary-color: #457b9d;
  --background-color: #f1faee;
  --text-color: #1d3557;
  --light-gray: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Logo Styles */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--primary-color);
    margin-left: 2px;
}

/* Emergency Banner */
.emergency-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 0;
  text-align: center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Stats Cards */
.fire-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin: 0.5rem 0;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Current Fires Section */
.current-fires {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Update Cards */
.fire-updates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.update-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.update-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.update-card .location {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Resource Section */
.quick-resources {
    padding: 4rem 0;
    background: var(--light-gray);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

.resource-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.resource-card p {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230,57,70,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer ul {
    list-style: none;
    margin-top: 1rem;
}

.footer li {
    margin: 0.5rem 0;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* Incident Details */
.incident-details {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.incident-details p {
    margin: 0.5rem 0;
}

.weather-conditions {
    margin: 1rem 0;
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
}

.weather-conditions h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.weather-conditions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.weather-conditions li {
    margin: 0.3rem 0;
    color: var(--secondary-color);
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Content Pages */
.content-section {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    background: var(--light-gray);
    padding: 6rem 0 2rem;
    text-align: center;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 0;
}

.contact-info h2 {
    margin: 2rem 0 1rem;
}

.contact-item {
    margin: 1rem 0;
}

.contact-list {
    list-style: none;
    margin: 1rem 0;
}

.contact-list li {
    margin: 0.5rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* Policy Content */
.policy-content,
.terms-content {
    line-height: 1.8;
}

.policy-content h2,
.terms-content h2 {
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.policy-content ul,
.terms-content ul {
    margin: 1rem 0 2rem 2rem;
}

.policy-content li,
.terms-content li {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* News Section */
.latest-news {
    padding: 4rem 0;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.news-source {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.loading::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--secondary-color);
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.news-error {
    text-align: center;
    padding: 2rem;
    color: var(--primary-color);
    background: rgba(230,57,70,0.1);
    border-radius: 8px;
} 