/* Responsive Styles */

/* Mobile First - Default styles for mobile */

/* Tablet and up (768px) */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .sidebar-ad {
        display: block;
    }
}

/* Desktop and up (1024px) */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 5rem;
    }
    
    .hero p {
        font-size: 1.75rem;
    }
    
    .map-container {
        height: 500px;
    }
}

/* Large Desktop (1280px) */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .header-banner-ad {
        padding: 0.5rem;
    }
    
    .sidebar-ad {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .tool-section {
        padding: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .wind-speed {
        font-size: 2rem;
    }
}

/* Ad Responsive Behavior */
@media (max-width: 768px) {
    .adsbygoogle {
        max-height: 150px !important;
    }
}

/* Print Styles */
@media print {
    .ad-wrapper,
    .navbar,
    .footer,
    .sidebar-ad {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 200% auto;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
