/* ===========================
   AFH HOMES - GLOBAL STYLES
   =========================== */

:root {
  --primary: #3B7D8A;
  --primary-dark: #2a5f6a;
  --primary-light: #e8f4f7;
  --secondary: #6BAE8E;
  --secondary-dark: #4d8f71;
  --accent: #D4A06A;
  --accent-light: #fdf3e7;
  --text-dark: #2c3e50;
  --text-mid: #5a6d7e;
  --text-light: #8a9bb0;
  --bg-light: #f8fafb;
  --bg-warm: #fdf9f5;
  --white: #ffffff;
  --border: #e2e8ee;
  --success: #4CAF50;
  --warning: #FF9800;
  --danger: #f44336;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 2px;
  margin-bottom: 20px;
}

.text-center .accent-line {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,125,138,0.35);
}

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

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

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

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

.btn-green {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-green:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Transparent navbar — white logo & links */
.navbar:not(.scrolled) .logo-main {
  color: var(--white);
}

.navbar:not(.scrolled) .logo-sub {
  color: rgba(255,255,255,0.7);
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.88);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.navbar:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.22) !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.55) !important;
}

.navbar:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.35) !important;
}

.navbar:not(.scrolled) .nav-login-btn {
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.navbar:not(.scrolled) .nav-login-btn:hover {
  background: rgba(255,255,255,0.35);
  border-color: var(--white);
}

.navbar:not(.scrolled) .nav-logout-btn {
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.55);
}

.navbar:not(.scrolled) .nav-logout-btn:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.navbar:not(.scrolled) .nav-user-name {
  color: rgba(255,255,255,0.88);
}

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}

.nav-logo .logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-logo .logo-sub {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-user-area {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-user-name {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}

.nav-logout-btn,
.nav-login-btn {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--primary);
  font-family: 'Lato', Arial, sans-serif;
  transition: all 0.2s;
}

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

.nav-login-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.nav-logout-btn {
  background: transparent;
  color: var(--primary);
}

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

.nav-dashboard-link {
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--secondary);
  color: var(--white);
  transition: all 0.2s;
}

.nav-dashboard-link:hover {
  background: var(--secondary-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  flex-shrink: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 69px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: 16px 24px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s;
  margin-bottom: 4px;
}

.mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu-auth {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a6070;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 16:9 ratio — make it large enough to always cover */
  width: 177.78vh;  /* 16/9 * 100vh */
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw; /* 9/16 * 100vw */
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(30,110,130,0.55) 0%, rgba(55,150,120,0.42) 60%, rgba(180,140,80,0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 140px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.22), 0 1px 6px rgba(0,0,0,0.15);
  max-width: 700px;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.96);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===========================
   TRUST BAR
   =========================== */

.trust-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-light);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.trust-item i {
  color: var(--secondary);
  font-size: 1rem;
}

/* ===========================
   MISSION SECTION
   =========================== */

.mission {
  background: var(--bg-warm);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mission-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Mission Slideshow */
.mission-slideshow {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.mission-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.mission-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.mission-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  color: var(--primary);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
}

.slideshow-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-prev { left: 12px; }
.slideshow-next { right: 12px; }

.slideshow-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  display: inline-block;
}

.slideshow-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.mission-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.mission-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 0.95rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ===========================
   SERVICES GRID
   =========================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), #d0eaf2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ===========================
   PROPERTIES SECTION
   =========================== */

.properties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.property-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.property-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.75;
  margin-bottom: 8px;
}

.property-header h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 4px;
}

.property-header .location {
  font-size: 0.9rem;
  opacity: 0.85;
}

.property-body {
  padding: 24px 28px;
}

.property-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-green {
  background: #e8f5ee;
  color: var(--secondary-dark);
}

.badge-amber {
  background: var(--accent-light);
  color: #b07a3a;
}

.property-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.property-features li i {
  color: var(--secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===========================
   WHO WE SERVE
   =========================== */

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.serve-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.serve-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.serve-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e8f5ee, #d4f0e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--secondary-dark);
}

.serve-card h3 {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}

.serve-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ===========================
   CTA BANNER
   =========================== */

.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   BOOKING FORM
   =========================== */

.booking-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.booking-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.booking-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
}

.booking-section {
  background: var(--bg-light);
  padding: 60px 0 80px;
}

.booking-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.booking-type-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  background: var(--bg-light);
  padding: 6px;
  border-radius: 50px;
}

.type-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Lato', Arial, sans-serif;
}

.type-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(59,125,138,0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.auth-notice {
  background: var(--accent-light);
  border: 1px solid #e8c99a;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #7a5520;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-notice i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 12px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,125,138,0.35);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.booking-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.booking-success .success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
}

.booking-success h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.booking-success p {
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.form-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 8px;
  display: none;
}

/* ===========================
   CONTACT PAGE
   =========================== */

.contact-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.contact-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-card-header {
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.contact-card-header h3 {
  font-size: 1.3rem;
  color: var(--white);
}

.contact-card-body {
  padding: 24px 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item .info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item .info-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.inquiry-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */

.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--primary-light) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===========================
   ABOUT PAGE HERO
   =========================== */

.about-page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary-dark) 100%) !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

.about-page-hero::before {
  content: '';
  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.04'%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");
  pointer-events: none;
}

.about-page-hero .container {
  position: relative;
  z-index: 1;
}

.about-page-hero h1 {
  color: transparent !important;
  -webkit-text-stroke: 2.5px #ffffff;
  text-stroke: 2.5px #ffffff;
  font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
  text-shadow: none !important;
  letter-spacing: -0.5px;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.18));
}

.about-page-hero p {
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

/* ===========================
   ABOUT PAGE
   =========================== */

.about-story {
  background: var(--bg-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.about-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-quote {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 24px;
}

.about-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary-dark);
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===========================
   MY BOOKINGS PAGE
   =========================== */

.my-bookings-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--bg-light);
}

.bookings-header {
  margin-bottom: 36px;
}

.bookings-header h1 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.bookings-header p {
  color: var(--text-mid);
}

.booking-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.booking-item-details h3 {
  font-size: 1.1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.booking-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

.booking-item-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.booking-item-meta i {
  color: var(--primary);
}

.status-badge {
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-pending { background: #fff3e0; color: #e65100; }
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-cancelled { background: #ffebee; color: #c62828; }

/* ===========================
   ADMIN DASHBOARD
   =========================== */

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-light);
}

.admin-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--primary-dark) 0%, #1e3c4a 100%);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-logo .logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}

.admin-sidebar-logo .logo-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 3px;
}

.admin-nav {
  padding: 20px 16px;
  flex: 1;
}

.admin-nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  padding: 12px 12px 6px;
  margin-top: 8px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 4px;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.admin-nav a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.admin-nav a .nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  font-family: 'Lato', Arial, sans-serif;
  transition: all 0.2s;
}

.admin-logout-btn:hover {
  background: rgba(244,67,54,0.2);
  color: #ff8a80;
}

.admin-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.admin-topbar h2 {
  font-size: 1.3rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.admin-avatar {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-content {
  padding: 32px;
  flex: 1;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.summary-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.summary-icon.blue { background: var(--primary-light); color: var(--primary); }
.summary-icon.green { background: #e8f5ee; color: var(--secondary-dark); }
.summary-icon.amber { background: var(--accent-light); color: #b07a3a; }
.summary-icon.teal { background: #e0f7fa; color: #00838f; }

.summary-card .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  font-family: 'Lato', Arial, sans-serif;
}

.summary-card .label {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-top: 4px;
  font-weight: 500;
}

/* Admin Table */
.admin-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-table-header h3 {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-filter {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  cursor: pointer;
}

.admin-table-overflow {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th {
  background: var(--bg-light);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-mid);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  vertical-align: top;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--bg-light);
}

.admin-table .cell-name {
  font-weight: 700;
}

.admin-table .cell-sub {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 2px;
}

.status-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  background: var(--bg-light);
}

.status-select.status-pending { border-color: #FFB74D; color: #e65100; background: #fff8e1; }
.status-select.status-confirmed { border-color: #81C784; color: #2e7d32; background: #f1f8e9; }
.status-select.status-cancelled { border-color: #e57373; color: #c62828; background: #fce4ec; }

.notes-input {
  width: 100%;
  max-width: 200px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: 'Lato', Arial, sans-serif;
  background: var(--bg-light);
  resize: none;
}

.notes-input:focus {
  outline: none;
  border-color: var(--primary);
}

.save-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', Arial, sans-serif;
  margin-top: 5px;
  transition: background 0.2s;
}

.save-btn:hover { background: var(--primary-dark); }

/* Availability Manager */
.availability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.avail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.avail-card h3 {
  font-size: 1.1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.avail-form-group {
  margin-bottom: 16px;
}

.avail-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.avail-form-group input,
.avail-form-group select,
.avail-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Lato', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.avail-form-group input:focus,
.avail-form-group select:focus,
.avail-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child { border-bottom: none; }

.toggle-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ccc;
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-switch .slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .slider {
  background: var(--secondary);
}

.toggle-switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Settings Page */
.settings-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
  margin-bottom: 24px;
}

.settings-card h3 {
  font-size: 1.1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.settings-form-group {
  margin-bottom: 16px;
}

.settings-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.settings-form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Lato', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.settings-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.settings-save-btn {
  padding: 11px 28px;
  border: none;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.settings-save-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.settings-msg {
  font-size: 0.875rem;
  margin-top: 10px;
  font-weight: 600;
}

/* Admin Login */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3c4a 100%);
  padding: 24px;
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-logo {
  margin-bottom: 28px;
}

.login-logo .logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--white);
}

.login-logo h1 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.login-logo p {
  font-size: 0.875rem;
  color: var(--text-mid);
}

.login-form .form-group {
  text-align: left;
  margin-bottom: 16px;
}

.login-form .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.login-form .form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Lato', Arial, sans-serif;
  background: var(--bg-light);
  transition: border-color 0.2s;
}

.login-form .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.login-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-bottom: 12px;
  display: none;
  text-align: left;
  background: #ffebee;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--danger);
}

.login-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 4px;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,125,138,0.35);
}

.admin-only-notice {
  display: none;
  text-align: center;
  padding: 60px 24px;
}

.admin-only-notice h2 {
  color: var(--danger);
  margin-bottom: 12px;
}

/* ===========================
   MODAL / AUTH
   =========================== */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-mid);
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.modal-logo {
  text-align: center;
  margin-bottom: 28px;
}

.modal-logo h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.modal-logo p {
  font-size: 0.875rem;
  color: var(--text-mid);
}

.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.modal-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.modal-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.modal-form-group {
  margin-bottom: 14px;
}

.modal-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Lato', Arial, sans-serif;
  background: var(--bg-light);
  transition: border-color 0.2s;
}

.modal-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.modal-submit-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 4px;
}

.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,125,138,0.35);
}

.modal-error {
  color: var(--danger);
  font-size: 0.875rem;
  margin-bottom: 10px;
  display: none;
  padding: 8px 12px;
  background: #ffebee;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--danger);
}

.modal-forgot {
  text-align: center;
  margin-top: 12px;
}

.modal-forgot a {
  font-size: 0.85rem;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
}

.modal-verify-msg {
  display: none;
  text-align: center;
  padding: 16px 0;
}

.modal-verify-msg p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.modal-verify-msg a {
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.875rem;
}

.spam-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 8px;
  text-align: center;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: #1e3040;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}

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

.footer-brand .name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item .fc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.footer-contact-item .fc-value {
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
}

/* ===========================
   EMPTY STATE
   =========================== */

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 16px;
}

.empty-state p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.loading-state {
  text-align: center;
  padding: 40px;
  color: var(--text-mid);
}

.loading-state i {
  font-size: 1.5rem;
  animation: spin 1s linear infinite;
  margin-bottom: 8px;
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===========================
   PHOTO GALLERY
   =========================== */

.home-gallery {
  margin-top: 48px;
}

.home-gallery-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.home-gallery-label .accent-line {
  margin-bottom: 0;
  flex-shrink: 0;
}

.home-gallery-label h3 {
  font-size: 1.15rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-grid .gal-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--bg-light);
}

.gallery-grid .gal-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-grid .gal-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-grid .gal-item:hover img {
  transform: scale(1.04);
}

.gallery-grid .gal-item.gal-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid .gal-item.gal-featured img {
  height: 100%;
  min-height: 372px;
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 95, 106, 0);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-overlay i {
  color: var(--white);
  font-size: 1.6rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gal-item:hover .gal-overlay {
  background: rgba(43, 95, 106, 0.35);
}

.gal-item:hover .gal-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gal-lightbox.open {
  display: flex;
}

.gal-lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
}

.gal-lightbox-inner img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

.gal-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 3001;
}

.gal-lb-close:hover {
  background: rgba(255,255,255,0.28);
}

.gal-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 3001;
}

.gal-lb-nav:hover {
  background: rgba(255,255,255,0.28);
}

.gal-lb-prev { left: 16px; }
.gal-lb-next { right: 16px; }

.gal-lb-caption {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid .gal-item.gal-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-grid .gal-item.gal-featured img {
    min-height: 200px;
    height: 200px;
  }
  .gallery-grid .gal-item img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-grid .gal-item img {
    height: 120px;
  }
  .gallery-grid .gal-item.gal-featured img {
    height: 160px;
  }
}

/* ===========================
   INSIDE OUR HOMES SECTION
   =========================== */

.inside-homes-section {
  background: #0f2230;
  padding-bottom: 0;
  overflow: hidden;
}

/* Header */
.inside-homes-header {
  padding: 72px 0 48px;
  background: linear-gradient(160deg, #0f2230 0%, #1a3347 100%);
}

.inside-homes-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.inside-homes-header-text {
  max-width: 600px;
}

.inside-homes-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 174, 142, 0.18);
  border: 1px solid rgba(107, 174, 142, 0.35);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.inside-homes-header-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.inside-homes-header-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 520px;
}

.inside-homes-cta-btn {
  border-color: rgba(255,255,255,0.3) !important;
  color: rgba(255,255,255,0.85) !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.inside-homes-cta-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Filter Tabs */
.inside-homes-tabs-bar {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0;
  position: sticky;
  top: 68px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.inside-homes-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.inside-homes-tabs::-webkit-scrollbar {
  display: none;
}

.iht-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 16px 22px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.iht-btn i {
  font-size: 0.85rem;
}

.iht-btn:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
}

.iht-btn.active {
  color: var(--white);
  border-bottom-color: var(--secondary);
  background: rgba(107,174,142,0.08);
}

/* Mosaic Grid */
.inside-homes-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 260px;
  gap: 3px;
  margin-top: 3px;
}

.ihm-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1a2f3f;
}

.ihm-tile--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.ihm-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.88);
}

.ihm-tile:hover img {
  transform: scale(1.07);
  filter: brightness(0.75);
}

/* Tile Info overlay */
.ihm-tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(transparent 0%, rgba(10, 25, 40, 0.92) 100%);
  transform: translateY(40%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ihm-tile--hero .ihm-tile-info {
  padding: 48px 28px 24px;
}

.ihm-tile:hover .ihm-tile-info {
  transform: translateY(0);
}

.ihm-tile-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.ihm-tile--hero .ihm-tile-label {
  font-size: 1.1rem;
}

.ihm-tile-label i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.ihm-tile-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.ihm-tile--hero .ihm-tile-desc {
  font-size: 0.9rem;
}

.ihm-tile:hover .ihm-tile-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Always-visible label on non-hovered tiles */
.ihm-tile-label {
  transform: none;
}

/* Bottom CTA Strip */
.inside-homes-bottom-strip {
  background: linear-gradient(90deg, var(--primary-dark), #1a3347);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 3px;
}

.inside-homes-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.inside-homes-strip-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.85);
}

.inside-homes-strip-text > i {
  font-size: 1.6rem;
  color: var(--secondary);
  flex-shrink: 0;
}

.inside-homes-strip-text strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.inside-homes-strip-text span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .inside-homes-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 240px;
  }
  .ihm-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .inside-homes-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .inside-homes-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px 180px;
  }
  .ihm-tile--hero {
    grid-column: span 2;
    grid-row: span 1;
  }
  .ihm-tile-desc {
    opacity: 1;
    transform: none;
  }
  .ihm-tile-info {
    transform: translateY(0);
  }
  .inside-homes-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  .inside-homes-strip-text {
    flex-direction: column;
    text-align: center;
  }
  .inside-homes-tabs-bar {
    top: 60px;
  }
}

@media (max-width: 480px) {
  .inside-homes-header {
    padding: 52px 0 36px;
  }
  .inside-homes-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 160px 160px 160px;
    gap: 2px;
  }
  .iht-btn {
    padding: 13px 16px;
    font-size: 0.8rem;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .summary-cards { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links, .nav-auth { display: none; }

  .hero-stats { gap: 20px; }

  .mission-grid,
  .about-grid,
  .properties-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .mission-img img,
  .about-img img { height: 280px; }

  .mission-slideshow,
  .mission-slide img { height: 280px; }

  .form-grid { grid-template-columns: 1fr; }

  .booking-card { padding: 28px 20px; }

  .summary-cards { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; position: relative; height: auto; }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 20px 16px; }
  .admin-topbar { padding: 14px 16px; }

  .availability-grid { grid-template-columns: 1fr; }

  .inquiry-form-card { padding: 24px 20px; }

  .modal-box { padding: 28px 20px; margin: 16px; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.75rem; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  
  .trust-items { flex-direction: column; align-items: stretch; }

  .summary-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .summary-card { padding: 16px; gap: 10px; }
  .summary-icon { width: 40px; height: 40px; font-size: 1rem; }
  .summary-card .num { font-size: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .serve-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  .booking-type-toggle { flex-direction: column; border-radius: var(--radius); }
  .type-btn { border-radius: var(--radius-sm); }
}
