/* =========================
   ✨ B&B LA PIAZZETTA DEL SOLE
   Premium Design System 2026
========================= */

/* --- CSS Variables --- */
:root {
  /* Premium Color Palette */
  --color-primary: #8B7355;
  /* Warm Taupe */
  --color-primary-dark: #6B5344;
  --color-accent: #C9A961;
  /* Soft Gold */
  --color-accent-light: #E8D5A3;

  --color-bg-dark: #1A1A1A;
  --color-bg-section: #F8F6F3;
  /* Warm Off-White */
  --color-bg-card: rgba(255, 255, 255, 0.85);

  --color-text-dark: #2A2A2A;
  --color-text-muted: #6B6B6B;
  --color-text-light: #F5F5F5;

  /* Spacing */
  --section-padding: 100px 8%;
  --section-padding-mobile: 60px 5%;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(201, 169, 97, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

/* =========================
   RESET & BASE
========================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text-dark);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

section {
  scroll-margin-top: 90px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   NAVBAR - Glassmorphism
========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--color-text-light);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}

/* Logo for hero section - transparent PNG */
.hero-logo {
  width: 180px;
  height: auto;
  margin: 0 auto 30px;
  filter:
    drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5)) brightness(1.1) contrast(1.15) saturate(1.1);
  animation: fadeInUp 1s ease-out forwards;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: var(--color-text-light);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--color-accent-light);
}

.nav-cta {
  padding: 10px 24px !important;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-xl);
  color: var(--color-accent) !important;
  transition: var(--transition-smooth);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--color-text-light);
  margin: 4px 0;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-container {
    padding: 16px 20px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: var(--transition-smooth);
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }
}

/* =========================
   HERO - Immersive Full-Screen
========================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background: url("img/hero1.png") center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--color-text-light);
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out forwards;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.hero::after {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  animation: scrollBounce 2s infinite;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.5;
  }
}

/* =========================
   BUTTONS - Premium Style
========================= */

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  color: var(--color-text-light);
  padding: 16px 40px;
  text-decoration: none;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.3);
  border: none;
  cursor: pointer;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(201, 169, 97, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

/* =========================
   BOOKING BAR
========================= */

.booking-bar {
  background: var(--color-bg-dark);
  padding: 30px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.booking-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.booking-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-item label {
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.booking-item input,
.booking-item select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  min-width: 150px;
  transition: var(--transition-smooth);
}

.booking-item input:focus,
.booking-item select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
}

.booking-item select option {
  background: var(--color-bg-dark);
}

.btn-booking {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  margin-top: 20px;
}

.btn-booking:hover {
  background: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
  .booking-bar {
    padding: 30px 5%;
  }

  .booking-item {
    width: 100%;
  }

  .booking-item input,
  .booking-item select {
    width: 100%;
  }

  .btn-booking {
    width: 100%;
    margin-top: 10px;
  }
}

/* =========================
   VALUE SECTION - Premium Cards
========================= */

.value {
  padding: var(--section-padding);
  background: var(--color-bg-section);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
}

.value-item {
  background: var(--color-bg-card);
  padding: 40px 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

/* Clickable card styles */
.clickable-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.clickable-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
  transition: var(--transition-smooth);
}

.clickable-card:hover::before {
  height: 100%;
}

.clickable-card .card-action {
  margin-top: 15px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.clickable-card:hover .card-action {
  opacity: 1;
  transform: translateY(0);
}

.clickable-card:hover {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.05), rgba(255, 255, 255, 0.95));
  border-color: var(--color-accent);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-item h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--color-text-dark);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .value {
    padding: var(--section-padding-mobile);
    gap: 20px;
  }

  .value-item {
    padding: 30px 25px;
  }
}

/* =========================
   STORY SECTION
========================= */

.story {
  padding: var(--section-padding);
  text-align: center;
  background: #ffffff;
  position: relative;
}

.story h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.story h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  margin: 20px auto 0;
  border-radius: 2px;
}

.story p {
  max-width: 720px;
  margin: 25px auto 0;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.story .btn-primary {
  margin-top: 35px;
  opacity: 1;
  animation: none;
}

@media (max-width: 768px) {
  .story {
    padding: var(--section-padding-mobile);
  }
}

/* =========================
   REVIEWS / TESTIMONIALS
========================= */

.reviews {
  padding: var(--section-padding);
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: '"';
  position: absolute;
  font-size: 400px;
  font-family: 'Playfair Display', serif;
  color: rgba(255, 255, 255, 0.03);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.reviews h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 50px;
}

.reviews h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}

.review-stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 500;
}

.review-source {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 5px;
}

@media (max-width: 768px) {
  .reviews {
    padding: var(--section-padding-mobile);
  }

  .reviews-grid {
    gap: 20px;
  }
}

/* =========================
   PHOTO GALLERY - Masonry Style
========================= */

.photo-section {
  padding: var(--section-padding);
  background: #ffffff;
}

.photo-section.alt {
  background: var(--color-bg-section);
}

.photo-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}

.photo-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  margin: 20px auto 40px;
  border-radius: 2px;
}

.photo-section>p {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  cursor: pointer;
  filter: brightness(0.95);
}

.photo-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1);
  box-shadow: var(--shadow-elevated);
}

.photo-grid.tall img {
  height: 450px;
}

@media (max-width: 768px) {
  .photo-section {
    padding: var(--section-padding-mobile);
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid.tall img {
    height: 300px;
  }
}

/* =========================
   PREMIUM CARDS - For Rooms & Attractions
========================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  padding: 0 8%;
  margin-bottom: 80px;
}

.premium-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-elevated);
}

.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.premium-card:hover .card-image img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  color: var(--color-accent);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 25px;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.card-link i {
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: var(--color-accent);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* =========================
   DETAIL PAGE SPECIFIC
========================= */

.detail-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.detail-header {
  padding: 80px 8%;
  background: #ffffff;
}

.detail-container {
  max-width: 1200px;
  margin: 0 auto;
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding: 0 8% 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-grid img:hover {
  filter: brightness(1.1);
}

.gallery-grid .main-img {
  grid-column: span 2;
  height: 500px;
}

@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .main-img {
    grid-column: span 1;
    height: 350px;
  }
}

/* Gallery Mosaic Layout */
.photo-grid.mosaic {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
}

.photo-grid.mosaic img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}

@media (max-width: 768px) {
  .photo-section {
    padding: var(--section-padding-mobile);
  }

  .photo-grid.tall img {
    height: 260px;
  }

  .photo-grid.mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .photo-grid.mosaic img:first-child {
    grid-column: span 1;
    grid-row: span 1;
    height: 260px;
  }
}

/* =========================
   CONTACT PAGE STYLES
========================= */

.contact {
  padding: var(--section-padding);
  background: var(--color-bg-section);
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 15px;
}

.contact p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.contact-buttons-section {
  padding: 60px 8%;
  background: #ffffff;
  text-align: center;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Form */
.contact-form {
  max-width: 550px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Map */
.map-container {
  max-width: 1000px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(30%);
  transition: var(--transition-smooth);
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

/* =========================
   FOOTER - Modern & Complete
========================= */

footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 8% 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-text-light);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-bottom a {
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: var(--color-text-light);
}

/* Simple Footer (for current pages) */
footer.simple {
  padding: 30px 8%;
  text-align: center;
}

footer.simple p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

footer.simple a {
  color: var(--color-accent);
}

footer.simple a:hover {
  color: var(--color-text-light);
}

/* =========================
   ANIMATIONS
========================= */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation */
.fade-in:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-in:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in:nth-child(3) {
  transition-delay: 0.3s;
}

/* Float Animation for decorative elements */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Pulse glow for CTAs */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.3);
  }

  50% {
    box-shadow: 0 8px 40px rgba(201, 169, 97, 0.5);
  }
}

.btn-primary.pulse {
  animation: pulseGlow 2s infinite;
}

/* =========================
   UTILITY CLASSES
========================= */

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent);
}

.bg-section {
  background: var(--color-bg-section);
}

.bg-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  max-width: 600px;
  margin: 30px auto;
}

/* =========================
   PAGE HEADER (for subpages)
========================= */

.page-header {
  padding: 140px 8% 80px;
  background: linear-gradient(135deg, var(--color-bg-dark), #2a2a2a);
  text-align: center;
  color: var(--color-text-light);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================
   LIGHTBOX GALLERY
========================= */

#lightbox {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: 90%;
  max-height: 85vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

#lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Indicatore immagine (opzionale) */
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
}

.gallery-grid img,
.card-image img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* =========================
   BREAKFAST GALLERY - 3D Photo Album Style
========================= */

.breakfast-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  perspective: 1200px;
  perspective-origin: 50% 100%;
}

.gallery-item {
  position: relative;
  width: 180px;
  height: 240px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-left: -30px;
  flex-shrink: 0;
}

.gallery-item:first-child {
  margin-left: 0;
}

/* Album book effect - 3D transform */
.gallery-item:nth-child(1) {
  transform: rotateY(-25deg) rotateX(5deg);
  z-index: 5;
}

.gallery-item:nth-child(2) {
  transform: rotateY(-15deg) rotateX(3deg);
  z-index: 4;
}

.gallery-item:nth-child(3) {
  transform: rotateY(-5deg) rotateX(2deg);
  z-index: 3;
}

.gallery-item:nth-child(4) {
  transform: rotateY(5deg) rotateX(2deg);
  z-index: 2;
}

.gallery-item:nth-child(5) {
  transform: rotateY(15deg) rotateX(3deg);
  z-index: 1;
}

/* Album cover styling */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px 12px 12px 4px;
  box-shadow:
    -3px 0 8px rgba(0, 0, 0, 0.15),
    0 15px 35px rgba(0, 0, 0, 0.25),
    0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

/* Album spine effect */
.gallery-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.1) 30%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(0, 0, 0, 0.05) 100%);
  border-radius: 4px 0 0 4px;
  z-index: 10;
  pointer-events: none;
}

/* Album pages effect (side) */
.gallery-item::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 5px;
  width: 8px;
  height: calc(100% - 10px);
  background: repeating-linear-gradient(to bottom,
      #f5f5f5 0px,
      #e8e8e8 1px,
      #f5f5f5 2px);
  border-radius: 2px 0 0 2px;
  transform: translateX(-8px);
  z-index: -1;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
}

/* Hover effects */
.gallery-item:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-20px) scale(1.08);
  z-index: 10 !important;
}

.gallery-item:hover img {
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Overlay with zoom icon */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.4), rgba(139, 115, 85, 0.5));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border-radius: 4px 12px 12px 4px;
  z-index: 5;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transform: scale(0.5) rotate(-10deg);
  transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-icon {
  transform: scale(1) rotate(0deg);
}

/* =========================
   GALLERY MODAL LIGHTBOX
========================= */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-bounce);
}

.gallery-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.modal-caption {
  margin-top: 20px;
  color: var(--color-text-light);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  text-align: center;
  opacity: 0.9;
}

.modal-counter {
  margin-top: 10px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-text-light);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  transform: rotate(90deg) scale(1.1);
  border-color: var(--color-accent);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-text-light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.modal-prev {
  left: 30px;
}

.modal-next {
  right: 30px;
}

.modal-nav:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

/* Mobile adjustments for gallery */
@media (max-width: 768px) {
  .breakfast-gallery {
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 10px 40px;
    perspective: none;
  }

  .gallery-item {
    width: 140px;
    height: 180px;
    margin-left: 0;
    transform: rotateY(0deg) rotateX(0deg) !important;
  }

  .gallery-item:hover {
    transform: translateY(-10px) scale(1.05) !important;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .modal-nav {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  .modal-content img {
    max-height: 60vh;
    border-radius: var(--radius-md);
  }

  .modal-caption {
    font-size: 1rem;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .breakfast-gallery {
    gap: 10px;
  }

  .gallery-item {
    width: 100px;
    height: 130px;
  }

  .gallery-icon {
    font-size: 1.2rem;
  }
}