/* Variables Globales */
:root {
    --primary-color: #2c5f2d;
    --primary-dark: #1e3a1f;
    --primary-light: #4a8b4b;
    --secondary-color: #ff8c42;
    --secondary-dark: #e67e22;
    --accent-color: #97bc62;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --success: #48bb78;
    --danger: #f56565;
    --warning: #ed8936;
    --info: #4299e1;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-hero: linear-gradient(135deg, rgba(28, 30, 35, 0.6), rgba(44, 95, 45, 0.6));
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-padding {
    padding: 100px 0;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a1f 0%, #2c5f2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

.loader .mountain {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #5c8a5d, #3d6b3e);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    margin: 0 auto 20px;
    position: relative;
    animation: mountainGlow 2s ease-in-out infinite;
}

.loader .mountain2 {
    width: 80px;
    height: 80px;
    margin-top: -30px;
    background: linear-gradient(135deg, #ff8c42, #e67e22);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.8;
}

.loader .sun {
    width: 40px;
    height: 40px;
    background: #ffd700;
    border-radius: 50%;
    position: relative;
    top: -150px;
    left: 20px;
    animation: sunRise 2s ease-in-out infinite;
}

.loader p {
    color: white;
    margin-top: 20px;
    font-size: 18px;
}

@keyframes mountainGlow {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(-10px); }
}

@keyframes sunRise {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-20px); opacity: 1; }
}

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* Logo en navbar */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Logo en footer */
.footer-logo img {
    filter: brightness(0) invert(1);
    /* Si tu logo es oscuro y el fondo es oscuro, esto lo hace blanco */
}

/* Logo en sidebar admin */
.sidebar-header img {
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    padding: 8px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.navbar-brand span {
    font-family: 'Playfair Display', serif;
}

.navbar-brand small {
    font-size: 0.7rem;
    font-weight: 400;
    margin-left: 5px;
}

.nav-link {
    color: white;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.btn-cart {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 50px;
    background: rgba(255,255,255,0.95);
    padding: 20px 40px;
    border-radius: 60px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Tour Cards */
.tour-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.tour-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tour-info {
    padding: 20px;
}

.tour-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.tour-location {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tour-location i {
    margin-right: 5px;
}

.tour-description {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.tour-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.tour-features span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.tour-features i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.tour-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tour-price small {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-text h5 {
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.why-us-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
    box-shadow: var(--shadow-lg);
}

.experience-badge span {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

/* Volcano Cards */
.volcano-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.volcano-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.volcano-image {
    position: relative;
    height: 300px;
}

.volcano-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volcano-difficulty {
    position: absolute;
    top: 15px;
    left: 15px;
}

.volcano-difficulty .badge {
    background: var(--danger);
    padding: 5px 12px;
    border-radius: 20px;
}

.badge-moderado {
    background: var(--warning) !important;
}

.volcano-info {
    padding: 20px;
}

.volcano-stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}

.volcano-stats span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.volcano-stats i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-dark);
    transform: translateX(5px);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 20px;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffd700;
    margin-right: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-info {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.info-list {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-item h6 {
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

/* Newsletter */
.newsletter-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px;
    border-radius: var(--border-radius);
    color: white;
}

.newsletter-form .input-group {
    background: white;
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 20px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer h5 {
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    color: #a0aec0;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.payment-methods img {
    height: 30px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

.footer-bottom a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}



/* Videos Section con Modal */
.videos-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.video-card:hover .play-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    color: #ff8c42;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    margin-bottom: 8px;
    color: #2c5f2d;
    font-size: 1.2rem;
}

.video-info p {
    color: #718096;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.video-views {
    font-size: 0.8rem;
    color: #a0aec0;
}

.video-views i {
    margin-right: 5px;
    color: #ff8c42;
}

/* Modal de Video */
.modal-xl {
    max-width: 90%;
}

.modal-content.bg-transparent {
    background: transparent !important;
}

.modal-close-btn {
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    padding: 10px;
    margin: 10px;
    opacity: 1;
    backdrop-filter: blur(5px);
}

.modal-close-btn:hover {
    background: rgba(0,0,0,0.9);
    opacity: 1;
}

.video-modal-container {
    position: relative;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.modal-video-element {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    background: #000;
}

.video-modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.video-modal-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.video-modal-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animación del modal */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .play-icon-overlay {
        font-size: 3rem;
    }
    
    .video-info h4 {
        font-size: 1rem;
    }
    
    .video-info p {
        font-size: 0.8rem;
    }
    
    .modal-xl {
        max-width: 95%;
    }
    
    .modal-video-element {
        max-height: 50vh;
    }
    
    .video-modal-info {
        padding: 20px 15px 15px;
    }
    
    .video-modal-info h3 {
        font-size: 1rem;
    }
}




/* Responsive */
@media (max-width: 768px) {
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .video-info h4 {
        font-size: 1rem;
    }
    
    .video-info p {
        font-size: 0.8rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .floating-stats {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-wrapper {
        padding: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* ======================================== */
/* VIDEOS CON MODAL - ESTILOS COMPLETOS     */
/* ======================================== */

.videos-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

/* Botón de PLAY centrado */
.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-icon-overlay i {
    font-size: 5rem;
    color: white;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: block;
    transition: all 0.3s ease;
}

.play-icon-overlay .play-text {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    opacity: 0.9;
}

.video-card:hover .play-icon-overlay i {
    transform: scale(1.1);
    color: #ff8c42;
}

.video-card:hover .play-icon-overlay .play-text {
    opacity: 1;
}

/* Duración del video */
.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.video-duration i {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Información del video */
.video-info {
    padding: 20px;
}

.video-info h4 {
    margin-bottom: 8px;
    color: #2c5f2d;
    font-size: 1.2rem;
}

.video-info p {
    color: #718096;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.video-views {
    font-size: 0.8rem;
    color: #a0aec0;
}

.video-views i {
    margin-right: 5px;
    color: #ff8c42;
}

/* Modal de Video */
.modal-xl {
    max-width: 90%;
}

.modal-content.bg-transparent {
    background: transparent !important;
}

.modal-close-btn {
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 10px;
    opacity: 1;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1060;
}

.modal-close-btn:hover {
    background: rgba(0,0,0,0.9);
    opacity: 1;
}

.video-modal-container {
    position: relative;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.modal-video-element {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    background: #000;
}

.video-modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 20px 20px;
}

.video-modal-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.video-modal-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animación del modal */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .play-icon-overlay i {
        font-size: 3rem;
    }
    
    .play-icon-overlay .play-text {
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .video-info h4 {
        font-size: 1rem;
    }
    
    .video-info p {
        font-size: 0.8rem;
    }
    
    .modal-xl {
        max-width: 95%;
    }
    
    .modal-video-element {
        max-height: 50vh;
    }
    
    .video-modal-info {
        padding: 20px 15px 15px;
    }
    
    .video-modal-info h3 {
        font-size: 1rem;
    }
    
    .video-duration {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* ======================================== */
/* PRELOADER CON IMÁGENES                   */
/* ======================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a1f 0%, #2c5f2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* Opción 1: Con imágenes de volcanes */
.loader {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
    border-radius: 50%;
    object-fit: cover;
}

.loader-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.loader-mountain {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: float 2s ease-in-out infinite;
}

.loader-mountain1 {
    animation-delay: 0s;
}

.loader-mountain2 {
    animation-delay: 0.3s;
}

.loader-sun {
    font-size: 50px;
    color: #ffd700;
    margin-bottom: 20px;
    animation: rotate 4s linear infinite;
}

.loader-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 20px;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    margin: 20px auto 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #ff8c42;
    border-radius: 10px;
    animation: progress 2s ease-out forwards;
}

/* Opción 2: Estilo simple */
.loader-simple {
    text-align: center;
}

.loader-simple .loader-logo {
    width: 100px;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-images-simple {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.loader-images-simple img {
    width: 120px;        /* Cambia de 120px a 60px */
    height: 120px;       /* Cambia de 120px a 60px */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: float 2s ease-in-out infinite;
}

.loader-images-simple img:first-child {
    animation-delay: 0s;
}

.loader-images-simple img:last-child {
    animation-delay: 0.4s;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #ff8c42;
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 1s linear infinite;
}

.loader-simple p {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Para cuando el preloader se oculta */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
}