/* 
* Pistis Business Hub - Responsive Stylesheet
* This stylesheet contains all the responsive styling for the website
*/

/* ----------------- */
/* Medium Screens (Tablets) */
/* ----------------- */
@media screen and (max-width: 992px) {
    /* Global */
    :root {
        --h1-size: 2.25rem;
        --h2-size: 1.75rem;
        --h3-size: 1.25rem;
        --h4-size: 1.1rem;
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Header & Navigation */
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        position: relative;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background-color: var(--primary-color);
        height: 3px;
        width: 30px;
        border-radius: 2px;
        position: relative;
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        width: 100%;
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
        padding: var(--spacing-md) 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: var(--spacing-sm) 0;
    }
    
    /* Hero Section */
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Process Section */
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Booking Section */
    .booking-content {
        flex-direction: column;
    }
    
    .booking-image {
        margin-bottom: var(--spacing-xl);
    }
    
    /* Contact Section */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: var(--spacing-xl);
    }
}

/* ----------------- */
/* Small Screens (Mobile) */
/* ----------------- */
@media screen and (max-width: 768px) {
    /* Global */
    :root {
        --h1-size: 2rem;
        --h2-size: 1.5rem;
        --h3-size: 1.25rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Process Section */
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials Section */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* ----------------- */
/* Extra Small Screens */
/* ----------------- */
@media screen and (max-width: 480px) {
    /* Global */
    :root {
        --h1-size: 1.75rem;
        --h2-size: 1.35rem;
        --h3-size: 1.15rem;
        --body-size: 0.95rem;
    }
    
    /* Header */
    .logo img {
        height: 40px;
    }
    
    /* Services Section */
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* FAQ Section */
    .faq-question {
        padding: var(--spacing-md);
    }
    
    .faq-question::after {
        right: var(--spacing-md);
    }
    
    .faq-answer p {
        padding: var(--spacing-md);
    }
}
