/*==================================================
  JEMJON TRAVEL
  PART 1 CSS
==================================================*/

:root{

    --primary:#1f5e2f;
    --primary-dark:#154421;

    --secondary:#D45A3B;

    --gold:#D4AF37;

    --background:#F8F5EF;

    --white:#FFFFFF;

    --text:#3B3B3B;

    --shadow:0 18px 45px rgba(0,0,0,.15);

    --radius:22px;

    --transition:.35s ease;

}

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Poppins",sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

}

.container{

    width:min(1180px,92%);

    margin:auto;

}

.section{

    padding:90px 0;

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.section.show{

    opacity:1;

    transform:none;

}

/*==================================================
SECTION TITLES
==================================================*/

.section-title{

    text-align:center;

    margin-bottom:45px;

}

.section-title span{

    display:inline-block;

    color:var(--gold);

    font-weight:700;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:12px;

}

.section-title h2{

    color:var(--primary);

    font-size:2.7rem;

    margin-bottom:20px;

}

.section-title p{

    max-width:760px;

    margin:auto;

    line-height:1.9;

    font-size: 1.20rem;
}

/*==================================================
FLOATING NAVIGATION
==================================================*/

header{

    position:fixed;

    top:20px;

    left:50%;

    transform:translateX(-50%);

    width:min(1180px,92%);

    z-index:999;

    transition:.35s;

}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 34px;

    border-radius:24px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

}

header.scrolled{

    top:10px;

}

header.scrolled .navbar{

    background:rgba(255,255,255,.92);

}

.nav-links{

    display:flex;

    list-style:none;

    gap:40px;

}

.nav-links a{

    color:#fff;

    font-weight:500;

    transition:var(--transition);

    position:relative;

}

header.scrolled .nav-links a{

    color:var(--text);

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.3s;

}

.nav-links a:hover::after,

.nav-links a.active::after{

    width:100%;

}

.book-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:var(--secondary);

    color:#fff;

    padding:14px 26px;

    border-radius:60px;

    font-weight:600;

    transition:var(--transition);

}

.book-btn:hover{

    transform:translateY(-3px);

    background:#BD4A2F;

}

/*==================================================
HERO
==================================================*/

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

    background-image:

        linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),

        url("images/hero.jpg");

    background-size:cover;

    background-repeat:no-repeat;

    background-position:center 0;

}

.hero-overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.hero-content{

    max-width:820px;

    color:#fff;

    padding:20px;

}

.eyebrow{

    display:inline-block;

    color:var(--gold);

    font-weight:700;

    letter-spacing:6px;

    margin-bottom:22px;

}

.hero h1{

    font-size:4.5rem;

    line-height:1.15;

    margin-bottom:25px;

}

.hero p{

    font-size:1.2rem;

    line-height:1.9;

    margin-bottom:40px;

}

.hero-button{

    display:inline-flex;

    align-items:center;

    gap:12px;

    background:var(--secondary);

    color:#fff;

    padding:18px 40px;

    border-radius:60px;

    font-weight:600;

    transition:var(--transition);

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.hero-button:hover{

    background:#BD4A2F;

    transform:translateY(-5px);

}

/*==================================================
ABOUT
==================================================*/

.about{

    text-align:left;

}

.about-text{

    max-width:900px;

    margin:20px auto;

    line-height:1.9;

    font-size:1.20rem;

}

/*==================================================
ANIMATIONS
==================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.hero-content{

    animation:fadeUp 1s ease;

}


/*==================================================
  GALLERY
==================================================*/

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:22px;

    margin-top:60px;

}

.gallery img{

    width:100%;

    height:260px;

    object-fit:cover;

    border-radius:15px;

    display:block;

    box-shadow:0 12px 28px rgba(0,0,0,.18);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}

.gallery img:hover{

    transform:scale(1.05);

    box-shadow:0 22px 45px rgba(0,0,0,.22);

}


/*==================================================
  CONTACT SECTION
==================================================*/

.contact-section{

    background:var(--background);

}

.contact-card{

    background:#ffffff;

    border-top:6px solid var(--gold);

    border-radius:24px;

    padding:55px;

    box-shadow:0 18px 40px rgba(0,0,0,.10);

}

.contact-grid{

    display:grid;

    grid-template-columns:

        240px
        1fr
        240px;

    align-items:center;

    gap:45px;

}


/*==================================================
  LOGO COLUMN
==================================================*/

.contact-logo{

    display:flex;

    justify-content:center;

    align-items:center;

}

.contact-logo img{

    width:180px;

    max-width:100%;

}


/*==================================================
  CONTACT DETAILS
==================================================*/

.contact-details{

    text-align:center;

}

.contact-details h3{

    color:var(--primary);

    font-size:2rem;

    margin-bottom:18px;

}

.contact-details p{

    margin:12px 0;

    line-height:1.9;

}

.contact-details a{

    color:var(--secondary);

    transition:.3s;

}

.contact-details a:hover{

    color:var(--primary);

}


/*==================================================
  LICENSE COLUMN
==================================================*/

.contact-license{

    text-align:center;

}

.contact-license i{

    color:var(--gold);

    font-size:3rem;

    margin-bottom:20px;

}

.contact-license h3{

    color:var(--primary);

    margin-bottom:12px;

}

.contact-license p{

    line-height:1.8;
    font-weight: 500;

}


/*==================================================
  SOCIAL MEDIA
==================================================*/

.socials{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-top:45px;

}

.socials a{

    width:58px;

    height:58px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    color:#ffffff;

    transition:all .35s ease;

}

.socials a:hover{

    transform:translateY(-6px);

}

.facebook{

    background:#1877F2;

}

.whatsapp{

    background:#25D366;

}

.instagram{

    background:#D62976;

}


/*==================================================
  FOOTER
==================================================*/

footer{

    margin-top:70px;

    background:var(--primary);

    color:#ffffff;

    text-align:center;

    padding:40px 20px;

}

footer h3{

    font-size:1.4rem;

    margin-bottom:12px;

    font-weight:600;

}

footer p{

    opacity:.9;

    margin:8px 0;

}


/*==================================================
  SMALL IMPROVEMENTS
==================================================*/

.contact-card,

.gallery img{

    transition:all .35s ease;

}

.contact-card:hover{

    transform:translateY(-3px);

    box-shadow:0 22px 45px rgba(0,0,0,.12);

}

/*==================================================
  PART 3
  RESPONSIVE DESIGN
==================================================*/


/*==========================================
  Large Desktop
==========================================*/

@media (max-width:1200px){

    .container{

        width:94%;

    }

}


/*==========================================
  Tablet Landscape
==========================================*/

@media (max-width:992px){

    .section{

        padding:80px 0;

    }

    .navbar{

        padding:16px 24px;

    }

    .nav-links{

        gap:24px;

    }

    .hero{

        height:90vh;

    }

    .hero h1{

        font-size:3.5rem;

    }

    .hero p{

        font-size:1.1rem;

    }

    .hero-content{

        max-width:700px;

    }

    .contact-grid{

        grid-template-columns:1fr;

        gap:35px;

    }

    .contact-logo{

        order:1;

    }

    .contact-details{

        order:2;

    }

    .contact-license{

        order:3;

    }

}


/*==========================================
  Tablet Portrait
==========================================*/

@media (max-width:768px){

    header{

        width:96%;

        top:12px;

    }

    .navbar{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

        padding:18px;

    }

    .nav-links{

        justify-content:center;

        gap:18px;

        flex-wrap:wrap;

    }

    .nav-links a{

        font-size:.95rem;

    }

    .book-btn{

        width:100%;

        justify-content:center;

    }

    .hero{

        height:85vh;

    }

    .hero-content{

        padding:0 20px;

    }

    .eyebrow{

        font-size:.80rem;

        letter-spacing:3px;

    }

    .hero h1{

        font-size:2.8rem;

        line-height:1.2;

    }

    .hero p{

        font-size:1rem;

        line-height:1.8;

    }

    .hero-button{

        padding:16px 32px;

        font-size:1rem;

    }

    .section-title h2{

        font-size:2.2rem;

    }

    .gallery{

        grid-template-columns:repeat(2,1fr);

    }

    .gallery img{

        height:220px;

    }

    .contact-card{

        padding:40px 30px;

    }

}


/*==========================================
  Mobile
==========================================*/

@media (max-width:576px){

    .section{

        padding:70px 0;

    }

    .navbar{

        padding:15px;

        border-radius:18px;

    }

    .nav-links{

        gap:14px;

    }

    .nav-links a{

        font-size:.90rem;

    }

    .book-btn{

        font-size:.95rem;

        padding:14px 20px;

    }

    .hero{

        min-height:100vh;

    }

    .hero h1{

        font-size:2.2rem;

    }

    .hero p{

        font-size:.95rem;

    }

    .hero-button{

        width:100%;

        justify-content:center;

    }

    .section-title span{

        letter-spacing:2px;

        font-size:.75rem;

    }

    .section-title h2{

        font-size:1.9rem;

    }

    .gallery{

        grid-template-columns:1fr;

    }

    .gallery img{

        height:250px;

    }

    .contact-card{

        padding:30px 20px;

    }

    .contact-logo img{

        width:150px;

    }

    .contact-details h3{

        font-size:1.6rem;

    }

    .contact-license i{

        font-size:2.5rem;

    }

    .socials{

        flex-wrap:wrap;

    }

}


/*==========================================
  Small Phones
==========================================*/

@media (max-width:400px){

    .hero h1{

        font-size:1.9rem;

    }

    .hero p{

        font-size:.90rem;

    }

    .book-btn{

        font-size:.88rem;

    }

    .hero-button{

        font-size:.95rem;

        padding:15px 18px;

    }

    .gallery img{

        height:220px;

    }

}


/*==========================================
  Reduce Motion
==========================================*/

@media (prefers-reduced-motion: reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}