﻿/* Responsive Styles for TripsBuzz Holidays */

@media(max-width:1200px) {
    .container {
        width:95%;
    }

    .hero-content h1 {
        font-size:48px;
    }

    .destination-grid {
        grid-template-columns:repeat(3,1fr);
    }

    .offer-grid {
        grid-template-columns:repeat(3,1fr);
    }

    .why-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .footer-grid {
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:991px) {
    .top-flex {
        flex-direction:column;
        gap:10px;
    }

    .nav-wrapper {
        flex-direction:column;
        gap:20px;
    }

    nav ul {
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .hero {
        height:auto;
        /* reduced padding to avoid large vertical spacing on tablet and below */
        padding:70px 0 40px;
    }

    .hero-content h1 {
        font-size:36px;
    }

    .hero-content p {
        font-size:18px;
    }

    .search-box {
        grid-template-columns:1fr;
    }

    .search-box button {
        width:100%;
    }

    .destination-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .offer-grid {
        grid-template-columns:1fr;
    }

    .why-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .trusted-logos {
        grid-template-columns:repeat(3,1fr);
    }

    .contact-form {
        grid-template-columns:1fr;
    }

    .contact-form textarea,
    .contact-form button {
        grid-column:auto;
    }

    .footer-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px) {
    .top-left,
    .top-right {
        flex-direction:column;
        gap:8px;
    }

    .logo img {
        width:150px;
    }

    nav ul {
        flex-direction:column;
        align-items:center;
    }

    .quote-btn {
        width:100%;
        text-align:center;
    }

    .hero-content h1 {
        font-size:30px;
    }

    .hero-content p {
        font-size:16px;
    }

    .section-title h2 {
        font-size:30px;
    }

    .destination-grid,
    .why-grid {
        grid-template-columns:1fr;
    }

    .trusted-logos {
        grid-template-columns:1fr;
        gap:30px;
    }

    .footer-grid {
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-box h3::after {
        left:50%;
        transform:translateX(-50%);
    }

    .footer-social {
        justify-content:center;
    }

    .whatsapp-float {
        width:55px;
        height:55px;
        right:20px;
        bottom:20px;
    }

    #topBtn {
        width:50px;
        height:50px;
        right:20px;
        bottom:90px;
    }
}

@media(max-width:480px) {
    .hero-content h1 {
        font-size:26px;
    }
}
