@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --bg-dark: #0d0d0d;
  --bg-card: #181818;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  --text-light: #f5f5f5;
  --text-muted: #b0b0b0;
  --whatsapp: #25D366;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

/* --- HEADER & NAVIGAZIONE --- */
header {
  background-color: rgba(13, 13, 13, 0.95);
  border-bottom: 2px solid var(--gold-primary);
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  font-style: italic;
  color: var(--text-light);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--gold-primary);
}

/* --- HERO SECTION (HOME) --- */
.hero {
  background: linear-gradient(rgba(13, 13, 13, 0.78), rgba(13, 13, 13, 0.92)), url('img/hero-bg.jpg') center/cover no-repeat;
  padding: 80px 5%;
  text-align: center;
  border-bottom: 1px solid #333;
}

.badge-gold {
  display: inline-block;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold-light);
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn-gold {
  display: inline-block;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* --- CONTENITORI E TITOLI --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 5%;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 45px;
}

/* --- CARD PACCHETTI PREZZI --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

.card-gold {
  background-color: var(--bg-card);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}

.card-gold:hover {
  transform: translateY(-5px);
}

.card-gold.featured {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin: 15px 0;
}

.card-gold ul {
  list-style: none;
  margin: 20px 0 30px;
  color: var(--text-muted);
}

.card-gold ul li {
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
}

/* --- REFERENTI (TEAM) --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: var(--bg-card);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.team-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-primary);
  margin-bottom: 15px;
  background-color: #222;
}

.team-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 5px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-wa:hover {
  opacity: 0.9;
}

/* --- PORTFOLIO / LAVORI SVOLTI (PAG.HTML) --- */
.page-header {
  background-color: #141414;
  border-bottom: 1px solid var(--gold-primary);
  padding: 50px 5%;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.portfolio-item {
  background-color: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2c2c2c;
}

.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.portfolio-info {
  padding: 20px;
}

.portfolio-info h4 {
  color: var(--gold-primary);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- FORM CONTATTI (PAG.HTML) --- */
.contact-box {
  background-color: var(--bg-card);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 35px;
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: #0d0d0d;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

/* --- FOOTER --- */
footer {
  background-color: #080808;
  border-top: 2px solid var(--gold-primary);
  padding: 30px 5%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  header { flex-direction: column; gap: 15px; }
}
