/* =============== GOOGLE FONTS =============== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* =============== VARIABLES CSS =============== */
:root {
    --header-height: 3.5rem;

    /* ========== Colors ========== */
    /* Premium Palette */
    --first-color: #0F172A;
    /* Deep Navy */
    --first-color-alt: #1E293B;
    --second-color: #C5A47E;
    /* Gold/Bronze */
    --second-color-alt: #B08D55;
    --title-color: #0F172A;
    --text-color: #64748B;
    --text-color-light: #94A3B8;
    --body-color: #F8F9FA;
    --container-color: #FFFFFF;
    --white-color: #FFFFFF;

    /* ========== Font and Typography ========== */
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --title-font: 'Playfair Display', serif;

    --big-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /* ========== Font Weight ========== */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* ========== Z Index ========== */
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* Responsive Typography */
@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* =============== BASE =============== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

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

/* =============== REUSABLE CSS CLASSES =============== */
.container {
    max-width: 1024px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 4.5rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Ensure section titles are centered on mobile */
@media screen and (max-width: 767px) {

    .section__title,
    .section__subtitle {
        text-align: center;
    }
}

.section__title {
    font-size: var(--h1-font-size);
    margin-bottom: 0.5rem;
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--second-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-semi-bold);
}

.main {
    overflow: hidden;
    /* Prevent overflow from animations */
}

/* =============== BUTTONS =============== */
.button {
    display: inline-block;
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    transition: .3s;
    border: 1px solid transparent;
}

.button:hover {
    background-color: var(--second-color);
}

/* White Button variant */
.button--white {
    background-color: var(--white-color);
    color: var(--first-color);
}

.button--white:hover {
    background-color: var(--second-color);
    color: var(--white-color);
}

.button--ghost {
    background-color: transparent;
    border: 1px solid var(--first-color);
    color: var(--first-color);
}

.button--ghost:hover {
    background-color: var(--first-color);
    color: var(--white-color);
}

.button--small {
    padding: 0.75rem 1.5rem;
    font-size: var(--normal-font-size);
}

.button--flex {
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
}

.button--ghost-small {
    background-color: transparent;
    color: var(--first-color);
    padding: 0;
    border: none;
    font-size: var(--small-font-size);
}

.button--ghost-small:hover {
    color: var(--second-color);
    background-color: transparent;
}

/* =============== HEADER & NAV =============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: .4s;
}

/* Header Scroll Background */
.scroll-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--title-color);
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    font-size: 1.25rem;
}

.nav__toggle {
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
    color: var(--title-color);
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--body-color);
        width: 80%;
        height: 100%;
        padding: 6rem 2rem;
        box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
        transition: .4s;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__link:hover {
    color: var(--second-color);
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--title-color);
}

/* Show Menu */
.show-menu {
    right: 0;
}

.nav__btns {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

/* =============== HOME =============== */
.home {
    padding-top: 7rem;
}

.home__data {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home__subtitle {
    display: block;
    color: var(--second-color);
    font-weight: var(--font-semi-bold);
    margin-bottom: .75rem;
    letter-spacing: 1px;
}

.home__title {
    font-size: var(--big-font-size);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.home__description {
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.home__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.home__img-wrapper {
    margin-top: 3rem;
    border-radius: 1rem;
    overflow: hidden;
    /* Fancy shape or box shadow */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Ensure images are full width on mobile */
.home__img {
    width: 100%;
}

/* =============== PARTNERS =============== */
.partners__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.partners__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-light);
    font-weight: var(--font-bold);
    font-size: 1.25rem;
    opacity: 0.7;
    transition: .3s;
}

.partners__logo i {
    font-size: 2.5rem;
}

.partners__logo:hover {
    opacity: 1;
    color: var(--first-color);
    transform: translateY(-5px);
}

/* =============== DESTINATIONS =============== */
.destinations__container {
    padding-top: 1rem;
}

.destination__card {
    background-color: var(--container-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: .3s;
}

.destination__card:hover {
    transform: translateY(-.5rem);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.destination__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination__data {
    padding: 1.5rem;
    position: relative;
}

.destination__price {
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    background-color: var(--second-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: .5rem;
    font-weight: var(--font-bold);
    font-size: var(--small-font-size);
}

.destination__title {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
}

.destination__desc {
    font-size: var(--small-font-size);
    margin-bottom: 1.5rem;
}

/* =============== ABOUT =============== */
.about__img-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about__title {
    margin-bottom: 1rem;
    text-align: center;
    /* Center on mobile */
}

.about__description {
    margin-bottom: 2.5rem;
    text-align: center;
    /* Center on mobile */
}

.about__details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about__details-box {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--second-color);
    text-align: center;
    /* Center text */
}

.about__details-icon {
    font-size: 1.5rem;
    color: var(--second-color);
    margin: 0 auto 0.5rem;
    /* Center block icon */
    display: block;
}

.about__details-title {
    font-size: var(--normal-font-size);
    margin-bottom: 0.25rem;
}

.about__details-description {
    font-size: var(--small-font-size);
}

/* =============== CTA / VIDEO =============== */
.cta {
    position: relative;
    padding: 6rem 0;
    /* Taller section */
}

.cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta__img {
    /* Replaces video bg for now */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    /* Dark overlay */
}

.cta__data {
    text-align: center;
    color: var(--white-color);
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.cta__description {
    margin-bottom: 2.5rem;
    font-size: var(--h3-font-size);
}

/* =============== STATS =============== */
.stats {
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 3rem 0;
}

.stats__container {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    gap: 2rem;
}

.stats__number {
    font-size: 2rem;
    color: var(--second-color);
    margin-bottom: 0.25rem;
}

.stats__title {
    font-size: var(--small-font-size);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============== PACKAGES =============== */
.package__card {
    background-color: var(--container-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.package__img-box {
    height: 250px;
}

.package__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package__content {
    padding: 2rem;
}

.package__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--small-font-size);
    margin-bottom: 0.5rem;
    color: #F59E0B;
    /* Star color */
}

.package__rating span {
    color: var(--text-color-light);
}

.package__title {
    font-size: var(--h2-font-size);
    margin-bottom: 0.5rem;
}

.package__description {
    margin-bottom: 1.5rem;
    font-size: var(--small-font-size);
}

.package__list {
    margin-bottom: 2rem;
}

.package__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--small-font-size);
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.package__list li i {
    color: var(--second-color);
}

.package__price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    color: var(--first-color);
}

/* =============== GALLERY =============== */
.gallery__container {
    gap: 1rem;
}

.gallery__item {
    overflow: hidden;
    border-radius: 1rem;
    height: 250px;
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
    cursor: pointer;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.1);
}

/* =============== TESTIMONIALS =============== */
.testimonial__card {
    background-color: var(--container-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.testimonial__text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--title-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial__data {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    text-align: left;
}

.testimonial__img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial__name {
    font-size: var(--normal-font-size);
    color: var(--title-color);
}

.testimonial__detail {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/* =============== BLOG =============== */
.blog__card {
    background-color: var(--container-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: .3s;
}

.blog__card:hover {
    transform: translateY(-.5rem);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog__img-box {
    height: 200px;
    overflow: hidden;
}

.blog__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.blog__card:hover .blog__img {
    transform: scale(1.1);
}

.blog__content {
    padding: 1.5rem;
}

.blog__date {
    font-size: var(--small-font-size);
    color: var(--second-color);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: var(--font-medium);
}

.blog__title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

/* =============== FAQ =============== */
.faq__group {
    display: grid;
    gap: 1.5rem;
}

.faq__item {
    background-color: var(--container-color);
    border-radius: .75rem;
    padding: 0 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    overflow: hidden;
    /* For accordion effect */
}

.faq__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.faq__icon {
    font-size: 1.25rem;
    color: var(--title-color);
    transition: .3s;
}

.faq__question {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
}

.faq__content {
    height: 0;
    overflow: hidden;
    transition: .3s;
}

.faq__answer {
    padding-bottom: 1.5rem;
    font-size: var(--small-font-size);
}

/* FAQ Active State (Toggled by JS) */
.faq-open .faq__content {
    height: auto;
    /* Or specific height in JS, or use a large max-height */
}

.faq-open .faq__icon {
    transform: rotate(45deg);
    color: var(--second-color);
}

/* =============== NEWSLETTER =============== */
.newsletter__container {
    background-color: var(--first-color);
    padding: 3.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    color: var(--white-color);
}

.newsletter__title {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.newsletter__description {
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter__input {
    padding: 1rem;
    border-radius: .5rem;
    border: none;
    outline: none;
}

.newsletter__button {
    background-color: var(--second-color);
}

.newsletter__button:hover {
    background-color: var(--second-color-alt);
}

/* =============== FOOTER =============== */
.footer {
    background-color: var(--first-color-alt);
    color: var(--text-color-light);
    padding-top: 4rem;
}

.footer__container {
    row-gap: 3rem;
}

.footer__logo {
    color: var(--white-color);
    font-family: var(--title-font);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    color: var(--white-color);
    text-align: left;
}

.footer__description {
    font-size: var(--small-font-size);
    margin-bottom: 1.5rem;
    text-align: center;
    /* Center on mobile */
}

/* Force center layout on mobile footer */
@media screen and (max-width: 767px) {
    .footer__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__links {
        align-items: center;
    }
}

.footer__social {
    display: flex;
    column-gap: 1.25rem;
}

.footer__social-link {
    color: var(--white-color);
    font-size: 1.25rem;
    transition: .3s;
}

.footer__social-link:hover {
    color: var(--second-color);
}

.footer__title {
    color: var(--white-color);
    margin-bottom: 1.25rem;
    font-size: var(--h3-font-size);
}

.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.footer__link {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    transition: .3s;
}

.footer__link:hover {
    color: var(--second-color);
}

.footer__info {
    margin-top: 4rem;
    padding-bottom: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer__copy {
    font-size: var(--smaller-font-size);
}

/* =============== BREAKPOINTS =============== */
/* Small devices */
@media screen and (max-width: 320px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .stats__container {
        grid-template-columns: 1fr;
    }
}

/* Medium devices */
@media screen and (min-width: 576px) {
    .home__data {
        max-width: 400px;
        margin: 0 auto;
    }

    .booking__form {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .destinations__container {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    .about__details {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .newsletter__form {
        flex-direction: row;
        background-color: var(--white-color);
        padding: .25rem;
        border-radius: .5rem;
    }

    .newsletter__input {
        width: 100%;
        background-color: transparent;
        color: var(--text-color);
        padding: .75rem;
    }

    .newsletter__button {
        padding: .75rem 2rem;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices */
@media screen and (min-width: 767px) {
    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 2.5rem;
    }

    .nav__menu {
        display: flex;
        align-items: center;
    }

    .home__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        gap: 5rem;
        text-align: left;
    }

    .home__buttons {
        justify-content: flex-start;
    }

    .home__img-wrapper {
        margin-top: 0;
    }

    /* Removed booking styles adjustment */

    .partners__container {
        grid-template-columns: repeat(5, 1fr);
    }

    .about__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about__img-wrapper {
        width: 80%;
        margin: 0 auto 2rem;
    }

    .about__details {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* .about__title, .about__description alignment removed to allow centering */

    .home__data {
        align-items: flex-start;
        text-align: left;
    }

    /* Reset footer text align for desktop */
    .footer__content {
        align-items: flex-start;
        text-align: left;
    }

    .footer__description {
        text-align: left;
    }

    .footer__links {
        align-items: flex-start;
    }

    /* .about__title alignment removed */

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 968px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .destinations__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog__container {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__container {
        /* Custom Masonry-like Grid */
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
    }

    /* Specific Grid Areas for visual interest */
    .gallery__item--1 {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
        height: 100%;
    }

    .gallery__item--2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .gallery__item--3 {
        grid-column: 4 / 5;
        grid-row: 1 / 2;
    }

    .gallery__item--4 {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
        height: 100%;
    }

    /* Hide 5th on desktop if it breaks layout or keep it simpler? 
       Let's stick to simple grid if masonry is too complex */

    .packages__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .package__img-box {
        height: 300px;
    }
}