/* ===================================
   LOCAL FEMALE GUIDES UGANDA
=================================== */

/* ===================================
   FOUNDATION
=================================== */

@import url('reset.css');
@import url('typography.css');
@import url('buttons.css');

/* ===================================
   GLOBAL LAYOUT
=================================== */

@import url('header.css');
@import url('hero.css');
@import url('footer.css');

/* ===================================
   HOMEPAGE SECTIONS
=================================== */

@import url('featured-tours.css');
@import url('why-travel-with-us.css');
@import url('uganda-highlights.css');
@import url('testimonials.css');
@import url('call-to-action.css');

/* ===================================
   SINGLE PAGES
=================================== */

@import url('single-itinerary.css');
@import url('single-destination.css');
@import url('single-guide.css');
@import url('about.css');
@import url('country.css');
@import url('archive-itinerary.css');

/* ===================================
   RESPONSIVE
=================================== */

@import url('responsive.css');

/* ===================================
   DESTINATIONS PAGE
=================================== */

.destinations-page {
    padding-top: 120px;
    background: #ffffff;
}

/* ===================================
   HERO
=================================== */

.destinations-hero {
    position: relative;
    min-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-image: url("../images/hero/destinations-hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .45);
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin: auto;
}

.hero-content .section-subtitle {
    display: block;

    color: #C8A24C;

    letter-spacing: 5px;
    font-size: 15px;
    font-weight: 700;

    text-transform: uppercase;

    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 68px;
    line-height: 1.1;

    color: #ffffff;

    margin-bottom: 30px;
}

.hero-content p {
    font-size: 21px;
    line-height: 1.9;

    margin-bottom: 45px;
}

/* ===================================
   COUNTRIES
=================================== */

.countries-section {
    padding: 120px 0;
}

.country-card {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

    margin-bottom: 140px;
}

.country-card:last-child {
    margin-bottom: 0;
}

.country-card:nth-child(even) {
    direction: rtl;
}

.country-card:nth-child(even) .country-content {
    direction: ltr;
}

.country-image {
    overflow: hidden;

    border-radius: 22px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .15);
}

.country-image img {
    width: 100%;

    display: block;

    transition: transform .6s ease;
}

.country-card:hover .country-image img {
    transform: scale(1.05);
}

.country-name {
    display: block;

    font-size: 14px;
    letter-spacing: 4px;

    text-transform: uppercase;

    font-weight: 700;

    margin-bottom: 20px;
}

.country-content h2 {
    font-size: 50px;
    line-height: 1.2;

    color: #1F4D3A;

    margin-bottom: 25px;
}

.country-content p {
    font-size: 18px;
    line-height: 1.9;

    color: #666666;

    margin-bottom: 35px;
}

.country-content .btn-primary {
    display: inline-block;
}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 900px) {

    .destinations-hero {
        min-height: 70vh;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .country-card {
        grid-template-columns: 1fr;

        gap: 40px;

        margin-bottom: 80px;
    }

    .country-card:nth-child(even) {
        direction: ltr;
    }

    .country-content h2 {
        font-size: 36px;
    }

}


/* =========================================================
   WEBSITE CONTENT PROTECTION
========================================================= */

/* ---------------------------------------------------------
   Prevent casual text selection
--------------------------------------------------------- */

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* ---------------------------------------------------------
   Prevent images from being dragged or selected
--------------------------------------------------------- */

img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;

    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}


/* ---------------------------------------------------------
   Keep forms usable
--------------------------------------------------------- */

input,
textarea,
select,
option {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


/* =========================================================
   ABOUT PHOTO GALLERY
========================================================= */

/* Gallery image container */

.about-photo-gallery-image {
    position: relative;

    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Gallery images */

.about-photo-gallery-image img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;

    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}


/* =========================================================
   ABOUT GALLERY LIGHTBOX
========================================================= */

.about-photo-lightbox {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* Lightbox visible state */

.about-photo-lightbox.is-open {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   LIGHTBOX IMAGE
========================================================= */

.about-photo-lightbox-image {
    display: block;

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;

    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);

    transform: scale(0.96);

    transition: transform 0.35s ease;
}


/* Lightbox image animation */

.about-photo-lightbox.is-open
.about-photo-lightbox-image {
    transform: scale(1);
}


/* =========================================================
   LIGHTBOX CLOSE BUTTON
========================================================= */

.about-photo-lightbox-close {
    position: absolute;

    top: 22px;
    right: 28px;

    width: 48px;
    height: 48px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 30px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


/* Close button hover */

.about-photo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);

    transform: rotate(90deg);
}


/* =========================================================
   MOBILE LIGHTBOX
========================================================= */

@media (max-width: 768px) {

    .about-photo-lightbox {
        padding: 20px;
    }

    .about-photo-lightbox-image {
        max-width: 94vw;
        max-height: 82vh;
    }

    .about-photo-lightbox-close {
        top: 15px;
        right: 15px;

        width: 42px;
        height: 42px;

        font-size: 26px;
    }

}


/* =========================================================
   ABOUT GALLERY LIGHTBOX — PHOTO TITLE
========================================================= */

.about-photo-lightbox-content {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    max-width: 90vw;
    max-height: 88vh;
}


/* ---------------------------------------------------------
   LIGHTBOX TITLE
--------------------------------------------------------- */

.about-photo-lightbox-title {
    margin-top: 18px;

    max-width: 800px;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.5;

    font-weight: 500;

    letter-spacing: 0.5px;

    text-align: center;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.45);

    user-select: none;
    -webkit-user-select: none;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {

    .about-photo-lightbox-content {
        max-width: 94vw;
        max-height: 82vh;
    }

    .about-photo-lightbox-title {

        margin-top: 14px;

        max-width: 90vw;

        font-size: 15px;

        line-height: 1.4;

    }

}