/* =====================================================
   JOY TRAVELS & VACATIONS
   GLOBAL STYLES
===================================================== */

/* ===========================
   BODY
=========================== */

body{
    font-family: Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height:1.7;
    color:var(--text);
    background:var(--white);
    overflow-x:hidden;
    padding-top:95px;
}


/* ===========================
   CONTAINER
=========================== */

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* ===========================
   HEADINGS
=========================== */

h1,
h2,
h3,
h4,
h5,
h6{
    color:var(--dark);
    font-weight:700;
    line-height:1.2;
    margin-bottom:20px;
}

h1{
    font-size:64px;
}

h2{
    font-size:42px;
}

h3{
    font-size:28px;
}

p{
    margin-bottom:18px;
    color:var(--text);
}

/* ===========================
   LINKS
=========================== */

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

/* ===========================
   IMAGES
=========================== */

img{
    display:block;
    max-width:100%;
    height:auto;
}

/* ===========================
   BUTTONS
=========================== */

.btn{
    display:inline-block;
    padding:15px 35px;
    background:var(--accent);
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-weight:700;
    transition:var(--transition);
   
}

.btn:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}

.btn-small{
    display:inline-block;
    padding:10px 24px;
    background:var(--primary);
    color:#fff;
    border-radius:6px;
    font-size:14px;
    font-weight:600;
    transition:var(--transition);
}

.btn-small:hover{
    background:var(--primary-dark);
}

.btn-outline{
    display:inline-block;
    padding:14px 32px;
    border:2px solid var(--primary);
    color:var(--primary);
    border-radius:8px;
    font-weight:700;
    transition:var(--transition);
}

.btn-outline:hover{
    background:var(--primary);
    color:#fff;
}

/* ===========================
   SECTIONS
=========================== */
section{
    padding:90px 0;
}
.section-title{
   text-align:center;
    max-width:850px;
    margin:0 auto 70px;
}
.section-title span{
    display:block;
    color:var(--primary);
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
}
.section-title h2{
    font-size:48px;
    line-height:1.25;
    margin-bottom:20px;
    color:var(--dark);
}

.section-title p{
   font-size:18px;
    line-height:1.8;
    color:#666;
}


/* ===========================
   DIVIDER
=========================== */

.section-divider{
    text-align:center;
    padding:30px 0;
}

.section-divider span{
    color:var(--primary);
    font-size:28px;
}

/* ===========================
   FORMS
=========================== */

input,
select,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    outline:none;
    transition:var(--transition);
}

input:focus,
select:focus,
textarea:focus{
    border-color:var(--primary);
}

textarea{
    resize:vertical;
    min-height:140px;
}

/* ===========================
   LISTS
=========================== */

ul{
    list-style:none;
}

/* ===========================
   UTILITIES
=========================== */

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

.shadow{
    box-shadow:var(--shadow);
}

.radius{
    border-radius:var(--radius);
}

.bg-light{
    background:var(--cream);
}

.bg-dark{
    background:var(--dark);
    color:#fff;
}

/* ===========================
   SUCCESS MESSAGE
=========================== */

.success-message{
    display:none;
    margin-top:20px;
    padding:15px;
    border-radius:8px;
    background:#d4edda;
    color:#155724;
    text-align:center;
    font-weight:600;
}
/* =====================================================
   GLOBAL HERO CONTENT
===================================================== */
.hero-content{
    max-width:800px;
    margin:auto;
    text-align:center;
    color:#ffffff;
    z-index:2;
    position:relative;
   animation:heroFade 1.2s ease-out;
}
.hero-content h1{
    color:#ffffff;
    font-size:clamp(2.5rem,5vw,4.5rem);
    font-weight:700;
    line-height:1.2;
    margin-bottom:20px;
    text-shadow:0 4px 15px rgba(0,0,0,.45);
      animation:heroFade 1.3s ease;
}
.hero-content h1 span{
    color:var(--primary);
}
.hero-content p{
    color:#ffffff;
    font-size:1.25rem;
    line-height:1.7;
    margin-bottom:35px;
    text-shadow:0 3px 10px rgba(0,0,0,.60);
     animation:heroFade 1.6s ease;
}

/* =====================================================
   GLOBAL HERO SECTION
===================================================== */

.hero{
    position:relative;
    min-height:75vh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
   animation:heroZoom 20s ease-in-out infinite alternate;
}

/* Dark Overlay */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.35)
    );
    z-index:1;
}

/* Hero Content */
.hero-content{
    position:relative;
    z-index:2;
    width:min(90%,900px);
    text-align:center;
    animation:heroFade 1s ease;
}
/* Hero Animation */
@keyframes heroFade{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
@keyframes heroZoom{
    from{
        transform:scale(1);
    }
    to{
        transform:scale(1.05);
    }
}
/* ==========================================
GLOBAL SECTION SPACING
========================================== */
.section{
    padding:110px 8%;

}
.section-title{
    text-align:center;
    max-width:760px;
    margin:0 auto 70px;
}
.section-title h2{
    font-size:48px;
    color:var(--secondary);
    margin-bottom:20px;
    line-height:1.2;
}
.section-title p{
    font-size:20px;
    color:#666;
    line-height:1.8;
}
/* ==========================================
   PAGE LAYOUT
========================================== */

html,
body{
    width:100%;
    min-height:100%;
    margin:0;
    padding:0;
}

body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

#footer{
    width:100%;
    margin-top:auto;
}
/* ==========================================
GLOBAL FULL-WIDTH LAYOUT FIX
========================================== */

html,
body{
    width:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;
}

section{
    width:100%;
    box-sizing:border-box;
}

#navbar,
#footer{
    width:100%;
    box-sizing:border-box;
}
