/* Kerala Tours - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1a6b3c;
  --primary-dark: #145530;
  --secondary: #f4a61d;
  --accent: #e74c3c;
  --light-green: #e8f5e9;
  --dark: #1a1a2e;
  --text-muted: #6c757d;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1a6b3c 0%, #2ecc71 100%);
  --shadow: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fafafa;
  overflow-x: hidden;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

/* ============ NAVBAR ============ */
.navbar-kerala {
  background: transparent;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.navbar-kerala.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
  padding: 10px 0;
}

.navbar-kerala .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(26,107,60,0.3);
  transition: var(--transition);
}

.logo-icon:hover { transform: rotate(10deg) scale(1.1); }

.logo-icon svg { width: 28px; height: 28px; fill: white; }

.logo-text { font-family: 'Playfair Display', serif; }
.logo-text .line1 {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  transition: color 0.3s ease;
}
.logo-text .line2 {
  display: block;
  font-size: 0.65rem;
  color: var(--secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.navbar-kerala.scrolled .logo-text .line1 { color: var(--primary); }

.navbar-kerala .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 25px;
  transition: var(--transition);
  position: relative;
}

.navbar-kerala.scrolled .nav-link { color: #333 !important; }

.navbar-kerala .nav-link:hover,
.navbar-kerala .nav-link.active {
  background: rgba(255,255,255,0.2);
  color: white !important;
}

.navbar-kerala.scrolled .nav-link:hover,
.navbar-kerala.scrolled .nav-link.active {
  background: var(--light-green);
  color: var(--primary) !important;
}

.btn-nav-login {
  background: var(--secondary);
  color: var(--dark) !important;
  font-weight: 600 !important;
  padding: 8px 24px !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(244,166,29,0.3);
}
.btn-nav-login:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,166,29,0.4); }

.btn-nav-register {
  background: var(--gradient);
  color: white !important;
  font-weight: 600 !important;
  padding: 8px 24px !important;
  border-radius: 25px !important;
}

/* ============ HERO SECTION ============ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26,107,60,0.85) 0%, rgba(20,85,48,0.9) 100%),
              url('https://images.unsplash.com/photo-1602216056096-3b40cc0c9944?w=1920') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInDown 0.8s ease;
}

.hero-badge span { color: var(--secondary); }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInLeft 0.8s ease 0.2s both;
}

.hero-title .highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  animation: expandWidth 1s ease 1s both;
}

@keyframes expandWidth { from { width: 0; } to { width: 100%; } }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 560px;
  animation: fadeInLeft 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInLeft 0.8s ease 0.6s both;
}

.btn-hero-primary {
  background: var(--secondary);
  color: var(--dark);
  font-weight: 700;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(244,166,29,0.4);
  transition: var(--transition);
  border: none;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(244,166,29,0.5);
  color: var(--dark);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  animation: fadeInLeft 0.8s ease 0.8s both;
}

.hero-stat {
  text-align: center;
  padding: 15px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image-side {
  position: relative;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-img-main {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-img-floating {
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: 180px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 4px solid white;
  aspect-ratio: 1;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  top: 30px;
  right: -20px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.floating-card .dot {
  width: 10px; height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px; height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollAnim 1.5s ease infinite;
}

@keyframes scrollAnim {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ============ SECTIONS ============ */
.section-header { margin-bottom: 50px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.section-title span { color: var(--primary); }

.section-divider {
  width: 60px; height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 16px 0;
}

.section-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}

/* ============ ABOUT STRIP ============ */
.about-strip {
  background: var(--gradient);
  padding: 50px 0;
}

.about-strip-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}

.about-strip-icon {
  width: 55px; height: 55px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-strip-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.about-strip-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

@media (max-width: 576px) {
  .about-strip-item {
    flex-direction: column;
    text-align: center;
    padding: 10px 5px;
  }
  .about-strip-text h4 { font-size: 0.85rem; }
  .about-strip-text p { font-size: 0.72rem; display: none; }
  .about-strip-icon { width: 45px; height: 45px; font-size: 1.2rem; }
}

/* ============ DESTINATIONS ============ */
.destinations-section { padding: 100px 0; background: white; }

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

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

.destination-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.destination-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.destination-overlay h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.destination-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
}

.destination-count {
  position: absolute;
  top: 15px; right: 15px;
  background: var(--secondary);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ============ PACKAGES SECTION ============ */
.packages-section { padding: 100px 0; background: #f8f9fa; }

.package-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.package-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

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

.package-price-badge {
  position: absolute;
  top: 15px; right: 15px;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

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

.package-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.package-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.package-meta {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.package-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.package-meta-item i { color: var(--primary); font-size: 0.9rem; }

.btn-book {
  background: var(--gradient);
  color: white;
  font-weight: 600;
  padding: 11px 25px;
  border-radius: 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  width: 100%;
  margin-top: 15px;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,107,60,0.3);
  color: white;
}

/* ============ FILTER TABS ============ */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  background: white;
  color: #555;
  border: 2px solid #e0e0e0;
  padding: 8px 22px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============ TESTIMONIALS ============ */
.testimonials-section { padding: 100px 0; background: var(--light-green); }

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 25px;
  font-size: 6rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-stars { color: var(--secondary); margin-bottom: 15px; }

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.testimonial-author-info h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--dark);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,107,60,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,166,29,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 15px;
}

.cta-text { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.8; }

.btn-cta {
  background: var(--secondary);
  color: var(--dark);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(244,166,29,0.3);
  transition: var(--transition);
  border: none;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(244,166,29,0.4); color: var(--dark); }

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  padding: 70px 0 0;
}

.footer-logo .logo-text .line1,
.footer-logo .logo-text .line2 { color: white !important; }

.footer-about {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 15px 0 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; }

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

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  margin-top: 50px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin: 0;
}

.footer-bottom .credit {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-bottom .credit span { color: var(--secondary); }

/* ============ AUTH PAGES ============ */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a6b3c 0%, #2ecc71 50%, #1a6b3c 100%);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-card {
  background: white;
  border-radius: 24px;
  padding: 45px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

.auth-header { text-align: center; margin-bottom: 35px; }

.auth-icon {
  width: 70px; height: 70px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
}

.auth-header h2 { color: var(--dark); font-size: 1.8rem; margin-bottom: 8px; }
.auth-header p { color: var(--text-muted); font-size: 0.9rem; }

.form-floating > label { font-size: 0.9rem; }

.form-control-kerala {
  border: 2px solid #e8f5e9;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #fafafa;
}

.form-control-kerala:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
  background: white;
}

.form-label-kerala {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.btn-primary-kerala {
  background: var(--gradient);
  color: white;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 1rem;
  border: none;
  width: 100%;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(26,107,60,0.3);
}

.btn-primary-kerala:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26,107,60,0.4);
  color: white;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.auth-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-link a { color: var(--primary); font-weight: 600; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }

/* ============ USER DASHBOARD ============ */
.dashboard-page { padding: 30px 0; background: #f5f7fa; min-height: 100vh; }

.dashboard-header {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 30px;
  color: white;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.dashboard-header::after {
  content: '🌴';
  position: absolute;
  right: 30px; top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  opacity: 0.15;
}

.dashboard-header h2 { font-size: 1.5rem; margin-bottom: 5px; }
.dashboard-header p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.9rem; }

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

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

.stat-icon {
  width: 55px; height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-icon.green { background: #e8f5e9; color: var(--primary); }
.stat-icon.yellow { background: #fff8e1; color: #f57c00; }
.stat-icon.red { background: #ffebee; color: #c62828; }
.stat-icon.blue { background: #e3f2fd; color: #1565c0; }

.stat-info h3 { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--dark); margin: 0; }
.stat-info p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.booking-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
  margin-bottom: 15px;
}

.booking-card:hover { box-shadow: var(--shadow-hover); }

.booking-card-img {
  width: 80px; height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.booking-card-info { flex: 1; }
.booking-card-info h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.booking-card-info p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.badge-status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending { background: #fff8e1; color: #f57c00; }
.badge-confirmed { background: #e8f5e9; color: var(--primary); }
.badge-cancelled { background: #ffebee; color: #c62828; }

/* ============ USER NAV ============ */
.user-topbar {
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.user-topbar .navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.user-topbar .user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

/* ============ PROFILE PAGE ============ */
.profile-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-header {
  background: var(--gradient);
  padding: 30px;
  text-align: center;
  position: relative;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.profile-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-avatar-edit {
  position: absolute;
  bottom: 0; right: 0;
  width: 30px; height: 30px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  border: 2px solid white;
  color: var(--dark);
}

.profile-header h3 { color: white; font-size: 1.2rem; margin: 5px 0; }
.profile-header span { color: rgba(255,255,255,0.8); font-size: 0.85rem; }

.profile-body { padding: 30px; }

/* ============ BOOKING FORM ============ */
.booking-form-page { padding: 30px 0; background: #f5f7fa; min-height: 100vh; }

.booking-summary-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.booking-summary-img {
  width: 100%; height: 200px;
  object-fit: cover;
}

.booking-summary-body { padding: 20px; }

.price-highlight {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.booking-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ ALERT STYLES ============ */
.alert-kerala {
  border-radius: var(--radius-sm);
  border: none;
  padding: 14px 18px;
  font-size: 0.9rem;
}

.alert-kerala.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-kerala.alert-danger { background: #ffebee; color: #c62828; }
.alert-kerala.alert-warning { background: #fff8e1; color: #e65100; }

/* ============ RESPONSIVE ============ */

/* Large desktops */
@media (max-width: 1200px) {
  .hero-title { font-size: 3.2rem; }
  .hero-img-main { max-width: 420px; }
}

/* Tablets & medium screens */
@media (max-width: 992px) {
  .hero-section { padding-top: 90px; padding-bottom: 50px; }
  .hero-title { font-size: 2.8rem; }
  .hero-image-side { margin-top: 30px; }
  .hero-img-main { max-width: 100%; }
  .hero-img-floating { width: 130px; left: -15px; }
  .floating-card { right: -10px; font-size: 0.78rem; padding: 8px 12px; }
  .destinations-section, .packages-section, .section-py { padding: 70px 0; }
  .testimonials-section { padding: 70px 0; }
  .cta-section { padding: 70px 0; }
  .footer { padding: 50px 0 0; }
}

/* Mobile landscape & small tablets */
@media (max-width: 768px) {
  /* Navbar */
  .navbar-kerala { padding: 12px 0; }
  .navbar-kerala.scrolled .nav-link { color: #333 !important; }
  .navbar-collapse {
    background: rgba(20,85,48,0.98);
    backdrop-filter: blur(15px);
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  .navbar-kerala.scrolled .navbar-collapse { background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .navbar-kerala .nav-link { color: white !important; }
  .navbar-kerala.scrolled .navbar-collapse .nav-link { color: #333 !important; }
  .btn-nav-login, .btn-nav-register { width: 100%; text-align: center; justify-content: center; display: flex; }
  .navbar-toggler { background: rgba(255,255,255,0.15) !important; }
  .navbar-kerala.scrolled .navbar-toggler { background: #f0f0f0 !important; color: #333 !important; }

  /* Hero */
  .hero-section { padding-top: 90px; padding-bottom: 50px; text-align: center; }
  .hero-title { font-size: 2.2rem; line-height: 1.2; }
  .hero-desc { font-size: 0.95rem; margin: 0 auto 25px; }
  .hero-badge { margin: 0 auto 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-hero-primary,
  .hero-buttons .btn-hero-secondary { width: 100%; justify-content: center; max-width: 320px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
  .hero-stat { padding: 10px 15px; min-width: 90px; }
  .hero-stat .number { font-size: 1.5rem; }
  .hero-image-side { display: none; }
  .scroll-indicator { display: none; }

  /* About strip */
  .about-strip { padding: 35px 0; }
  .about-strip-item { text-align: center; justify-content: center; }

  /* Sections */
  .destinations-section, .packages-section, .testimonials-section, .cta-section, .section-py { padding: 55px 0; }
  .section-title { font-size: 1.8rem; }
  .section-header { margin-bottom: 30px; }

  /* Destination cards */
  .destination-card { height: 220px; }

  /* Package cards */
  .filter-tabs { justify-content: center; overflow-x: auto; flex-nowrap: nowrap; padding-bottom: 5px; }
  .filter-tab { white-space: nowrap; font-size: 0.82rem; padding: 7px 16px; }

  /* CTA */
  .cta-title { font-size: 1.6rem; }
  .btn-cta { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-bottom { margin-top: 30px; }
  .footer-bottom .row { text-align: center; }
  .footer-bottom .col-md-6:last-child { margin-top: 8px; }

  /* Auth */
  .auth-card { padding: 28px 20px; margin: 0 10px; }
  .auth-header h2 { font-size: 1.5rem; }

  /* Dashboard */
  .dashboard-header { padding: 20px; }
  .dashboard-header h2 { font-size: 1.2rem; }
  .booking-card { flex-wrap: wrap; }
  .booking-card-img { width: 100%; height: 140px; border-radius: 10px; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .hero-stat { min-width: 80px; padding: 8px 12px; }
  .hero-stat .number { font-size: 1.3rem; }
  .hero-stat .label { font-size: 0.65rem; }
  .section-title { font-size: 1.6rem; }
  .package-img-wrap { height: 180px; }
  .destination-card { height: 190px; }
  .destination-overlay h3 { font-size: 1.1rem; }
  .about-strip-item { padding: 10px 0; }
  .stat-card { padding: 15px; gap: 12px; }
  .stat-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .stat-info h3 { font-size: 1.3rem; }
  .booking-form-card { padding: 20px 15px; }
  .booking-summary-body { padding: 15px; }
}

/* ============ MISC ============ */
.text-primary-kerala { color: var(--primary) !important; }
.text-secondary-kerala { color: var(--secondary) !important; }
.bg-primary-kerala { background: var(--primary) !important; }
.section-py { padding: 100px 0; }

.img-error-fallback {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 3rem;
}

.package-card-link { text-decoration: none; color: inherit; }
.package-card-link:hover { color: inherit; }
