/* --- Variables de Colores --- */
:root {
    --primary-color: #2c3e50; /* Azul oscuro elegante */
    --accent-color: #e67e22;  /* Naranja vibrante */
    --light-bg: #f4f4f4;      /* Gris muy claro para fondos */
    --white: #ffffff;
    --text-color: #333333;
}

/* --- Reset Básico --- */
* {
    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-color);
}

/* --- Estilos Generales --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #d35400;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--light-bg);
}

/* --- Header y Navegación --- */
.header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 20px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    /* Aquí deberás poner la URL de tu imagen de fondo real */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1516734212186-a967f81ad0d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* --- Productos --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    background: var(--white);
}

.product-image {
    height: 150px;
    background-color: #eee;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* --- Servicios --- */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.instructions-list {
    list-style: none;
    margin: 20px 0;
}

.instructions-list li {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--accent-color);
}

.price-tag {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* --- Contacto --- */

/* Contenedor de los botones */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    border-radius: 5px 5px 0 0;
}

/* Estilo de los botones individuales */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Cambio de color al pasar el mouse */
.tab button:hover {
    background-color: #ddd;
}

/* Estilo para el botón de la tab activa */
.tab button.active {
    background-color: var(--accent-color);
    color: white;
}

/* Contenido de la tab (La info de la sucursal) */
.tabcontent {
    display: none; /* Por defecto oculto, JS lo muestra */
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none; /* Sin borde arriba para que se una con el botón */
    border-radius: 0 0 5px 5px;
    animation: fadeEffect 1s; /* Efecto suave de aparición */
}

/* Animación suave */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.contact-form-placeholder input, 
.contact-form-placeholder textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* --- Footer --- */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

/* --- Responsive (Celulares) --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    .nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav ul li {
        margin: 5px 10px;
    }
}