/* ==========================================
   MORDICCHIO LANDING PAGE - STYLES
   ========================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #991620;        /* Rosso ufficiale Mordicchio */
  --accent-yellow: #ffb800;        /* Giallo/Ambra caldo per i tasti secondari */
  --accent-yellow-hover: #e0a100;   /* Tonalità hover per il giallo */
  --bg-cream: #fffdf9;            /* Sfondo crema */
  --text-dark: #1e1e1e;           /* Antracite per alto contrasto */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  padding-bottom: 70px; /* Spazio riservato per la barra mobile fissa */
}

h1, h2, h3, h4, .brand-font, .font-title {
  font-family: var(--font-heading);
}

.bg-cream {
  background-color: var(--bg-cream);
}

.text-danger {
  color: #991620 !important;
}

.bg-danger {
  background-color: #991620 !important;
}

.bg-danger-subtle {
  background-color: rgba(153, 22, 32, 0.1) !important;
}

.badge-calabria {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50rem;
  display: inline-block;
}

/* Pulsante Primario (Rosso Brand) */
.btn-brand-primary, .btn-mordicchio {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  font-weight: 700;
  border-radius: 50rem;
  transition: background-color 0.2s ease;
}

.btn-brand-primary:hover, .btn-mordicchio:hover {
  background-color: #7a1119;
  color: #ffffff;
}

/* Pulsante Secondario (Giallo/Ambra #ffb800) */
.btn-brand-secondary {
  background-color: var(--accent-yellow);
  color: #1e1e1e;
  border: none;
  font-weight: 700;
  border-radius: 50rem;
  transition: background-color 0.2s ease;
}

.btn-brand-secondary:hover {
  background-color: var(--accent-yellow-hover);
  color: #1e1e1e;
}

.btn-outline-brand {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 50rem;
}

.btn-outline-brand:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Custom Card & Star Rating */
.custom-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important;
}

.star-rating {
  color: #ffc107;
}

/* Indicatori Carousel */
.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  margin-left: 5px;
}

/* Barra Fissa Mobile per Smartphone */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 1rem;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
  .mobile-bottom-bar {
    display: none !important;
  }
}

/* Stili flottante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #1ebc57;
    color: #fff;
    transform: scale(1.08);
}
@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 25px;
    }
    body {
        padding-bottom: 70px;
    }
}

.placeholder-img {
    background-color: #f8f9fa;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    border-bottom: 1px solid #dee2e6;
}

/* Stile personalizzato per la card del Pan de Coca */
.pan-coca-card {
    background-color: #a61c1c;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 15%, transparent 16%), radial-gradient(rgba(255, 255, 255, 0.05) 15%, transparent 16%);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    min-height: 100%;
}
.wheat-svg-icon {
    width: 64px;
    height: 64px;
    fill: #ffc107;
    filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.35));
}
.text-impact-bold {
    font-weight: 900;
    font-style: normal;
    line-height: 1.6;
}