/* ============================================
   TRIPKART HOLIDAYS — Mobile-First Adaptive CSS
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand colors */
  --royal-blue: #0B3D91;
  --royal-blue-dark: #072C6B;
  --sky-blue: #4DA8DA;
  --sky-blue-light: #7EC8E3;
  --mountain-grey: #3C3C3C;
  --mountain-grey-light: #6B6B6B;
  --golden-accent: #D4A843;
  --golden-accent-light: #E8C76E;
  --white: #FFFFFF;
  --off-white: #F8F9FA;

  /* Glassmorphism */
  --glass-bg: rgba(11, 61, 145, 0.18);
  --glass-bg-dark: rgba(11, 61, 145, 0.35);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --glass-blur: 16px;

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --font-accent: 'Playfair Display', serif;

  /* Spacing */
  --section-pad: clamp(1.25rem, 4vw, 3.5rem);

  /* Borders */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* Clean tap feedback on mobile */
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-color: #03081C;
}

/* ---------- Full-Screen Background ---------- */
.hero-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('himalaya_bg.jpg') center center / cover no-repeat;
  will-change: transform;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 20, 55, 0.70) 0%,
    rgba(11, 61, 145, 0.40) 40%,
    rgba(7, 20, 55, 0.65) 70%,
    rgba(3, 8, 28, 0.90) 100%
  );
  z-index: 1;
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 61, 145, 0.15) 0%,
    transparent 50%,
    rgba(212, 168, 67, 0.08) 100%
  );
  z-index: 2;
  animation: gradientShift 12s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Floating Particles ---------- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: float linear infinite;
}

@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 20, 55, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s var(--ease-out);
}

.header.scrolled {
  background: rgba(7, 20, 55, 0.88);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-area img {
  height: clamp(36px, 8vw, 50px);
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(0.95rem, 3.5vw, 1.35rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--white);
}

.logo-text .brand-tagline {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  color: var(--golden-accent-light);
  letter-spacing: 0.04em;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-phone {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--ease-out);
}

.header-phone:hover, .header-phone:active {
  background: rgba(212, 168, 67, 0.25);
  border-color: var(--golden-accent);
}

/* ---------- Main Content ---------- */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad) clamp(0.85rem, 3vw, 2.5rem);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---------- Construction Badge ---------- */
.construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.25), rgba(212, 168, 67, 0.1));
  border: 1px solid rgba(212, 168, 67, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pulse-glow 3s ease-in-out infinite;
}

.construction-badge span {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: clamp(0.7rem, 2.5vw, 0.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--golden-accent-light);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--golden-accent);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 168, 67, 0.1); }
  50% { box-shadow: 0 0 25px rgba(212, 168, 67, 0.22); }
}

/* ---------- Hero Heading ---------- */
.hero-heading {
  text-align: center;
  max-width: 850px;
  padding: 0 0.5rem;
}

.hero-heading h1 {
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: clamp(1.5rem, 6vw, 3.8rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--white) 0%, var(--sky-blue-light) 50%, var(--golden-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.hero-heading h1 .emoji {
  -webkit-text-fill-color: initial;
  font-size: 0.85em;
  display: inline-block;
}

.hero-heading .subheading {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(0.95rem, 3.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Glass Card ---------- */
.glass-card {
  width: 100%;
  max-width: 900px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: clamp(1.2rem, 4vw, 2.8rem);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-card.delay-1 { animation-delay: 0.15s; }
.glass-card.delay-2 { animation-delay: 0.3s; }
.glass-card.delay-3 { animation-delay: 0.45s; }

/* Card intro */
.card-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-intro h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.15rem, 4vw, 1.75rem);
  color: var(--white);
  margin-bottom: 0.3rem;
}

.card-intro p {
  font-family: var(--font-secondary);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease-out);
}

.service-item:hover, .service-item:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 168, 67, 0.35);
}

.service-item .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--golden-accent), var(--golden-accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--royal-blue-dark);
  font-weight: 800;
}

.service-item span {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: clamp(0.8rem, 2.5vw, 0.88rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.25;
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  margin: 1.25rem 0;
}

/* ---------- Thank You Text ---------- */
.thank-you {
  text-align: center;
}

.thank-you p {
  font-family: var(--font-secondary);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.thank-you .highlight {
  color: var(--golden-accent-light);
  font-weight: 600;
}

/* ---------- CTA Buttons ---------- */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  min-height: 48px; /* Mobile touch friendly target */
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(0.9rem, 2.8vw, 1rem);
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: auto;
  transition: all 0.3s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-blue), #1255B8);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(11, 61, 145, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn .btn-icon {
  font-size: 1.1em;
}

/* ---------- Contact Card ---------- */
.contact-card {
  max-width: 900px;
  width: 100%;
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s var(--ease-out);
}

.contact-item:hover, .contact-item:active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(212, 168, 67, 0.35);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-icon.phone-icon {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.4), rgba(77, 168, 218, 0.25));
}

.contact-icon.web-icon {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.4), rgba(232, 199, 110, 0.25));
}

.contact-icon.email-icon {
  background: linear-gradient(135deg, rgba(77, 168, 218, 0.4), rgba(126, 200, 227, 0.25));
}

.contact-details {
  overflow: hidden;
}

.contact-details .contact-label {
  font-family: var(--font-secondary);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.1rem;
}

.contact-details .contact-value {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(0.82rem, 2.5vw, 0.95rem);
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s var(--ease-out);
}

.social-link:hover, .social-link:active {
  transform: translateY(-2px);
}

.social-link.facebook:hover { background: rgba(24, 119, 242, 0.3); border-color: rgba(24, 119, 242, 0.6); }
.social-link.instagram:hover { background: linear-gradient(135deg, rgba(228, 64, 95, 0.3), rgba(131, 58, 180, 0.3)); border-color: rgba(228, 64, 95, 0.6); }
.social-link.whatsapp:hover { background: rgba(37, 211, 102, 0.3); border-color: rgba(37, 211, 102, 0.6); }

/* ---------- Terms & Privacy Card Styles ---------- */
.tc-card {
  max-width: 900px;
  width: 100%;
}

.tc-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tc-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.tc-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tc-title {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.tc-text {
  font-family: var(--font-secondary);
  font-size: clamp(0.8rem, 2.5vw, 0.88rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.tc-link {
  color: var(--golden-accent-light);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.82rem, 2.5vw, 0.9rem);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0;
  transition: color 0.3s var(--ease-out);
}

.tc-link:hover, .tc-link:active {
  color: var(--white);
}

.tc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(3, 8, 28, 0.55);
}

.footer-quote {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(135deg, var(--golden-accent), var(--golden-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: clamp(0.78rem, 2.5vw, 0.85rem);
  transition: color 0.3s ease;
}

.footer-link:hover, .footer-link:active {
  color: var(--golden-accent-light);
}

.footer-copyright {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Animations on Scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Prayer Flag Decoration ---------- */
.prayer-flags {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 200;
  display: flex;
}

.prayer-flag {
  flex: 1;
  height: 100%;
}

.prayer-flag:nth-child(1) { background: #1A5EAB; }
.prayer-flag:nth-child(2) { background: var(--white); }
.prayer-flag:nth-child(3) { background: #D4423E; }
.prayer-flag:nth-child(4) { background: #2E8B57; }
.prayer-flag:nth-child(5) { background: var(--golden-accent); }
.prayer-flag:nth-child(6) { background: #1A5EAB; }
.prayer-flag:nth-child(7) { background: var(--white); }
.prayer-flag:nth-child(8) { background: #D4423E; }
.prayer-flag:nth-child(9) { background: #2E8B57; }
.prayer-flag:nth-child(10) { background: var(--golden-accent); }

/* ---------- Loading Shimmer ---------- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-bar {
  width: clamp(140px, 40vw, 200px);
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0%,
    rgba(212,168,67,0.4) 50%,
    rgba(255,255,255,0.05) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Small Devices / Smartwatches & Narrow Phones (Up to 380px) */
@media (max-width: 380px) {
  .services-grid {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* Medium Mobile Devices (Up to 600px) */
@media (max-width: 600px) {
  .header-contact {
    display: none; /* Hide top phone button on compact header */
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .tc-item {
    flex-direction: row;
  }
}

/* Tablet Devices (601px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}