/* Best Boys Hostel - additive styles.
   Loaded AFTER style.css, so it only adds to / gently overrides the template. */

:root {
  --bbh-blue: #1e3a8a;
  --bbh-blue-dark: #0f1f4d;
  --bbh-amber: #f59e0b;
}

html { scroll-padding-top: 80px; }

/* ---------- Accessibility ---------- */
.visually-hidden-focusable:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 3000;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bbh-amber);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Hero ----------
   Keeps whatever background photo the template already uses and layers a
   brand gradient on top so the text is always readable. */
#hero {
  background-color: var(--bbh-blue-dark);
  min-height: 640px;
  height: 100vh;
  height: 100svh;
}
/* To use one of your own hostel photos as the hero background, uncomment:
#hero { background-image: url("../img/Boys%20Hostel%20Pune%201.JPG"); background-size: cover; background-position: center; }
*/
#hero:before {
  background: linear-gradient(135deg, rgba(15, 31, 77, .93) 0%, rgba(30, 58, 138, .80) 55%, rgba(30, 58, 138, .55) 100%) !important;
}
#hero .hero-container { padding: 90px 20px 40px; color: #fff; }
.hero-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(245, 158, 11, .18);
  border: 1px solid rgba(245, 158, 11, .6);
  color: #fcd34d;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
#hero h2 {
  max-width: 720px;
  margin: 14px auto 26px;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.5;
  color: #e5ecff;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.hero-btn:hover { transform: translateY(-2px); text-decoration: none; }
.hero-btn-primary { background: var(--bbh-amber); color: #1a1a1a; }
.hero-btn-primary:hover { background: #fbbf24; color: #000; }
.hero-btn-outline { border: 2px solid #fff; color: #fff; }
.hero-btn-outline:hover { background: #fff; color: var(--bbh-blue); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.hero-badges li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: .85rem;
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ---------- About summary ---------- */
.about-summary {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

/* ---------- Gallery ---------- */
.gallery-lightbox { display: block; cursor: zoom-in; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--bbh-blue-dark);
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bbh-amber);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: #444; line-height: 1.7; }

/* ---------- Contact ---------- */
.map-embed iframe { width: 100%; min-height: 380px; border: 0; border-radius: 8px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 600; text-align: center; min-height: 1.5em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

@media (max-width: 575px) {
  .hero-btn { width: 100%; justify-content: center; }
  .hero-actions { width: 100%; max-width: 320px; }
}
