/* =====================================================
   ARTE IN CORTE — site.css
   CSS fedele al tema Creator (Elated Themes)
   Ceramica Artistica Pugliese | Marilyn Cerri
   ===================================================== */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Rokkitt:wght@400;600&display=swap');

/* — Font Awesome locale (dal tema) — */
@import url('../fonts/font-awesome.css');

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  line-height: 1.7em;
  color: #74797b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color 0.15s ease-out; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Questrial', sans-serif;
  color: #333;
  line-height: 1.3em;
  margin: 0;
}

p { font-family: 'Questrial', sans-serif; }

::selection      { background: #3f96b4; color: #fff; }
::-moz-selection { background: #3f96b4; color: #fff; }

/* =====================================================
   LAYOUT / GRID
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER INNER — logo centrato + nav centrata
   ===================================================== */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 30px;
  max-width: 100%;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  height: 80px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow 0.3s;
}

/* Compatibilità con le pagine secondarie che usano .container dentro l'header */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  padding: 0 30px;
}

/* Logo */
.site-logo {
  display: inline-block;
  vertical-align: middle;
}
.site-logo img {
  max-height: 72px;
  width: auto;
  height: 100%;
  image-rendering: optimizeQuality;
  transition: opacity 0.2s ease;
}
.site-logo span {
  font-family: 'Questrial', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  letter-spacing: .04em;
}

/* =====================================================
   NAV PRINCIPALE — fedele al tema Creator
   ===================================================== */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav > ul {
  display: flex;
  align-items: stretch;
  height: 100%;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  float: none;
}

/* Link primo livello */
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: #7c7c7c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: transparent;
  border: none;
  white-space: nowrap;
  transition: color 0.15s ease-out;
  position: relative;
}

/* Underline animato hover */
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: #3796b4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: #3796b4;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after {
  transform: scaleX(1);
}

/* ── Dropdown ── */
.main-nav .dropdown {
  position: absolute;
  top: 80px;
  left: 0;
  background: #fff;
  min-width: 210px;
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  z-index: 999;
  border-top: 2px solid #3796b4;
}

.main-nav > ul > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown li {
  display: block;
  float: none;
}

.main-nav .dropdown li a {
  display: block;
  padding: 11px 20px;
  font-family: 'Questrial', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c7c7c;
  border-bottom: 1px solid #f2f2f2;
  transition: color 0.15s ease-out, padding-left 0.15s ease-out;
}

.main-nav .dropdown li:last-child a { border-bottom: none; }
.main-nav .dropdown li a:hover { color: #3796b4; padding-left: 26px; }

/* ── Hamburger mobile ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  margin-left: 10px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── nav-icon (search icon in nav) ── */
.nav-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px !important;
  color: #7c7c7c;
}
.nav-icon a:hover { color: #3796b4; }
.nav-icon a::after { display: none !important; }

/* =====================================================
   HERO / SLIDER
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center center;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content { color: #fff; max-width: 720px; padding: 20px; }
.hero-content h1 {
  font-family: 'Questrial', sans-serif;
  font-size: 4rem;
  letter-spacing: .08em;
  margin-bottom: 18px;
  color: #fff;
}
.hero-content p {
  font-family: 'Rokkitt', serif;
  font-size: 1.1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: .9;
}

/* =====================================================
   SEZIONE ARTISTA — homepage
   ===================================================== */
.section-artista {
  background: #fff;
  padding-bottom: 80px;
}

.artista-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

.artista-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.artista-accordion {
  padding-top: 10px;
}

/* =====================================================
   SERVIZI — griglia 4x2 icone
   ===================================================== */
.servizi-section {
  background: #fff;
  padding: 0;
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.servizio-item {
  text-align: center;
  padding: 50px 30px 40px;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.25s, background 0.25s;
  cursor: pointer;
}
.servizio-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  background: #faf8f5;
  z-index: 1;
  position: relative;
}

.servizio-item a {
  display: block;
  text-decoration: none;
}

.servizio-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 22px;
  display: block;
  transition: transform 0.3s ease;
}
.servizio-item:hover img { transform: translateY(-4px); }

.servizio-item h5 {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
  transition: color 0.15s;
}
.servizio-item:hover h5 { color: #3796b4; }

.servizio-item p {
  font-size: 13px;
  color: #909090;
  line-height: 1.7em;
}

/* =====================================================
   BLOG SECTION — homepage
   ===================================================== */
.blog-section {
  background: #fff;
}

.blog-card-meta {
  font-family: 'Rokkitt', serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3796b4;
  margin-bottom: 10px;
  display: block;
}

.blog-card-cat {
  color: #909090;
  font-family: 'Rokkitt', serif;
  font-size: 12px;
}

.blog-card-comments {
  font-family: 'Rokkitt', serif;
  font-size: 12px;
  color: #3796b4;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 12px;
  display: block;
}

/* =====================================================
   FOOTER — 3 colonne con logo centrato
   ===================================================== */
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  text-align: center;
}

/* =====================================================
   BUTTONS — fedele al tema (eltd-btn)
   ===================================================== */
.btn {
  display: inline-block;
  position: relative;
  outline: none;
  font-style: normal;
  font-weight: 600;
  font-family: 'Questrial', sans-serif;
  padding: 18px 43px;
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}
.btn:active { transform: translate3d(0, 1px, 0); }

/* Solid (fill) */
.btn-primary {
  background-color: #3796b4;
  color: #fff;
  border: none;
}
.btn-primary:hover { background-color: #a27d53; color: #fff; }

/* Outline */
.btn-outline {
  background: transparent;
  border: 2px solid #3796b4;
  color: #3796b4;
}
.btn-outline:hover { background-color: #3796b4; color: #fff; }

/* Light (white bg, usato su parallax) */
.btn-light {
  background-color: #fff;
  color: #6b6b6b;
  border: none;
}
.btn-light:hover { background-color: #3796b4; color: #fff; }

/* =====================================================
   SECTION TITLE — fedele al tema
   ===================================================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: 'Questrial', sans-serif;
  font-size: 35px;
  letter-spacing: 8.5px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 18px;
  font-weight: 400;
}

.section-title .separator {
  width: 120px;
  height: 2px;
  background: #3796b4;
  margin: 0 auto 18px;
}

.section-title p {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #909090;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8em;
}

/* Light variant (su sfondo scuro/parallax) */
.section-title.light h2,
.section-title.light p { color: #fff; }
.section-title.light .separator { background: #fff; }

/* =====================================================
   PARALLAX SECTIONS
   ===================================================== */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  padding: 110px 50px 60px;
  text-align: center;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
}
.parallax-section > * { position: relative; z-index: 1; }

/* =====================================================
   ACCORDION — fedele al tema (eltd-accordion boxed_toggle)
   ===================================================== */
.accordion { }

.accordion-item { margin-bottom: 8px; }

.accordion-header {
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  padding: 16px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Questrial', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #333;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.accordion-header:hover { background: #f0f0f0; color: #3796b4; }

.accordion-item.open .accordion-header {
  background: #3796b4;
  color: #fff;
  border-color: #3796b4;
}

.accordion-header .icon {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s;
}
.accordion-item.open .accordion-header .icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: none;
  padding: 0 22px;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  line-height: 1.85em;
  color: #74797b;
}
.accordion-item.open .accordion-body {
  max-height: 800px;
  padding: 20px 22px;
}

/* =====================================================
   ICON BOX (servizi homepage)
   ===================================================== */
.icon-box {
  text-align: center;
  padding: 14px 10px;
}
.icon-box img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.icon-box h5 {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: capitalize;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.icon-box p {
  font-size: 14px;
  color: #909090;
  line-height: 1.7em;
}
.icon-box a:hover h5 { color: #3796b4; }

/* =====================================================
   BLOG CARDS
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 4%;
}

.blog-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }

.blog-card-body { padding: 20px 16px; }

.blog-card-date {
  font-family: 'Rokkitt', serif;
  font-size: 13px;
  color: #3796b4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}
.blog-card-date::after {
  content: " /";
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.blog-card-title {
  font-family: 'Questrial', sans-serif;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4em;
  font-weight: 400;
}
.blog-card-title a:hover { color: #3796b4; }

.blog-card-excerpt {
  font-size: 14px;
  color: #909090;
  line-height: 1.7em;
}

/* =====================================================
   SOCIAL SECTION
   ===================================================== */
.social-section {
  background: #efefef;
  padding: 105px 0;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #858585;
  font-size: 1rem;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
  border: none;
}
.social-icon:hover { background: #3796b4; color: #f0f0f0; }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* =====================================================
   PAGE HEADER (inner pages)
   ===================================================== */
.page-header {
  margin-top: 80px;
  position: relative;
  height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
}

.page-header-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.page-header h1 {
  font-family: 'Questrial', sans-serif;
  font-size: 50px;
  color: #fff;
  letter-spacing: 14px;
  text-transform: uppercase;
  font-weight: 400;
}

.breadcrumbs {
  font-family: 'Rokkitt', serif;
  font-size: 13px;
  margin-top: 12px;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: #3796b4; }

/* =====================================================
   GALLERY / LIGHTBOX
   ===================================================== */
.gallery-section { padding: 70px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 18%!important;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(183,156,125,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-size: 1.8rem; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 18px; right: 26px;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #3796b4; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 12px 20px;
  background: rgba(255,255,255,.08);
  border: none;
  transition: background 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(183,156,125,.7); }

/* =====================================================
   CONTATTI PAGE
   ===================================================== */
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contatti-info h3 {
  font-family: 'Questrial', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 22px;
  font-weight: 400;
  letter-spacing: .04em;
}
.contatti-info p { margin-bottom: 12px; font-size: 14px; line-height: 1.8em; }
.contatti-info a:hover { color: #3796b4; }

.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-family: 'Rokkitt', serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: #555;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #3796b4; background: #fff; }
.contact-form textarea { min-height: 140px; }

/* =====================================================
   PREMI PAGE
   ===================================================== */
.premi-list { max-width: 860px; margin: 0 auto; }

.premio-item {
  padding: 30px 0;
  border-bottom: 1px solid #f0f0f0;
}
.premio-item:last-child { border-bottom: none; }

.premio-item h4 {
  font-family: 'Questrial', sans-serif;
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: 400;
}
.premio-item p { font-size: 14px; color: #909090; line-height: 1.8em; }

.premio-anno {
  display: inline-block;
  background: #3796b4;
  color: #fff;
  font-family: 'Rokkitt', serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 12px;
  margin-bottom: 10px;
}

/* =====================================================
   CERAMICHE / CATEGORIE CARD
   ===================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 5%;
  margin-top: 40px;
}

.cat-card {
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.cat-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.cat-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover img { transform: scale(1.04); }

.cat-card-body { padding: 20px; }
.cat-card-body h3 {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.cat-card-body p {
  font-size: 13px;
  color: #909090;
  line-height: 1.7em;
  margin-bottom: 16px;
}
.cat-card-body a.link {
  font-family: 'Rokkitt', serif;
  font-size: 12px;
  color: #3796b4;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.cat-card-body a.link:hover { color: #a27d53; }

/* =====================================================
   FOOTER — fedele al tema Creator
   ===================================================== */
.footer-top {
  background: #393939;
  color: #ccc;
  padding: 70px 0 50px;
}

.footer-top .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer-widget h4 {
  font-family: 'Rokkitt', serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #555;
}

.footer-widget p,
.footer-widget li {
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  line-height: 1.9em;
  color: #aaa;
}

.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 7px; }
.footer-widget ul li a { color: #aaa; transition: color 0.2s; }
.footer-widget ul li a:hover { color: #3796b4; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #555;
  color: #ccc;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: #3796b4; color: #fff; }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

.footer-bottom {
  background: #f6f6f6;
  padding: 20px 0;
  text-align: center;
  font-family: 'Rokkitt', serif;
  font-size: 13px;
  color: #909090;
  letter-spacing: .5px;
}
.footer-bottom a { color: #3796b4; }
.footer-bottom a:hover { color: #a27d53; }

/* =====================================================
   UTILITY
   ===================================================== */
.text-center { text-align: center; }
.bg-light { background: #f8f8f8; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
  .servizi-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top .container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; }
  .artista-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .contatti-grid { grid-template-columns: 1fr; gap: 40px; }
  .servizi-grid  { grid-template-columns: repeat(2, 1fr); }
  .artista-grid  { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols   { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .main-nav > ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: #fff;
    padding: 20px 0;
    overflow-y: auto;
    z-index: 999;
    height: auto;
  }
  .main-nav > ul.open { display: flex; }
  .main-nav > ul > li {
    display: block;
    float: none;
    height: auto;
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav > ul > li > a {
    height: auto;
    padding: 14px 20px;
    display: block;
  }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #3796b4;
    margin-left: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .main-nav > ul > li.open .dropdown { display: block; }
  .hamburger { display: flex; }
  
  .header-inner { padding: 0 16px; }
  .hero-content h1 { font-size: 2.2rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .parallax-section { background-attachment: scroll; }
  .page-header { height: 220px; }
  .page-header-content h1 { font-size: 1.9rem; }
  .footer-top .container { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .artista-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .servizio-item { padding: 36px 20px 30px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.7rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
}
