:root {
  --ink: #1f2937;
  --paper: #fff8ed;
  --saffron: #c2410c;
  --gold: #d9a441;
  --forest: #14532d;
  --sky: #dbeafe;
  --dark-blue: #0f172a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(217, 164, 65, 0.2), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(20, 83, 45, 0.22), transparent 35%),
    linear-gradient(180deg, #fffef7 0%, #fff8ed 100%);
}

.char-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.4rem;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-link,
.brand {
  color: var(--white);
  text-decoration: none;
  margin: 0;
}

.home-link {
  font-weight: 700;
}

.brand {
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
}

/* Language Toggle Button Styling */
.lang-toggle {
  display: flex;
  gap: 0.6rem; /* Space between buttons */
}

.lang-btn {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for inactive */
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  appearance: none; /* Remove default button styles */
}

.lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.lang-btn.active {
  background-color: var(--gold); /* Highlight active button */
  color: var(--dark-blue); /* Dark text for active button */
  border-color: var(--gold);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--dark-blue);
}

.video-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Video Carousel Styling */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video fills screen without stretching */
  opacity: 0;
  transition: opacity 0.8s ease-in-out; /* Smooth transition for 3s interval */
  pointer-events: none;
}

.bg-video.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.78));
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 850px;
  color: var(--white);
  padding: 1rem;
  animation: rise-in 850ms ease both;
}

.hero-kicker {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
}

.hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.06;
  font-family: "Cinzel", serif;
}

.hero-subtitle {
  margin: 1rem auto 0;
  max-width: 45rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-cta-row {
  margin-top: 1.9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-button {
  text-decoration: none;
  background: linear-gradient(135deg, var(--saffron), #ea580c);
  color: var(--white);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 16px 35px rgba(194, 65, 12, 0.33);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.temples,
.durations,
.highlights,
.inclusions,
.contact {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.temples {
  margin-top: -3.2rem;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.temple-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  transform: translateY(18px);
  opacity: 0;
  animation: float-up 650ms ease forwards;
}

.temple-card:nth-child(2) {
  animation-delay: 90ms;
}

.temple-card:nth-child(3) {
  animation-delay: 160ms;
}

.temple-card:nth-child(4) {
  animation-delay: 230ms;
}

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

.temple-info {
  padding: 0.8rem 0.95rem 1rem;
}

.temple-info h2 {
  margin: 0;
  font-size: 1.15rem;
  font-family: "Cinzel", serif;
}

.temple-info p {
  margin: 0.35rem 0 0;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.highlights {
  margin-top: 2.5rem;
  border-radius: 1.25rem;
  padding: 1.4rem;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.highlights h2,
.inclusions h2,
.contact h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  color: #7c2d12;
}

/* Stylish Itinerary Dropdown Styling */
.itinerary-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.day-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all 0.3s ease;
}

.day-card[open] {
  border-color: var(--saffron);
  box-shadow: 0 10px 25px -5px rgba(194, 65, 12, 0.15);
}

.day-card summary {
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  background: #f8fafc;
  list-style: none; /* Hides default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark-blue);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease;
}

/* Hide default marker for webkit */
.day-card summary::-webkit-details-marker {
  display: none;
}

.day-card summary h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: "Source Sans 3", sans-serif;
  color: inherit;
}

/* Custom animated dropdown icon */
.day-card summary::after {
  content: "▼";
  font-size: 0.85rem;
  color: var(--saffron);
  transition: transform 0.3s ease;
}

.day-card[open] summary::after {
  transform: rotate(-180deg);
}

.day-card[open] summary {
  border-bottom: 1px solid #e2e8f0;
  background: #fffaf0;
  color: var(--saffron);
}

.details-content {
  padding: 1.25rem 2rem;
  background: #ffffff;
}

.day-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
  line-height: 1.7;
}

.day-card li {
  margin-bottom: 0.6rem;
}

.day-card li:last-child {
  margin-bottom: 0;
}

.inclusions {
  margin-top: 2rem;
  background: linear-gradient(135deg, #082f49, #0f172a);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 1.3rem;
}

.inclusions h2 {
  color: #fef3c7;
}

.inclusions ul {
  line-height: 1.8;
  margin-top: 1.5rem;
}

.contact {
  margin-top: 2.5rem; /* Increased slightly for better visual separation */
  margin-bottom: 5rem; /* Increased to ensure content is not hidden by taskbar/UI */
  padding: 1.4rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #fef3c7, #fdba74);
  border: 1px solid rgba(124, 45, 18, 0.2);
}

.contact p {
  margin: 0.6rem 0 0;
}

.contact-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.contact-list a svg {
  flex-shrink: 0;
}

@keyframes rise-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes float-up {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .temples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 70vh;
  }
  .highlights-grid,
  .durations {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .char-header {
    padding: 0.8rem 0.85rem;
  }
  .temples {
    grid-template-columns: 1fr;
  }
  .temple-card img {
    height: 220px;
  }
  .day-card summary {
    padding: 1rem 1.2rem;
  }
  .details-content {
    padding: 1rem 1.2rem;
  }
}

/* New Copyright Footer Styling (added for consistency) */
.copyright-footer {
  margin-top: 2rem; /* Add some space above it */
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280; /* A soft gray for text */
  background-color: #f9fafb; /* A very light background */
  border-top: 1px solid #e5e7eb; /* A subtle top border */
  margin-bottom: 0; /* Ensure it's at the very bottom */
  font-weight: 500;
}