/* ==========================================================================
   DESIGN SYSTEM - FUORI DAL BORGO AFFITTACAMERE
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Color Palette - Ispirazione Campagna Molisana e Uliveti (Lusso Rurale) */
  --primary: #2d3b2e;        /* Verde Oliva Profondo */
  --primary-light: #445946;  /* Verde Foglia */
  --accent: #c29b69;         /* Oro Antico Biglietto da Visita */
  --accent-hover: #ad834f;   /* Oro Scuro */
  --bg-light: #fbf9f6;       /* Avorio Naturale / Caldo */
  --bg-card: #ffffff;        /* Bianco Puro per Card */
  --text-dark: #212921;      /* Grigio Oliva Antracite */
  --text-muted: #5c665b;     /* Grigio Salvia */
  --border-light: #e8e2d8;   /* Bordo Neutro Caldo */
  --white: #ffffff;

  /* Typography */
  --font-headings: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(45, 59, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(45, 59, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(45, 59, 46, 0.12);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg-alt {
  background-color: #f3eee6;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: var(--radius-pill);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 0.95rem;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(194, 155, 105, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 155, 105, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Floating Action Button for Booking */
.floating-booking {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 155, 105, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(194, 155, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(194, 155, 105, 0);
  }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-normal);
  padding: 20px 0;
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(45, 59, 46, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Modifiche Header per Pagine Interne */
body.inner-page .header {
  background-color: var(--primary);
  position: sticky;
  padding: 15px 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(45, 59, 46, 0.3) 0%,
    rgba(45, 59, 46, 0.55) 100%
  );
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: zoom-out 20s infinite alternate;
}

@keyframes zoom-out {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards var(--transition-slow);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.2s forwards var(--transition-slow);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.4s forwards var(--transition-slow);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ABOUT / CHI SIAMO
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
  white-space: pre-line;
}

.about-signature {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.25) contrast(1.05) brightness(0.95);
  transition: var(--transition-normal);
}

.about-img-wrapper:hover img {
  filter: sepia(0) contrast(1) brightness(1);
}

/* ==========================================================================
   HIGHLIGHTS / PUNTI DI FORZA
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.highlight-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.highlight-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(194, 155, 105, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px auto;
  transition: var(--transition-normal);
}

.highlight-card:hover .highlight-icon-box {
  background-color: var(--accent);
  color: var(--white);
}

.highlight-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   ROOMS PREVIEW & ARCHIVE
   ========================================================================== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.room-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.room-img-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.room-card:hover .room-img {
  transform: scale(1.08);
}

.room-price-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: var(--primary);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 500;
}

.room-price-tag span {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.room-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.room-card:hover .room-content h3 {
  color: var(--accent);
}

.room-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.room-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 24px;
}

.room-feature-tag {
  background-color: var(--bg-light);
  color: var(--primary);
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */

/* Score card orizzontale */
.review-score-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #3a5040 100%);
  color: var(--white);
  padding: 50px 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 750px;
  margin: 0 auto 40px auto;
  border: 1px solid rgba(197, 160, 89, 0.3);
  position: relative;
  overflow: hidden;
}

/* Decorazione geometrica di sfondo */
.review-score-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.08);
  pointer-events: none;
}

/* Badge con il voto numerico */
.review-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
}

.score-value {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.score-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Testo descrittivo accanto al punteggio */
.review-info h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.review-info p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Bottone piattaforma (dentro la score card) */
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent);
  background-color: transparent;
  color: var(--accent);
  transition: var(--transition-normal);
  text-decoration: none;
  margin-top: 20px;
  align-self: flex-start;
}

.platform-btn i {
  font-size: 1rem;
  color: var(--accent);
}

.platform-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.35);
}

.platform-btn:hover i {
  color: var(--white);
}

/* Responsive review score card */
@media (max-width: 600px) {
  .review-score-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }
}

/* ==========================================================================
   PAGE HEADERS (Pagine Interne)
   ========================================================================== */
.page-hero {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  background-image: linear-gradient(rgba(45, 59, 46, 0.85), rgba(45, 59, 46, 0.95)), url('/images/home_page.webp');
  background-size: cover;
  background-position: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-breadcrumbs {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumbs li::after {
  content: '/';
  margin: 0 10px;
}

.page-breadcrumbs li:last-child::after {
  display: none;
}

.page-breadcrumbs a:hover {
  color: var(--accent);
}

/* ==========================================================================
   CONTACT PAGE & INTEGRATION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.contact-info-list {
  list-style: none;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(194, 155, 105, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-content p, .contact-info-content a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info-content a:hover {
  color: var(--accent);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-panel {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-form-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(194, 155, 105, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 30px 0;
  border-top: 5px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  font-size: 1.1rem;
}

.social-btn:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-menu a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-info i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  .hamburger {
    display: block;
    z-index: 101;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    color: var(--white);
  }

  .highlights-grid, .rooms-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-about {
    grid-column: span 1;
  }

  .floating-booking {
    bottom: 20px;
    right: 20px;
    left: 20px;
    width: calc(100% - 40px);
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

/* Gallery styling */
.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 16px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.room-gallery h3 {
  margin-top: 24px;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Gallery clickable cursor */
.gallery-grid img {
  cursor: pointer;
}

/* ==========================================================================
   LIGHTBOX OVERLAY
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10000;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 10000;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--accent);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 600px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 16px; right: 18px; font-size: 2rem; }
}


