/* ===============================
   BASE
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: url("beige2.jpg");
  color: #2b2b2b;
}

/* ===============================
   NAVBAR
================================ */
.navbar {
  position: sticky;
  top: 0;
  background: #faf9f7;
  border-bottom: 1px solid #e6e6e6;
  z-index: 100;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 20px 40px;
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: #2b2b2b;
  font-size: 0.95rem;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  padding: 12px 0;
  margin: 0;
  min-width: 180px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: #f2f2f2;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 100%;
}

/* ===============================
   HERO TESTO
================================ */
.hero-text {
  max-width: 800px;
  margin: 80px auto 40px;
  padding: 0 24px;
  text-align: center;
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 1.1rem;
  color: #6b6b6b;
  line-height: 1.6;
}

/* ===============================
   HERO SFONDO
================================ */
.hero-bg {
  width: 100%;
  height: 70vh;
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("beige.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: 80px;
}

/* ===============================
   GRID
================================ */
.grid {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

/* ===============================
   CARD
================================ */
.card {
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}

.card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ===============================
   FOOTER
================================ */
.footer {
  border-top: 1px solid #e5e5e5;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #777;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .title {
    font-size: 2.4rem;
  }

  .menu {
    gap: 20px;
  }

  .grid {
    gap: 28px;
  }
}
