@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: #fef3c7;
  --secondary: #881337;
  --accent-gold: #f59e0b;
  --gold-glow: #fbbf24;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --light-bg: #fffbf0;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(217, 119, 6, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Glass Navigation */
.header-top {
  background: linear-gradient(90deg, #7c2d12, #881337, #7c2d12);
  color: #fff;
  padding: 8px 24px;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-top-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-top-item a {
  color: #fef08a;
  text-decoration: none;
  font-weight: 600;
}

.header-top-item a:hover {
  text-decoration: underline;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  box-shadow: var(--shadow-sm);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--dark);
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

.brand-text-wrapper h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-text-wrapper span {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn-nav-call {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-nav-call:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-nav-admin {
  border: 1.5px solid var(--primary);
  color: var(--primary) !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.btn-nav-admin:hover {
  background: var(--primary-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 520px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%),
              url('../images/varanasi_ghat.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 60px 20px 100px;
}

.hero-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent-gold);
  color: #fef08a;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 900px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.25;
}

.hero-title span {
  color: var(--gold-glow);
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 36px;
  color: #e2e8f0;
  font-weight: 300;
}

/* Floating Search Bar */
.search-container {
  background: white;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1000px;
  width: 92%;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.search-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.search-field select,
.search-field input {
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  width: 100%;
  color: var(--dark);
}

.search-field select:focus,
.search-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.btn-search {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Section Common */
.section {
  padding: 70px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-tagline {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: var(--secondary);
  font-weight: 800;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 10px auto 0;
  font-size: 1rem;
}

/* Featured Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.destination-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}

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

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

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15,23,42,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.destination-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.destination-sub {
  font-size: 0.88rem;
  color: var(--gold-glow);
  font-weight: 500;
}

/* Packages Grid & Cards */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.package-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.package-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.package-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.package-card:hover .package-img-wrapper img {
  transform: scale(1.06);
}

.package-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.package-duration-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
}

.package-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-destination {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 6px 0 10px;
  line-height: 1.3;
}

.package-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.package-highlights-list {
  list-style: none;
  margin-bottom: 20px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.package-highlights-list li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.package-highlights-list li i {
  color: var(--primary);
}

.package-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-original {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
}

.price-amount span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.btn-book {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-book:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: white;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--dark), var(--dark-surface));
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 24px;
}

/* Booking Form Elements */
.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

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

/* Digital Pass Receipt */
.booking-pass {
  background: #fffdf5;
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 16px;
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--primary-light);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.pass-id {
  font-weight: 800;
  color: var(--secondary);
  font-size: 1.1rem;
}

.pass-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.pass-label {
  color: var(--text-muted);
}

.pass-val {
  font-weight: 600;
  color: var(--dark);
}

/* Admin Dashboard */
.admin-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 20px;
}

.admin-nav {
  background: var(--dark);
  padding: 0 24px;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-tab-btn {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.admin-tab-btn.active,
.admin-tab-btn:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.admin-content {
  padding: 30px;
}

.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-info h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-info .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

/* Data Table */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  background: #f1f5f9;
  padding: 14px 16px;
  color: var(--dark);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:hover {
  background: #f8fafc;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.badge-status.confirmed {
  background: #d1fae5;
  color: #065f46;
}

.badge-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.badge-status.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.badge-status.active {
  background: #dbeafe;
  color: #1e40af;
}

/* Float WhatsApp & Call Buttons */
.float-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: var(--transition);
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.call {
  background: var(--primary);
}

.float-btn:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 24px 24px;
  margin-top: 80px;
  border-top: 3px solid var(--primary);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-list li a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .search-container {
    flex-direction: column;
    margin-top: -30px;
  }

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

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