/* ===== RESET BÁSICO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Playfair Display", "hatton";
    background-color: #fdfdfb;
    color: black;
    line-height: 1.6;
}
/* H2 en secciones impares */
.section:nth-of-type(odd) h2 {
    color: #e6d27a;
}

/* H2 en secciones pares */
.section:nth-of-type(even) h2 {
    color: #e6d27a;
}

/* ===== VARIABLES ===== */
:root {
    --verde: #3a6f64;
    --coral: #e07a5f;
    --arena: #f4f1ec;
    --oscuro: #2e2e2e;
    --vinotinto:#8b1d2c;
}

/* ===== LINKS ===== */
a {
    text-decoration: none;
    color: inherit;
}

/* ===== BOTONES ===== */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    background-color: var(--verde);
    color: #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--coral);
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
}

.logo {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 0.9rem;
    color: #e6d27a;
}
/* ===== NAVBAR MOBILE FIX ===== */
.nav-links {
    display: flex;
    flex-wrap: nowrap;           /* 🔑 no permitir salto de línea */
    overflow-x: auto;            /* 🔑 scroll horizontal */
    gap: 14px;
    padding: 10px 14px;
    -webkit-overflow-scrolling: touch;
}

/* Quitar scrollbar visual */
.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    flex: 0 0 auto;              /* 🔑 cada item mantiene su tamaño */
}

.nav-links a {
    white-space: nowrap;         /* 🔑 evita que el texto se parta */
    font-size: 0.75rem;
    color: #e6d27a;
}
/* SECCIONES IMPARES */
.section:nth-of-type(odd) {
    background-color: #1f646b;

}

/* SECCIONES PARES */
.section:nth-of-type(even) {
    background-color: var( --vinotinto);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: repeating-linear-gradient(
        90deg,
        #1f646b 0,
        #1f646b 80px,
        #8b1d2c 80px,
        #8b1d2c 160px
    );
}

.hero-content {
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    color: #e6d27a;
    font-family: "Playfair Display", "hatton";
    font-size: 4rem;
    letter-spacing: 0.1em;
}

.hero-content p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #e6d27a;
}


/* ===== SECCIONES ===== */

/* ===============================
   ABOUT & COLECCIÓN – ESTILO EDITORIAL CENTRADO
   =============================== */

#about,
#coleccion {
    padding: 90px 20px;
    text-align: center;
}

/* CONTENEDOR DE TEXTO */
#about p,
#coleccion p {
    max-width: 680px;
    margin: 0 auto 22px auto;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #e6d27a;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* TÍTULOS */
#about h2 {
    margin: 0 auto 18px auto;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e6d27a; /* vino tinto */
    text-transform: none;
}
#coleccion h2{
color:  #e6d27a;
}

/* LÍNEA DECORATIVA */
#about h2::after,
#coleccion h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    background-color: #e6d27a;
    margin: 14px auto 35px auto;
    border-radius: 2px;
}

#coleccion h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    background-color:  #e6d27a;
    margin: 14px auto 35px auto;
    border-radius: 2px;
}

/* EFECTO SUAVE DE ENTRADA (OPCIONAL PERO COOL) */
#about,
#coleccion {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 768px) {

    #about,
    #coleccion {
        padding: 70px 18px;
    }

    #about h2,
    #coleccion h2 {
        font-size: 1.7rem;
    }

    #about p,
    #coleccion p {
        font-size: 0.9rem;
        line-height: 1.75;
    }
}
/* ===============================
   ACCESORIOS – UNIFICAR IMÁGENES
   =============================== */

#accesorios .product-card {
    background-color: #1f5f63; /* verde petróleo */
    border-radius: 16px;
    padding: 20px 18px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#accesorios .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* CONTENEDOR VISUAL UNIFORME */
#accesorios .product-card img {
    width: 100%;
    height: 220px;              /* 🔑 misma altura para todas */
    object-fit: contain;        /* no se deforman */
    background-color: #ffffff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
}

/* NOMBRE */
#accesorios .product-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e6d27a;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* PRECIO */
#accesorios .product-card p {
    font-size: 0.8rem;
    color: #e6d27a;
    opacity: 0.9;
}

/* GRID MÁS EQUILIBRADO */
#accesorios .products-grid {
    gap: 28px;
}

/* MOBILE */
@media (max-width: 768px) {
    #accesorios .product-card img {
        height: 200px;
    }
}

.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.section p {
    max-width: 700px;
    margin-bottom: 15px;
}

/* ===== LISTA DE CUIDADOS ===== */
.care-list {
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}



/* ===== CONTACTO ===== */


/* ===== FOOTER ===== */
.footer {
    background-color: var(--verde);
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* NAVBAR */
    .navbar {
        padding: 15px 25px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    /* SECCIONES */
    .section {
        padding: 60px 8%;
    }

    .section h2 {
        font-size: 1.6rem;
    }
}
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centra horizontal */
    text-align: center;    /* centra texto */
}
.section.contact {
    background-color: #f4f1ec !important;
    color: black;
}

.section.contact h2{
    color:  #8b1d2c;
}
#cuidados {
   color: #e6d27a;
}