/* style.css - Días de viaje Global Premium Light Style System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Color Palette - Light & Corporate Blue Theme */
    --bg-dark: #ffffff;
    --bg-darker: #f8fafc; /* Very light slate gray */
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glass-hover: rgba(7, 110, 179, 0.25);
    
    --primary: #076eb3; /* Official Logo Blue */
    --primary-hover: #00a7e9; /* Bright Logo Blue */
    --primary-glow: rgba(7, 110, 179, 0.15);
    
    --accent-blue: #076eb3;
    --accent-indigo: #00a7e9;
    --accent-cyan: #38bdf8;
    
    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #475569; /* Slate 600 */
    --text-inverse: #ffffff;
    
    --gradient-gold: linear-gradient(135deg, #076eb3 0%, #00a7e9 100%);
    --gradient-ocean: linear-gradient(135deg, #076eb3 0%, #3b82f6 50%, #00a7e9 100%);
    --gradient-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, #ffffff 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    
    /* Layout Variables */
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-darker);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

body {
    background: var(--bg-darker);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(7, 110, 179, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12), 0 0 15px rgba(7, 110, 179, 0.08);
}

/* Premium Buttons */
.btn-primary {
    background: var(--gradient-gold);
    color: var(--text-inverse);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 110, 179, 0.4);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.07);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

/* Header / Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(7, 110, 179, 0.15);
    height: 70px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.logo-container img {
    height: 50px;
    object-fit: contain;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .logo-container img {
    height: 40px;
}

nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px 20px;
    overflow: visible;
    z-index: 10; /* Force stacking context and ensure popovers overlay subsequent sections */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.85; /* Increased opacity for more video prominence */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Bright gradient overlay to merge video with our light design theme */
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.45) 0%, rgba(248, 250, 252, 0.85) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    margin-bottom: 40px;
}

.hero-tagline {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    animation: fadeInDown 1s ease forwards;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0c1e36; /* Navy blue */
    animation: fadeInUp 1s ease forwards;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.6);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1.2s ease forwards;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
}

.form-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Search Form Widget */
.search-widget-container {
    width: 100%;
    max-width: 1100px;
    z-index: 10;
    animation: fadeInUp 1.4s ease forwards;
}

.search-widget {
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid rgba(7, 110, 179, 0.15);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.1);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
}

.input-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-field {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    width: 100%;
}

.input-field:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(7, 110, 179, 0.15);
}

/* Ensure read-only input fields (Guests) look like normal text fields and have pointer cursor on PC */
.input-field[readonly] {
    background-color: #ffffff !important;
    cursor: pointer;
}

/* Style for WhatsApp button icon to ensure proper size and prevent shrinking */
.whatsapp-btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    margin-left: 8px;
    vertical-align: middle;
}

/* Date Range Fields (Ida y Regreso) */
.date-range-fields {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-md);
    padding: 2px 8px;
    width: 100%;
    transition: var(--transition-fast);
}

.date-range-fields:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(7, 110, 179, 0.15);
}

.date-range-fields .date-picker {
    border: none;
    background: transparent;
    padding: 12px 6px;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    font-family: inherit;
}

.date-range-fields .date-picker:focus {
    outline: none;
    box-shadow: none;
}

.date-separator {
    color: var(--primary);
    font-weight: bold;
    padding: 0 4px;
    user-select: none;
    font-size: 1.1rem;
}

/* Custom Select Field Styling */
.select-field {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23076eb3'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 36px !important;
    cursor: pointer;
}

/* Group services checkboxes */
.group-services-container {
    margin: 15px 0 25px 0;
    padding: 15px 20px;
    background: rgba(7, 110, 179, 0.04);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(7, 110, 179, 0.2);
    text-align: left;
}

.services-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.services-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 500;
    user-select: none;
}

.service-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Group Form Toggle Link */
.group-toggle-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.toggle-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(7, 110, 179, 0.05);
    border: 1px solid rgba(7, 110, 179, 0.1);
}

.toggle-link:hover {
    background: rgba(7, 110, 179, 0.1);
    color: var(--primary-hover);
    transform: translateY(-1px);
}

.toggle-link:active {
    transform: translateY(0);
}

/* Smooth transition for forms */
#booking-search-form, #group-search-form {
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Autocomplete suggestions */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(7, 110, 179, 0.2);
    border-radius: var(--radius-md);
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    display: none;
}

.autocomplete-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
}

.autocomplete-suggestion:hover {
    background: rgba(7, 110, 179, 0.08);
    color: var(--primary);
}

/* Room & Guests Popover */
.guests-trigger-btn {
    text-align: left;
    cursor: pointer;
}

.guests-popover {
    position: absolute;
    top: 105%;
    left: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid rgba(7, 110, 179, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    z-index: 99;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    display: none;
    max-height: 385px;
    overflow-y: auto;
}

.guests-popover.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.room-block {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.room-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.remove-room-btn {
    color: #ef4444;
    font-size: 0.75rem;
    cursor: pointer;
}

.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-main);
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.counter-btn:hover {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.counter-val {
    min-width: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.child-ages-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}

.child-age-select-group {
    display: flex;
    flex-direction: column;
}

.child-age-select-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.age-select {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 6px;
    padding: 5px;
    font-size: 0.75rem;
    color: var(--text-main);
}

.add-room-action {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-add-room {
    font-size: 0.8rem;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-add-room:hover {
    color: var(--primary-hover);
}

.search-submit-container {
    display: flex;
    justify-content: center;
}

.search-submit-container .btn-primary {
    width: auto;
    min-width: 250px;
    justify-content: center;
}

/* Category Sections */
.section-wrapper {
    padding: 100px 5%;
    position: relative;
    background: #ffffff;
}

.section-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(7, 110, 179, 0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    color: #0c1e36;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Category Slider / Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.dest-card {
    height: 480px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.dest-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%;
    /* Gradient overlay for cards - dark to merge with content overlay but keeping overall visual clean */
    background: linear-gradient(to top, rgba(12, 30, 54, 0.9) 0%, rgba(12, 30, 54, 0.4) 50%, transparent 100%);
    z-index: -1;
}

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

.dest-card-img.img-primary {
    animation: fadePrimary 8s infinite ease-in-out;
}

.dest-card-img.img-secondary {
    animation: fadeSecondary 8s infinite ease-in-out;
    opacity: 0;
}

@keyframes fadePrimary {
    0%, 40% { opacity: 1; }
    50%, 90% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeSecondary {
    0%, 40% { opacity: 0; }
    50%, 90% { opacity: 1; }
    100% { opacity: 0; }
}

.dest-card-tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.dest-card-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.dest-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dest-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dest-card-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(7, 110, 179, 0.3);
    transition: var(--transition-smooth);
}

.dest-card:hover .dest-card-btn {
    transform: rotate(45deg) scale(1.1);
}

/* Exclusive Boda Beach Section styling */
.boda-section {
    position: relative;
    padding: 120px 5%;
    overflow: hidden;
    background: #fdfbfb; /* Light rose-white background */
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.boda-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.06;
}

.boda-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.boda-visual {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(7, 110, 179, 0.15);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.boda-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boda-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.5) 100%);
    pointer-events: none;
}

.boda-badge {
    color: var(--primary);
    border: 1px solid rgba(7, 110, 179, 0.25);
    background: rgba(7, 110, 179, 0.06);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    padding: 6px 16px;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 20px;
    font-weight: 700;
}

.boda-title {
    font-size: 3.2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #0c1e36;
    margin-bottom: 25px;
    line-height: 1.2;
}

.boda-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.boda-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.boda-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.boda-feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.boda-feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.boda-btn {
    background: var(--gradient-gold);
    box-shadow: 0 4px 15px var(--primary-glow);
    color: #ffffff;
}

.boda-btn:hover {
    box-shadow: 0 6px 20px rgba(7, 110, 179, 0.35);
}

/* Subpages Styling */
.subpage-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 40px 20px;
    overflow: hidden;
    z-index: 1; /* Force stacking context for video visibility */
}

.subpage-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.85; /* Clearer image integration */
}

.subpage-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.85;
}

.subpage-grid-container {
    padding: 80px 5%;
    background: #ffffff;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* Base layouts will continue below, media queries moved to the bottom of the file for correct cascade priority */


/* Footer styling */
footer {
    background: #f8fafc; /* Clear light slate background */
    border-top: 1px solid rgba(7, 110, 179, 0.15);
    padding: 60px 5% 30px 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 55px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-section-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(7, 110, 179, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image gallery custom styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(12, 30, 54, 0.85), transparent);
    color: #fff;
    font-size: 0.85rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

@media(max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Quote modal popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 30, 54, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(7, 110, 179, 0.15);
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
}

/* Preloader Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999; /* Higher than everything else */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.64, 0, 0.78, 0);
}

#preloader-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    z-index: 0;
}

.preloader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.82); /* Transparent white filter so logo contrasts beautifully */
    z-index: 1;
}

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.preloader-logo {
    height: 90px;
    object-fit: contain;
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-bar-container {
    width: 250px;
    height: 6px;
    background: rgba(7, 110, 179, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: visible; /* Let the airplane icon extend beyond boundaries */
}

.preloader-bar {
    width: 0;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    animation: fillBar 4.5s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

.preloader-airplane {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90px;
    height: 90px;
    animation: flyAirplane 4.5s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

.vehicle-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vehicle-avion {
    animation: showAvion 4.5s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

.vehicle-crucero {
    animation: showCrucero 4.5s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

@keyframes showAvion {
    0%, 48% { opacity: 1; transform: scale(1); }
    50%, 100% { opacity: 0; transform: scale(0); }
}

@keyframes showCrucero {
    0%, 48% { opacity: 0; transform: scale(0); }
    50%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes fillBar {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes flyAirplane {
    0% { left: 0%; }
    100% { left: 100%; }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

/* Prevent scrolling during preloader */
body.loading {
    overflow: hidden;
}

/* Media Queries moved to bottom for proper CSS cascade priority override */
@media(max-width: 1024px) {
    .destinations-grid, .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .boda-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media(max-width: 768px) {
    .destinations-grid, .cards-grid {
        grid-template-columns: 1fr;
    }
    header {
        padding: 0 20px;
    }
    nav {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    }
    nav.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .search-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .search-widget {
        padding: 20px 15px;
    }
    .date-range-fields {
        flex-direction: column;
    }
    .date-range-fields .date-separator {
        display: none;
    }
    .form-2-col {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .booking-section, .boda-hero {
        padding-bottom: 120px; /* Space for WhatsApp floating button */
    }
    .guests-popover {
        width: 100%;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 35px;
        text-align: center;
        width: 100%;
        overflow: hidden;
    }
    footer {
        padding: 50px 20px 30px 20px;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    .footer-logo img {
        height: 48px;
    }
    .footer-desc {
        margin: 0 auto;
        max-width: 280px;
        word-wrap: break-word;
    }
    .footer-contact-item {
        justify-content: center;
        word-break: break-all;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- NEW COMPONENTS STYLING --- */

/* Booking Section */
.booking-section {
    padding: 120px 5% 180px 5%;
    background-color: var(--bg-darker);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    scroll-margin-top: var(--nav-height);
    z-index: 15; /* Ensure popovers overlay subsequent sections */
}

/* FAQ Section */
.faq-section {
    padding: 100px 5%;
    background-color: #ffffff;
    position: relative;
    scroll-margin-top: var(--nav-height);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-darker);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(7, 110, 179, 0.25);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.faq-item.active {
    background: #ffffff;
    border-color: rgba(7, 110, 179, 0.35);
    box-shadow: 0 10px 30px rgba(7, 110, 179, 0.06);
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #0c1e36;
    user-select: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding-bottom: 22px;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: #20ba5a;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding-bottom: 16px;
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float-icon {
        width: 26px;
        height: 26px;
    }
}

