/* 
 * Abel Analytics Website Responsive Styles
 * Responsive stylesheet for abelanalytics.no clone
 */

/* ===== Responsive Styles ===== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .iframe-container iframe {
        height: 600px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.25rem;
    }
    
    .iframe-container iframe,
    .video-container iframe {
        height: 400px;
    }
    
    .code-snippet {
        padding: 1.5rem;
    }
    
    .code-snippet code {
        font-size: 0.875rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 1rem;
    }
    
    .legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .legal-links a {
        margin: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero, .product-hero, .pricing-hero, .about-hero, 
    .features, .pricing-plans, .about-story, .values, .faq, 
    .chat-demo, .video-showcase, .integration-example, 
    .video-demo, .leverage-ai, .how-it-works, .immediate-response {
        padding: 3rem 0;
    }
    
    .feature-grid, .pricing-grid, .faq-grid, .values-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .iframe-container iframe,
    .video-container iframe {
        height: 300px;
    }
    
    .code-snippet {
        padding: 1rem;
    }
    
    .code-snippet code {
        font-size: 0.75rem;
    }
}
