/*
Theme Name: AtacamaDevTheme
Theme URI: http://atacamaextrema.com
Author: Atacama Extrema
Author URI: http://atacamaextrema.com
Description: Tema personalizado para Atacama Extrema enfocado en paquetes turísticos. Diseño en Modo Claro.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atacamadevtheme
Tags: light-mode, e-commerce, custom-colors, custom-menu, featured-images
*/

:root {
    --primary-color: #f97316; /* Naranjo del botón Ver Itinerario */
    --primary-hover: #ea580c;
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-secondary: #f4f4f4;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover);
}

.site-main {
    min-height: 70vh;
}

/* ==================================================
   MOBILE RESPONSIVE OVERRIDES
   ================================================== */
@media (max-width: 768px) {
    /* Header */
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 20px !important;
    }
    .main-navigation-wrapper {
        flex-direction: column !important;
        padding: 15px !important;
    }
    .site-branding {
        margin: 15px 0 !important;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px !important;
    }
    .main-navigation a {
        font-size: 12px;
    }

    /* Hero Section (Fila 2) */
    .hero-section {
        height: auto !important;
        flex-direction: column !important;
    }
    .hero-section > .swiper.hero-bg-swiper {
        position: relative !important;
        height: 400px !important;
    }
    .hero-section .swiper-slide > div[style*="clip-path"] {
        width: 100% !important;
        clip-path: none !important;
        background: rgba(244, 244, 244, 0.85) !important;
        padding: 30px !important;
        text-align: center;
    }
    .hero-section .hero-content {
        padding-right: 0 !important;
    }
    .hero-section h1 {
        font-size: 32px !important;
    }
    .hero-products-overlay {
        position: relative !important;
        width: 100% !important;
        transform: none !important;
        background: var(--bg-secondary);
        padding: 20px !important;
    }

    /* Fila 2.5: Cyber */
    #cyber-section {
        padding: 30px 15px !important;
    }
    #cyber-section h2 {
        font-size: 24px !important;
    }
    #cyber-main-timer {
        font-size: 18px !important;
    }

    /* Fila 3: Destinos Banners */
    .destinos-banners {
        padding: 40px 15px !important;
    }
    .destinos-banners h2 {
        font-size: 28px !important;
    }
    .destinos-banners > .container > div:last-child {
        flex-direction: column !important;
    }
    .banner-destino {
        min-width: 100% !important;
        height: 250px !important;
    }

    /* Fila 4: Banner Central */
    .banner-central {
        padding: 40px 15px !important;
    }
    .banner-central h2 {
        font-size: 26px !important;
    }

    /* Fila 5: Tours */
    .tours-grid-nacionales, .tours-grid-internacionales {
        padding: 40px 15px !important;
    }
    .destacados-wrapper {
        padding: 20px 15px !important;
    }
    .destacados-wrapper > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    /* Fila 6: Producto Destacado */
    .featured-products-section {
        padding: 40px 15px !important;
    }
    .featured-products-section .swiper-slide > div {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    .featured-products-section .product-image {
        height: 250px !important;
        min-width: 100% !important;
    }
    .featured-products-section .product-gallery-preview {
        min-width: 100% !important;
    }
    .featured-products-section .product-gallery-preview > div:first-child {
        height: 250px !important;
    }
    .featured-products-section h2 {
        font-size: 24px !important;
    }
    .featured-products-section .product-price span {
        font-size: 22px !important;
    }
    .featured-products-section > .container > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px;
    }

    /* Single Product Template */
    .single-product-container {
        grid-template-columns: 1fr !important;
        padding: 20px 15px !important;
    }
    .single-product-sidebar {
        position: static !important;
        margin-top: 30px;
    }
    .product-images-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}
