/* ===============================
   BASE
================================ */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.6;
  color: #111;
}

body {
  background: url("00-sfondi/sfondosardegna.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* ===============================
   LINK
================================ */
a {
  color: #8b0000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===============================
   HEADER / LOGO
================================ */
.header {
  position: relative;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.75);
}

.logo {
  width: min(220px, 70vw);
  height: auto;
}

@media (max-width: 600px) {
  .logo {
    width: 160px;
  }
}

/* ===============================
   NAVIGAZIONE
================================ */
nav,
.nav-artigianale {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav-artigianale {
  padding: 16px;
  background: #0f0f0f;
}

.nav-artigianale a {
  background: #1a1a1a;
  border: 1px solid #7b0d0d;
  color: #f2f2f2;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: all .25s ease;
}

.nav-artigianale a:hover,
.nav-artigianale a.active {
  background: #7b0d0d;
}

/* ===============================
   HERO
================================ */
.hero {
  background: rgba(0,0,0,0.65);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
}

.hero p {
  font-size: 18px;
  margin: 15px 0;
}

.cta {
  display: inline-block;
  background: #e60000;
  color: #fff;
  padding: 12px 22px;
  font-weight: bold;
  border-radius: 4px;
}

/* ===============================
   CONTENUTI
================================ */
.container {
  max-width: 1000px;
  margin: auto;
  background: rgba(255,255,255,0.92);
  padding: 25px;
}

section {
  margin-bottom: 30px;
}

h2 {
  color: #8b0000;
  margin-bottom: 10px;
}

/* ===============================
   TESTI SPECIALI (uniformati)
================================ */
.testo-base,
.firma,
.proverbio,
.gallery-item p {
  font-family: inherit;
}

/* ===============================
   GALLERY
================================ */
.gallery,
.gallery-bottarga {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin: 40px auto;
  max-width: 1200px;
}

.gallery img,
.gallery-item img {
  width: 100%;
  border-radius: 8px;
}

.gallery-item {
  background: rgba(255,255,255,0.9);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* ===============================
   MAPPA
================================ */
.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
}

.map-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* ===============================
   PULSANTI
================================ */
.btn-maps {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: #8b0000;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
}

.btn-maps:hover {
  background: #a30000;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #00008b;
  color: #fff;
  padding: 20px;
  font-size: 13px;
  text-align: center;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}