@import url("https://fonts.cdnfonts.com/css/made-tommy-soft");
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

:root {
  --primary: #33a9ac;
  /* Teal for primary details */
  --secondary: #ffa646;
  /* Orange for secondary details */
  --accent: #262626;
  --light-bg: #f5f7f8;
  /* Premium ultra-light gray background */
  --glass: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --font-primary: "MADE Tommy Soft", sans-serif;
  --font-secondary: "Nunito Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-secondary);
}

body {
  background-color: var(--light-bg);
  color: var(--accent);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.2rem 0;
  /* Reduced from 0.5rem */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 53, 128, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  /* Reduced from 70px */
}

/* Brand */
.brand {
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
  /* Ensure brand takes full height for valid click area */
}

.nav-logo {
  height: 50px;
  /* Reduced from 65px */
  width: auto;
  object-fit: contain;
  display: block;
}

.brand:hover {
  transform: scale(1.02);
  /* Subtle scale instead of translate for big logo */
  opacity: 0.9;
  color: #00224f;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: rgba(0, 53, 128, 0.05);
  color: var(--primary);
}

.nav-links button {
  background: var(--primary);
  border: none;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  /* Removed box-shadow and background-image/gradient */
}

.nav-links button:hover {
  background: #2a8a8d;
  transform: translateY(-1px);
}

.nav-links span {
  color: var(--accent);
  font-weight: 500;
  margin-right: 0.5rem;
}

/* Hero Section */
.hero {
  background-color: #33a9ac;
  background-size: cover;
  background-position: center;
  height: 280px;
  /* Reduced from 400px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  /* Reduced padding */
  color: white;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: 2rem;
  /* Reduced from 3rem */
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-bar {
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 95%;
  max-width: 1000px;
  flex-wrap: wrap;
  margin: 20px auto 0;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f4f7f6;
  border-radius: 8px;
  padding: 10px 15px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  min-width: 180px;
}

.search-input-group.guests-group {
  flex: 0 1 140px;
  min-width: 120px;
}

.search-input-group:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(51, 169, 172, 0.1);
}

.search-input-group i {
  color: var(--primary);
  font-size: 1.1rem;
  width: 20px;
}

.search-input-group input,
.search-input-group select {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  background: transparent;
  color: #333;
  padding-left: 10px;
}

/* Fix for date inputs to look better in search bar */
.search-input-group input[type="date"] {
  cursor: pointer;
  font-family: inherit;
}

.search-btn {
  font-family: var(--font-primary);
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 50px;
}

.search-btn:hover {
  background-color: #2a8a8d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 169, 172, 0.3);
}

.clear-btn {
  font-family: var(--font-primary);
  background-color: transparent;
  color: var(--accent);
  border: 1px solid #ddd;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-btn:hover {
  background-color: #f8f9fa;
  border-color: #ccc;
  color: var(--primary);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .search-bar {
    flex-direction: column;
    width: 90%;
    padding: 15px;
  }

  .search-input-group {
    width: 100%;
    flex: none;
  }

  .search-btn {
    width: 100%;
    padding: 15px;
  }
}

/* Minimalist Button (Logout) */
.btn-minimal {
  background: transparent !important;
  color: var(--accent) !important;
  box-shadow: none !important;
  padding: 0.5rem !important;
  font-size: 1.2rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-minimal:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--primary) !important;
  transform: scale(1.1) !important;
  box-shadow: none !important;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Property Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.property-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-5px);
}

.card-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

.card-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rating-badge {
  background-color: var(--primary);
  color: white;
  padding: 0.2rem 0.4rem;
  border-radius: 4px 4px 4px 0;
  font-weight: bold;
  font-size: 0.9rem;
}

.card-price {
  text-align: right;
  font-size: 1.2rem;
  font-weight: bold;
}

.card-price span {
  font-size: 0.9rem;
  font-weight: normal;
  color: #666;
}

/* Detail Page */
/* --- Property Detail Page Redesign --- */
.property-header {
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.header-main h1 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.header-main p {
  color: #666;
  font-size: 1.1rem;
}

.btn-wishlist {
  background: white;
  border: 1px solid #ddd;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-wishlist:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  background: #f0f7f7;
}

/* Carousel Gallery */
.property-carousel {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.carousel-main-viewer {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}

.carousel-main-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carousel-main-viewer iframe,
.carousel-main-viewer video {
  width: 100%;
  height: 100%;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-nav i {
  color: var(--accent);
  font-size: 1.2rem;
}

.carousel-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10;
}

.carousel-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #f8f9fa;
  overflow-x: auto;
  scrollbar-width: thin;
}

.carousel-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
  background: #e9ecef;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.carousel-thumbnail {
  min-width: 80px;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.carousel-thumbnail:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.carousel-thumbnail.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(51, 169, 172, 0.2);
}

.carousel-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-thumbnail.video-thumb::after {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.property-content-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-section {
  margin-bottom: 3rem;
}

.info-section h2,
.info-section h3 {
  font-family: var(--font-primary);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  list-style: none;
}

.amenities-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #555;
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 10px;
}

.property-sidebar {
  position: sticky;
  top: 100px;
}

.booking-card {
  background: white;
  border: 1px solid #eee;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.price-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.price-main {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.price-main small {
  font-size: 0.85rem;
  font-weight: 400;
  color: #777;
}

.price-weekend {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  background: #f0f7f7;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-weekend small {
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
}

/* Reservation Page Specific Layout */
[data-page="reservation"] .property-content-layout {
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}

[data-page="reservation"] .property-sidebar {
  min-width: 400px;
}

.booking-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.price-label {
  color: #666;
  font-size: 1rem;
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.date-input-group {
  padding: 10px 15px;
}

.date-input-group:first-child {
  border-right: 1px solid #ddd;
}

.date-input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.date-input-group input {
  width: 100%;
  border: none;
  font-size: 0.95rem;
  outline: none;
  color: #333;
}

.rental-options {
  margin-bottom: 1.5rem;
}

.rental-options label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.calculation-breakdown {
  background: #f9f9f9;
  padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.calc-row.total {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-weight: 800;
  font-size: 1.1rem;
}

.no-payment-hint {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-top: 1rem;
}

/* Property Badges */
.property-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge i {
  font-size: 0.9rem;
}

.badge-success {
  background: #d4edda;
  color: #155724;
}

.badge-info {
  background: #d1ecf1;
  color: #0c5460;
}

/* Enhanced Action Buttons */
.header-actions {
  display: flex;
  gap: 12px;
}

/* Core Mobile Elements - Hidden on Desktop */
.mobile-menu-toggle,
.sidebar-overlay {
  display: none;
}

.btn-action-icon {
  background: white;
  border: 1px solid #ddd;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-action-icon:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f7f7;
}

.btn-share {
  color: #666;
}

.btn-share:hover {
  color: var(--secondary);
  border-color: var(--secondary);
  background: #fff5eb;
}

/* Enhanced Booking Button */
.btn-book {
  font-family: var(--font-primary);
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.btn-book:hover {
  background: #2a8a8d;
  transform: translateY(-1px);
}

.btn-book:active {
  transform: translateY(0);
}

.btn-book .btn-icon {
  transition: transform 0.3s ease;
}

.btn-book:hover .btn-icon {
  transform: translateX(4px);
}

.booking-features {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #555;
}

.feature-item i {
  color: #28a745;
  font-size: 0.85rem;
}

.no-payment-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.no-payment-hint i {
  color: var(--primary);
}

/* Enhanced Amenities */
.amenities-grid li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  margin-right: 8px;
}

/* --- Admin Panel Redesign --- */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 70px);
  /* Minus navbar */
  background: var(--light-bg);
}

/* Mobile Toggle & Overlay */
.mobile-menu-toggle,
.sidebar-overlay {
  display: none;
}

/* Sidebar */
.admin-sidebar {
  width: 280px;
  /* Slightly wider */
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
}

.admin-sidebar-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: contain;
}

.user-profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 12px;
}

.user-avatar {
  font-size: 2.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.2;
}

.user-role {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin-bottom: 0.5rem;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: var(--accent);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: rgba(0, 53, 128, 0.08);
  color: var(--primary);
  transform: translateX(5px);
}

.sidebar-menu i {
  width: 20px;
  text-align: center;
}

.sidebar-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 0.5rem;
  padding-left: 10px;
  font-weight: 700;
}

/* Content */
.admin-main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--primary);
}

/* Cards (Stats/Forms) */
.admin-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* Tables */
.admin-table-wrapper {
  overflow-x: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th {
  background: #f8f9fa;
  padding: 1rem;
  text-align: left;
  color: #555;
  font-weight: 600;
  border-bottom: 2px solid #eee;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  color: #333;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background-color: #fcfcfc;
}

/* Buttons */
.btn-action {
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-danger {
  background: #fff0f0;
  color: #e74c3c;
}

.btn-danger:hover {
  background: #e74c3c;
  color: white;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-info {
  background: #17a2b8;
  color: white;
}

.btn-success {
  background: #28a745;
  color: white;
}

.btn-warning {
  background: #ffc107;
  color: #212529;
}

/* Forms */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

/* ===== Modern Property Form Styles ===== */

/* Form Header */
.form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e8ecef;
}

.form-header h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-header h2 i {
  font-size: 1.6rem;
}

.form-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
}

/* Welcome Notice Box */
.welcome-notice {
  display: flex;
  gap: 1.5rem;
  background: #f8f9fa;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.notice-icon {
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.notice-content strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.notice-content p {
  margin: 0 0 0.5rem 0;
  color: #444;
  line-height: 1.5;
}

.notice-content small {
  color: #777;
  font-style: italic;
}

/* Modern Form */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
}

.shadow-sm {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Form Sections */
.form-section {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.form-section:hover {
  border-color: var(--primary-light, #e2e8f0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.section-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.section-title i {
  font-size: 1.1rem;
}

/* Form Rows */
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.two-cols {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .form-row.two-cols {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Form Group */
.modern-form .form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

.modern-form .form-group label i {
  color: var(--primary);
  font-size: 0.9rem;
}

.field-hint {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* Enhanced Form Controls */
.modern-form .form-control,
.modern-form .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.modern-form .form-control:focus,
.modern-form .form-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
  transform: translateY(-1px);
}

.modern-form .form-control::placeholder {
  color: #adb5bd;
}

/* Multimedia Section */
.multimedia-section {
  background: linear-gradient(135deg,
      rgba(0, 53, 128, 0.03) 0%,
      rgba(254, 187, 2, 0.03) 100%);
  border: 2px dashed rgba(0, 53, 128, 0.2);
}

/* Images Container */
.images-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.image-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.image-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.image-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.image-url-input {
  flex: 1;
}

.btn-remove-image {
  background: #fff0f0;
  color: #e74c3c;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.btn-remove-image:hover {
  background: #e74c3c;
  color: white;
  transform: scale(1.1);
}

.image-preview {
  min-height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-error {
  display: block;
  padding: 1rem;
  background: #fff3cd;
  color: #856404;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
}

.primary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #856404;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.primary-badge i {
  font-size: 0.75rem;
}

/* Add Image Button */
.btn-add-image {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-image:hover {
  background: #2a8a8d;
  transform: translateY(-1px);
}

.btn-add-image i {
  font-size: 1rem;
}

/* Media Preview (for video) */
.media-preview {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.media-preview video {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid #edf2f7;
  margin-top: 1rem;
}

.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(51, 169, 172, 0.2);
}

.btn-submit:hover {
  background: #2a8a8d;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(51, 169, 172, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit i {
  font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- About Us Section --- */
.about-section {
  padding: 4rem 0;
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-top: -50px;
  /* Overlap hero */
  position: relative;
  z-index: 10;
  padding: 3rem;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.divider {
  height: 4px;
  width: 60px;
  background-color: var(--secondary);
  margin: 0 auto;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-column .lead-text {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text-column p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
}

.value-item i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.value-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-image-column {
  position: relative;
  height: 500px;
}

.image-wrapper {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-wrapper.main {
  width: 80%;
  height: 80%;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-wrapper.sub {
  width: 60%;
  height: 60%;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 8px solid white;
}

.contact-cta {
  text-align: center;
  padding: 5rem 0;
}

.contact-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.contact-cta p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 53, 128, 0.3);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
  background-color: #00224f;
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-column {
    height: 400px;
    order: -1;
    /* Image on top on mobile */
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Confirmation Modal */

.custom-confirm-modal h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.custom-confirm-modal p {
  color: #666;
  margin-bottom: 1.5rem;
}

.confirm-actions {
  display: flex;
  gap: 1rem;
}

.confirm-actions button {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.btn-cancel {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-confirm {
  background: var(--primary);
  color: white;
}

.btn-cancel:hover {
  background: #e2e8f0;
  color: #1e293b;
  border-color: #cbd5e1;
}

.btn-confirm:hover {
  background: #2a8a8d;
}

/* Modern Checkbox Group */
.checkbox-group-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.checkbox-item:hover {
  color: var(--primary);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-label {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Modern Auth Card and Form Validation */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
}

.auth-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  transition: transform 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(51, 169, 172, 0.1);
}

.form-input.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.error-message.show {
  display: flex;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Minimalist Login Button */
.btn-login-minimal {
  font-family: var(--font-primary) !important;
  background: transparent !important;
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
}

.btn-login-minimal:hover {
  background: var(--primary) !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 53, 128, 0.15) !important;
}

/* =========================================
   RESPONSIVE DESIGN SYSTEM
   ========================================= */

/* Tablets and small desktops (up to 1024px) */
@media (max-width: 1024px) {
  .container {
    max-width: 95%;
  }

  .property-content-layout {
    gap: 2rem;
  }

  .about-content {
    gap: 2rem;
  }
}

/* Large Mobile & Tablets (up to 768px) */
@media (max-width: 768px) {

  /* Navbar */
  .nav-container {
    padding: 0 1rem;
    height: 50px;
  }

  .nav-logo {
    height: 35px;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-item-hide-mobile {
    display: none !important;
  }

  .nav-greeting {
    display: none !important;
  }

  .btn-admin-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 6px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .btn-admin-nav span {
    display: inline;
  }

  @media (max-width: 480px) {
    .btn-admin-nav span {
      display: none;
    }
  }

  .nav-links button {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Hero & Search */
  .hero {
    height: auto;
    padding: 4rem 1.5rem;
  }

  .hero-content h1,
  .hero h1 {
    font-size: 2rem;
  }

  .search-bar {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    gap: 12px;
    padding: 0;
    width: 100%;
    backdrop-filter: none;
    border: none;
  }

  .search-input-group {
    width: 100% !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: unset;
    min-height: 55px;
  }

  .search-btn {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(51, 169, 172, 0.3);
  }

  /* Layouts */
  .property-content-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .property-sidebar {
    order: -1;
    /* For details, show price/booking first on mobile? 
                       Actually, let's stick to details first, sidebar second for "content-first" feel. 
                       Only for reservation form we might want summary second.
                    */
    order: 2;
  }

  /* Specific to Reservation */
  [data-page="reservation"] .property-sidebar {
    order: 2;
    /* Summary Sidebar below form on mobile */
  }

  .welcome-notice {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }

  .notice-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  /* Property Detail Head */
  .property-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }

  .header-main p {
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  /* Carousel */
  .property-carousel {
    height: 300px;
  }

  .carousel-main-viewer {
    height: 350px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav i {
    font-size: 1rem;
  }

  /* Admin Panel Mobile - Off-Canvas Sidebar */
  .admin-layout {
    flex-direction: column;
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    /* Show on mobile */
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    cursor: pointer;
    font-size: 1.2rem;
  }

  .sidebar-overlay {
    display: block;
    /* Enabled on mobile structure */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
  }

  .sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: white;
    z-index: 2100;
    /* Above overlay */
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    border-right: none;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .admin-sidebar.show {
    transform: translateX(0);
  }

  .sidebar-menu {
    display: block;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .sidebar-menu li {
    margin-bottom: 5px;
    white-space: normal;
  }

  .sidebar-menu a {
    padding: 12px 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .sidebar-menu a:hover,
  .sidebar-menu a.active {
    background: rgba(51, 169, 172, 0.08);
    transform: translateX(5px);
  }

  .admin-main {
    padding: 1.5rem;
    padding-top: 4rem;
    /* Space for the toggle button */
  }

  .admin-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }

  .about-section {
    margin-top: 0;
    padding: 2rem 1.5rem;
    border-radius: 0;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 180px;
  }

  .booking-card,
  .modern-form,
  .form-section {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .btn-submit,
  .btn-book {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    width: 100%;
  }

  .auth-card {
    padding: 1.5rem !important;
  }

  .carousel-main-viewer {
    height: 250px;
  }

  .carousel-thumbnails {
    padding: 8px;
  }

  .carousel-thumbnail {
    min-width: 60px;
    width: 60px;
    height: 45px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: white;
}

.whatsapp-float i {
  transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
  transform: rotate(10deg);
}

/* Pulsing effect for the WhatsApp button */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: whatsapp-pulse 2s infinite;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px;
    z-index: 100;
    /* Lower z-index on mobile to avoid covering forms */
  }
}

/* --- Site Footer --- */
.site-footer {
  background-color: #33a9ac;
  color: #000000;
  padding: 1.2rem 1rem 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-secondary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Increased min-width for better stacking */
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

.footer-section h3 {
  font-family: var(--font-primary);
  color: #000000;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-section p {
  color: #000000;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* --- Footer Banner CTA --- */
.footer-banner {
  background: transparent;
  color: var(--accent);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: rgba(51, 169, 172, 0.05);
  transform: rotate(15deg);
  pointer-events: none;
  display: none;
}

.footer-banner-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-banner h2 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-banner p {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary);
  color: white !important;
  padding: 14px 46px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(51, 169, 172, 0.3);
  border: 2px solid transparent;
}

.btn-footer-cta:hover {
  background-color: white;
  color: var(--primary) !important;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-footer-cta i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .footer-banner h2 {
    font-size: 1.75rem;
  }

  .footer-banner p {
    font-size: 1rem;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #334155;
  /* Higher contrast for production readiness */
  font-size: 0.85rem;
}

.footer-dev {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dev-links {
  display: flex;
  gap: 12px;
}

.dev-link {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.dev-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 2rem;
  }
}

/* Custom File Upload Styling */
.file-upload-box {
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: #f9f9f9;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  width: 100%;
}

.file-upload-box:hover {
  border-color: var(--primary);
  background: #f0fdfd;
}

.file-upload-box.has-file {
  border-style: solid;
  border-color: var(--primary);
  background: #e6fffa;
}

.file-upload-box .upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.file-upload-box .file-name {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  margin-top: 5px;
  line-height: 1.3;
}

/* Add Companion Button Style */
#btn-add-companion {
  width: 100%;
  border: 2px dashed #ccc;
  background: white;
  color: #666;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#btn-add-companion:hover {
  border-color: var(--primary);
  background: #f0fdfd;
  color: var(--primary);
  transform: translateY(-2px);
}

/* --- Google Reviews Section --- */
.reviews-section {
  padding: 50px 0;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
  overflow: hidden;
}

.reviews-header {
  text-align: center;
  margin-bottom: 30px;
}

.reviews-header h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.google-logo-small {
  height: 24px;
}

.rating-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
}

.stars {
  color: #fbbc04;
  font-size: 1.2rem;
}

.reviews-count {
  color: #666;
  font-size: 0.9rem;
}

/* Slider Controls */
.reviews-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 60px;
}

.reviews-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.review-card {
  min-width: calc(33.333% - 20px);
  background: white;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Password Visibility Toggle - Premium Design */
.password-input-container {
  position: relative;
  display: flex !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
}

.password-input-container input {
  width: 100% !important;
  padding: 12px 45px 12px 15px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  background: #f8fafc !important;
  transition: all 0.2s ease !important;
  margin-top: 5px !important;
  height: 45px !important;
}

.password-input-container input:focus {
  background: #fff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(51, 169, 172, 0.1) !important;
  outline: none !important;
}

.password-toggle-btn {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  margin-top: 2.5px !important;
  /* Adjust for input margin-top */
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
  border-radius: 8px !important;
  width: auto !important;
  height: auto !important;
}

.password-toggle-btn:hover {
  color: var(--primary) !important;
  background: rgba(51, 169, 172, 0.08) !important;
}

.password-toggle-btn i {
  font-size: 1.1rem !important;
}

/* Auth Card refinements for premium feel */
.auth-card {
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 20px !important;
  padding: 2.5rem !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 2rem auto !important;
}

.auth-card h2 {
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
}

.auth-card label {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 4px !important;
  display: block !important;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid #eee;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(51, 169, 172, 0.3);
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.user-info h4 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
}

.user-info span {
  color: #999;
  font-size: 0.85rem;
}

.review-content {
  color: #555;
  line-height: 1.6;
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 10px;
}

.reviews-actions {
  text-align: center;
}

.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #555;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ddd;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  .review-card {
    min-width: calc(50% - 15px);
  }

  .reviews-slider-wrapper {
    padding: 0 40px;
  }
}

@media (max-width: 600px) {
  .review-card {
    min-width: 100%;
  }

  .reviews-header h2 {
    font-size: 1.8rem;
  }

  .reviews-slider-wrapper {
    padding: 0;
  }

  .slider-btn {
    display: none;
  }

  /* Hide mouse icon on mobile to avoid overlap */
  .fa-mouse {
    display: none !important;
  }

  .reviews-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Toast Notifications --- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  width: fit-content;
  max-width: 90%;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notification.success {
  border-left: 5px solid #2ecc71;
}

.toast-notification.error {
  border-left: 5px solid #e74c3c;
}

.toast-notification.info {
  border-left: 5px solid #3498db;
}

/* --- Custom Confirm Modal --- */
.custom-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.custom-confirm-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.custom-confirm-modal {
  background: white;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.custom-confirm-overlay.show .custom-confirm-modal {
  transform: scale(1);
}

.confirm-icon {
  width: 70px;
  height: 70px;
  background: #fff5eb;
  color: #ffa646;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
}

.custom-confirm-modal h3 {
  margin-bottom: 10px;
  font-family: var(--font-primary);
  font-size: 1.5rem;
}

.custom-confirm-modal p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  gap: 15px;
}

.confirm-actions button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel {
  background: #f1f3f5;
  color: #495057;
}

.btn-confirm {
  background: #e74c3c;
  color: white;
}

.btn-cancel:hover {
  background: #e9ecef;
}

.btn-confirm:hover {
  background: #c0392b;
}

/* --- Admin Statistics Cards --- */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.stat-value {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(-5deg);
}

.stat-footer {
  margin: 1rem 0 0 0;
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-footer::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}