/* 
   Theme: Logtravel Premium Blue
   Colors: Deep Navy (#051024), Ocean Blue (#0a2e5c), Sky Blue (#3498db), Gold Accent (#d4af37)
*/

:root {
    --primary-dark: #051024;
    --primary: #0a2e5c;
    --primary-light: #1c4b82;
    --accent: #d4af37;
    --accent-hover: #f1c40f;
    --text-light: #f4f7f6;
    --text-dark: #333333;
    --text-muted: #bdc3c7;
    --white: #ffffff;
    --glass: rgba(5, 16, 36, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body), sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.bg-light {
    background-color: #f8f9fa;
    color: var(--text-dark);
}

.bg-light h2 {
    color: var(--primary-dark);
}

.bg-light p {
    color: #666;
}

.bg-dark {
    background-color: #020812;
}

/* Filter Styles */
.filters-container {
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: var(--white);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-primary-dark {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
}

.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Constant shadow */
}

/* Scrolled State: No major change needed, but keeping for JS compatibility */
.navbar.scrolled {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    filter: none;
    /* Always show original logo colors */
}

.navbar.scrolled .logo-img {
    filter: none;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--primary-dark);
    /* Always dark text */
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
}

.navbar.scrolled .nav-links a {
    color: var(--primary-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    /* Always dark icon */
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* Fallback for hero-bg (image) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 16, 36, 0.3), rgba(5, 16, 36, 0.8));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollWheel 1.5s infinite;
}

/* Tabs & Grid Layouts */
.tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tour-list i {
    color: var(--accent);
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 50px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dest-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.bg-light .dest-card {
    background: white;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bg-light .dest-card h3 {
    color: var(--primary-dark);
}

.bg-light .dest-card p {
    color: #666;
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.dest-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.dest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dest-card:hover .dest-image img {
    transform: scale(1.1);
}

.category-tag {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.dest-content {
    padding: 25px;
}

.dest-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--white);
}

.bg-light .dest-content h3 {
    color: var(--primary-dark);
}

.btn-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    gap: 12px;
    color: var(--accent-hover);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0.9;
    z-index: -1;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    /* Changed from gray to brand Navy for consistency */
    padding: 60px 0 20px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-headline h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-underline {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e67e22, transparent);
    /* Orange underline style */
    margin: 0 auto 60px;
    border-radius: 2px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-divider-sm {
    width: 30px;
    height: 2px;
    background: #e67e22;
    /* Orange accent */
    margin-bottom: 20px;
}

/* Brand Column */
.footer-logo img {
    max-width: 180px;
    margin-bottom: 25px;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-item i {
    color: var(--white);
    margin-top: 4px;
}

/* Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: #8BC34A;
    /* Green hover */
    color: var(--white);
    transform: translateY(-3px);
}

/* Newsletter */
.mb-4 {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    background: var(--white);
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.btn-newsletter {
    background: #8BC34A;
    /* Brand Green */
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-newsletter:hover {
    background: #7cb342;
}

.footer-bottom {
    display: none;
    /* Removing old footer bottom if not needed per new design, or can keep it simplified */
}

/* Responsive */
@media (max-width: 991px) {

    .grid-2-col,
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--white);
        /* White mobile menu */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: var(--primary-dark);
        /* Dark links in mobile menu */
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes scrollWheel {
    0% {
        top: 5px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    color: var(--primary-dark) !important;
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li a:last-child {
    border-bottom: none;
}

.dropdown-menu li a::after {
    display: none;
    /* Disable underline effect for dropdown items */
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: var(--accent) !important;
    padding-left: 25px;
    /* Slight movement effect */
}

/* Mobile Dropdown Adjustments */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        /* Stack naturally on mobile */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        display: none;
        /* Hidden by default */
        min-width: 100%;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        color: var(--primary-dark);
        background: rgba(0, 0, 0, 0.03);
        padding: 15px 0;
    }
}

/* Destinos Populares Grid */
.tag-pill {
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 2rem;
}

.popular-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 160px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.popular-card:hover {
    transform: translateY(-5px);
}

.popular-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-card:hover .popular-img {
    transform: scale(1.1);
}

.popular-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.popular-overlay h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-card:last-child {
        grid-column: span 2;
        height: 160px;
    }
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pkg-image {
    height: 220px;
    overflow: hidden;
}

.pkg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .pkg-image img {
    transform: scale(1.1);
}

.pkg-content {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
    /* Ensure content fills space */
    display: flex;
    flex-direction: column;
}

.pkg-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.pkg-features {
    font-size: 0.85rem;
    color: #e67e22;
    /* Use a distinct color for features */
    margin-bottom: 15px;
    font-weight: 500;
}

.pkg-divider {
    height: 1px;
    background: transparent;
    margin-bottom: 15px;
    background-image: linear-gradient(to right, #ccc 50%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 10px 1px;
    background-repeat: repeat-x;
}

.pkg-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
    /* Push price/button down */
}

.pkg-price-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 5px;
}

.pkg-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #82c91e;
    /* Green price color like reference */
    margin-bottom: 20px;
}

.btn-pkg {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-pkg:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-pkg i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-pkg:hover i {
    transform: translateX(5px);
}

/* Responsive Packages */
@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Section */
#nosotros {
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 2rem;
}

.team-member {
    display: flex;
    gap: 30px;
    align-items: center;
}

.team-img-wrapper {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info {
    flex: 1;
}

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.team-role {
    color: #e67e22;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-info p {
    color: var(--text-dark);
    /* Ensure text is dark on white bg */
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Team */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .team-img-wrapper {
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Cali CTA Split Section */
.cta-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-image-col {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cta-image-col img {
    width: 100%;
    height: 450px;
    /* Constrain height to match text better, approx square-ish */
    display: block;
    object-fit: cover;
}

.cta-content-col {
    text-align: left;
}

.tag-pill-green {
    display: inline-block;
    background: #e9f7ef;
    color: #27ae60;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content-col h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-divider {
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 30px;
    border-top: 1px dashed #ccc;
}

.video-link-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-thumbnail {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.video-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.video-text p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Responsive CTA */
@media (max-width: 992px) {
    .cta-grid-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-image-col {
        order: -1;
        /* Image showing first on mobile if desired, or remove to standard flow */
    }

    .cta-content-col h2 {
        font-size: 1.8rem;
    }
}

/* Blog Styles */
.blog-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img-wrapper {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 0 5px;
}

.blog-category {
    display: block;
    color: #f39c12;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.4;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
    text-decoration: none;
    color: #2980b9;
}

@media (max-width: 992px) {
    .blog-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* New Design Elements - Tag Pill */
.tag-pill {
    display: inline-block;
    background-color: #d6eaf8;
    /* Light Blue background */
    color: var(--primary-dark);
    /* Dark Blue text */
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure Packages Section is Dark */
#paquetes.bg-dark {
    background-color: #020812;
    color: var(--text-light);
}

#paquetes .section-header h2 {
    color: var(--white);
}

/* Product Page Styles */
.product-page-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
    background-color: #f9f9f9;
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #888;
}

.breadcrumbs a {
    color: var(--primary-light);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.product-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-hero-image img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-image-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-radius: 15px;
}

.product-image-slider::-webkit-scrollbar {
    height: 8px;
}

.product-image-slider::-webkit-scrollbar-track {
    background: transparent;
}

.product-image-slider::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
}

.product-image-slider img {
    scroll-snap-align: start;
    flex: 0 0 100%;
}

.product-info-panel {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.product-highlight-text {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.product-title {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.product-price-block {
    margin-bottom: 25px;
}

.price-label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #e67e22;
}

/* Tour Features List */
.tour-features-list {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.f-label {
    font-weight: 600;
    color: var(--primary-dark);
}

.f-value {
    color: #666;
    text-align: right;
    max-width: 60%;
}

.feature-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 5px 0;
}

/* Action Buttons */
.action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-action.outline {
    border: 1px solid #ddd;
    color: var(--primary-dark);
    background: transparent;
}

.btn-action.outline:hover {
    border-color: var(--primary-dark);
    background: #f5f5f5;
}

.btn-book-now {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: #8BC34A;
    /* Brand Green */
    color: white;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 195, 74, 0.4);
}

/* Social Share */
.social-share-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #888;
}

.social-share-row a {
    color: #aaa;
    transition: color 0.3s;
}

.social-share-row a:hover {
    color: var(--primary);
}

/* Tabs Section */
.product-tabs-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    overflow: hidden;
}

.p-tabs-nav {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.p-tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.p-tab-btn:hover {
    background: #f0f0f0;
}

.p-tab-btn.active {
    background: white;
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.p-tabs-content {
    padding: 40px;
}

.p-tab-pane {
    display: none;
}

.p-tab-pane.active {
    display: block;
}

.tab-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tab-text h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tab-text p {
    color: #666;
    margin-bottom: 15px;
}

.tab-image img {
    border-radius: 10px;
}

/* Service Icons */
.services-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    text-align: center;
}

.service-icon-item {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.service-icon-item:hover {
    transform: translateY(-5px);
}

.service-icon-item i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    /* Icon Outline look */
    margin-bottom: 20px;
}

.service-icon-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.service-icon-item p {
    font-size: 0.9rem;
    color: #888;
}

/* Reviews */
.product-reviews-section {
    padding: 20px;
    background: #eef2f6;
    border-radius: 15px;
}

.review-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: 600;
}

.stars i {
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.stars i:hover,
.stars i.active-star {
    color: #f1c40f;
}

.review-form textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    font-family: var(--font-body);
    resize: vertical;
}

/* Responsive Product Page */
@media (max-width: 992px) {

    .product-top-grid,
    .tab-grid-split {
        grid-template-columns: 1fr;
    }

    .product-hero-image img {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .p-tabs-nav {
        flex-direction: column;
    }

    .p-tab-btn {
        border-bottom: 1px solid #eee;
        border-right: none;
        text-align: left;
    }

    .services-icon-grid {
        grid-template-columns: 1fr;
    }

    .btn-book-now {
        font-size: 0.9rem;
    }
}

/* Store CTA Section */
.store-cta-section {
    position: relative;
    padding: 120px 0;
    background: url('../assets/cta_cali_city.jpg') no-repeat center center/cover;
    /* Placeholder - using Cali image for now */
    text-align: center;
    color: white;
    overflow: hidden;
    background-attachment: fixed;
    /* Parallax effect */
}

.store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 16, 36, 0.9) 0%, rgba(22, 160, 133, 0.8) 100%);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.store-content-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.store-badge {
    display: inline-block;
    padding: 8px 15px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.store-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.store-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.store-features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
}

.store-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.store-feat i {
    font-size: 1.8rem;
    color: var(--accent);
}

.store-feat span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.store-notify-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.store-notify-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.store-notify-form button {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background: var(--primary-dark);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-notify-form button:hover {
    transform: translateY(-2px);
    background: #0a1e3f;
}

@media (max-width: 768px) {
    .store-cta-section h2 {
        font-size: 2.2rem;
    }

    .store-features-row {
        gap: 15px;
    }

    .store-feat span {
        font-size: 0.7rem;
    }

    .store-notify-form {
        flex-direction: column;
    }

    .store-notify-form button {
        width: 100%;
        justify-content: center;
    }
}

/* Category Page Styles */
.category-hero {
    position: relative;
    height: 400px;
    background: url('../assets/card_cali_1769054978564.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    /* Navbar offset */
}

.category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 16, 36, 0.9) 0%, rgba(5, 16, 36, 0.5) 100%);
}

.category-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.category-tag-hero {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.category-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Sticky Filter Bar */
.category-filter-bar {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px;
    /* Navbar height approx */
    z-index: 99;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.filter-scroll-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    /* Scrollbar space */
    scrollbar-width: none;
}

.filter-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.cat-filter-btn,
.filter-btn {
    background: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.cat-filter-btn:hover,
.cat-filter-btn.active,
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-dark);
    color: white;
}

/* Category Content */
.category-main-content {
    background: #fcfcfc;
}

.cat-section {
    margin-bottom: 60px;
    scroll-margin-top: 150px;
    /* For sticky header anchor offset */
    animation: fadeIn 0.5s;
}

.cat-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.cat-section-header h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-section-header h3 i {
    color: var(--accent);
}

.cat-divider {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Product Card Listing Style */
.product-card-listing {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #f0f0f0;
}

.product-card-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pc-image {
    height: 200px;
    position: relative;
}

.pc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}

.pc-content {
    padding: 20px;
}

.pc-content h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 45px;
    /* 2 lines approx */
}

.pc-content p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
}

.pc-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e67e22;
}

.pc-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.pc-btn:hover {
    text-decoration: underline;
}

/* Mobile Adjustments for Category */
@media (max-width: 768px) {
    .category-hero h1 {
        font-size: 2rem;
    }

    .cat-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cat-divider {
        width: 100%;
        margin-top: 5px;
    }
}

/* Light Page Mode (for Category/Product pages) */
body.light-page {
    background-color: #ffffff !important;
    color: #333;
}

body.light-page .category-main-content {
    background: transparent;
    max-width: 100%;
    overflow-x: hidden;
}

/* Enhancements for Category Grid */
.cat-grid {
    gap: 40px;
    /* More breathing room */
}

.product-card-listing {
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
}

.product-card-listing:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    /* Stronger lift on hover */
}

.pc-content h4 {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Adjust Navbar specific for Category Page if needed */
.navbar.transparent-fix {
    background: rgba(2, 8, 18, 0.95);
    /* Ensure nav is readable on scroll */
    position: fixed;
    width: 100%;
}

/* ================================================
   PRODUCT PAGE TABS - TEXTO NEGRO
   ================================================ */
.product-tabs-section,
.p-tabs-content {
    background: #fff;
    color: #333;
}

.p-tabs-content p,
.p-tabs-content li,
.p-tabs-content h3,
.p-tabs-content strong,
.p-tab-pane p,
.p-tab-pane li,
.p-tab-pane h3,
.p-tab-pane strong {
    color: #333 !important;
}

.p-tab-pane h3 {
    color: var(--primary-dark) !important;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.p-tab-pane p {
    color: #333 !important;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.p-tab-pane ul {
    list-style: none;
    padding: 0;
}

.p-tab-pane li {
    color: #333 !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.p-tab-pane li:last-child {
    border-bottom: none;
}

.p-tab-pane li strong {
    color: var(--primary-dark) !important;
    font-weight: 600;
}

/* Product Page Container */
.product-page-wrapper {
    background: #fff;
    color: #333;
}

.product-page-wrapper p,
.product-page-wrapper li,
.product-page-wrapper h3 {
    color: #333;
}

/* ================================================
   FIX FOR CATEGORY PAGES GRID (MAPPING HTML CLASSES TO CSS)
   ================================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-content h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.product-card-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    margin-top: auto;
}

.product-card-footer .price {
    font-size: 1rem;
    font-weight: 700;
    color: #e67e22;
    /* Accent color */
}

.product-card-footer .duration {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Fix for Category Pages Wrapper */
.category-products-wrapper {
    background: transparent;
    padding-bottom: 60px;
}

body.light-page .category-products-wrapper {
    background: #ffffff;
}

/* Fix for Category Title Visibility */
.category-group-title {
    color: var(--primary-dark) !important;
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-group-title i {
    color: var(--accent);
}

/* Product Meta & Subtitle */
.product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.product-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.product-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    text-transform: none;
    font-weight: 600;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.product-description {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

/* Calendar Section Styles */
.calendar-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cal-btn {
    background: white;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cal-btn.active,
.cal-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(10, 46, 92, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.cal-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.cal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cal-card h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cal-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.cal-card i {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #eee;
    font-size: 2rem;
    z-index: 0;
}

.cal-card-content {
    position: relative;
    z-index: 1;
}

/* Modal Styles */
.trip-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.trip-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

.close-modal:hover {
    color: #333;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

.btn-whatsapp-modal {
    display: block;
    background: #25d366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
}

.btn-whatsapp-modal:hover {
    background: #128c7e;
}

/* Redesign Calendar Section - Glassmorphism Theme */
#calendar-section {
    background: linear-gradient(135deg, #2d6a66 0%, #1a4f4b 100%) !important;
    position: relative;
    overflow: hidden;
}

#calendar-section h2 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#calendar-section p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Glass Buttons */
.calendar-controls .cal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
}

.calendar-controls .cal-btn:hover,
.calendar-controls .cal-btn.active {
    background: #d4af37;
    /* Accent Gold */
    border-color: #d4af37;
    color: #1a4f4b;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Glass Cards */
.cal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid #d4af37;
    /* Gold accent */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cal-card h4 {
    color: white;
    font-weight: 700;
}

.cal-card .cal-price {
    color: #d4af37;
    /* Gold */
}

.cal-card i {
    color: rgba(255, 255, 255, 0.1);
}

.cal-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Modal Fixes for Visibility */
.trip-modal .modal-content {
    background: white;
    /* Keep modal white for readability */
    color: #333;
}

.trip-modal .modal-header h3 {
    color: var(--primary-dark);
}

.trip-modal .modal-price {
    color: var(--accent);
    /* Keep orange accent inside modal or switch to gold? Orange is better for white bg */
}

.trip-modal .modal-body p {
    color: #555;
    font-size: 1rem;
}

.trip-modal .modal-features-list span {
    color: #444;
    font-weight: 500;
}

/* Updated Calendar BG & Categories */

#calendar-section {
    background: linear-gradient(135deg, rgba(45, 106, 102, 0.9) 0%, rgba(26, 79, 75, 0.95) 100%), url('assets/cta_cali_city.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    margin-top: 0;
    padding-top: 50px;
}

/* Category Summary Styles */
.tag-pill-modern {
    background: #E0F2F1;
    color: #00695C;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title-modern {
    font-size: 2.8rem;
    color: #003d33;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.cat-summary-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cat-sum-card {
    position: relative;
    width: 220px;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cat-sum-card:hover {
    transform: translateY(-5px);
}

.cat-sum-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-sum-card h3 {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    z-index: 2;
    font-weight: 700;
}

.cat-sum-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

/* Fix Calendar Background Path */
#calendar-section {
    background: linear-gradient(135deg, rgba(45, 106, 102, 0.9) 0%, rgba(26, 79, 75, 0.95) 100%), url('../assets/cta_cali_city.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

/* Video Modal & CTA Styles */

/* Play Button Overlay */
.video-trigger-container {
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    display: inline-block;
    /* Or block depending on layout */
}

.video-trigger-container img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
}

.video-trigger-container:hover img {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-button-overlay::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #333;
    margin-left: 4px;
}

.video-trigger-container:hover .play-button-overlay {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-modal video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    outline: none;
}

.close-video-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-video-modal:hover {
    color: #ccc;
}

/* ===== Nosotros - Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.team-img-wrapper {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: #d4a24c;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.team-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}