/* css/styles.css */
:root {
    --primary: #314a9f;
    /* Teal */
    --primary-dark: #005f56;
    --gradient-background: linear-gradient(270deg, #f8973c, #f4792d, #d5591a);
    --text-dark: #314a9f;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --spacing: 1rem;
    --border-radius: 8px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    margin: auto;
    max-width: 900px;
}

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

a {
    text-decoration: none;
    color: inherit;
    -webkit-user-drag: none;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    margin: 2rem 0.5vw;
}

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

/* Header & Nav */
header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    top: 0;
    z-index: 100;
    margin-bottom: 3rem;
    padding: 0 var(--spacing);
}

header::after {
    content: "";
    display: block;
    height: 4px;
    background-image: url("../assets/logo.webp") no-repeat center;
    background-size: contain;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #093ae3;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.logo img {
    display: inline;
    width: 1.5rem;
    height: 1.5rem;
}

img.nav-logo {
    position: absolute;
    left: 0px;
    top: 0;
    z-index: 1;
    width: 100%;
    max-height: 7rem;
    -webkit-user-drag: none;
    user-select: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    z-index: 2;
    font-weight: bold;
    color: thistle;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--gradient-background);
        flex-direction: column;
        padding: 2rem 4rem;
        padding-top: 8rem;
        display: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        color: white;
    }

    .nav-links.active {
        display: flex;
        z-index: 0;
        font-weight: bold;
    }

    .hamburger {
        display: block;
        z-index: 2;
    }
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('..\\assets\\images\\06.webp');
    background-size: cover;
    background-position: center;
    height: 30rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    top: -4.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    /* margin-bottom: 1rem; */
}

.herox img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
    background-size: cover;
    background-position: center;
    height: 20rem;
    color: var(--white);
    position: relative;
    top: 0;
    /* Fade effect at the top */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 85%, transparent 100%);
}


/* Cards (Destinations & Trips) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0px 0.5rem 0px rgb(0 0 0 / 40%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

#gallery-picturs .card:hover {
    transform: translateY(0px);
    box-shadow: none;
}

.card-content {
    padding: 2vw;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: space-between;
    padding-bottom: 1rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
}

.card-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-price {
    font-weight: 700;
    color: var(--primary);
    margin-top: 1rem;
}

/* Trip Details Page */
.trip-hero {
    height: 400px;
    overflow: hidden;
}

.trip-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-info {
    padding: 1rem var(--spacing);
}

.trip-meta-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cta-group .btn {
    width: 100%;
    text-align: center;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-telegram {
    background: #0088cc;
}

.btn-telegram:hover {
    background: #005580;
}

.btn-gmail {
    background: #EA4335;
}

.btn-gmail:hover {
    background: #c23321;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Footer */
footer {
    background-image: url(../assets/footer_bg.webp);
    background-size: cover;
    color: var(--primary);
    padding: 0;
    padding-bottom: 1rem;
    margin-top: 10rem;
    position: relative;
    font-weight: bold;
}

.footer-content {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    align-content: flex-start;
}

.social-links a {
    margin-right: 0;
}

@media (max-width: 768px) {
    footer {
        background-size: contain;
    }
}

/* Destinations Horizontal Slider */
.destinations-slider {
    display: flex;
    gap: 1vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    /* Show part of next card */
    align-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    user-select: none;
    scroll-behavior: smooth;
}

.destinations-slider .card {
    min-width: 320px;
    max-width: 340px;
    flex: 0 0 320px;
    scroll-snap-align: center;
    margin: 0 0.3rem;
}

@media (max-width: 900px) {
    .destinations-slider .card {
        min-width: 70vw;
        max-width: 75vw;
        flex: 0 0 70vw;
    }
}

@media (max-width: 600px) {
    .destinations-slider {
        gap: 0vw;
        padding: 0.5rem 0;
        position: relative;
        margin: 0;
        margin-right: 0;
        position: relative;
    }

    .destinations-slider .card {
        min-width: 85.5vw;
        max-width: 85.5vw;
        flex: 0 0 85.5vw;
        border-radius: var(--border-radius);
    }

}

.destinations-slider .card img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    -webkit-user-drag: none;
}

.ql-snow .ql-editor img {
    display: inline-block;
}


.social-links {
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    justify-items: center;
    justify-content: center;
    align-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 2rem;
    height: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .social-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skiptranslate {
    display: none;
}

/* Gallery Overlay Styles */
.gallery-card.instagram-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    /* Hidden by default */
    transition: opacity 0.3s ease;
}

.gallery-card.instagram-card:hover .gallery-overlay {
    opacity: 1;
    /* Show on hover */
}

.gallery-overlay span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid white;
    padding: 0.5rem 1rem;
}

.itinerary-tag {
    display: block;
    padding: 0 var(--spacing);
    color: black;
}

.itinerary-tag::before {
    content: "▪️";
    margin: 0;
}

.btn-Read-about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.btn-Read-about-us:hover {
    background-color: var(--primary-dark);
}

/* office image black overlay */
.office-img {
    position: relative;
    cursor: pointer;
    background: black;
}

.office-img:hover {
    opacity: 0.8;
}