/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        justify-content: center;
        padding: 1rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0.5rem;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
    }

    .search-filters {
        flex-direction: column;
        align-items: center;
    }

    .search-filters select {
        width: 100%;
        max-width: 300px;
    }

    .station-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .districts-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #f0f0f0;
    }

    .card, .search-section {
        background: #2d2d2d;
        color: #f0f0f0;
    }

    .station-item, .fuel-price {
        border-color: #444;
    }

    .district-item {
        background: #333;
        color: #f0f0f0;
    }

    input, select {
        background: #333;
        color: #f0f0f0;
        border-color: #555;
    }
}

/* Print Styles */
@media print {
    .header, .search-section, .footer, .cta-section,
    .mobile-menu-btn, .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
