/* --- PALETA ARTESANAL --- */
:root {
    --bg: #f5f2e9;
    --card: #ffffff;
    --cafe: #6c4e2f;
    --text: #333333;
    --radius: 12px;
    --shadow: 0px 4px 14px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* --- NAV --- */
nav {
    background: var(--cafe);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img {
    height: 40px;
}

nav .nav-links a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

nav .nav-links a:hover {
    opacity: 0.7;
}

/* --- SLIDER --- */
.slider {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    animation: fade 12s infinite;
}

.slide:nth-child(1) { background-image: url('slider1.jpg'); }
.slide:nth-child(2) { background-image: url('slider2.jpg'); animation-delay: 4s; }
.slide:nth-child(3) { background-image: url('slider3.jpg'); animation-delay: 8s; }

@keyframes fade {
    0% { opacity: 1; }
    33% { opacity: 0; }
    66% { opacity: 0; }
    100% { opacity: 1; }
}

/* Capa oscura */
.slider::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
}

.slider-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 5;
}

.slider-text h1 {
    font-size: 48px;
}

.slider-text p {
    font-size: 20px;
}

/* --- PRODUCTOS --- */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.titulo-seccion {
    text-align: center;
    color: var(--cafe);
}

.sub-texto {
    text-align: center;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.card img {
    width: 100%;
    border-radius: var(--radius);
}

.card h3 {
    color: var(--cafe);
}

/* --- ACERCA DE NOSOTROS --- */
.info-acerca {
    max-width: 850px;
    text-align: center;
    margin: 20px auto;
    line-height: 1.6;
}

/* --- WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.whatsapp-btn img {
    width: 35px;
}

/* --- FOOTER --- */
.footer {
    background: var(--cafe);
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    opacity: 0.8;
}

