/* =============================================================================
   Casa Nerea — Estils propis
   (complementen Tailwind CSS, que es carrega des de CDN al header)
   ========================================================================== */

body { font-family: 'Inter', sans-serif; }

/* Desplaçament suau en clicar els enllaços d'àncora del menú */
html { scroll-behavior: smooth; }

/* Marge superior perquè la capçalera fixa no tapi la secció de destí
   quan s'hi salta des del menú */
[id] { scroll-margin-top: 6rem; }

.link { color: #2993fd }
.link-footer, .dark .link-footer { color: #4da1f5 }


/* --- PERSONALITZACIÓ DELS CARRUSELS (SWIPER) --- */

/* Fletxes de navegació */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Punts de paginació */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

/* Ajustaments per al mode fosc */
.dark .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
}

.dark .swiper-pagination-bullet-active {
    background: #ffffff;
}


/* --- CONTINGUT LEGAL (cookies / privacitat / normes) --- */

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-content h3 {
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.legal-content p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
}
