/* ============================================
   ChiaviDiCasa.it - Main Stylesheet
   Modern, warm, Italian hospitality aesthetic
   ============================================ */

:root {
  --primary: #2c5f2e;
  --primary-light: #4a8c4d;
  --primary-dark: #1a3d1c;
  --accent: #d4a017;
  --accent-light: #f0c040;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #8888aa;
  --bg-light: #f8f9fa;
  --bg-warm: #fdf8f0;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
p { color: var(--text-mid); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: var(--primary);
}
.navbar-brand .key-icon { font-size: 1.6rem; }
.navbar-brand span { color: var(--accent); }
/* Logo SVG nella navbar */
.navbar-logo {
  height: 42px;
  width: auto;
  display: block;
}
/* Date display fields (autocompilati dal calendario) */
.date-display {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
  user-select: none;
}
.date-display:hover {
  border-color: var(--primary) !important;
  background: #f0fff4 !important;
}
.navbar-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.navbar-nav a {
  font-weight: 500; color: var(--text-dark); font-size: 0.95rem;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--primary); border-bottom-color: var(--primary);
}
.navbar-cta {
  background: var(--primary); color: var(--white) !important;
  padding: 0.5rem 1.2rem !important; border-radius: 25px !important;
  border-bottom: none !important;
}
.navbar-cta:hover { background: var(--primary-light) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 2px; background: var(--text-dark); transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1600&q=80') center/cover;
  opacity: 0.15;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-block;
  background: rgba(212,160,23,0.2); border: 1px solid var(--accent);
  color: var(--accent-light); padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--accent-light); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: var(--text-dark);
  padding: 0.9rem 2rem; border-radius: 30px; font-weight: 700;
  font-size: 1rem; border: none; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,160,23,0.4); color: var(--text-dark); }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 0.9rem 2rem; border-radius: 30px; font-weight: 600;
  font-size: 1rem; border: 2px solid rgba(255,255,255,0.5); cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-green {
  background: var(--primary); color: var(--white);
  padding: 0.9rem 2rem; border-radius: 30px; font-weight: 700;
  font-size: 1rem; border: none; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-green:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(44,95,46,0.4); color: var(--white); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.85rem; text-align: center;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }

/* ---- SECTIONS ---- */
section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .label {
  display: inline-block; color: var(--primary); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-header h2 { color: var(--text-dark); margin-bottom: 1rem; }
.section-header p { color: var(--text-mid); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* ---- PROPERTY CARDS ---- */
.properties-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.property-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); border: 1px solid var(--border);
  position: relative;
}
/* Scheda interamente cliccabile: il link copre tutta la scheda, mentre
   i pulsanti nel piè di scheda restano cliccabili singolarmente. */
.property-card-link {
  position: absolute; inset: 0; z-index: 1;
  border-radius: var(--radius-lg);
}
.property-card-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.property-card-footer { position: relative; z-index: 2; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.property-card-img {
  width: 100%; height: 260px; object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-card-img { transform: scale(1.05); }
.property-card-img-wrap { overflow: hidden; position: relative; }
.property-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--primary); color: var(--white);
  padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.property-badge.coming-soon { background: var(--text-light); }
.property-card-body { padding: 1.5rem; }
.property-card-body h3 { color: var(--text-dark); margin-bottom: 0.5rem; }
.property-card-body .location { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.3rem; }
.property-features { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.property-feature { font-size: 0.85rem; color: var(--text-mid); display: flex; align-items: center; gap: 0.3rem; }
.property-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.property-price span { font-size: 0.85rem; font-weight: 400; color: var(--text-light); }
.property-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

/* ---- AMENITIES ---- */
.amenities-section { background: var(--bg-warm); }
.amenities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem; max-width: 1000px; margin: 0 auto;
}
.amenity-item {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.amenity-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.amenity-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.amenity-item p { font-size: 0.9rem; color: var(--text-mid); font-weight: 500; }

/* ---- LOCATION ---- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.location-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.location-point {
  background: var(--bg-light); border-radius: var(--radius);
  padding: 1rem; display: flex; align-items: center; gap: 0.8rem;
}
.location-point .icon { font-size: 1.5rem; }
.location-point .info strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.location-point .info span { font-size: 0.8rem; color: var(--text-light); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 400px; border: none; }

/* ---- GALLERY ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem; max-width: 1100px; margin: 0 auto;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; min-height: 200px; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---- BOOKING WIDGET ---- */
.booking-widget {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover); padding: 2rem;
  border: 1px solid var(--border);
}
.booking-widget h3 { color: var(--text-dark); margin-bottom: 1.5rem; font-size: 1.3rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-control {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--text-dark);
  background: var(--white); transition: var(--transition);
  font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44,95,46,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.price-summary {
  background: var(--bg-warm); border-radius: var(--radius);
  padding: 1.2rem; margin: 1.2rem 0;
}
.price-row { display: flex; justify-content: space-between; padding: 0.3rem 0; font-size: 0.9rem; color: var(--text-mid); }
.price-row.total { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); border-top: 1px solid var(--border); padding-top: 0.8rem; margin-top: 0.5rem; }
.availability-badge {
  padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
  text-align: center; margin-bottom: 1rem;
}
.available { background: #e8f5e9; color: #2e7d32; }
.unavailable { background: #ffebee; color: #c62828; }

/* ---- CALENDAR ---- */
.calendar-container { max-width: 700px; margin: 0 auto; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.calendar-nav { background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: 0.4rem 0.8rem; cursor: pointer; font-size: 1rem; transition: var(--transition); }
.calendar-nav:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.calendar-month { font-weight: 700; font-size: 1.1rem; color: var(--text-dark); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-day-name { text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--text-light); padding: 0.5rem 0; }
.calendar-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 0.9rem; cursor: pointer;
  transition: var(--transition); position: relative;
}
.calendar-day:hover:not(.blocked):not(.past) { background: var(--primary); color: var(--white); }
.calendar-day.blocked { background: #ffebee; color: #c62828; cursor: not-allowed; text-decoration: line-through; }
.calendar-day.past { color: var(--text-light); cursor: not-allowed; }
.calendar-day.selected { background: var(--primary); color: var(--white); }
.calendar-day.in-range { background: rgba(44,95,46,0.15); color: var(--primary); }
.calendar-day.today { font-weight: 700; border: 2px solid var(--primary); }

/* Prezzo nel giorno del calendario pubblico */
.calendar-day {
  flex-direction: column;
  min-height: 44px;
  padding: 2px 0;
}
.cal-day-num {
  font-weight: 600;
  line-height: 1.2;
  font-size: 0.85rem;
}
.cal-day-price {
  font-size: 0.58rem;
  color: #16a34a;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
  white-space: nowrap;
}
.calendar-day.selected .cal-day-price,
.calendar-day.in-range .cal-day-price {
  color: rgba(255,255,255,0.9);
}
.calendar-day.blocked .cal-day-price,
.calendar-day.past .cal-day-price {
  display: none;
}
.calendar-legend { display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-mid); }
.legend-dot { width: 14px; height: 14px; border-radius: 4px; }

/* ---- PAYMENT METHODS ---- */
.payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1rem 0; }
.payment-method {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1rem; text-align: center; cursor: pointer;
  transition: var(--transition);
}
.payment-method:hover { border-color: var(--primary); }
.payment-method.selected { border-color: var(--primary); background: rgba(44,95,46,0.05); }
.payment-method input[type="radio"] { display: none; }
.payment-method .pm-icon { font-size: 1.8rem; margin-bottom: 0.3rem; }
.payment-method .pm-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.payment-method .pm-desc { font-size: 0.75rem; color: var(--text-light); }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial-text { color: var(--text-mid); font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-date { font-size: 0.8rem; color: var(--text-light); }

/* ---- CONTACT / CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white); text-align: center; padding: 5rem 2rem;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }
.contact-methods { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.contact-method {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 1.2rem 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--white); transition: var(--transition);
}
.contact-method:hover { background: rgba(255,255,255,0.2); color: var(--white); transform: translateY(-2px); }
.contact-method .icon { font-size: 1.5rem; }
.contact-method .info strong { display: block; font-size: 0.85rem; opacity: 0.8; }
.contact-method .info span { font-size: 1rem; font-weight: 600; }

/* ---- FOOTER ---- */
footer {
  background: var(--text-dark); color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto 2rem; }
.footer-brand { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 0.8rem; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-cin { font-size: 0.8rem; opacity: 0.6; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; max-width: 1100px; margin: 0 auto; }

/* ---- ALERTS ---- */
.alert { padding: 1rem 1.5rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.95rem; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.alert-warning { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }

/* ---- ADMIN ---- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--text-dark); color: var(--white);
  padding: 2rem 0; position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; z-index: 100;
}
.admin-sidebar .brand { padding: 0 1.5rem 2rem; font-size: 1.2rem; font-weight: 800; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .brand span { color: var(--accent); }
.admin-nav { padding: 1rem 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.5rem; color: rgba(255,255,255,0.7);
  font-size: 0.95rem; transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-nav a .nav-icon { font-size: 1.1rem; width: 20px; }
.admin-main { margin-left: 260px; flex: 1; background: var(--bg-light); min-height: 100vh; }
.admin-topbar { background: var(--white); padding: 1rem 2rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.admin-topbar h1 { font-size: 1.3rem; color: var(--text-dark); }
.admin-content { padding: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 0.3rem; }
.stat-card .stat-icon { font-size: 1.5rem; float: right; opacity: 0.3; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--bg-light); padding: 0.8rem 1rem; text-align: left; font-size: 0.85rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-light); }
.status-badge { padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-pending { background: #fff8e1; color: #f57f17; }
.status-cancelled { background: #ffebee; color: #c62828; }
.status-pending_payment { background: #e3f2fd; color: #1565c0; }

/* ---- CONFIRMATION PAGE ---- */
.confirmation-card {
  max-width: 600px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover); overflow: hidden;
}
.confirmation-header { background: var(--primary); color: var(--white); padding: 2.5rem; text-align: center; }
.confirmation-header .check-icon { font-size: 3rem; margin-bottom: 1rem; }
.confirmation-body { padding: 2rem; }
.booking-detail-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.booking-detail-row:last-child { border-bottom: none; }
.booking-detail-row .label { color: var(--text-light); font-size: 0.9rem; }
.booking-detail-row .value { font-weight: 600; color: var(--text-dark); }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-nav { padding-top: 70px; }
.bg-light { background: var(--bg-light); }
.bg-warm { background: var(--bg-warm); }
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.tag { display: inline-block; background: rgba(44,95,46,0.1); color: var(--primary); padding: 0.2rem 0.7rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin: 0.2rem; }
.discount-badge { background: #e8f5e9; color: #2e7d32; padding: 0.5rem 1rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: #25d366; color: var(--white); width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: #20ba5a; color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow); gap: 0; }
  .navbar-nav.open { display: flex; }
  .navbar-nav li { width: 100%; }
  .navbar-nav a { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); display: block; }
  .hamburger { display: flex; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .location-grid { grid-template-columns: 1fr; }
  .location-points { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { width: 100%; position: relative; }
  .admin-main { margin-left: 0; }
  .admin-layout { flex-direction: column; }
  .contact-methods { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  section { padding: 3rem 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .properties-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- ANIMATIONS ---- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- LIGHTBOX ---- */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; color: var(--white); font-size: 2rem; cursor: pointer; background: none; border: none; }
