@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@300;400;500;600&display=swap');

/* ======================
   BASE
====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #1f1f1f; 
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ======================
   HEADER
====================== */
header {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.logo {
  height: 110px;
}

nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #2b2b2b;
  font-weight: 500;
}

nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* ======================
   HERO
====================== */
.hero {
  background: #f3f1ec;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 70px 20px;
}

.hero img {
  width: 340px;
  height: 260px;
  object-fit: cover;
}

.hero-text {
  max-width: 600px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.05rem;
}

/* ======================
   SEZIONI
====================== */
.section {
  background: #ffffff;
  padding: 80px 0;
}

.section.light {
  background: #f8f7f4;
}

.section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.section img {
  width: 320px;
  height: 240px;
  object-fit: cover;
}

.section .text {
  max-width: 620px;
}

/* ======================
   TITOLI SEZIONI
====================== */
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 25px;
}

/* ======================
   BUTTONS
====================== */
.buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border: 1px solid #2b2b2b;
  background: transparent;
  color: #2b2b2b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #2b2b2b;
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

/* ======================
   MAPPA
====================== */
.section iframe {
  width: 100%;
  height: 340px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ======================
   FOOTER
====================== */
footer {
  background: #1f1f1f;
  color: #ffffff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 900px) {
  .hero .container,
  .section .container {
    flex-direction: column;
    text-align: center;
  }

  .hero img,
  .section img {
    width: 100%;
    max-width: 420px;
    height: auto;
  }

  .buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .logo {
    height: 90px;
  }
}

/* ======================
   CONTATTI
====================== */
.contact {
  background: #f8f7f4;
  text-align: center;
}

.contact-intro {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  min-width: 180px;
  padding: 16px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-btn.whatsapp { background: #25d366; }
.contact-btn.facebook { background: #1877f2; }
.contact-btn.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.contact-btn.email { background: #ff5a5f; }

.contact-btn:hover,
.contact-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  outline: none;
}

/* ======================
   ORARI
====================== */
.opening-hours {
  background: #f8f7f4;
  text-align: center;
  padding: 60px 20px;
}

.hours-intro {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.hours-link {
  display: inline-block;
  padding: 14px 25px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: #1f1f1f;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hours-link:hover,
.hours-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  outline: none;
}

/* ======================
   WHATSAPP FLOAT
====================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  font-size: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.05);
  outline: none;
}

@media (min-width: 900px) {
  .whatsapp-float {
    bottom: 30px;
    right: 30px;
  }
}

/* ======================
   CARDS
====================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card img {
  margin-bottom: 15px;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-link:hover {
  opacity: 0.95;
}
