/* 
 * Holidays By Vivian - Main Stylesheet
 * A custom stylesheet for a luxury travel agency website
 */

/* ===== Base Styles ===== */
:root {
    /* Color palette - can be adjusted once branding is finalized */
    --primary: #0c3257;
    --secondary: #8a7256;
    --accent: #d4af37; /* Gold accent */
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Typography */
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Montserrat', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* Global list styles */
ul, ol {
    padding-left: 2rem;
    margin-bottom: var(--spacing-md);
}

ul li, ol li {
    margin-bottom: var(--spacing-sm);
}

/* Ensure lists are properly indented on mobile */
@media (max-width: 768px) {
    ul, ol {
        padding-left: 1.5rem; /* Slightly reduced but still maintained indentation on mobile */
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
}

.col-md-4 {
    width: 33.333333%;
}

.col-md-6 {
    width: 50%;
}

.col-md-8 {
    width: 66.666667%;
}

.col-md-12 {
    width: 100%;
}

@media (max-width: 992px) {
    .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
        width: 100%;
        margin-bottom: var(--spacing-lg);
    }
}

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

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

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

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ===== Components ===== */

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(172deg, var(--primary) 0%, #243447 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(26, 43, 60, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(172deg, var(--gray-800) 0%, var(--primary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 43, 60, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 43, 60, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(26, 43, 60, 0.4), 0 0 0 3px rgba(212, 175, 55, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    color: var(--white);
    background: linear-gradient(172deg, var(--secondary) 0%, #9a7f66 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(138, 114, 86, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(172deg, #6d5a44 0%, var(--secondary) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 114, 86, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(138, 114, 86, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(138, 114, 86, 0.4), 0 0 0 3px rgba(212, 175, 55, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
    color: var(--primary);
    background-color: transparent;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 43, 60, 0.2);
}

.btn-outline:hover {
    color: var(--white);
    background: linear-gradient(172deg, var(--primary) 0%, #243447 100%);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 43, 60, 0.3);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 43, 60, 0.2);
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(26, 43, 60, 0.2), 0 0 0 3px rgba(26, 43, 60, 0.2);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

/* Ensure buttons don't cause horizontal scrolling on mobile */
@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        white-space: normal; /* Allow text to wrap */
        width: 100%; /* Make button full width on mobile */
        box-sizing: border-box; /* Ensure padding is included in width calculation */
    }
    
    .cta .btn {
        max-width: 100%; /* Ensure CTA buttons don't overflow */
        overflow-wrap: break-word; /* Help with very long words */
        word-wrap: break-word;
    }
}

/* ===== Header ===== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px; /* Fixed height for consistent vertical centering */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-logo {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.site-logo img {
    display: block;
    transition: all 0.3s ease;
}

.site-logo:before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.8) 50%, transparent 60%);
    transition: left 0.6s ease;
    z-index: 2;
    pointer-events: none;
    transform: skewX(-20deg);
}

.site-logo:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(172deg, var(--secondary) 0%, #9a7f66 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
    mask: url('/images/holidaysbyvivian-logo-horizontal-colour.png') no-repeat center/contain;
    -webkit-mask: url('/images/holidaysbyvivian-logo-horizontal-colour.png') no-repeat center/contain;
}

.site-logo:hover {
    color: var(--primary);
}

.site-logo:hover:before {
    left: 100%;
}

.site-logo:hover:after {
    opacity: 0.5;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: var(--spacing-lg);
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    position: relative;
    display: block;
    line-height: 1;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem); /* Reduced spacing to 1rem for better usability */
    left: -50px; /* Push left to prevent going off-screen */
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0;
    border: 1px solid var(--gray-200);
    list-style: none;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--gray-800);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 0.875rem;
    top: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-menu a:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        padding: var(--spacing-xl) var(--spacing-lg);
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start; /* Left align items in mobile menu */
    }
    
    .main-nav li {
        margin: 0 0 var(--spacing-md) 0;
        width: 100%; /* Full width in mobile */
        height: auto; /* Reset height */
        display: block; /* Block display for mobile */
        align-items: flex-start; /* Left align */
    }
    
    .main-nav a {
        padding: 0; /* Reset padding */
        top: 0; /* Reset top position */
        text-align: left; /* Ensure text is left-aligned */
    }
    
    /* Mobile dropdown styles - Always visible as indented list */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        border-radius: 0;
        margin-top: 0.5rem;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
        overflow: visible;
        transition: none;
        border: none;
        list-style: none;
        display: block;
    }
    
    .dropdown-menu li {
        margin: 0 0 0.5rem 0;
        padding: 0;
        border-bottom: none;
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 0 0.5rem 1.5rem; /* Indent the submenu items */
        font-size: 0.8rem;
        border-bottom: none;
        background-color: transparent;
        display: block;
        position: relative;
    }
    
    .dropdown-menu a:before {
        content: "—";
        position: absolute;
        left: 0.5rem;
        color: var(--gray-500);
    }
    
    .dropdown-menu a:hover {
        background-color: var(--gray-100);
        padding-left: 1.5rem; /* Keep consistent indentation on hover */
    }
    
    /* Hide the dropdown toggle arrow on mobile since it's always expanded */
    .dropdown-toggle i {
        display: none;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    padding: 0; /* Remove default section padding to be flush with header */
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: url('../images/video-holder.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.video-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
    min-width: 100%;
    min-height: 100%;
}


.hero-content {
    position: relative;
    z-index: 4;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: calc(var(--spacing-lg) * 2);
    margin-bottom: calc(var(--spacing-lg) * 2);
}

.hero-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}


@media (max-width: 768px) {
    #background-video {
        height: 100%;
        width: auto;
        min-width: 100%;
    }
    
    .hero-logo {
        max-width: 160px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .lead {
        font-size: 1.25rem;
    }
}

/* ===== Intro Section ===== */
.intro {
    background-color: var(--white);
}

/* Homepage image styling with reduced rounded corners */
.intro .img-fluid {
    border-radius: 0.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro .img-fluid:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Featured Tours Section ===== */
.featured-tours {
    background-color: var(--gray-100);
}

.featured-tours h2 {
    margin-bottom: var(--spacing-sm);
}

.featured-tours p.text-center {
    margin-bottom: var(--spacing-lg);
}

.tour-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tour-card-body {
    padding: var(--spacing-lg);
}

.tour-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.tour-card p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--gray-100);
}

.testimonials h2 {
    margin-bottom: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: var(--spacing-lg);
    height: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 20px;
    color: var(--gray-300);
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    text-align: right;
    color: var(--gray-700);
}

/* ===== Call to Action Section ===== */
.cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta p {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-xl) 0 var(--spacing-sm) 0; /* Reduce bottom padding significantly */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    width: 25%;
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-md); /* Reduce bottom margin to balance spacing around dividing line */
}

/* Custom widths for 3-column footer layout */
.footer-section.footer-brand {
    width: 40%;
}

.footer-section.footer-links {
    width: 20%;
}

.footer-section.footer-contact {
    width: 40%;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-700);
}

.footer-section ul {
    list-style: none;
    padding-left: 10px;
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--gray-400);
}

.footer-section a:hover {
    color: var(--white);
}

/* Contact info links should maintain text appearance */
.contact-info-content a {
    color: inherit;
    text-decoration: none;
}

.contact-info-content a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Footer contact links styling */
.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-800);
    color: var(--white);
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--white);
}

.awards-section {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.awards-section h3 {
    color: var(--gray-400);
    margin-bottom: var(--spacing-lg);
}

.awards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.award-logo {
    max-height: 150px;
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: 0; /* Remove bottom margin to minimize space */
    border-top: 1px solid var(--gray-800);
    color: var(--gray-600);
}

.protection-info {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
}

.protection-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.protection-section {
    flex: 1;
    min-width: 280px;
    color: var(--gray-400);
}

.protection-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-700);
}

.protection-section p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-size: 0.95rem;
}

.protection-section a {
    color: var(--accent);
    text-decoration: underline;
}

.protection-section a:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .protection-container {
        flex-direction: column;
    }
    
    .protection-section {
        min-width: auto;
    }
}

@media (max-width: 992px) {
    .footer-section {
        width: 50%;
    }
    
    /* Reset custom widths on tablet */
    .footer-section.footer-brand,
    .footer-section.footer-links,
    .footer-section.footer-contact {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .footer-section {
        width: 100%;
    }
    
    /* Reset custom widths on mobile */
    .footer-section.footer-brand,
    .footer-section.footer-links,
    .footer-section.footer-contact {
        width: 100%;
    }
}

/* ===== Portfolio Page ===== */
.portfolio-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://dummyimage.com/1920x600/d4af37/d6b14f&text=Holidays+By+Vivian');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.portfolio-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        width: 100%;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: var(--spacing-lg);
    color: var(--white);
}

.portfolio-item-overlay h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

/* ===== Tour Detail Pages ===== */
.tour-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://dummyimage.com/1920x600/d4af37/d6b14f&text=Holidays+By+Vivian');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

/* Specific styling for Your Journey, Our Passion page */
body.your-holiday .tour-header {
    background: linear-gradient(172deg, var(--primary) 0%, #2d4a5c 50%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

body.your-holiday .tour-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

body.your-holiday .tour-header .tour-intro p {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tour-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.tour-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.tour-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Exactly 2 columns */
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0 var(--spacing-lg) 0;
}

@media (max-width: 576px) {
    .tour-gallery {
        grid-template-columns: repeat(2, 1fr); /* Two columns on mobile */
        gap: var(--spacing-sm);
        width: 100%;
    }
}

.tour-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery fullscreen view styling */
.gallery-overlay {
    transition: opacity 0.3s ease;
}

.gallery-nav-button {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-nav-button:hover {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-close {
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-fullscreen-image {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.tour-highlights {
    background-color: var(--gray-100);
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-xl);
}

.tour-highlights h2 {
    margin-bottom: var(--spacing-lg);
}

.highlight-item {
    display: flex;
    margin-bottom: var(--spacing-lg);
}

.highlight-icon {
    flex: 0 0 60px;
    height: 60px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    color: var(--white);
    font-size: 1.5rem;
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    margin-bottom: var(--spacing-xs);
}

/* Tour Sidebar */
.tour-sidebar {
    margin-top: var(--spacing-lg);
}

.tour-info-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tour-info-card h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-300);
    padding-bottom: var(--spacing-sm);
}

.tour-info-card:first-child h3 {
    margin-top: 0;
}

.tour-info-card ul {
    list-style: none;
    padding-left: 0;
}

.tour-info-card ul li {
    margin-bottom: var(--spacing-sm);
    padding-left: 1.5rem;
    position: relative;
}

.tour-info-card ul li:before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cta-card {
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-card h3 {
    margin-bottom: var(--spacing-sm);
}

.cta-card p {
    margin-bottom: var(--spacing-md);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Tour Overview Section */
.col-md-8 h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

/* ===== Your Holiday Page Process Section ===== */
.process-section {
    background-color: var(--gray-100);
    padding: var(--spacing-xl) 0;
}

.process-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.process-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--accent);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    z-index: 2;
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}

.process-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.process-icon {
    display: none; /* Hide the old small icons */
}

.process-content {
    width: 45%;
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.process-content h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
}

.process-image {
    width: 45%;
    padding: var(--spacing-lg);
    margin-top: 50px;
    display: none; /* Hide the images but keep in HTML */
}

.process-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Large centered icon to replace the hidden image */
.process-large-icon {
    width: 45%;
    padding: var(--spacing-lg);
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-large-icon .fas {
    width: 200px;
    height: 200px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step, .process-step:nth-child(odd) {
        flex-direction: column;
    }
    
    .process-number {
        left: 30px;
        transform: none;
    }
    
    .process-icon {
        left: 30px;
        transform: none;
    }
    
    .process-content, .process-image {
        width: calc(100% - 100px);
        margin-left: 80px;
        margin-right: var(--spacing-md);
    }
    
    .process-large-icon {
        display: none; /* Hide large icons on mobile */
    }
    
    .process-content {
        order: 1;
    }
    
    .process-image {
        order: 2;
    }
}

/* Show the timeline icons on mobile */
@media (max-width: 992px) {
    .process-icon {
        display: flex !important; /* Override the display: none */
        position: absolute;
        top: 70px;
        left: 30px;
        transform: none;
        width: 70px;
        height: 70px;
        background-color: var(--primary);
        color: var(--white);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        font-size: 1.75rem;
        z-index: 3;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
}

/* ===== Sustainable Travel Page ===== */
.sustainable-content {
    background-color: var(--white);
    padding: var(--spacing-xl) 0;
}

.sustainable-intro {
    margin: 0 auto;
    padding-top: var(--spacing-lg);
}

.sustainable-intro h2 {
    margin-bottom: var(--spacing-lg);
}

/* Sustainable intro image styling with reduced rounded corners */
.sustainable-intro-image {
    border-radius: 0.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sustainable-intro-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sustainable-steps {
    background-color: var(--gray-100);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.sustainable-steps .container {
    max-width: 1100px;
    margin: 0 auto;
}

.sustainable-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.sustainable-header h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.sustainable-step {
    display: flex;
    align-items: center;
    margin-bottom: calc(var(--spacing-xl) * 1.5);
    gap: var(--spacing-xl);
}

.sustainable-step.reverse {
    flex-direction: row-reverse;
}

.sustainable-content-block {
    flex: 1;
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sustainable-content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sustainable-content-block h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.sustainable-content-block h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(172deg, var(--accent) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.sustainable-content-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 0;
}

.sustainable-image {
    flex: 1;
    padding: var(--spacing-md);
}

.sustainable-image img {
    width: 100%;
    border-radius: 0.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sustainable-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.sustainable-icon {
    flex: 1;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustainable-icon i {
    width: 200px;
    height: 200px;
    background-color: #2d5a3d; /* Green theme instead of primary blue */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sustainable-icon i:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    background-color: #1f4129; /* Darker green on hover */
}

/* Specific styling for sustainable travel page header */
body.sustainable-travel .tour-header {
    background: linear-gradient(172deg, var(--primary) 0%, #2d4a5c 50%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

body.sustainable-travel .tour-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

body.sustainable-travel .tour-header .tour-intro p {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .sustainable-step, 
    .sustainable-step.reverse {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .sustainable-content-block {
        order: 1;
    }
    
    .sustainable-image, .sustainable-icon {
        order: 2;
        padding: 0;
    }
    
    .sustainable-icon i {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    .sustainable-header h2 {
        font-size: 2rem;
    }
    
    /* Center the gold divider line on mobile when content is centered */
    .sustainable-content-block h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .sustainable-content-block {
        padding: var(--spacing-lg);
    }
    
    .sustainable-content-block h3 {
        font-size: 1.5rem;
    }
    
    .sustainable-content-block p {
        font-size: 1rem;
    }
    
    .sustainable-header h2 {
        font-size: 1.75rem;
    }
    
    /* Mobile responsive text wrapping */
    .sustainable-intro img {
        float: none !important;
        display: block;
        margin: 0 auto var(--spacing-lg) auto !important;
        max-width: 100% !important;
    }
}

/* ===== Contact Page ===== */
.contact-header {
    background: linear-gradient(172deg, var(--primary) 0%, #2d4a5c 50%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.contact-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.contact-form {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
}

.contact-info {
    background-color: var(--gray-100);
    padding: var(--spacing-lg) var(--spacing-lg);
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    margin-bottom: var(--spacing-lg);
}

.contact-info-icon {
    flex: 0 0 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-sm);
    color: var(--white);
    font-size: 1.25rem;
}

.contact-info-content {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-info-content h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.contact-info-content p {
    max-width: 100%;
    font-size: 0.95rem;
}

/* Loading Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Bio Page ===== */
.bio-header {
    background: linear-gradient(172deg, var(--primary) 0%, #2d4a5c 50%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* ===== Customer Service Pages ===== */
.gradient-header {
    background: linear-gradient(172deg, var(--primary) 0%, #2d4a5c 50%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.gradient-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.gradient-header .tour-intro p {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bio-header h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.bio-header .tour-intro {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.bio-header .tour-intro p {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.profile-photo {
    position: absolute;
    bottom: -100px; /* Half of the 200px image height to make it half on/off */
    left: 50px; /* Position from left edge */
    z-index: 10;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.bio-content {
    padding-top: calc(var(--spacing-xl) + 100px); /* Add extra padding to account for profile photo */
}

.bio-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.bio-signature {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.bio-signature p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .profile-photo {
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center the element */
        width: 100%; /* Full width container */
        display: flex;
        justify-content: center;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
    
    .bio-content {
        padding-top: calc(var(--spacing-xl) + 75px); /* Adjust for larger mobile image */
    }
    
    .bio-text {
        font-size: 1rem;
    }
}

/* ===== Operator Logos Marquee ===== */
.operator-logos-section {
    background-color: var(--gray-100);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.operator-logos-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, var(--gray-100) 0%, transparent 10%, transparent 90%, var(--gray-100) 100%);
}

.marquee {
    display: flex;
    animation: scroll-left 60s linear infinite;
    gap: var(--spacing-xl);
    align-items: center;
    width: max-content;
}

.marquee:hover {
    animation-play-state: paused;
}

.operator-logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: block;
}

.operator-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .operator-logo {
        height: 60px;
        max-width: 150px;
    }
    
    .marquee {
        gap: var(--spacing-lg);
        animation-duration: 45s;
    }
}

/* ===== Language Switcher ===== */
.main-nav .language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: var(--spacing-lg);
}


.lang-current {
    color: var(--primary);
    font-weight: 700;
}

.lang-separator {
    color: var(--gray-400);
    font-weight: 400;
}

.lang-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .main-nav .language-switcher {
        justify-content: flex-start;
        margin: var(--spacing-md) 0;
        order: -1; /* Show at top of mobile menu */
        width: 100%;
    }
    
    .main-nav .language-switcher .lang-current,
    .main-nav .language-switcher .lang-separator,
    .main-nav .language-switcher .lang-link {
        top: 0; /* Reset positioning on mobile */
    }
}
