/* ===== v5 FIX: hamburger visible on mobile, hidden on desktop ===== */
/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6c63ff;
  --primary-dark: #5a52d5;
  --primary-light: #8b85ff;
  --secondary: #ff6584;
  --accent: #ffc164;
  --text-dark: #1a1a2e;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f8f9fe;
  --bg-gray: #f3f4f6;
  --bg-dark: #1a1a2e;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-search {
  background: var(--secondary);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
}

.btn-search:hover {
  background: #e55a76;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 101, 132, 0.35);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo i {
  color: var(--primary);
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== DROPDOWN MENU (3-line right corner) ===== */
.menu-dropdown-wrapper {
  position: relative;
  display: block;
  margin-left: 12px;
}

.menu-trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px 10px;
  transition: var(--transition);
}

.menu-trigger:hover {
  border-color: var(--primary);
}

.menu-trigger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 3000;
  overflow: hidden;
}

.menu-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.menu-item i {
  width: 18px;
  text-align: center;
  color: var(--text-gray);
  font-size: 1rem;
}

.menu-item:hover i {
  color: var(--primary);
}

/* Keep menu-dropdown-wrapper visible on desktop */

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 2000;
  padding: 32px 24px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transition: right 0.35s ease;
}

.mobile-menu.open {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu ul {
  margin-top: 48px;
}

.mobile-menu ul li {
  margin-bottom: 8px;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu ul li a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.mobile-actions .btn {
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 101, 132, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.2); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  text-align: center;
  color: #fff;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Search Box */
.search-box {
  max-width: 800px;
  margin: 0 auto 48px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px;
}

.search-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-tab:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.search-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.search-form {
  display: flex;
  gap: 0;
  padding: 8px;
  align-items: stretch;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
}

.search-field input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
  font-family: var(--font);
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-field input:focus {
  outline: none;
}

.search-field select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
  font-family: var(--font);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 16px;
}

.search-field select option {
  background: var(--text-dark);
  color: #fff;
}

.search-field select:focus {
  outline: none;
}

.search-field select:hover {
  color: #fff;
}

.search-field input[type="date"] {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
  font-family: var(--font);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6);
  cursor: pointer;
}

.search-field input[type="date"]::-webkit-datetime-edit {
  color: rgba(255, 255, 255, 0.6);
}

.search-field input[type="date"]:focus {
  outline: none;
}

.search-field input[type="date"]:valid {
  color: #fff;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
}

.no-results i {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.no-results p {
  font-size: 1rem;
  color: var(--text-gray);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.stat-number .suffix {
  font-size: 1.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 100px 0;
  background: var(--bg-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .card-icon {
  background: var(--primary);
  color: #fff;
}

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ===== FEATURED LISTINGS ===== */
.featured {
  padding: 100px 0;
  background: var(--bg-white);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.property-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card-img img {
  transform: scale(1.08);
}

.property-card-img .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.card-badge.popular {
  background: var(--secondary);
}

.card-badge.new {
  background: var(--accent);
  color: var(--text-dark);
}

.card-badge.featured {
  background: var(--primary);
}

.card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: var(--transition);
}

.card-wishlist:hover {
  background: #fff;
  color: var(--secondary);
}

.property-card-body {
  padding: 20px;
}

.property-card-body .card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #d97706;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.property-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.property-card-body .card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.property-card-body .card-location i {
  font-size: 0.8rem;
}

.card-details {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-bottom: 12px;
}

.card-details span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.card-details i {
  font-size: 0.8rem;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-price .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.card-price .night {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.section-cta {
  text-align: center;
}

/* ===== DESTINATIONS ===== */
.destinations {
  padding: 100px 0;
  background: var(--bg-light);
}

.destinations-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  cursor: pointer;
}

.dest-large {
  grid-row: span 2;
  min-height: 496px;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover img {
  transform: scale(1.08);
}

.dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}

.dest-overlay h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dest-overlay p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-white);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(108, 99, 255, 0.06);
  line-height: 1;
  z-index: 0;
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 1.6rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step:hover .step-icon {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.3);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
  font-size: 1.5rem;
  color: var(--border);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: none;
  animation: fadeSlideIn 0.5s ease;
}

.testimonial-card.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-card > p {
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--primary);
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.newsletter-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-content p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
}

.newsletter-form .btn {
  background: var(--text-dark);
  border-color: var(--text-dark);
  white-space: nowrap;
}

.newsletter-form .btn:hover {
  background: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== LEGAL BUTTONS SECTION ===== */
.legal-buttons-section {
  padding: 48px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.legal-buttons-wrap {
  text-align: center;
}

.legal-buttons-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.legal-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-btn {
  min-width: 210px;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 0;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: block;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 450px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
  opacity: 1;
}

.footer-bottom-links .footer-policy-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 1;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links .footer-policy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-light);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .destinations-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .dest-large {
    grid-column: span 2;
    min-height: 320px;
  }
}

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .hamburger {
    display: flex;
  }

  .search-form {
    flex-direction: column;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .search-field:last-of-type {
    border-bottom: none;
  }

  .steps {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn span {
    display: none;
  }
  .nav-actions .btn {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .nav-actions .btn i {
    font-size: 1.1rem;
    margin: 0;
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .dest-large {
    grid-column: span 1;
    min-height: 240px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* ===== PROPERTY DETAIL MODAL ===== */
.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.detail-overlay.active {
  opacity: 1;
  visibility: visible;
}

.detail-modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s ease;
  position: relative;
}

.detail-overlay.active .detail-modal {
  transform: translateY(0) scale(1);
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-close:hover {
  background: #fff;
  transform: scale(1.1);
}

.detail-gallery {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body {
  padding: 28px 32px 32px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.detail-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.detail-location i {
  color: var(--primary);
  font-size: 0.85rem;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #d97706;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.detail-rating i {
  font-size: 0.85rem;
}

.detail-rating span {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.detail-amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-gray);
  font-weight: 500;
}

.amenity i {
  color: var(--primary);
  width: 16px;
  text-align: center;
  font-size: 0.95rem;
}

.detail-description {
  margin-bottom: 24px;
}

.detail-description h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.detail-description p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 10px;
}

.detail-price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.detail-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.detail-night {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-left: 4px;
}

.detail-price-section .btn {
  padding: 14px 36px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .detail-amenities {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-header {
    flex-direction: column;
  }

  .detail-gallery {
    height: 220px;
  }

  .detail-modal {
    max-height: 95vh;
  }

  .detail-body {
    padding: 20px;
  }

  .detail-price-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .detail-price-section .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .search-box {
    border-radius: 16px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
