/* ==========================================================================
   Base Styles & Variables (Andalusia Theme Reference)
   ========================================================================== */
   :root {
    --color-primary: #FF5A5F; /* Coral red for accents */
    --color-text-dark: #222222;
    --color-text-light: #777777;
    --color-bg-light: #F9F7F2; /* Soft beige */
    --color-bg-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Nothing You Could Do', cursive;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    line-height: 1.8;
    background-color: var(--color-bg-white);
    font-size: 15px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 400; /* Elegant, non-bold headings */
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 800px;
}

.padding-section {
    padding: var(--spacing-xl) 0;
}

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

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

.mt-5 {
    margin-top: 3rem;
}

/* Typography Utilities */
.script-subtitle {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--color-primary);
    opacity: 0.3;
    display: block;
    margin-bottom: -0.5rem;
    z-index: 1;
    position: relative;
    letter-spacing: 2px;
}

/* Textured Background Utility */
.bg-textured-light {
    position: relative;
    background-color: #fff;
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&q=80&w=2000&opacity=0.03');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.bg-textured-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    z-index: -1;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    font-style: italic;
    font-family: var(--font-heading);
}

.lead-text {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.btn-outline-dark {
    border: 1px solid var(--color-text-dark);
    color: var(--color-text-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

.site-header.sticky {
    position: fixed;
    padding: 0.8rem 0;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left > ul, .nav-right > ul {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-left > ul > li > a, .nav-right > ul > li > a {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.site-header.sticky .nav-left > ul > li > a, 
.site-header.sticky .nav-right > ul > li > a {
    color: var(--color-text-dark);
    text-shadow: none;
}


.nav-right a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
}

/* Logo Image Handling */
.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img-normal {
    max-width: 250px;
    height: auto;
    display: block;
}

.logo-img-sticky {
    max-width: 150px;
    height: auto;
    display: none;
}

.site-header.sticky .logo-img-normal {
    display: none;
}

.site-header.sticky .logo-img-sticky {
    display: block;
}

/* ==========================================================================
   Subpage Hero Banner
   ========================================================================== */
.subpage-hero {
    height: 450px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
    z-index: 1;
}

.subpage-hero .hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    z-index: 1001;
}

.site-header.sticky .dropdown {
    top: 100%;
}

.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    display: block;
    padding: 0;
}

.dropdown a {
    display: block !important;
    padding: 10px 20px !important;
    color: var(--color-text-dark) !important;
    font-size: 12px !important;
    text-transform: capitalize !important;
    letter-spacing: 1px !important;
}

.dropdown a:hover {
    color: var(--color-primary) !important;
    background-color: #f9f9f9;
}

/* Sub-Dropdowns */
.has-sub-dropdown {
    position: relative;
}

.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.has-sub-dropdown:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.site-header.sticky .mobile-menu-toggle span {
    background-color: var(--color-text-dark);
}

/* ==========================================================================
   Hero Slider Section (Full-Width Andalusia Style)
   ========================================================================== */
.hero-slider-full {
    position: relative;
    width: 100%;
    height: 90vh; /* Premium large height */
    min-height: 600px;
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 0 !important;
}

.hero-full-container {
    height: 100%;
    position: relative;
}

.hero-slide-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-full.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Subtle dark overlay for text contrast */
.hero-slide-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.hero-content-center {
    position: relative;
    z-index: 5;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-slide-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff; /* Explicitly white */
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
}

.hero-slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff; /* Explicitly override global dark color */
    margin-bottom: 3rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.6s;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-btn-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.8s;
}

.hero-slide-full.active .hero-slide-subtitle,
.hero-slide-full.active .hero-slide-title,
.hero-slide-full.active .hero-btn-wrap {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Button Style */
.btn-premium-white {
    background-color: #fff;
    color: #000;
    padding: 16px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-premium-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}

.scroll-down-arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .padding-section-spacer {
        height: 80px;
    }
    .hero-slide-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
        color: #fff;
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .padding-section-spacer {
        height: 60px;
    }
    .hero-slider-full {
        height: 70vh;
    }
    .hero-slide-title {
        font-size: 2.8rem;
        letter-spacing: 3px;
        margin-bottom: 2rem;
        color: #fff;
        font-weight: 700;
    }
    .hero-slide-subtitle {
        font-size: 11px;
        letter-spacing: 4px;
        color: #fff;
    }
    .btn-premium-white {
        padding: 12px 30px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider-full {
        height: 60vh;
    }
    .hero-slide-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
        color: #fff;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .hero-image-col {
        flex: 0 0 300px;
    }
    .hero-slide-title {
        font-size: 2.2rem;
        color: #fff;
        font-weight: 700;
    }
    .hero-content-col {
        padding: 60px 8% 40px;
    }
}

/* ==========================================================================
   Split Packages Section (Andalusia Top 4 Style)
   ========================================================================== */
.split-packages-section {
    position: relative;
    padding: 100px 0;
    margin-top: 0 !important;
    z-index: 5;
    background-color: var(--color-bg-light);
}

/* Spacer section for padding between hero and content */
.padding-section-spacer {
    height: 120px;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.split-packages-section .container {
    position: relative;
    z-index: 2;
}

.split-packages-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.split-packages-left {
    flex: 0 0 35%;
    max-width: 35%;
}

.split-packages-right {
    flex: 0 0 calc(65% - 60px);
    max-width: calc(65% - 60px);
    position: relative;
}

.split-packages-content .section-title {
    font-size: 3rem;
    line-height: 1.1;
    margin: 1.5rem 0;
    text-align: left;
}

.section-text-small {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-top: 1.5rem;
}

.section-social-links {
    display: flex;
    gap: 15px;
}

.social-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #3b5998; /* Default for FB */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon-box:nth-child(2) { background-color: #bd081c; } /* Pinterest red */
.social-icon-box:nth-child(3) { background-color: #1da1f2; } /* Twitter blue */

.social-icon-box:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Slider / Track */
.packages-grid-carousel {
    overflow: hidden;
    width: 100%;
}

.packages-grid-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.packages-grid-slide {
    flex: 0 0 100%;
    width: 100%;
}

.grid-card-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.grid-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-img-link {
    display: block;
    aspect-ratio: 1.4 / 1;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.grid-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.grid-card:hover img {
    transform: scale(1.1);
}

.card-info {
    flex-grow: 1; /* Match height of peer cards */
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    color: var(--color-text-dark);
}

.card-info span {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.card-price-row {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: 15px;
}

.card-price {
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--color-text-light);
}

.card-price strong {
    color: var(--color-primary);
    font-size: 1.05rem;
}

.btn-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-dark);
    border-bottom: 1px solid var(--color-text-dark);
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* dots */
.packages-grid-dots {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

.grid-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grid-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1100px) {
    .split-packages-left {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .split-packages-left .section-title {
        text-align: center;
    }
    .split-packages-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .section-social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .grid-card-inner {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .grid-card-inner {
        grid-template-columns: 1fr;
    }
    .card-img-link {
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   Destination Gallery (Andalusia Style)
   ========================================================================== */
.dest-gallery-section {
    padding: var(--spacing-xl) 0;
}

.dest-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.dest-gallery-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dest-gallery-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.dest-gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.dest-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dest-gallery-item:hover .dest-gallery-image img {
    transform: scale(1.08);
}

.dest-gallery-shader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.dest-gallery-item:hover .dest-gallery-shader {
    background: rgba(0, 0, 0, 0.15);
}

.dest-gallery-info {
    padding: 1.8rem 0.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-grow: 1; /* Stretch to fill available height */
    justify-content: flex-start;
}

.dest-gallery-info > *:last-child {
    margin-top: auto; /* Push the button to the bottom */
    padding-top: 1rem;
}

.dest-gallery-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.dest-gallery-tags {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.dest-gallery-price {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.dest-gallery-price strong {
    color: var(--color-primary);
    font-size: 15px;
}

.btn-sm {
    padding: 10px 25px;
    font-size: 11px;
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .dest-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .dest-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .dest-gallery-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .dest-gallery-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   Never Ending Footsteps Section
   ========================================================================== */
.footsteps-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
}

.footsteps-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Background watermark text */
.footsteps-bg-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-script, 'Nothing You Could Do', cursive);
    font-size: clamp(100px, 20vw, 300px);
    color: rgba(0, 0, 0, 0.03); /* Extremely faint */
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
}

.footsteps-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 5;
}

.footsteps-header .section-title {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 12px;
    margin-bottom: 1.5rem;
}

.footsteps-header .section-desc {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 700px;
    line-height: 1.8;
}

/* Timeline SVG Holder */
.footsteps-timeline-wrap {
    position: relative;
    width: 100%;
    margin-top: 60px;
    z-index: 2;
}

.footsteps-timeline-wrap svg.timeline-svg {
    width: 100%;
    height: auto;
    overflow: visible; /* Ensure arrowheads aren't clipped */
}

/* Timeline Pins (Items) */
.footstep-item {
    position: absolute;
    z-index: 10;
    width: 180px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translate(-50%, -22px); /* Center 44px flag on point */
}

.footstep-item:hover {
    transform: translate(-50%, -30px);
}

.footstep-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.footstep-flag-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    background: #fff;
}

.footstep-flag-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.footstep-country {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.footstep-date {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    opacity: 0.7;
}

.footstep-pin-icon {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.footstep-pin-icon svg {
    width: 18px;
    height: auto;
    fill: var(--color-text-dark);
}

/* Pin Positioning (Based on Andalusia Demo Path) */
.pin-spain { left: 0%; top: 58%; }
.pin-australia { left: 23%; top: 12%; }
.pin-india { left: 47%; top: 68%; }
.pin-peru { left: 71%; top: 22%; }
.pin-serbia { left: 95%; top: 60%; }

/* Responsive adjustments for the timeline */
@media (max-width: 1100px) {
    .footstep-item { width: 140px; }
    .footstep-country { font-size: 10px; letter-spacing: 1px; }
    .footsteps-bg-text { font-size: 150px; }
}

@media (max-width: 768px) {
    .footsteps-section { padding: 80px 0; }
    .footsteps-timeline-wrap { display: none; } /* Hide complex wavy line on mobile for better usability */
    .footsteps-items-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        position: relative;
        z-index: 5;
    }
    .footstep-item { position: static; width: 100%; }
}

@media (min-width: 769px) {
    .footsteps-items-mobile { display: none; }
}

/* ==========================================================================
   Destination Cards (Grid Layouts)
   ========================================================================== */
.grid-container {
    display: grid;
    gap: 30px;
}

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

.destination-card {
    background: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border-radius: 4px;
    overflow: hidden;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); /* Softer shadow */
}

.card-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.66%; /* 3:2 Aspect Ratio */
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destination-card:hover .card-image img {
    transform: scale(1.08); /* Gentle zoom on hover */
}

.card-content {
    padding: 2.5rem 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.card-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.card-price strong {
    font-size: 16px;
    color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-img {
    max-width: 200px;
    filter: brightness(0) invert(1); /* Ensure logo is white on dark footer */
}

.widget-title {
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-widget ul li {
    margin-bottom: 0.8rem;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-widget a:hover {
    color: var(--color-primary);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .masonry-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-left, .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Drawer Expansion styling */
    .nav-right.mobile-open {
        display: flex !important;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(15, 15, 15, 0.96);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(8px);
    }
    .nav-right.mobile-open ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        display: flex;
    }

    /* Hide submenus in mobile */
    .nav-right.mobile-open ul li ul.dropdown,
    .nav-right.mobile-open ul li ul.sub-dropdown {
        display: none !important;
    }

    .nav-right.mobile-open .mobile-only {
        display: block !important;
    }
    .nav-right.mobile-open ul li a {
        font-size: 1.3rem;
        color: #ffffff;
        font-weight: 500;
        letter-spacing: 1px;
    }
    
    /* Active Burger 'X' transformation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-container {
        justify-content: space-between;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .masonry-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .script-subtitle {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* ==========================================================================
   Tour Grid & Package Listing Cards
   ========================================================================== */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 1200px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .tour-grid { grid-template-columns: 1fr; } }

.pkg-grid-card {
    text-align: center;
    background: transparent;
}
.pkg-grid-img-wrap {
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.pkg-grid-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.pkg-grid-card:hover .pkg-grid-img-wrap img {
    transform: scale(1.05);
}
.pkg-grid-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
}
.pkg-grid-tag {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
}
.pkg-grid-price {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 1.2rem;
    display: block;
}
.pkg-grid-price strong {
    color: var(--color-primary);
    font-size: 0.98rem;
}
.pkg-grid-btn {
    display: inline-block;
    padding: 9px 28px;
    border: 1px solid #333;
    background: transparent;
    color: #333;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pkg-grid-btn:hover {
    background: #333;
    color: #fff;
}
