/* 
   SB DREAMS BRIDGE Responsive Stylesheet
   Media queries for responsive design
*/

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-content, 
    .contact-content {
        flex-direction: column;
    }
    
    .contact-map {
        margin-top: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    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);
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 20px;
    }
    
    nav ul li a:after {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
    
    .testimonial-slider {
        padding: 0 20px;
    }
    
    .social-grid {
        gap: 10px;
    }
    
    .social-item {
        width: 120px;
        height: 120px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .resource-tabs {
        justify-content: flex-start;
    }
    
    .resource-tabs li {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links, 
    .footer-contact, 
    .footer-social {
        width: 100%;
    }
}
