/* ========================================
   INDEX.HTML - Stili specifici
   ======================================== */

/* Variabili colore specifiche per index */
:root {
  --primary: #d14841;
  --primary-dark: #b03a34;
}

/* Navbar per index (con effetto trasparente iniziale) */
.navbar .logo-text {
  color: white;
}

.navbar.scrolled .logo-text {
  color: var(--dark);
}

.navbar .navbar-menu a {
  color: white;
}

.navbar.scrolled .navbar-menu a {
  color: var(--dark);
}

.navbar .hamburger span {
  background: white;
}

.navbar.scrolled .hamburger span {
  background: var(--dark);
}

/* Logo circle per index (dimensioni diverse) */
/* .logo-circle {
  width: 60px;
  height: 75px;
  border-radius: 0;
  /* Non circolare su index */
/* }  */

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?w=1920') center/cover;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-family: "Delius", cursive;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.section-title h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section-title p {
  font-size: 1.2rem;
  color: #6b7280;
}

.gallery {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  aspect-ratio: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: white;
  font-size: 3rem;
  transform: scale(0);
  transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

/* ========================================
   SOCIAL SECTION (background specifico)
   ======================================== */
.social-section {
  background: url('../assets/images/banner/banner_bottom.png');
  background-position: 70%;
}