*{
    margin: 0;
    padding: 0;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "width" 100;
    box-sizing: border-box; /* ENSURES PADDING AND BORDER ARE INCLUDED IN THE ELEMENT'S TOTAL WIDTH AND HEIGHT */
}

html, body {
    height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    all: unset;
    cursor: pointer;
}

.active {
    font-weight: bold;
}

/*===========================================*/
/* -------------LANDING PAGE--------------  */
/*===========================================*/

/* Here begins the Header */
header{
    background-color: #1f2937;
    border-bottom: 0.3px solid #c4ccff;
}

.container {
    display: flex;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Logo */
.logo {
    font-weight: bold;
    font-size: 24px;
    
    color: #f9faf8;
}

.logo span {
    font-weight: lighter;
}

/* Menu */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: #f9faf8;
    font-size: 18px;
}

.menu a:hover {
    color: #dad9c0;
}

.menu a span {
    text-decoration: underline;
    
}

/* Main Content Landing Page*/
main {
    flex: 1; 
        
}

/* Here begins the Main hero Content */
.main-hero {
    display: flex;
    background-color: #1f2937;
    justify-content: center;
    align-items: center;
    padding: 40px 0px 60px 0px;
    flex-wrap: wrap;
}

.main-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;    
    padding: 0 40px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.main-hero-left {
    display: flex;
    color: #f9faf8;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.main-hero-left h1 {
    margin: 0;
    font-size: 48px;
    font-weight: bolder;
    text-align: start;
    text-decoration: none;
}

.main-hero-left p {
    margin: 0px;
    font-size: 18px;
    line-height: 1.4;
    color: #e5e7eb;
}

.main-hero-left button {
    width:fit-content;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #3882f6;
    color: #f9faf8;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.main-hero-left button:hover {
    background: #2a74eb;
}

.main-hero-right {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: end;
    gap: 20px;
}

.main-hero-right img{
    width: 80%;
    height: auto;
    border: 1px solid white;
    border-radius: 12px;   
}

/*--------------------------------------*/
/* Here begins the Special Offers Content */

.main-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.random-info {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    
}

.random-info-heading {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.random-info-heading h2 {
    align-items: center;
    justify-content: center;
    text-decoration: underline;
    font-weight: bolder;
    font-size: 36px;  
}

.random-info-cards {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.destination-card button {
    width:fit-content;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #3882f6;
    color: #f9faf8;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.destination-card button:hover {
    background: #2a74eb;
}

/*--------------------------------------*/
/* Here begins the Quote Content */
.quote-landing-page {
    display: flex;
    background-color: #e5e7eb;
    font-size: 36px;
    font-weight: 200;
    font-style: italic;
    color: #1f2937;
    max-width: 1000px;
    gap: 20px;
    padding: 80px;
    margin-top: 40px;
    flex-direction: column;
    border-radius: 8px;
}

.quote-landing-page-top {
    width: 100%;
    
}

.quote-landing-page-bottom {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: end;
    text-align: end;
    font-size: 18px;
    font-weight: 500;
}

/*--------------------------------------*/
/* Here begins the promo-boxes Content */
.promo-boxes-landing-page {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    
}

.promo-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #F5F4F0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 1 10px 20px rgba(0, 0, 0, 0.1);   
    border-top: 0.3px solid #c4ccff;
    border-bottom: 0.3px solid #c4ccff;
}

.promo-boxes img {
    max-width: 40%;
    margin-bottom: 30px;
}

.promo-boxes h4 {
    max-width: 100%;
    text-align: center;
    font-size: 20px;
    border-bottom: 0.3px solid #c4ccff;
}

.promo-boxes p {
    max-width: 100%;
    text-align: center;
    font-weight:300;
}

/*--------------------------------------*/
/* Here begins the Call to Action Content */
.call-to-action-landing-page {
    max-width: 1000px;
    display: flex;
    background-color: #3882F6;
    color: #f9faf8;
    padding: 40px;
    margin: 30px 0px 30px 0px;
    border-radius: 5px;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.call-to-action-landing-page-left :first-child {
    font-weight: bold;
    font-size: 24px;
}

.call-to-action-landing-page-left :last-child {
    font-weight: 200;
    font-size: 18px;
}

.call-to-action-landing-page-right a{
    
    border: 1px solid #f9faf8;
    color: #f9faf8;
    background-color:#3882F6;
    padding: 10px 20px 10px 20px;
    border-radius: 5px;
}

.call-to-action-landing-page-right a:hover {
    background-color:#f9faf8;
    color: #3882F6;
    border: 1px solid #3882F6;
}

/*===========================================*/
/* -------------ABOUT US PAGE--------------  */
/*===========================================*/

.main-about-page {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

/*----------about us TOP---------------*/
.main-about-page-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;    
    padding: 0 40px;
    margin: 0 auto;
    border-bottom: 0.3px solid #c4ccff;
    padding-bottom: 40px;
    
    background-color: #F5F4F0;
    flex: 0 0 calc((100% - 30px) / 4);  
    border-radius: 8px;
    box-shadow: 1 10px 20px rgba(0, 0, 0, 0.1);  
}

.main-about-page-top-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    line-height: 1.5;
}

.main-about-page-top-left h2 {
    text-decoration: underline;
    font-size: 48px;
    font-weight: bold;
    padding-bottom: 30px;
    
}

.main-about-page-top-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.main-about-page-top-right img {
    width: 80%;
    height: auto;
    border: 1px solid white;
    border-radius: 12px;
}

/*----------about us BOTTOM---------------*/
.main-about-page-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1200px;    
    padding: 0 40px;
    margin: 0 auto;
    border-bottom: 0.3px solid #c4ccff;
    padding-bottom: 40px;
    
    background-color: #F5F4F0;
    flex: 0 0 calc((100% - 30px) / 4);  
    border-radius: 8px;
    box-shadow: 1 10px 20px rgba(0, 0, 0, 0.1);  
}

.main-about-page-bottom-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    
}

.main-about-page-bottom-right h2 {
    text-decoration: underline;
    font-size: 48px;
    font-weight: bold;
    padding-bottom: 30px;
}

.main-about-page-bottom-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
}

.main-about-page-bottom-left img {
    width: 80%;
    height: auto;
    border: 1px solid white;
    border-radius: 12px;
}

/*===========================================*/
/* -------------CONTACT US PAGE--------------  */
/*===========================================*/

.contact-main { /* MAIN CONTAINER FOR WHOLE PAGE */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-main h2 {
    text-align: center;
    text-decoration: underline;
}

.contact-main p {
    font-size: 16px;
    text-align: center;
    color: #000000;
}

/* BLUE FORM CONTAINER */
.input-container {
    background-color: #1f2937;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 450px;
    width: 100%;
}
.input-container p {
    font-size: 16px;
    text-align: left;
    color: #ffffff;
}

.input-container button {
    width:fit-content;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #3882f6;
    color: #f9faf8;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.input-container button:hover {
    background: #2a74eb;
}

/* CONTACT US - STYLING FOR MESSAGE FORM USER INPUT BLOCK ('row', 'input-group', 'input, textarea')*/
.row {
  display: flex;
  gap: 20px; 
}
.input-group {
  flex: 1; 
}
input, textarea {
  width: 100%;
  padding: 8px;
}

h1{
    text-align: center;
    text-decoration: underline;
}
h3{
    text-align: center;
    padding: 5px;
    text-decoration: underline;
}

.destination-box {/* GRID FOR ALL DESTINATION CARDS */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;      
    padding: 0 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.destination-card {/* GREY CARD BOX AROUND EACH IMAGE AND TEXT */
    background-color: #F5F4F0;
    flex: 0 0 calc((100% - 30px) / 4); /* 4 CARDS PER ROW WITH GAP */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 1 10px 20px rgba(0, 0, 0, 0.1); /* SHADOW FOR 3D CARD EFFECT */
    text-align: center; /* CENTER TEXT WITHIN THE CARD BUT ONLY FOR THE CITY AND COUNTRY*/
    border-bottom: 0.3px solid #c4ccff;
}
.destination-card img {/* IMAGE FORMATTING */
    width: 250px;
    height: 300px;
    border-radius: 8px; /* ROUND BOARDERS */
}
.destination-card p {/* FORMATTING TEXT TO LOOK DIFFERENT TO CITY AND COUNTRY */
    font-size: 16px;
    color: #333;
    text-align: justify;
}

.line { /* SUB-CONTAINER FOR PRICE AND DAYS */
    display: flex;
    justify-content: space-between;
}

.destination-price { /* PRICE FORMATTING */
    font-size: 18px;
    color: #3882F6;
    font-weight: bold;
}
.destination-days { /* DAYS FORMATTING */
    font-size: 14px;
    color: #333;
    font-style: italic;
    font-weight: 300;
}

/*===========================================*/
/* -------------SIGN UP PAGE--------------  */
/*===========================================*/

.sign-up-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding: 40px;
    align-items: stretch;
}
.sign-up-card{
    background-color: #1f2937;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: auto;
    width: 100%;
}
.sign-up-card button {
    width:fit-content;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #3882f6;
    color: #f9faf8;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.name-row {
    display: flex;
    gap: 20px;
}

.input-group {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

/*===========================================*/
/* -------------FOOTER--------------  */
/*===========================================*/

footer {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color:#1f2937;
    color: #f9faf8;
    height: 70px;
    font-size: 18px;
    font-weight: lighter;
    padding: 20px;
}

/*===========================================*/
/* -------------BACK TO TOP--------------  */
/*===========================================*/

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: ghostwhite;
    border: 1px solid #000000;
    color: white;
    padding: 7px 7px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    width: 40px;
    height: 40px;
}


/*===========================================*/
/* -------------MEDIA QUERIES--------------  */
/*===========================================*/

/* Media Query for 768px Landing Page */
@media (max-width: 768px) {
    
    .main-hero-right {
        display: none;
    }

    .main-hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;    
        text-align: center;     
        width: 100%;     
    }

    .main-hero-left h1 {
        text-align: center;
    }

    .main-hero-container {
        justify-content: center;
        padding: 0 20px;
    }

    .quote-landing-page {
        max-width: 80%;
    }

    .quote-landing-page-top{
        font-size: 24px;
    }

    .promo-boxes-landing-page {
        max-width: 80%;
        flex-wrap: wrap;
    }

    .promo-boxes img {
        max-width: 20%;
    }

    .promo-boxes h4 {
        max-width: 80%;
    }

    .promo-boxes p {
        max-width: 100%;
    }
}

/* Media Query for 768px About Page */
@media (max-width: 768px) {
    
    .main-about-page {
        flex-wrap: wrap;
    }

    .main-about-page-top {
        flex-wrap: wrap;
        text-align: center;
    }

    .main-about-page-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
}

/* Media Query for 768px Sign up Page */
@media (max-width: 768px) {
    
    .sign-up-container {
        flex-direction: column;
        padding: 40px;
    }
}