/*
Theme Name: Arte Totale
Author: Pietro Bitto
Description: Tema Arte Totale - Pittura, Scultura, Scenografie Teatrali e Astronomia
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;600&display=swap');

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

body {
  background-color: #0a0a0a;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.55) 30%,
      rgba(0, 0, 0, 0.30) 55%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    url('https://www.pietrobitto.it/wp-content/uploads/2026/11/sfondo-scultura.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

main,
.site-main,
.container,
.entry-content {
  background-color: transparent;
}

a {
  color: #d4af37;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  line-height: 1.2;
}

/* INTESTAZIONE */
header,
.site-header,
.header,
.navbar,
.top-bar {
  border-bottom: 1px solid #222;
  padding: 25px 0;
  text-align: center;
  background-color: transparent;
  background-image: none;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
}

.logo span {
  color: #d4af37;
}

.tagline {
  color: #aaa;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 5px;
}

.main-menu {
  margin-top: 20px;
}

.main-menu ul {
  list-style: none;
}

.main-menu li {
  display: inline-block;
}

.main-menu a {
  color: #ddd;
  margin: 0 12px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-menu a:hover {
  color: #d4af37;
}

/* HERO / PARTE ALTA HOMEPAGE */
.hero,
.hero-home,
.hero-section,
.intro,
.banner,
.cover,
.home-hero,
.header-hero,
.top-hero,
.page-hero,
.front-page-hero {
  text-align: center;
  padding: 80px 20px;
  background: transparent;
}

.hero .container,
.hero-home .container,
.intro .container {
  background-color: transparent;
}

.hero h1,
.hero-home h1,
.intro h1,
.hero h2 {
  font-size: 52px;
  max-width: 800px;
  margin: 0 auto 15px;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}

.hero p,
.hero-home p,
.intro p {
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.btn-oro {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.btn-oro:hover {
  background: #d4af37;
  color: #000;
}

/* CONTENITORI E GRIGLIA */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #111;
  border: 1px solid #222;
  overflow: hidden;
}

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

.card-body {
  padding: 20px;
}

.card h3,
.card-title {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.card p {
  color: #aaa;
  font-size: 14px;
}

.data {
  color: #d4af37;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

article {
  background: #111;
  padding: 30px;
  border: 1px solid #222;
  margin-bottom: 30px;
}

article h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

/* RIQUADRI SEZIONI: TESTO A SINISTRA, IMMAGINE A DESTRA */
.sezione-titolo {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 30px auto;
  min-height: 220px;
  background-color: rgba(255, 255, 255, 0.92);
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 320px 220px;
  padding: 20px 360px 20px 24px;
  text-align: left;
  border-radius: 12px;
  border: 2px solid #c9a227;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sezione-titolo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border-color: #000;
}

.sezione-titolo h2 {
  text-align: left;
  font-size: 34px;
  font-weight: 800;
  color: #000;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9);
}

.sezione-titolo p {
  text-align: left;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #111;
  background: rgba(255, 255, 255, 0.88);
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  max-width: 440px;
  margin-top: 10px;
}

.sezione-titolo span,
.sezione-titolo .tag,
.sezione-titolo .etichetta,
.sezione-titolo small {
  display: inline-block;
  background: #c9a227;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.sezione-titolo a {
  text-decoration: none;
  color: #fff;
  background: #c9a227;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 800;
}

#pittura {
  background-image: url('https://www.pietrobitto.it/wp-content/uploads/2026/11/maria.jpg');
}

#scultura {
  background-image: url('https://www.pietrobitto.it/wp-content/uploads/2026/11/rinascita.jpg');
}

#scenografie {
  background-image: url('https://www.pietrobitto.it/wp-content/uploads/2026/11/teresa.jpg');
}

#astronomia {
  background-image: url('https://www.pietrobitto.it/wp-content/uploads/2026/11/m42.jpg');
}

.sez-pittura h2 { color: #b88b1e; }
.sez-scultura h2 { color: #555; }
.sez-scenografie h2 { color: #c92a37; }
.sez-astronomia h2 { color: #2b6cb0; }

/* BADGE */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid;
  margin-bottom: 10px;
}

.badge-pittura { color: #d4af37; border-color: #d4af37; }
.badge-scultura { color: #c0c0c0; border-color: #c0c0c0; }
.badge-scenografie { color: #e63946; border-color: #e63946; }
.badge-astronomia { color: #4a90d9; border-color: #4a90d9; }

/* PAGINA SINGOLA OPERA */
.opera-hero {
  text-align: center;
  padding: 50px 20px 10px;
}

.opera-hero img {
  max-width: 900px;
  width: 100%;
  border: 1px solid #222;
}

.opera-testo {
  max-width: 750px;
  margin: 30px auto;
  color: #ddd;
  font-size: 18px;
  line-height: 1.8;
}

.opera-testo h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* FOOTER */
.site-footer {
  background: #000;
  border-top: 1px solid #222;
  text-align: center;
  padding: 30px 20px;
  color: #777;
  font-size: 13px;
}

.site-footer b {
  color: #d4af37;
}

/* RESPONSIVE SMARTPHONE / TABLET */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero-home h1,
  .intro h1,
  .hero h2 {
    font-size: 32px;
  }

  .logo {
    font-size: 30px;
  }

  .sezione-titolo {
    padding: 20px;
    padding-bottom: 190px;
    background-position: center bottom 16px;
    background-size: calc(100% - 32px) 160px;
    min-height: auto;
  }

  .sezione-titolo h2 {
    font-size: 26px;
  }

  .sezione-titolo p {
    font-size: 15px;
    max-width: 100%;
  }
}