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

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Core Brand Colors */
  --color-pilgrim: #f59e0b;        /* Warm Gold */
  --color-pilgrim-dark: #d97706;   /* Saffron */
  --color-vacation: #10b981;       /* Emerald */
  --color-vacation-dark: #059669;  /* Mint/Teal */
  
  --color-dark-bg: #0f172a;        /* Navy Slate */
  --color-dark-card: #1e293b;      /* Slate card */
  --color-light-bg: #f8fafc;       /* Light gray */
  
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Typography */
body {
  font-family: var(--font-body);
  background-color: var(--color-light-bg);
  color: var(--color-text-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Sleek Sticky Glassmorphic Navbar */
.navbar {
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #d97706 !important;
}

.navbar-brand i {
  color: var(--color-pilgrim);
  margin-right: 8px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-pilgrim);
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  color: #fff;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Split Screen Hero Section (Pilgrim Journey & Vacation Packages) */
.split-hero-container {
  display: flex;
  height: 85vh;
  min-height: 580px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #050b14;
}

.split-panel {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: white;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Base styles for panels */
.split-left {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Left saffron/gold gradient overlay for spiritual devotions */
.split-left .split-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 10, 0, 0.85) 0%, rgba(217, 119, 6, 0.4) 100%);
  z-index: 2;
  transition: opacity 0.5s ease;
}

/* Right emerald/teal gradient overlay for nature & adventure vacation packages */
.split-right .split-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 16, 12, 0.85) 0%, rgba(5, 150, 105, 0.4) 100%);
  z-index: 2;
  transition: opacity 0.5s ease;
}

.split-content {
  position: relative;
  z-index: 3;
  max-width: 460px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.5px;
}

.split-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 35px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Enter button styled as premium capsule */
.btn-enter {
  display: inline-block;
  background-color: #ffffff;
  color: #0f172a;
  border-radius: 50px;
  padding: 14px 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.btn-enter:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  background-color: #ffffff;
  color: #000000;
}

/* Specific button hovers matching theme */
.split-left:hover .btn-enter {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.split-right:hover .btn-enter {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Hover Expand & Zoom Actions */
.split-hero-container:has(.split-left:hover) .split-left {
  flex: 1.25;
}
.split-hero-container:has(.split-left:hover) .split-right {
  flex: 0.75;
}

.split-hero-container:has(.split-right:hover) .split-right {
  flex: 1.25;
}
.split-hero-container:has(.split-right:hover) .split-left {
  flex: 0.75;
}

.split-panel:hover .split-bg {
  transform: scale(1.08);
}

.split-panel:hover .split-bg::after {
  opacity: 0.7;
}

/* Focus effects */
.split-hero-container:has(.split-panel:hover) .split-panel:not(:hover) .split-content {
  opacity: 0.4;
  transform: scale(0.95);
}

/* Mobile responsive - stack vertically */
@media (max-width: 991px) {
  .split-hero-container {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  
  .split-panel {
    flex: none;
    height: 420px;
    padding: 40px 20px;
    border-right: none;
  }

  .split-left {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .split-content h2 {
    font-size: 2.4rem;
  }

  /* Disable hover flex expansion on mobile */
  .split-hero-container:has(.split-left:hover) .split-left,
  .split-hero-container:has(.split-left:hover) .split-right,
  .split-hero-container:has(.split-right:hover) .split-right,
  .split-hero-container:has(.split-right:hover) .split-left {
    flex: none;
  }
  
  .split-hero-container:has(.split-panel:hover) .split-panel:not(:hover) .split-content {
    opacity: 1;
    transform: scale(1);
  }
}

/* Tour Card Styling */
.tour-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: var(--transition-smooth);
  background-color: #fff;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.tour-card .card-img-top {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 4px solid var(--color-pilgrim);
}

.tour-card.vacation-highlight .card-img-top {
  border-bottom-color: var(--color-vacation);
}

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

.tour-card:hover .card-img-top img {
  transform: scale(1.05);
}

/* High-Quality Tables */
.table-container-glass {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.table-header-theme {
  background: linear-gradient(135deg, var(--color-pilgrim-dark), var(--color-pilgrim));
  color: white;
  padding: 20px;
  text-align: center;
}

.table-header-theme.vacation-header {
  background: linear-gradient(135deg, var(--color-vacation-dark), var(--color-vacation));
}

.table-header-theme h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.custom-table {
  width: 100%;
  margin-bottom: 0;
}

.custom-table th {
  background-color: #f8fafc;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 16px 20px;
  border-bottom: 2px solid #e2e8f0;
}

.custom-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

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

/* Form Styles */
.form-glass {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-label-bold {
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.form-control-custom {
  border: 1px solid #cbd5e1;
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  border-color: var(--color-pilgrim);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

/* Footer Section */
footer {
  background-color: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--color-pilgrim);
  padding-left: 5px;
}

footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: white;
  margin-right: 12px;
  transition: var(--transition-smooth);
}

footer .social-icon:hover {
  background-color: var(--color-pilgrim);
  color: white;
  transform: translateY(-3px);
}

/* Mobile App-Style Dashboard (Home screen matching user image) */

@media (max-width: 991px) {
  /* Navbar Custom Mobile Restyling */
  nav.navbar {
    background: #fdfbf7 !important; /* Soft cream background */
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    padding: 10px 0 !important;
  }
  
  nav.navbar .navbar-brand {
    padding: 0;
    margin: 0;
  }
  
  nav.navbar .navbar-brand i {
    color: #d97706; /* Gopuram saffron icon */
    font-size: 1.7rem;
    margin-right: 8px;
    margin-left: 0;
  }
  
  .navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
  }
  
  .navbar-brand-text .brand-top {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e3a8a; /* Navy Slate */
    letter-spacing: 0.5px;
  }
  
  .navbar-brand-text .brand-bottom {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #d97706; /* Saffron gold */
    letter-spacing: 1.5px;
  }

  /* Right Action Elements on mobile navbar */
  .navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .navbar-bell {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    position: relative;
    color: #1e3a8a;
    border: 1px solid rgba(226, 232, 240, 0.7);
    cursor: pointer;
  }
  
  .navbar-bell .bell-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    background-color: #ef4444; /* red dot */
    border-radius: 50%;
    border: 1px solid white;
  }
  
  .navbar-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid #d97706;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    cursor: pointer;
  }
  
  .navbar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  nav.navbar .navbar-toggler {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #1e3a8a !important;
    border: none !important;
    font-size: 1.35rem !important;
    background: transparent !important;
  }
  
  nav.navbar .navbar-toggler-icon {
    display: none; /* Hide default icon */
  }

  nav.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  nav.navbar .navbar-brand {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav.navbar .brand-text {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #d97706 !important; /* Keep saffron branding on mobile */
    white-space: nowrap !important;
  }

  nav.navbar .navbar-logo {
    height: 36px !important;
    width: auto !important;
    margin-right: 8px !important;
  }

  .sticky-top {
    height: auto !important;
  }

  /* Dropdown links in mobile navbar */
  nav.navbar .navbar-collapse {
    background: #ffffff;
    padding: 15px 20px !important;
    margin-top: 12px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.7);
    position: absolute;
    top: 52px;
    left: 15px;
    right: 15px;
    z-index: 9999;
  }

  nav.navbar .navbar-nav .nav-link {
    color: #1e293b !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
  }
  
  nav.navbar .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  nav.navbar .navbar-nav .nav-link::after {
    display: none;
  }
}

/* Dashboard Container */
.dashboard-container {
  background-color: #fdfbf7; /* Warm soft cream */
  padding-top: 15px;
  padding-bottom: 30px;
}

/* Hero Banner Card */
.dashboard-hero-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.dashboard-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/fir.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-text {
  flex: 1;
  padding-right: 15px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-image-wrapper {
  flex: 0 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-temple-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Heading section */
.explore-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a; /* Navy color */
  letter-spacing: 0.5px;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Option Cards List */
.dashboard-menu-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  padding: 16px;
  display: flex;
  flex-direction: column; /* Vertical card layout */
  margin-bottom: 16px;
  height: 100%;
}

.card-img-side {
  width: 100%;
  height: 140px; /* Uniform height for images */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.4);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.card-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 0 !important; /* Force override horizontal spacing */
}

.card-title-row {
  margin-bottom: 8px;
}

.card-menu-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0;
}

.card-emojis {
  display: none !important; /* Completely hide emojis */
}

.card-menu-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 16px 0;
  min-height: 55px; /* Aligns buttons vertically */
}

.card-btn-row {
  display: flex;
  gap: 8px;
  margin-top: auto; /* Push buttons to bottom of card */
  margin-bottom: 8px;
}

.card-btn-row .btn {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
  flex: 1;
}

.btn-menu-filled {
  background: #d97706 !important;
  color: #ffffff !important;
  border: none !important;
}

.btn-menu-filled:hover, .btn-menu-filled:active {
  background: #b45309 !important;
}

.btn-menu-outline {
  background: transparent !important;
  color: #1e3a8a !important;
  border: 1.5px solid #1e3a8a !important;
}

.btn-menu-outline:hover, .btn-menu-outline:active {
  background: rgba(30, 58, 138, 0.05) !important;
}

.card-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #d97706;
  font-weight: 600;
}

.card-location-row i {
  font-size: 0.8rem;
}

/* Navbar Brand Logo */
.navbar-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

/* Floating Contact Buttons */
.floating-contact-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  color: #ffffff !important;
}

.floating-btn.btn-call {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); /* Premium blue gradient */
  animation: pulse-blue 2s infinite;
}

.floating-btn.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); /* Official WhatsApp green gradient */
  animation: pulse-green 2s infinite;
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(30, 58, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0);
  }
}

@keyframes pulse-green {
  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);
  }
}
