/* ============================================================
   MILLORES VERSIÓ A - barestacio.cat
   Millores incrementals sobre full-spoon.css
   ============================================================ */

/* ---------- Base millorada ---------- */
body { font-size: 17px; }
p { line-height: 1.85; }
section { padding: 100px 0; }

/* ---------- Separadors decoratius (border_1.png) ---------- */
.border { max-width: 140px; display: block; margin: 20px auto; }

/* ---------- Hero: logo centrat i CTA ---------- */
header { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
header .intro-text { padding-top: 80px; padding-bottom: 40px; }
.hero-logo { max-width: 400px; margin: 0 auto 20px; }
.hero-cta { text-align: center; margin-top: 20px; padding-bottom: 40px; }
.btn-xl { padding: 14px 40px; font-size: 18px; letter-spacing: 2px; border-width: 2px; transition: all 0.3s ease; }
.btn-xl:hover { background-color: #fff; color: #e9540d; }
header .address a { color: #fff !important; text-decoration: underline; }
header .address a:hover { color: #e9540d !important; }

/* ---------- Navbar millorat ---------- */
.navbar-default { transition: background-color 0.4s ease, padding 0.4s ease; }
.navbar-default .nav li a { letter-spacing: 2px; transition: color 0.2s ease; }

/* ---------- Secció "Sobre Nosaltres" - panels moderns ---------- */
.services-panel {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}
.services-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.4s ease;
}
.services-panel:hover .services-panel-overlay {
  background: rgba(233, 84, 13, 0.75);
}
.services-panel-content h3 {
  color: #fff;
  font-family: 'Amatic SC', cursive;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.services-panel-content h3 span { color: #ffccaa; }
.services-panel-content p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.services-panel:hover .services-panel-content p { max-height: 80px; }

/* ---------- Galeria millorada ---------- */
#gallery .gallery-image img { background: #f0f0f0; }
#gallery .single-item { transition: transform 0.2s ease; }
#gallery .single-item:hover { transform: scale(1.02); }

/* ---------- Secció Horari: text visible sobre fons fosc ---------- */
#weeklyspecials .text-white { color: #fff !important; }

/* ---------- Contacte: address millorada ---------- */
#contact address a { color: #e9540d; }
#contact address a:hover { color: #363636; }


/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1e1e1e;
  color: #eee;
  padding: 16px 20px;
  display: none; /* S'activa via JS */
  border-top: 3px solid #e9540d;
  font-size: 14px;
}
#cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; flex: 1; min-width: 200px; }
.cookie-inner a { color: #e9540d; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: #e9540d;
  color: #fff;
  border: 2px solid #e9540d;
  padding: 8px 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: #c7440a; border-color: #c7440a; }
.btn-cookie-reject {
  background: transparent;
  color: #aaa;
  border: 2px solid #555;
  padding: 8px 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cookie-reject:hover { border-color: #aaa; color: #fff; }

/* ---------- Mapa ---------- */
#map-container { margin-top: 40px; }

/* ---------- Footer millorat ---------- */
footer { padding: 20px 0; }
footer a:hover { color: #e9540d !important; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .services-panel { height: 220px; }
  .hero-logo { max-width: 250px; }

  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
