/* Specific styles for turismo-puno.html (Tourism/Tours) page */

/* Prevent horizontal scroll */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.section,
.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Override video control colors for blue theme */
.video-control-btn {
    border-color: rgba(37, 99, 235, 0.6);
}

.video-control-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
}

.volume-indicator {
    border-color: rgba(37, 99, 235, 0.3);
}

.spinner {
    border-top-color: #2563eb;
}

.section-title {
    color: #1a1a2e !important;
}

.section-subtitle {
    color: #2563eb !important;
}

.section-description {
    color: #6b7280 !important;
}

/* Tour Cards Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tour-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-card-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 1.5rem;
    color: #ffffff;
    position: relative;
}

.tour-card-header h3 {
    color: #ffffff !important;
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-card-header .tour-icon {
    width: 24px;
    height: 24px;
}

.tour-duration {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tour-card-body {
    padding: 1.5rem;
}

.tour-card-body p {
    color: #6b7280 !important;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tour-includes {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.tour-includes li {
    padding: 0.4rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-includes li svg {
    width: 16px;
    height: 16px;
    color: #10b981;
    flex-shrink: 0;
}

.tour-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb !important;
    margin: 1rem 0;
}

.tour-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6b7280;
}

.tour-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn-reserve {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-reserve:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #10b981;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.package-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 2rem;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.package-duration {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.package-title {
    color: #ffffff !important;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.package-price small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

/* Transfer Cards */
.transfers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.transfer-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.transfer-card:hover {
    border-color: #2563eb;
    transform: translateX(5px);
}

.transfer-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transfer-icon svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.transfer-details h4 {
    color: #1a1a2e !important;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.transfer-details p {
    color: #6b7280 !important;
    margin: 0;
    font-size: 0.9rem;
}

.transfer-price {
    font-weight: 700;
    color: #2563eb !important;
    font-size: 1.2rem;
    margin-left: auto;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2563eb !important;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280 !important;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.cta-section h3 {
    color: #ffffff !important;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn-email {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-email:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Dropdown submenu */
.nav-menu li {
    position: relative;
}

.has-submenu {
    position: relative;
}

.has-submenu > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.has-submenu > .nav-link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.has-submenu:hover > .nav-link svg {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 46, 0.98);
    min-width: 200px;
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    list-style: none;
}

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

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #ffffff;
    border-left-color: #2563eb;
    padding-left: 1.5rem;
}

.submenu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .tours-grid {
        grid-template-columns: 1fr;
    }

    .transfer-card {
        flex-wrap: wrap;
    }

    .transfer-price {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .submenu {
        position: static;
        background: rgba(0, 0, 0, 0.3);
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        border-radius: 0;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .submenu a {
        padding-left: 2rem;
    }

    .submenu a:hover {
        padding-left: 2.5rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .tour-card,
    .package-card,
    .transfer-card {
        transition: none;
    }
}

/* Print styles */
@media print {
    .tour-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
