/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #f8fafc;
  color: #083344;
  line-height: 1.7;
}

/* ================= GLOBAL ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

section {
  padding: 70px 0;
}

h1, h2, h3 {
  text-align: center;
  margin-bottom: 36px;
}

/* ================= SECTION HEADINGS ================= */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 24px 0 48px;
}

.section-title h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #083344;
}

.section-title .line {
  width: 90px;
  height: 2px;
  background: linear-gradient(to right, #0ea5e9, #0284c7);
  border-radius: 2px;
}

/* ================= HEADER ================= */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo img {
  height: 36px;
  display: block;
}
.logo {
  margin-right: auto;   /* forces logo to the far left */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.nav-links a.active {
  opacity: 1;
  border-bottom: 2px solid white;
  padding-bottom: 4px;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  background: url("assets/images/hero.jpg") center/cover no-repeat;
  position: relative;
  color: white;
}
/* ================= TEMPLE HERO OVERRIDE ================= */
.temple-hero {
  background: url("assets/images/temple.jpg") center/cover no-repeat;
}
/* ================= SANGAMAM HERO ================= */
.sangamam-hero {
  background: url("assets/images/sangamam.jpg") center/cover no-repeat;
}
/* ================= BEACH HERO ================= */
.beach-hero {
  background: url("assets/images/beach.jpg") center/cover no-repeat;
}
/* ================= BOATING HERO ================= */
.boating-hero {
  background: url("assets/images/boating.jpg") center/cover no-repeat;
}
/* ================= LIGHTHOUSE HERO ================= */
.lighthouse-hero {
  background: url("assets/images/lighthouse.jpg") center/cover no-repeat;
}
/* ================= VASISTA ASHRAMAM HERO ================= */
.vasista-hero {
  background: url("assets/images/vasistaashramam.jpg") center/cover no-repeat;
}
/* ================= RESORTS HERO ================= */
.resorts-hero {
  background: url("assets/images/resorts.jpg") center/cover no-repeat;
}
/* ================= TRAVEL HERO ================= */
.travel-hero {
  background: url("assets/images/travel.jpg") center/cover no-repeat;
}
/* ================= CONTACT HERO ================= */
.contact-hero {
  background: url("assets/images/contact.jpg") center/cover no-repeat;
}
/* ================= PLANNER HERO ================= */
.planner-hero {
  background: url("assets/images/planner.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.25) 70%,
    rgba(248,250,252,0.6) 88%,
    rgba(248,250,252,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 14px;
}

.hero-content p {
  max-width: 720px;
  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: linear-gradient(to bottom, #0ea5e9, #0284c7);
  color: white;
}

.secondary {
  background: white;
  color: #083344;
}

/* ===== BOOK NOW BUTTON ===== */
.book-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  margin: 24px auto 0;   /* centers button */
  padding: 12px 28px;
  border-radius: 14px;

  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: white;

  background: linear-gradient(to right, #0ea5e9, #0284c7);
  box-shadow: 0 8px 22px rgba(2,132,199,0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(2,132,199,0.5);
}





/* ================= PLACES TO VISIT ================= */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.place-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.place-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.28);
}

.place-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* dark overlay on hover */
.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.place-card:hover::after {
  opacity: 1;
}

/* PLACE TITLE — GUARANTEED VISIBLE */
.place-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-align: center;
  z-index: 3;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.5),
    rgba(0,0,0,0)
  );

  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ================= THINGS TO EXPERIENCE ================= */
.experience-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exp-item {
  background: white;
  padding: 28px 22px;
  border-radius: 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.exp-item:hover {
  transform: translateY(-4px);
}

/* ================= TEMPLE PAGE ================= */
.temple-content {
  background: #f8fafc;
  padding: 100px 0 90px;
}

.temple-inner {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
}

.temple-intro {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #0f172a;
}

.temple-title {
  max-width: 1100px;   
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.temple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}

.temple-card {
  background: white;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  text-align: center; 
}

.temple-card h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  text-align: left;
}

.temple-card ul {
  padding-left: 20px;
}

.temple-card li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #334155;
}

.temple-note {
  width: 100%;
  max-width: none;          /* ❌ remove narrow column */
  margin: 72px auto 0;

  display: flex;            /* ✅ real centering */
  justify-content: center;

  text-align: center;
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  color: #475569;
}





/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(to right, #083344, #0b4d63);
  color: white;
  text-align: center;
  padding: 26px 0;
  margin-top: 60px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  section {
    padding: 55px 0;
  }

  .places-grid,
  .experience-bar,
  .temple-grid {
    grid-template-columns: 1fr;
  }

  .temple-title {
    font-size: 1.9rem;
  }
}
.resorts-page .temple-note {
  max-width: 900px;
  margin: 80px auto 0;   /* centers horizontally */
  padding: 0 24px;
  text-align: center;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
}
/* ================= CONTACT PAGE BOX FIX ================= */

.contact-box {
  max-width: 900px;          /* same visual width as other pages */
  margin: 0 auto;            /* center horizontally */
  padding: 56px 64px;        /* balanced padding */
  background: white;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .contact-box {
    padding: 36px 28px;
  }
}
/* ================= AI PLANNER ================= */

.planner-box {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.planner-box label {
  font-weight: 600;
}

.planner-box select,
.planner-box button {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}

.planner-box button {
  background: linear-gradient(to right, #0ea5e9, #0284c7);
  color: white;
  border: none;
  cursor: pointer;
}

.planner-result {
  margin-top: 48px;
  background: white;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}
/* ================= MOBILE HEADER FIX ================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

  .navbar {
    padding: 16px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 51, 68, 0.95);
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-links.show {
    display: flex;
  }
}
@media (max-width: 768px) {

  .nav-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-links.show {
    max-height: 500px; /* enough for all links */
  }
}
/* ================= MOBILE HEADER TOGGLE FIX ================= */
@media (max-width: 768px) {

  .menu-toggle {
    margin-right: 14px;   /* ⬅️ pulls it left */
    padding: 6px 8px;
  }

  .navbar {
    padding-right: 12px;  /* prevents edge hugging */
  }
}
/* ================= MOBILE HEADER REAL FIX ================= */
@media (max-width: 768px) {

  /* Reduce container padding ONLY for header */
  .site-header .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Align navbar properly */
  .navbar {
    padding: 18px 0;
  }

  /* Hamburger position fix */
  .menu-toggle {
    margin-left: auto;
    font-size: 36px;
    
  }
}
/* ================= FIXES ================= */

/* ================= FINAL HEADING FIXES ================= */

/* Center all headings inside containers */
.container h1,
.container h2,
.container h3,
.temple-title {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px; /* breathing space */
}

/* Extra spacing for section titles */
.temple-title {
  margin-bottom: 48px;
}

.temple-intro {
  margin-bottom: 48px;
}

/* Override temple-card headings to center */
.temple-card h3 {
  text-align: center !important; /* FIX: force centering */
  margin-bottom: 24px;
}
/* ================= CONTACT PAGE FULL CENTERING FIX ================= */
.contact-box {
  max-width: 1100px;       /* match other pages */
  margin: 0 auto;          /* center horizontally */
  padding: 56px 64px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  text-align: center;      /* center all text inside */
}

.contact-box h2 {
  text-align: center !important;
  margin-bottom: 48px;
}

.contact-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 36px;
}

.contact-box ul li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #334155;
}

.contact-box .email-button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, #0ea5e9, #0284c7);
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(2,132,199,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-box .email-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(2,132,199,0.5);
}

.contact-box .note {
  margin-top: 36px;
  font-size: 0.9rem;
  color: #475569;
  font-style: italic;
}s
