/*
 * Archivo de Estilos Personalizados para la Landing Page de MagniCal
 */

/* FUENTES Y COLORES */
:root {
    --primary-color: #2E7D32; /* Un verde oscuro y profesional */
    --secondary-color: #4CAF50; /* Un verde más brillante para acentos */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #555;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    padding-top: 70px; /* Ajuste para la barra de navegación fija */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
}

.zoomed-logo {
    height: 40px;
    margin-right: 10px;
    transform: scale(2);
    transform-origin: center;
  }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* NAVEGACIÓN */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* BOTONES */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1b5e20; /* Un verde más oscuro al pasar el cursor */
    border-color: #1b5e20;
    transform: translateY(-2px);
}

.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}


/* SECCIÓN HERO (INICIO) */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-background.jpg') no-repeat center center;
    background-size: cover;
    min-height: 95vh;
    color: white;
    position: relative;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 400;
}

.info-banner span {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* SECCIÓN PRODUCTO */
.advantages-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.advantages-list img {
    height: 28px;
    width: 28px;
    /* Si tus íconos no son PNG, puedes quitar el filter */
    filter: invert(34%) sepia(36%) saturate(1511%) hue-rotate(80deg) brightness(94%) contrast(92%);
}

#producto .img-fluid {
    max-width: 80%;
    height: auto;
}

/* SECCIÓN POR QUÉ ELEGIRNOS */
.feature-box img {
    height: 60px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-box:hover img {
    transform: scale(1.1);
}

/* GALERÍA */
#galeria .img-fluid {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

#galeria .img-fluid:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* CONTACTO */
#contacto .contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
#contacto .contact-info i {
    font-size: 1.5rem;
    margin-right: 15px;
    vertical-align: middle;
}
#contacto a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}
#contacto a:hover {
    color: var(--primary-color);
}


/* FOOTER */
footer {
    background-color: var(--dark-color);
}
.footer-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--secondary-color);
}