/* Variables CSS para colores (Gris, Verde, Negro) */
:root {
    --primary-color: #4CAF50; /* Verde principal para enlaces y acentos */
    --secondary-color: #242323; /* Gris oscuro para texto secundario */
    --accent-color: #8BC34A; /* Verde más claro para hover/énfasis */
    --text-dark: #080808; /* Negro casi puro para texto principal */
    --text-light: #f1eeee; /* Gris muy claro para texto sobre fondos oscuros */
    --bg-light: #fffafa10; /* Gris muy claro para fondos claros */
    --bg-transparent: #fdf2f2; /* Negro para fondos oscuros */
    --button-bg: #4CAF50; /* Verde para botones principales */
    --button-hover-bg: #43A047; /* Verde más oscuro al pasar el ratón */
    
    
}

/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
    
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Botones */
.btn-primary {
    display: inline-block;
    background-color: var(--button-bg);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Video de Fondo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(30%);
}

/* Header */
header {
    background-color:#000000cc;
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px  rgb(255, 255, 255);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.logo-img {
    height: 60px;
    filter: brightness(100%);
}

nav.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons img {
    height: 24px;
    margin-left: 20px;
    filter: invert(100%);
}

/* Hamburguesa (solo visible en móviles) */
.hamburger-menu {
    display: none;
    font-size: 1.8em;
    color: var(--text-light);
    cursor: pointer;
    margin-left: 20px;
}

/* Sección de Sliders (Hero Slider) */
.slider-section.hero-slider {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    background: transparent;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 0;
    box-shadow: none;
}

.slider-images {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
}

.slider-images img {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.slider-button {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--text-light);
}

.slider-button:hover {
    background-color: rgba(245, 241, 241, 0.9);
}

.slider-dots {
    bottom: 30px;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

/* Contenido superpuesto al slider */
.slider-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 5;
    padding: 20px;
    max-width: 800px;
}

.slider-overlay-content h1 {    
    font-size: 4.5em;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(252, 249, 249, 0.8);    
    font-weight: bold;
}
 

.slider-overlay-content p {
    font-size: 1.8em;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(19, 19, 19, 0.7);
}

/* Sección de Bienvenida */
.welcome-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 8px 15px -5px rgba(253, 251, 251, 0.068);
}

.welcome-section h2 {
    color: var(--text-light);
    font-size: 3em;
    margin-bottom: 30px;
}

.welcome-section p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
}

/* Secciones Generales */
section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
    background-color: var(--bg-light);
}

section:nth-of-type(odd) {
    background-color: #fffefe;
    -webkit-text-fill-color: #111111;
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

/* Catálogo de Imágenes */
.catalog-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.catalog-section h2 {
    color: #242323;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: start;
    margin-top: 40px;
}

.catalog-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.catalog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #fff7f7;
    margin-bottom: 10px;
}

.catalog-item p {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-dark);
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 50px;
}

/* Sección de Mapa (Más Pequeña) */
.map-section {
    background-color: #ebebeb;
    text-align: center;
}

.map-container {
    position: relative;
    /* Ajustado para una relación de aspecto 21:9 o similar, haciendo el mapa más horizontal y pequeño */
    padding-bottom: 40%; /* Antes era 56.25% (16:9). Este valor lo hace más bajo. */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    max-width: 700px;
    margin: 0 auto;
}

.map-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.map-info strong {
    color: var(--text-dark);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.contact-section h2 {
    color: var(--text-light);
}

.contact-section p {
    color: var(--text-light);
}

/* Footer (Más Pequeño) */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 30px 0;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-col h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2em;
}

.footer-col p, .footer-col ul li {
    font-size: 0.9em;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-social-icons a {
    color: var(--text-light);
    font-size: 1.3em;
    margin-right: 12px;
}

.footer-social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(252, 250, 250, 0.1);
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

/* Botones Flotantes de Redes Sociales */
.social-buttons-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-button:hover {
    transform: scale(1.1) translateY(-3px);
}

.social-button.facebook { background-color: #3b5998; }
.social-button.whatsapp { background-color: #25d366; }
.social-button.instagram { background-color: #E1306C; }


/* Botón Flotante de Pago/Compra */
.payment-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--button-bg);
    color: var(--text-light);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

.payment-button:hover {
    background-color: var(--button-hover-bg);
    transform: scale(1.03);
}

.payment-button i {
    font-size: 1.3em;
}


/* Responsive Design */
@media (max-width: 992px) {
    .slider-overlay-content h1 {
        font-size: 3.5em;
    }

    .slider-overlay-content p {
        font-size: 1.5em;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .catalog-item img {
        height: 180px;
    }

    .footer-grid {
        gap: 20px;
    }

    /* Mapa en pantallas medianas */
    .map-container {
        padding-bottom: 45%; /* Un poco más de altura que en desktop */
    }
}

@media (max-width: 768px) {
    /* Header Responsive */
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    nav.main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 75px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav.main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 10px 0;
        color: var(--text-light);
        font-size: 1.2em;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 5px;
    }

    .nav-links li a::after {
        display: none;
    }

    .hamburger-menu {
        display: block;
        order: 2;
    }

    .header-icons {
        order: 1;
        margin-right: auto;
    }

    .logo {
        flex-grow: 1;
        text-align: center;
    }


    /* Fin Header Responsive */

    .slider-section.hero-slider {
        min-height: 70vh;
    }

    .slider-overlay-content h1 {
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .slider-overlay-content p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .welcome-section {
        padding: 60px 20px;
    }

    .welcome-section h2 {
        font-size: 2.2em;
    }

    .welcome-section p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 2em;
        margin-bottom: 40px;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }

    .catalog-item img {
        height: 150px;
    }

    /* Mapa en pantallas pequeñas */
    .map-section .container {
        padding: 0 10px;
    }

    .map-container {
        padding-bottom: 50%; /* Más alto para pantallas pequeñas para que sea visible */
    }

    .map-info {
        padding: 0 10px;
    }

    .social-buttons-container {
        bottom: 15px;
        left: 15px;
        gap: 10px;
    }

    .social-button {
        width: 45px;
        height: 45px;
        font-size: 1.5em;
    }

    .payment-button {
        bottom: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 0.85em;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .footer-col {
        margin-bottom: 15px;
    }

    .footer-col h3 {
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 15px;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .slider-section.hero-slider {
        min-height: 60vh;
    }

    .slider-overlay-content h1 {
        font-size: 1.8em;
    }

    .slider-overlay-content p {
        font-size: 1em;
    }

    .slider-button {
        padding: 8px;
        font-size: 1.2em;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }
}