/* ==============================================================================
   AVASATHA - Luxury Multi-Vendor Hospitality Platform Design System
   Color Palette: Deep Obsidian, Warm Slate, Champagne Gold, Pure Alabaster
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-gold: #d97706;
  --primary-gold-hover: #b45309;
  --primary-gold-light: #fef3c7;
  --primary-gold-glow: rgba(217, 119, 6, 0.25);
  
  --bg-obsidian: #0b0f19;
  --bg-slate: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #283548;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-indigo: #6366f1;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-luxury: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 10px 30px -5px rgba(217, 119, 6, 0.3);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: #f8fafc;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Glassmorphic Navbar */
.navbar-avasatha {
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.navbar-brand .logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link-custom {
  color: #cbd5e1 !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link-custom:hover {
  color: #fbbf24 !important;
}

/* Luxury Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 82vh;
  background: linear-gradient(rgba(11, 15, 25, 0.72), rgba(11, 15, 25, 0.88)),
              url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 1.25rem;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto;
}

/* Floating Search Widget */
.search-widget-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-luxury);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.search-input-group {
  border-right: 1px solid #e2e8f0;
  padding: 0 1rem;
}

@media (max-width: 991px) {
  .search-input-group {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
  }
}

.search-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.search-control {
  border: none;
  font-weight: 600;
  color: #0f172a;
  padding: 0.2rem 0;
  width: 100%;
  background: transparent;
}

.search-control:focus {
  outline: none;
  box-shadow: none;
}

/* Luxury Property Cards */
.property-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxury);
  border-color: #cbd5e1;
}

.card-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #0f172a;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .card-img-container img {
  transform: scale(1.06);
}

.badge-video {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-type {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #64748b;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: #ffffff;
  color: var(--accent-rose);
  transform: scale(1.1);
}

.property-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-location {
  color: #64748b;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-amenities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.85rem 0;
}

.amenity-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.property-price-box {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.price-unit {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* Custom Buttons */
.btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1ebc57;
}

/* Dark Theme Admin & Owner Dashboards */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f1f5f9;
}

.dashboard-sidebar {
  width: 270px;
  background: var(--bg-slate);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-glass);
}

.dashboard-brand {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-nav {
  padding: 1rem 0;
  flex-grow: 1;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.dashboard-nav-item:hover, .dashboard-nav-item.active {
  color: #fbbf24;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #fbbf24;
}

.dashboard-main {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* Metric KPI Cards */
.kpi-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
}

.kpi-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #64748b;
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.35rem 0;
}

.kpi-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* FullCalendar & Availability Styles */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px;
  min-height: 85px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calendar-day-cell.weekend {
  background: #f8fafc;
}

.calendar-day-cell.booked {
  background: #fef2f2;
  border-color: #fca5a5;
}

.calendar-day-cell.blocked {
  background: #f1f5f9;
  color: #94a3b8;
}

/* Sticky Booking Widget */
.sticky-booking-card {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-luxury);
}

/* Food & Beverage Dietary Badges */
.badge-diet-veg {
  border: 1px solid #16a34a;
  color: #16a34a;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}

.badge-diet-nonveg {
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}
