/* ============================================================
   VoyaGlide — Master Stylesheet (Sunny Orange brand)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --sea: #5fb4d1;
  --sea-deep: #2a8caf;
  --sea-light: #b8e0ec;
  --sea-pale: #e8f6fb;
  --palm: #6ec6a6;
  --palm-deep: #3a9874;
  --palm-light: #c8ecdc;
  --palm-pale: #e8f6f0;
  --orange: #f5a623;
  --orange-deep: #e08a0a;
  --orange-light: #ffd194;
  --orange-pale: #fff5e0;
  --ink: #2d3e50;
  --slate: #7a8a99;
  --cloud: #e8edf0;
  --cream: #fdfaf2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Quicksand', -apple-system, sans-serif;
  background: linear-gradient(180deg, #fff5e0 0%, #fdfaf2 100%);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ TOP NAVBAR (app-style) ============ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 245, 224, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 14px rgba(245, 166, 35, 0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: var(--sea-deep);
  font-weight: 500;
}
.nav-logo b { color: var(--palm-deep); font-weight: 800; }
.nav-logo .dot { width: 6px; height: 6px; background: var(--orange-deep); border-radius: 50%; }
.nav-links { display: flex; gap: 22px; align-items: center; list-style: none; }
.nav-links a {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange-deep); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: white !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.3);
}
.menu-toggle { display: none; font-size: 22px; background: none; border: none; cursor: pointer; }

/* ============ APP-STYLE HERO ============ */
.hero {
  padding: 50px 20px 30px;
  text-align: center;
}
.hero .greeting { font-size: 14px; color: var(--orange-deep); font-weight: 600; letter-spacing: 2px; }
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--sea-deep);
  margin: 8px 0 10px;
  line-height: 1.2;
}
.hero h1 b { color: var(--palm-deep); font-weight: 800; }
.hero .tagline { color: var(--slate); font-style: italic; font-size: 15px; }

/* ============ SEARCH PILL ============ */
.search-pill {
  background: white;
  border-radius: 30px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 500px;
  margin: 24px auto 0;
  box-shadow: 0 12px 30px rgba(42, 140, 175, 0.12);
}
.search-pill input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  outline: none;
  color: var(--ink);
}
.search-pill input::placeholder { color: var(--slate); }
.search-pill button {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
}

/* ============ QUICK TILES (8-grid) ============ */
.tiles-section { padding: 30px 16px; max-width: 1100px; margin: 0 auto; }
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.section-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: var(--sea-deep);
  font-weight: 700;
}
.section-header a { font-size: 12px; color: var(--palm-deep); font-weight: 700; }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}
.tile {
  background: white;
  border-radius: 20px;
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(42, 140, 175, 0.06);
}
.tile:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(42, 140, 175, 0.15); }
.tile .ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
}
.tile .label {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--sea-deep);
}

/* Per-tile bg tints */
.bg-1 { background: var(--sea-pale); }
.bg-2 { background: var(--orange-pale); }
.bg-3 { background: var(--palm-pale); }
.bg-4 { background: var(--palm-light); }
.bg-5 { background: var(--orange-light); }
.bg-6 { background: var(--sea-light); }

/* ============ CARDS (property listings) ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.property-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(42, 140, 175, 0.08);
  transition: transform 0.3s;
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(42, 140, 175, 0.15); }
.property-img {
  height: 180px;
  background: linear-gradient(135deg, var(--sea), var(--palm));
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  position: relative;
}
.property-img .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange);
  color: white; font-size: 10px;
  padding: 5px 10px; border-radius: 12px;
  font-weight: 700; letter-spacing: 1px;
}
.property-body { padding: 18px; }
.property-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--sea-deep);
  font-weight: 700;
  margin-bottom: 4px;
}
.property-body .loc { font-size: 12px; color: var(--slate); }
.property-body .rating { color: var(--orange); font-size: 12px; margin: 6px 0; font-weight: 700; }
.property-body .price {
  font-size: 22px; color: var(--palm-deep); font-weight: 800;
  font-family: 'Poppins', sans-serif;
}
.property-body .price small { font-size: 11px; color: var(--slate); font-weight: 400; }
.btn-book {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: white;
  padding: 12px;
  border-radius: 14px;
  font-weight: 700;
  margin-top: 12px;
  box-shadow: 0 6px 14px rgba(245, 166, 35, 0.3);
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}

/* ============ FORMS ============ */
.form-card {
  background: white;
  border-radius: 22px;
  padding: 30px;
  max-width: 520px;
  margin: 30px auto;
  box-shadow: 0 12px 32px rgba(42, 140, 175, 0.1);
}
.form-card h2 {
  font-family: 'Poppins', sans-serif;
  color: var(--sea-deep);
  font-size: 24px;
  margin-bottom: 6px;
}
.form-card .sub { color: var(--slate); font-style: italic; margin-bottom: 24px; font-size: 13px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--slate);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--cloud);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(95, 180, 209, 0.15);
}
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: white;
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--sea-deep), var(--palm-deep));
  color: white;
  box-shadow: 0 6px 16px rgba(42, 140, 175, 0.3);
}
.btn-success {
  background: linear-gradient(135deg, var(--palm), var(--palm-deep));
  color: white;
  box-shadow: 0 6px 16px rgba(58, 152, 116, 0.3);
}
.btn-danger { background: linear-gradient(135deg, #ff6b6b, #c23b3b); color: white; }
.btn-outline {
  background: white;
  color: var(--sea-deep);
  border: 2px solid var(--sea-deep);
}
.btn-block { display: block; width: 100%; }
.btn-wa {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 10px 18px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.btn-gpay {
  display: inline-block;
  background: linear-gradient(135deg, #4285F4, #34a853);
  color: white;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
  font-size: 14px;
}

/* ============ ALERT / FLASH ============ */
.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
}
.alert-success { background: var(--palm-pale); color: var(--palm-deep); border-left: 4px solid var(--palm-deep); }
.alert-error   { background: #fdebeb; color: #c23b3b; border-left: 4px solid #c23b3b; }
.alert-info    { background: var(--sea-pale); color: var(--sea-deep); border-left: 4px solid var(--sea-deep); }
.alert-warn    { background: var(--orange-pale); color: var(--orange-deep); border-left: 4px solid var(--orange-deep); }

/* ============ ADMIN / PARTNER LAYOUT ============ */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--sea-deep), var(--palm-deep));
  color: white;
  padding: 24px 18px;
  flex-shrink: 0;
}
.sidebar .brand {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: white;
  margin-bottom: 30px;
}
.sidebar .brand b { font-weight: 800; color: var(--orange-light); }
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
  transition: background 0.2s;
}
.sidebar nav a:hover, .sidebar nav a.active {
  background: rgba(255,255,255,0.15);
  color: white;
}
.sidebar nav a .icon { font-size: 20px; width: 24px; text-align: center; }
.sidebar .logout {
  position: absolute; bottom: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.main-content { flex: 1; padding: 30px; background: var(--cream); }

/* ============ STATS CARDS ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.stat-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 6px 16px rgba(42, 140, 175, 0.08);
  border-left: 4px solid var(--sea-deep);
}
.stat-card.green { border-left-color: var(--palm-deep); }
.stat-card.orange { border-left-color: var(--orange-deep); }
.stat-card.red { border-left-color: #c23b3b; }
.stat-card .label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--slate);
  text-transform: uppercase;
  font-weight: 700;
}
.stat-card .value {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--sea-deep);
  margin: 6px 0;
}
.stat-card .meta { font-size: 12px; color: var(--slate); }

/* ============ TABLES ============ */
.data-table {
  width: 100%;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(42, 140, 175, 0.08);
}
.data-table thead {
  background: linear-gradient(135deg, var(--sea-deep), var(--palm-deep));
  color: white;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--cloud);
}
.data-table th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}
.data-table tr:hover { background: var(--cream); }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-pending { background: var(--orange-pale); color: var(--orange-deep); }
.badge-approved { background: var(--sea-pale); color: var(--sea-deep); }
.badge-paid { background: var(--palm-pale); color: var(--palm-deep); }
.badge-confirmed { background: #e0fff0; color: #1a7a3e; }
.badge-cancelled { background: #fdebeb; color: #c23b3b; }

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(135deg, var(--sea-deep), var(--palm-deep));
  color: white;
  padding: 40px 20px 20px;
  margin-top: 60px;
  text-align: center;
}
.footer .brand-line {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 6px;
}
.footer .brand-line b { color: var(--orange-light); }
.footer .links {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin: 20px 0;
}
.footer .links a { font-size: 13px; color: rgba(255,255,255,0.85); }
.footer .copy { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 16px; }

/* ============ BOTTOM TAB BAR (mobile) ============ */
.tab-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--cloud);
  padding: 8px 0 18px;
  z-index: 90;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.06);
}
.tab-bar .tab {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
}
.tab-bar .tab.active { color: var(--orange-deep); }
.tab-bar .tab .icon { font-size: 22px; display: block; margin-bottom: 2px; }

/* ============ FLOATING WHATSAPP ============ */
.float-wa {
  position: fixed;
  bottom: 90px; right: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 80;
  text-decoration: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 60px; right: -100%;
    flex-direction: column;
    background: white;
    padding: 30px 24px;
    width: 80%; height: 100vh;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    align-items: flex-start;
    transition: right 0.3s;
  }
  .nav-links.open { right: 0; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .sidebar { width: 100%; min-height: auto; padding: 16px; }
  .app-layout { flex-direction: column; }
  body { padding-bottom: 80px; }
  .tab-bar { display: flex; }
  .form-row { flex-direction: column; gap: 0; }
}

/* ============ PAY PAGE ============ */
.pay-card {
  background: white;
  border-radius: 24px;
  padding: 30px;
  max-width: 460px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 16px 40px rgba(42, 140, 175, 0.12);
}
.pay-card .amount {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--palm-deep);
  margin: 16px 0;
}
.pay-card .qr-wrap {
  background: var(--cream);
  padding: 20px;
  border-radius: 18px;
  margin: 20px 0;
  display: inline-block;
}
.pay-card .upi-id {
  background: var(--cream);
  border-radius: 10px;
  padding: 10px;
  font-family: monospace;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 1px;
  margin: 10px 0;
}
</style>
