﻿/**
 * Odyssey Outings - Main Stylesheet
 * Tour/Travel Agency E-commerce Website
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #1a5f7a;
    --primary-dark: #134b61;
    --primary-light: #2980b9;
    --accent: #e67e22;
    --accent-dark: #d35400;
    --accent-light: #f39c12;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #495057;
    --dark: #212529;
    --black: #0a0a0a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);

    /* Typography */
    --font-primary: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-width: 1280px;
    --container-padding: 1.5rem;

    /* Header */
    --header-height: 140px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
}

body.index-page {
    padding-top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.text-center {
    text-align: center;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.accent {
    color: var(--accent);
}

/* Page title - smaller than regular h1 */
.page-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn i {
    font-size: 1.1em;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(4px);
}

/* ===== HEADER ===== */
/* Header styles updated to be solid dark matching footer */
/* Header styles updated to be solid dark matching footer */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: var(--dark);
    /* Default solid dark for other pages */
    backdrop-filter: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

/* Transparent header for index page initially */
body.index-page .header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* Dark header on scroll for index page */
body.index-page .header.scrolled,
.header.scrolled {
    background: var(--dark);
    backdrop-filter: none;
    box-shadow: var(--shadow-md);
    border-bottom: none;
}

/* Header links white when transparent */
/* Header links default (dark) */
.header .nav-link {
    color: var(--white) !important;
    /* Force white color */
    font-weight: 600;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--accent) !important;
}

.header .logo {
    color: var(--white) !important;
}

.header .cart-icon {
    color: var(--white) !important;
}

.header .user-icon {
    color: var(--white) !important;
}

.header .mobile-toggle span {
    background: var(--white) !important;
}

/* Header links white ONLY on index page when transparent */
/* Removed specific index-page overrides as header is now consistent */

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 8px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Branding Wrapper */
.branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.agency-info {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-top: 2px;
    text-align: center;
}

/* Handle Agency Info colors when header is transparent on index page */
body.index-page .header:not(.scrolled) .agency-info {
    color: rgba(255, 255, 255, 0.9);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.logo-text .accent {
    color: var(--accent);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    color: var(--dark-gray);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.cart-icon:hover {
    background: var(--off-white);
    color: var(--primary);
}

/* White icons on index page transparent header */
body.index-page .header:not(.scrolled) .cart-icon,
body.index-page .header:not(.scrolled) .user-icon {
    color: var(--white);
}

body.index-page .header:not(.scrolled) .cart-icon:hover,
body.index-page .header:not(.scrolled) .user-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* User Menu */
.user-menu-wrapper {
    position: relative;
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--dark-gray);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.user-icon:hover {
    background: var(--off-white);
    color: var(--primary);
}

.user-icon.logged-in {
    background: var(--primary);
    color: var(--white);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu-wrapper:hover .user-dropdown,
.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: var(--space-md);
    background: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
}

.user-dropdown-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s ease;
}

.user-dropdown a:hover {
    background: var(--off-white);
}

.user-dropdown a.logout-link {
    border-top: 1px solid var(--light-gray);
    color: #dc3545;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    transition: var(--transition-base);
}

/* ===== FLASH MESSAGES ===== */
.flash-message {
    padding: var(--space-md);
    text-align: center;
    font-weight: 500;
}

.flash-success {
    background: #d4edda;
    color: #155724;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
}

.flash-close {
    float: right;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: var(--space-xl);
    z-index: 1;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: var(--space-4xl);
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition-base);
    cursor: pointer;
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-size: 0.875rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== CATEGORIES SECTION ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.category-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    transition: var(--transition-base);
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: rgba(26, 95, 122, 0.6);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    color: var(--white);
}

.category-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: var(--space-md);
}

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    transform: translateX(-10px);
    opacity: 0;
    transition: var(--transition-base);
}

.category-card:hover .category-arrow {
    transform: translateX(0);
    opacity: 1;
}

/* ===== SPOTLIGHT SECTION ===== */
.spotlight-section {
    background: var(--off-white);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.spotlight-content {
    padding-right: var(--space-2xl);
}

.spotlight-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-lg);
}

.spotlight-description {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--dark-gray);
    font-weight: 500;
}

.meta-item i {
    color: var(--accent);
    font-size: 1.25rem;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-width: 80px;
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.spotlight-actions {
    display: flex;
    gap: var(--space-md);
}

/* Spotlight Image */
.spotlight-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4 / 3;
}

.image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--accent);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.image-badge i {
    color: #ffd700;
}

/* ===== GALLERY SECTION ===== */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-lg);
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-location {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-weight: 500;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-location {
    transform: translateY(0);
}

/* ===== WHY SECTION ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}


.why-card {
    position: relative;
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.why-card:hover::after {
    width: 100%;
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: rgba(26, 95, 122, 0.05);
    border-radius: 20px;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(26, 95, 122, 0.2);
}

.why-card h3 {
    margin-bottom: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
}

.why-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.why-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.why-description {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: var(--gradient-primary);
    padding: var(--space-3xl) 0;
}

.newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
}

.newsletter-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-lg);
    outline: none;
}

.newsletter-form .btn-primary {
    white-space: nowrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-description {
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 2px;
}

.footer-badges {
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: nowrap;
}

.footer-badge-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-badge-link:hover {
    transform: translateY(-3px);
}

.footer-badge-img {
    height: 50px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .spotlight-content {
        padding-right: 0;
        order: 2;
    }

    .spotlight-image {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Mobile Menu - Dropdown Style */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--dark);
        padding: var(--space-lg) var(--space-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Index page - transparent header becomes solid when menu opens */
    body.index-page .header {
        transition: background 0.35s ease, backdrop-filter 0.35s ease;
    }

    /* When menu is open, force solid background on index page header */
    body.index-page .header.menu-open {
        background: var(--dark) !important;
        backdrop-filter: none !important;
    }

    /* Nav inherits dark background */
    body.index-page .nav {
        background: var(--dark);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .nav-link {
        display: block;
        padding: var(--space-sm) var(--space-xs);
        font-size: 1rem;
        border-radius: var(--radius-md);
        transition: background 0.2s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hide close button in dropdown mode */
    .mobile-nav-close {
        display: none;
    }

    /* Hide overlay in dropdown mode */
    .mobile-menu-overlay {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 300px;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .countdown {
        justify-content: center;
    }

    .countdown-item {
        min-width: 60px;
        padding: var(--space-md);
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-md);
    }

    .spotlight-actions {
        flex-direction: column;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MINIMAL GALLERY SECTION ===== */
.gallery-section-minimal {
    padding: var(--space-3xl) 0;
    background: var(--off-white);
}

.gallery-masonry-minimal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 4px;
}

.gallery-item-minimal {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
}

.gallery-item-minimal.tall {
    grid-row: span 2;
}

.gallery-item-minimal.wide {
    grid-column: span 2;
}

.gallery-link-minimal {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.gallery-item-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay-minimal {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-md);
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-minimal:hover img {
    transform: scale(1.05);
}

.gallery-item-minimal:hover .gallery-overlay-minimal {
    opacity: 1;
}

.gallery-caption {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transform: translateY(10px);
    transition: transform 0.3s ease;
    opacity: 0.85;
}

.gallery-item-minimal:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .gallery-masonry-minimal {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }
}

@media (max-width: 768px) {
    .gallery-masonry-minimal {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

/* ===== TRAVEL MEMORIES GALLERY - 5 SLOTS ===== */
.travel-memories-section {
    padding: 0;
    background: var(--off-white);
    overflow: hidden;
}

.travel-memories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    height: 600px;
}

.memory-slot {
    position: relative;
    overflow: hidden;
}

.memory-slot-a {
    grid-row: span 2;
}

.memory-slot-small {
    overflow: hidden;
}

.memory-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.memory-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.memory-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: var(--space-xl);
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memory-slot:hover img {
    transform: scale(1.05);
}

.memory-slot:hover .memory-overlay {
    opacity: 1;
}

.memory-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.memory-slot:hover .memory-content {
    transform: translateY(0);
}

.memory-caption {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.memory-button {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 2px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    width: fit-content;
}

.memory-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.memory-slot:hover .memory-button {
    opacity: 1;
}

.memory-slot:hover .memory-button::after {
    width: 100%;
}

.memory-slot:hover .memory-caption {
    transform: none;
}

@media (max-width: 992px) {
    .travel-memories-grid {
        height: 240px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .travel-memories-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .memory-slot-a {
        grid-row: span 1;
        grid-column: span 2;
        aspect-ratio: 1/1;
        height: auto;
    }

    .memory-slot-small {
        aspect-ratio: 1/1;
        height: auto;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--off-white);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* Specific adjustment for Tours page to align with others */
.tours-page .page-header {
    padding-top: var(--space-md);
    padding-bottom: var(--space-xl);
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.5;
}

.page-title {
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
}






/* Legal Popup Styles */
.legal-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.legal-popup-content {
    background: #fff;
    color: #1a1a1a;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.legal-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    color: #1a1a1a;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.legal-popup-close:hover {
    background: #e2e8f0;
}

.legal-popup-body {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 80vh;
    line-height: 1.8;
}

.legal-popup-body h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.legal-popup-body p {
    margin-bottom: 1rem;
    color: #374151;
}

.legal-popup-body ul,
.legal-popup-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* Footer Bottom Layout */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-payment-methods {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}


/* Main content reset */
main {
    margin: 0;
    padding: 0;
}



/* Force reset whitespace for index page */
body.index-page,
body.index-page main,
body.index-page .hero,
body.index-page .hero .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force main reset for index page specifically */
body.index-page main {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

body.index-page main>.hero:first-child {
    margin-top: 0 !important;
}