/* ===== Home Hero ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(80px + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/gallery/Chess%20pictures/chess-table-2.png') center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .grid {
  align-items: center;
  gap: var(--space-3xl);
}

/* Hero decorative elements */
.hero__decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero__decoration--1 {
  top: 15%;
  right: 8%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(123, 91, 58, 0.12);
  border-radius: 50%;
}

.hero__decoration--2 {
  bottom: 20%;
  left: -5%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(123, 91, 58, 0.10);
  border-radius: 50%;
}

.hero__content {
  max-width: 560px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent-warm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-accent-warm);
}

.hero__label::before {
  display: none;
}

.hero__title {
  font-size: var(--fs-hero);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
  color: var(--color-text-inverse);
}

.hero__tagline {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, var(--fs-lg));
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xl);
  padding-left: var(--space-lg);
  line-height: var(--lh-normal);
  border-left: 2px solid var(--color-accent-warm);
}

.hero__tagline::before {
  display: none;
}

.hero__description {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-loose);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero buttons on dark bg */
.hero .btn--primary {
  background: var(--color-accent-warm);
  color: var(--color-text-inverse);
  border-color: var(--color-accent-warm);
}

.hero .btn--primary:hover {
  background: var(--color-accent-warm-light);
  border-color: var(--color-accent-warm-light);
  transform: translateY(-2px);
}

.hero .btn--outline {
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn--outline:hover {
  border-color: var(--color-text-inverse);
  color: var(--color-text-inverse);
  background: rgba(255, 255, 255, 0.08);
}

.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  border: 2px solid rgba(123, 91, 58, 0.30);
  border-radius: var(--radius-xl);
  z-index: -1;
  transition: all var(--transition-slow);
}

.hero__image-wrapper:hover::before {
  top: -16px;
  right: -16px;
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
  padding-top: calc(80px + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.page-hero--bg::before {
  background: url('../assets/images/gallery/Chess%20pictures/2.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.page-hero--bg-galleria::before {
  background: url('../assets/images/gallery/Chess%20pictures/8.png') center/cover no-repeat;
  opacity: 0.15;
}

.page-hero--bg-partite::before {
  background: url('../assets/images/gallery/Chess%20pictures/9.png') center/80% no-repeat;
  opacity: 0.25;
}

.page-hero--bg-contatti::before {
  background: url('../assets/images/gallery/Chess%20pictures/11.png') center/cover no-repeat;
  opacity: 0.2;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--color-accent-warm);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent-warm-light);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb__separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ===== Hero Responsive ===== */
@media (min-width: 768px) {
  .hero .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero .grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
  }
}
