/* ==========================================================================
   Ganges to Global - Design System & Modern Stylesheet
   ========================================================================== */

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

:root {
  --primary-color: #0d5c75;
  --primary-dark: #083b4c;
  --primary-light: #197897;
  --accent-gold: #f5a623;
  --accent-orange: #ff6b35;
  --bg-light: #f8fafc;
  --surface-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 30px -10px rgba(13, 92, 117, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Header & Topbar */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 5%;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 20px;
}

.top-info a {
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info a:hover {
  color: var(--accent-gold);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-orange);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #e55823);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 75vh;
  background: linear-gradient(rgba(8, 59, 76, 0.65), rgba(8, 59, 76, 0.75)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 60px 5%;
}

.hero-tagline {
  background: rgba(245, 166, 35, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero p {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 650px;
  margin-bottom: 35px;
}

.hero-search-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 10px;
  max-width: 750px;
  width: 100%;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #f1f5f9;
  border-radius: 30px;
}

.search-field input, .search-field select {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  font-family: var(--font-main);
  outline: none;
  color: var(--text-dark);
}

/* Sections & Grids */
.section {
  padding: 70px 5%;
}

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

.section-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Cards */
.card {
  background: var(--surface-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(13, 92, 117, 0.9);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.rating {
  color: var(--accent-gold);
  font-weight: 700;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.card-price-row {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-tag {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}

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

/* Destination Detailed Pages */
.dest-hero {
  position: relative;
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 60px 5%;
  color: #ffffff;
}

.dest-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 59, 76, 0.95), transparent 70%);
}

.dest-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.dest-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 15px;
}

.dest-grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 60px 5%;
}

.timeline-day {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.sidebar-card {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.inclusions-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.inclusions-list li i {
  color: #10b981;
}

/* Modal & WhatsApp */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
}

.floating-widgets {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

footer {
  background: var(--primary-dark);
  color: #e2e8f0;
  padding: 70px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .dest-grid-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-search-box { flex-direction: column; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
}
