/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f5f7fa;
    color: #f1f0f0;
    line-height: 1.6;
}

/* ===== Hero Section ===== */
.hero {
    width: 100%;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    padding: 1rem 3rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

/* ===== Navigation ===== */
.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-right: 350px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

.nav a:hover {
    color: #ffdf00;
}

/* Underline hover effect */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #ffdf00;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ===== Landing Page Section ===== */
.landing-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6rem;
    background-image: url("./imgs/bus.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: color;
    background-color: #27272767;
    gap: 3rem;
}


/* Right side (text) */
.landing-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.landing-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #02fce7;
}

.landing-text p {
    font-size: 1rem;
    color: #f3f2f2;
    line-height: 1.8;
    max-width: 450px;
}

.explore-btn {
    align-self: flex-start;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #0052cc, #0099ff);
    transform: translateY(-2px);
}


/* ===== Dashboard ===== */
.dashboard {
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.form-dash form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== Inputs ===== */
.destination input,
.time-ad input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    border: 0;
    outline: none;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background: #e7e7e89e;
}

.destination input:focus,
.time-ad input:focus {
    border: 1px solid #0066ff;
    box-shadow: 0px 0px 5px rgba(0, 102, 255, 0.4);
}

label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    display: inline-block;
}

/* ===== Time Section Layout ===== */
.time-ad {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.depart-time,
.arrival {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ===== Search Button ===== */
.searchbtn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.searchbtn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0052cc, #00aaff);
}

/* ===== Services Section ===== */
.services {
    padding: 4rem 2rem;
    background: #f9fbff;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0066ff;
    margin-bottom: 2.5rem;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 102, 255, 0.15);
}

/* ===== Destinations Section ===== */
.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
}

.destination-card {
    flex: 0 0 calc(33.333% - 1rem);
    /* 3 per row */
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.destination-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.dest-info {
    padding: 1rem;
    text-align: left;
}

.dest-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: #333;
}

.dest-info p {
    font-size: 0.9rem;
    color: #555;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 255, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 102, 255, 1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .destination-card {
        flex: 0 0 calc(50% - 1rem);
    }

    /* 2 per row */
}

@media (max-width: 600px) {
    .destination-card {
        flex: 0 0 100%;
    }

    /* 1 per row */
}

.reviews {
    padding: 4rem 2rem;
    background: #f8faff;
    text-align: center;
}

.reviews h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0066ff;
    margin-bottom: 2rem;
}

/* Carousel */
.review-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.review-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
}

/* Individual review card */
.review-card {
    flex: 0 0 calc(33.333% - 1.3rem);
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.review-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.review-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.stars {
    font-size: 1.2rem;
    color: #ffbb33;
}

/* Buttons */
.review-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 255, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 10;
}

.review-btn:hover {
    background: rgba(0, 102, 255, 1);
}

.review-btn.prev {
    left: 10px;
}

.review-btn.next {
    right: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.review-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.6rem;
}

.review-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #bbb;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.review-dots button.active {
    background: #0066ff;
    transform: scale(1.2);
}


/* Contact Section */
.contact {
    padding: 60px 20px;
    background: #f8f9fa;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0077b6;
}

.contact p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
}

.contact-form {
    flex: 1 1 400px;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background: #0077b6;
    border: none;
    color: white;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #023e8a;
}

.contact-info {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0077b6;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
    color: #333;
}

/* Contact Info Icons */
.contact-info i {
    margin-right: 10px;
    color: #0077b6;
    font-size: 1.2rem;
    transition: transform 0.4s ease, color 0.4s ease, background 0.4s ease;
}

/* Gradient Hover Effect */
.contact-info p:hover i {
    transform: translateY(-4px) scale(1.2);
    /* float + zoom */
    background: linear-gradient(45deg, #0077b6, #9b59b6);
    -webkit-text-fill-color: transparent;
}


.socials {
    margin-top: 20px;
}

.socials a {
    font-size: 1.8rem;
    margin-right: 20px;
    color: #0077b6;
    /* default icon color */
    transition: transform 0.4s ease, color 0.4s ease;
    display: inline-block;
    position: relative;
}

/* Gradient hover effect */
.socials a:hover {
    transform: translateY(-6px) scale(1.2);
    /* float + zoom */
    background: linear-gradient(45deg, #0077b6, #9b59b6);
    -webkit-background-clip: text;    -webkit-text-fill-color: transparent;
    /* gradient fills the icon */
}

/* Footer */
.footer {
    background: #023e8a;
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-socials {
    flex: 1 1 200px;
}

.footer h3,
.footer h4 {
    margin-bottom: 15px;
    color: #fff;
}

.footer p,
.footer a {
    font-size: 0.95rem;
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: #90e0ef;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 8px;
    color: #90e0ef;
}

/* Social Icons */
.footer-socials .social-icons a {
    font-size: 1.3rem;
    margin-right: 15px;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.footer-socials .social-icons a:hover {
    color: #90e0ef;
    transform: translateY(-4px);
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    font-size: 0.9rem;
    color: #aaa;
}




/* =========================================
   RESPONSIVE DESIGN 
   ========================================= */

/* Tablet Screens */
@media (max-width: 992px) {
    .hero-section {
        flex-wrap: wrap;
        gap: 1.5rem;
        text-align: center;
    }

    .nav ul {
        gap: 1.2rem;
        margin-right: 0;
    }

    .landing-page {
        flex-direction: column-reverse;
        padding: 3rem 2rem;
        text-align: center;
        gap: 2.5rem;
    }

    .landing-text {
        align-items: center;
    }

    .landing-text h2 {
        font-size: 1.9rem;
    }

    .dashboard {
        max-width: 500px;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {

    /* === Make Nav Turn into a Dropdown === */
    .nav ul {
        display: none;
        flex-direction: column;
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: 12px;
        position: absolute;
        top: 70px;
        width: 300px;
        right: 20px;
    }
    .nav ul li{
        color: #ffdf00;
        font-weight: bold;
    }

    .nav.active ul {
        display: flex;
    }

    /* Add hamburger button */
    .hero-section {
        position: relative;
    }

    .nav::before {
        content: "\2630"; /* hamburger icon */
        font-size: 1.9rem;
        cursor: pointer;
        display: block;
    }

    .nav ul a {
        margin: 0.7rem 0;
    }

    /* === Hero & landing === */
    .landing-text h2 {
        font-size: 1.7rem;
    }

    .landing-text p {
        font-size: 0.95rem;
    }

    .time-ad {
        flex-direction: column;
    }

    .service-list {
        gap: 1.2rem;
    }

    .service-card {
        width: 100%;
        max-width: 280px;
    }
}

/* Very Small Phones */
@media (max-width: 480px) {
    .hero {
        padding: 0.9rem 1.2rem;
    }
     .logo h1{
        font-size: 23px;
    }
    .logo img{
        width:40px;
        height:40px;
    }

    .sign button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .landing-text h2 {
        font-size: 1.4rem;
    }

    .searchbtn {
        font-size: 1rem;
    }

    .destination-card img {
        height: 150px;
    }
    .nav ul{
        width: 200px;
    }
}
