/* =========================
   TRAVELNEST STYLE.CSS
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#222;
    transition:0.4s ease;
    overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    padding:15px 0;
    transition:0.3s;
}

.navbar-brand{
    font-size:1.8rem;
    font-weight:700;
}

.nav-link{
    font-weight:500;
    margin-left:15px;
    transition:0.3s;
}

.nav-link:hover{
    color:#0d6efd !important;
}

/* =========================
   HERO
========================= */

#home{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.55)
    ),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600");
    background-size:cover;
    background-position:center;
    color:white;
}

#home h1{
    font-size:3.5rem;
    font-weight:800;
}

#home p{
    font-size:1.1rem;
    margin:20px 0;
}

#home .btn{
    border-radius:50px;
    padding:12px 28px;
}

#home img{
    display:none;
}

/* =========================
   SECTIONS
========================= */

section{
    padding:100px 0;
}

section h2{
    font-weight:700;
    margin-bottom:15px;
}

/* =========================
   CARDS
========================= */

.card{
    border:none;
    border-radius:20px;
    overflow:hidden;
    transition:0.4s;
    box-shadow:
    0 10px 25px rgba(0,0,0,0.08);
}

.card:hover{
    transform:translateY(-10px);
}

.card-body{
    padding:30px;
}

/* =========================
   DESTINATIONS
========================= */

#destinations .card{
    text-align:center;
}

#destinations h4{
    color:#0d6efd;
    font-weight:700;
}

/* =========================
   PACKAGES
========================= */

#packages .card{
    text-align:center;
}

#packages h2{
    color:#0d6efd;
    font-weight:700;
}

#packages .btn{
    margin-top:15px;
    border-radius:50px;
}

/* =========================
   GALLERY
========================= */

#gallery img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:20px;
    transition:0.4s;
}

#gallery img:hover{
    transform:scale(1.05);
}

/* =========================
   CONTACT
========================= */

form{
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

.form-control{
    padding:14px;
    border-radius:12px;
}

.form-control:focus{
    box-shadow:none;
    border-color:#0d6efd;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111;
}

footer h5{
    font-weight:700;
}

/* =========================
   BUTTONS
========================= */

.btn-primary{
    border-radius:50px;
    padding:12px 24px;
}

.btn-outline-primary{
    border-radius:50px;
}

/* =========================
   DARK MODE
========================= */

body.dark-mode{
    background:#0f172a;
    color:#ffffff;
}

body.dark-mode .navbar{
    background:#111827 !important;
}

body.dark-mode .navbar-brand,
body.dark-mode .nav-link{
    color:white !important;
}

body.dark-mode .bg-light{
    background:#1e293b !important;
}

body.dark-mode .card{
    background:#1e293b;
    color:white;
}

body.dark-mode form{
    background:#1e293b;
}

body.dark-mode .form-control{
    background:#334155;
    color:white;
    border:1px solid #475569;
}

body.dark-mode .form-control::placeholder{
    color:#cbd5e1;
}

body.dark-mode .form-control:focus{
    background:#334155;
    color:white;
}

body.dark-mode footer{
    background:#020617 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    #home{
        text-align:center;
    }

    #home h1{
        font-size:2.5rem;
    }

}

@media(max-width:576px){

    #home h1{
        font-size:2rem;
    }

    section{
        padding:70px 0;
    }

    form{
        padding:25px;
    }

}

/* =========================
   SCROLL ANIMATION
========================= */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   BACK TO TOP BUTTON
========================= */

#backToTop{
    position:fixed;
    right:20px;
    bottom:20px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    cursor:pointer;
    display:none;
    z-index:999;
    font-size:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

#backToTop:hover{
    transform:translateY(-4px);
}