* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MalgunGothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, #FAF0E6, #F5F5DC);
    min-height: 100vh;
}


/* Declaración de la fuente MALGUN REGULAR */
@font-face {
    font-family: 'MalgunGothic'; /* El mismo nombre para ambos archivos */
    src: url('../fonts/malgun.woff2') format('woff2'); /* Archivo regular (el primero que subiste) */
    font-weight: 400; /* Peso Regular (o 'normal') */
    font-style: normal;
    font-display: swap;
}
---
/* Declaración de la fuente MALGUN BOLD */
@font-face {
    font-family: 'MalgunGothic'; /* ¡Mismo nombre de familia! */
    src: url('../fonts/malgunbd.woff2') format('woff2'); /* Archivo Bold (el nuevo que subiste) */
    font-weight: 700; /* Peso Bold (o 'bold') */
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Humnst'; /* Nombre que usarás en tus clases CSS */
    src: url('../fonts/Humnst777_BlkCn_BT_Black.woff2') format('woff2'); /* Asegúrate que la ruta al archivo sea correcta */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Muestra un texto temporal mientras carga la fuente */
}

/* Clase para aplicar la nueva fuente */
.font-title {
    font-family: 'MalgunGothic', sans-serif; /* Usamos el nombre que definimos arriba. Añadir 'sans-serif' es una fuente de respaldo por si no carga la principal. */
}

.font-content {
    font-family: 'Humnst', sans-serif; /* Usamos el nombre que definimos arriba. Añadir 'sans-serif' es una fuente de respaldo por si no carga la principal. */
}

/* Header y Navegación */
header {
    /*background: linear-gradient(135deg, #8B4513, #A0522D);*/
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
  
    font-weight: bold;
    color: #555d64 !important;
    transition: color 0.3s;
    cursor: pointer;
    font-size: 1.4rem;
}

.nav-menu a:hover {
    color: #F4A460;
}

/* Banner Principal Rotativo */
.hero-banner {
    margin-top: 80px;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #8B4513, #A0522D);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide:nth-child(1) {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(101, 67, 33, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23F5F5DC" width="1000" height="600"/><circle cx="200" cy="150" r="50" fill="%23DEB887" opacity="0.3"/><circle cx="800" cy="450" r="80" fill="%23DEB887" opacity="0.2"/></svg>');
}

.banner-slide:nth-child(2) {
    background: linear-gradient(rgba(160, 82, 45, 0.8), rgba(139, 69, 19, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23FDF5E6" width="1000" height="600"/><polygon points="100,200 200,100 300,200 200,300" fill="%23D2B48C" opacity="0.3"/><polygon points="700,400 800,300 900,400 800,500" fill="%23D2B48C" opacity="0.2"/></svg>');
}

.banner-slide:nth-child(3) {
    background: linear-gradient(rgba(210, 180, 140, 0.8), rgba(160, 82, 45, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23FAF0E6" width="1000" height="600"/><rect x="150" y="200" width="100" height="200" fill="%23CD853F" opacity="0.3"/><rect x="750" y="100" width="80" height="400" fill="%23CD853F" opacity="0.2"/></svg>');
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

/* Secciones principales */
.page-section {
    display: none;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 160px);
}

.page-section.active {
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: #8B4513;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #A0522D, #F4A460);
}

/* Sección Quiénes Somos */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image {
    background: linear-gradient(135deg, #FAF0E6, #F5DEB3);
    min-height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #A0522D;
}

/* Sección Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: linear-gradient(145deg, #FFEFD5, #F5DEB3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #DEB887;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(139, 69, 19, 0.15);
}

.product-icon {
    font-size: 3rem;
    color: #A0522D;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Sección Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #FFEFD5, #F5DEB3);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    border: 1px solid #DEB887;
}

.contact-item i {
    font-size: 2rem;
    color: #A0522D;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #8B4513, #654321);
    color: #F5DEB3;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}


.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030; /* Valor de z-index de Bootstrap para que esté por encima de todo */
  transition: all 0.3s ease-in-out;
}

#main-header ul li a{   
    font-family: 'Humnst';
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.confirm{
    text-align: CENTER;
    border: 2px solid #a0522d;
    border-radius: 10px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contact-form h3{
    font-family: 'Humnst';
    color: #8b4513;
    margin-bottom: 40px;
}