/* Paleta de Colores y Fuentes Base */
:root {
    --color-fondo: #f8f9fa;
    --color-base: #FFFFFF;
    --color-acento: #D4B996;
    --color-acento-oscuro: #a58a66;
    --color-texto: #343a40;
    --font-principal: 'Montserrat', sans-serif;
    --font-logo: 'Pacifico', cursive;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: var(--font-principal);
}

.navbar-spacer {
    height: 85px; 
}

/* =================================================================== */
/*             ESTILOS PARA LA NAVBAR MODERNIZADA                      */
/* =================================================================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s ease-in-out;
    background-color: transparent; /* Empieza transparente */
    border-bottom: 1px solid transparent; /* Borde inferior invisible al inicio */
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.85); /* Fondo blanco translúcido al hacer scroll */
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Borde sutil */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  color: var(--color-acento-oscuro);
  margin-left: 0.75rem;
  position: relative;
  top: 2px;
}

.nav-link {
    font-family: var(--font-principal);
    font-weight: 500;
    color: var(--color-texto) !important;
    position: relative;
    padding-bottom: 0.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: var(--color-acento-oscuro);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-acento-oscuro) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Estilos para el botón de menú en móviles */
.navbar-toggler {
    border: none;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* =================================================================== */
/*                     ESTILOS GENERALES Y OTROS                       */
/* =================================================================== */
.product-card {
    border: none;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--color-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}