/* Bottoni */
.btn-gold {
  display: inline-block;
  padding: 12px 28px;
  background-color: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-gold:hover {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
}

/* Fullscreen Menu Overlay */
.fullscreen-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0d0d0e; /* Sfondo scuro forzato */
  color: #f4f4f6;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  /* Stato Nascosto */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Stato Attivo (quando si clicca su Menu) */
.fullscreen-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Bottone di chiusura */
.close-menu-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #f4f4f6;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 10px;
  transition: color 0.2s ease;
}

.close-menu-btn:hover {
  color: #c9a96e;
}

/* Lista Link Navigazione */
.fullscreen-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-nav li {
  margin: 25px 0;
}

.fullscreen-nav a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  color: #f4f4f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fullscreen-nav a:hover {
  color: #c9a96e;
}
/* ==========================================================================
   BARD CARDS STYLE (SCREENSHOT 1)
   ========================================================================== */
.bard-card {
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
}

.bard-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* Proporzione verticale scenografica */
  overflow: hidden;
  background-color: var(--bg-card);
}

.bard-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bard-card:hover .bard-card-img {
  transform: scale(1.04);
}

.bard-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Badge Data in Overlay */
.bard-date-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  padding: 8px 14px;
  text-align: center;
  z-index: 2;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.badge-day {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 600;
}

.badge-month {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Body Card */
.bard-card-body {
  padding: 20px 0;
}

.bard-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
  line-height: 1.2;
}

.bard-card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.bard-card-title a:hover {
  color: var(--accent-gold);
}

.bard-card-time {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Bottoni Bard Affiancati */
.bard-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-bard-outline {
  display: inline-block;
  text-align: center;
  padding: 10px 0;
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-bard-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-bard-solid {
  display: inline-block;
  text-align: center;
  padding: 10px 0;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--bg-surface);
  transition: all 0.2s ease;
}

.btn-bard-solid:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}


/* ==========================================================================
   SEZIONE COLONNE CATEGORIE CON BORDINI (SCREENSHOT 2)
   ========================================================================== */
.bard-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 60px 0;
}

.bard-cat-col {
  padding: 50px 35px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bard-cat-col:last-child {
  border-right: none;
}

.bard-cat-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.bard-cat-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 35px;
}

.bard-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

.bard-cat-link:hover {
  color: var(--accent-gold);
}

@media (max-width: 900px) {
  .bard-categories-grid {
    grid-template-columns: 1fr;
  }
  .bard-cat-col {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .bard-cat-col:last-child {
    border-bottom: none;
  }
}
/* ==========================================================================
   HERO SECTION SLIDER (CROSS-FADE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
  transform: scale(1.05);
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(15, 15, 15, 0.6) 0%, 
    rgba(15, 15, 15, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
}

.hero-subtitle {
  color: var(--accent-gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-incipit {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 35px;
}
/* ==========================================================================
   HEADER & DROPDOWN MENU STILE BARD
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

/* LOGO */
.logo-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  line-height: 1;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  margin-top: 4px;
}

/* STRUTTURA MENU BARD */
.main-navigation {
  display: flex;
  align-items: center;
}

.bard-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 35px;
}

.bard-menu > li {
  position: relative;
  padding: 30px 0; /* Area attiva per l'hover */
}

.bard-menu a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.bard-menu a:hover,
.bard-menu li.current-menu-item > a,
.bard-menu li.current-menu-ancestor > a {
  color: var(--accent-gold);
}

/* SOTTOMENU A DISCESA (DROPDOWN LEVEL 1) */
.bard-menu ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  list-style: none;
  padding: 15px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bard-menu > li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bard-menu ul.sub-menu li {
  position: relative;
  padding: 0;
}

.bard-menu ul.sub-menu a {
  display: block;
  padding: 10px 25px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.bard-menu ul.sub-menu a:hover {
  color: var(--accent-gold);
  background-color: var(--bg-surface);
  padding-left: 30px; /* Piccolo scorrimento al passaggio del mouse */
}

/* SOTTOMENU SECONDO LIVELLO (LEVEL 2) */
.bard-menu ul.sub-menu ul.sub-menu {
  top: 0;
  left: 100%;
  margin-top: -15px;
}

@media (max-width: 992px) {
  .main-navigation {
    display: none; /* In seguito possiamo aggiungere il toggle mobile se necessario */
  }
}
/* Stili Logo Immagine */
.site-branding img,
.custom-logo {
  max-height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}