/* 
* Rotehol - Business Consulting Website
* Responsive Stylesheet
*/

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-content {
        flex-direction: column;
    }
    
    .team-image {
        max-width: 400px;
        margin: 0 auto 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Navigation */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    nav ul li:last-child {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Sections */
    .about-stats {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .newsletter .form-group {
        flex-direction: column;
    }
    
    .newsletter .form-group input {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h2 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Cookie Banner */
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-actions {
        flex-direction: column;
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }
    
    .cookie-banner {
        max-height: 80vh;
        overflow-y: auto;
    }
}
