/* =============================================
   BHAVYA GIRLS HOSTEL — WEBSITE STYLES
   Theme: Warm, feminine, trustworthy
   Palette: Deep rose, warm cream, soft gold
   ============================================= */

:root {
  --rose:       #C0446A;
  --rose-dark:  #962047;
  --rose-light: #F5D0DC;
  --rose-pale:  #FDF0F4;
  --gold:       #D4A84B;
  --gold-light: #F5E4B8;
  --cream:      #FFF9F5;
  --brown:      #3D2B1F;
  --text:       #2D1A10;
  --text-muted: #7A5C4E;
  --white:      #FFFFFF;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(192, 68, 106, 0.10);
  --shadow-lg:  0 12px 48px rgba(192, 68, 106, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-dark); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--rose);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(192,68,106,0.25);
}
.btn-primary:hover {
  background: var(--rose-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,68,106,0.35);
}

.btn-ghost {
  display: inline-block;
  border: 2px solid var(--rose);
  color: var(--rose);
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: var(--rose-pale);
  color: var(--rose-dark);
}

.btn-nav {
  display: inline-block;
  background: var(--rose);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--rose-dark); color: var(--white) !important; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,249,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rose-light);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(192,68,106,0.12); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex; align-items: center; gap: 2rem;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text) !important; font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; }
.logo-main { display: block; font-size: 1.2rem; font-weight: 700; line-height: 1.1; color: var(--rose); }
.logo-sub { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.nav-links {
  display: flex; list-style: none; gap: 2rem; margin-left: auto;
}
.nav-links a {
  color: var(--text-muted); font-size: 0.92rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--rose); border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none; flex-direction: column; gap: 1rem; padding: 1.5rem 2rem;
  background: var(--cream); border-top: 1px solid var(--rose-light);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); font-weight: 500; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  padding: 100px 2rem 60px;
  display: flex; align-items: center;
  gap: 4rem;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
}
.circle {
  position: absolute; border-radius: 50%; opacity: 0.12;
}
.c1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--rose), transparent);
  top: -200px; right: -100px;
}
.c2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent);
  bottom: 0; left: -100px;
}
.c3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--rose-light), transparent);
  top: 40%; left: 40%;
}
.dots-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(192,68,106,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--brown);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gold);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.hero-title em {
  color: var(--rose);
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--rose);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-div { width: 1px; height: 40px; background: var(--rose-light); }

.hero-image {
  flex: 1; position: relative; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}

.hero-image {
  flex: 1; position: relative; min-height: 440px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}

.hero-visual-block {
  background: var(--white);
  border-radius: 20px;
  border: 2px solid var(--rose-light);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative; z-index: 1;
  width: 300px;
}
.hv-icon { font-size: 3.5rem; margin-bottom: 0.75rem; }
.hv-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--rose); margin-bottom: 0.25rem;
}
.hv-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.hv-pills {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.hv-pills span {
  background: var(--rose-pale);
  border: 1px solid var(--rose-light);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text);
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--rose-light);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}
.main-card  { top: 0px;   right: -20px; animation-delay: 0s; }
.float-card { bottom: 60px; left: -20px; animation-delay: 1.5s; }
.float-card2{ bottom: 0px;  right: -20px; animation-delay: 3s; }

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

.card-icon { font-size: 1.4rem; }
.card-text strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.card-text span { font-size: 0.75rem; color: var(--text-muted); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--rose);
  padding: 14px 0;
  overflow: hidden;
}
.trust-inner {
  display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
}
.trust-inner span {
  color: var(--white);
  font-size: 0.88rem; font-weight: 500;
  white-space: nowrap;
}

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.two-col.flip > :first-child { order: 2; }
.two-col.flip > :last-child { order: 1; }

.section-eyebrow {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--rose); font-weight: 600; margin-bottom: 0.5rem;
}
.section-eyebrow.center, .section-title.center { text-align: center; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 1.2rem;
}
.section-title em { color: var(--rose); font-style: italic; }

/* ---- VIDEO SHOWCASE ---- */
.video-section {
  padding: 70px 0;
  background: var(--white);
}

.video-wrap {
  position: relative;
  margin-top: 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(192, 68, 106, 0.22);
  border: 4px solid var(--rose-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: #000;
}

.hostel-video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--rose);
  font-size: 0.82rem; font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  border: 1px solid var(--rose-light);
  letter-spacing: 0.04em;
}

/* ---- ABOUT ---- */
.about { background: var(--white); }

.about-text p {
  color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem;
}

.about-highlights { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.highlight {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--rose-pale); border-radius: var(--radius);
  padding: 14px 16px;
}
.h-icon { font-size: 1.4rem; flex-shrink: 0; }
.highlight strong { display: block; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.highlight span { font-size: 0.85rem; color: var(--text-muted); }

.about-photo-wrap {
  position: relative;
  border-radius: 20px; overflow: visible;
}
.about-photo-wrap img {
  width: 100%; height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--rose-light);
  display: block;
}
.about-photo-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-light);
}

/* ---- AMENITIES ---- */
.amenities { background: var(--rose-pale); }

.amenities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.amenity-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--rose-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.amenity-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.am-icon { font-size: 2rem; margin-bottom: 1rem; }
.amenity-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.amenity-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ---- ROOMS ---- */
.rooms { background: var(--white); }

.rooms-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.room-card {
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--rose-light);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-card.featured { border-color: var(--rose); box-shadow: var(--shadow); }

.room-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--rose); color: var(--white);
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
}

.room-header {
  padding: 2rem; display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; text-align: center;
}
.r1 { background: var(--rose-pale); }
.r2 { background: linear-gradient(135deg, var(--rose-light), var(--gold-light)); }
.r3 { background: var(--gold-light); }

.room-emoji { font-size: 2rem; }
.room-type { font-weight: 700; font-size: 1rem; color: var(--text); }

.room-body {
  padding: 1.5rem; background: var(--white);
}
.room-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.room-body li { font-size: 0.9rem; color: var(--text-muted); }

.rooms-note {
  text-align: center; margin-top: 2rem;
  font-size: 0.9rem; color: var(--text-muted);
}

/* ---- GALLERY ---- */
.gallery { background: var(--rose-pale); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 1rem; margin-top: 3rem;
  border-radius: var(--radius); overflow: hidden;
}

.gallery-item {
  position: relative; overflow: hidden; border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  background: var(--rose-light);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover { transform: scale(1.01); }
.gallery-item:hover .gi-overlay { opacity: 1; }

.gi-overlay {
  position: absolute; inset: 0;
  background: rgba(192,68,106,0.55);
  display: flex; align-items: flex-end; padding: 12px 14px;
  opacity: 0; transition: opacity 0.3s;
}
.gi-overlay span { color: var(--white); font-weight: 600; font-size: 0.9rem; }

/* CTA tile */
.gallery-cta-tile {
  background: var(--rose-pale);
  border: 2px dashed var(--rose-light);
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}
.gallery-cta-tile:hover { transform: none; }
.gallery-cta-content {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.gcta-icon { font-size: 2rem; }
.gallery-cta-content p { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.gallery-note {
  text-align: center; margin-top: 1.5rem;
  font-size: 0.9rem; color: var(--text-muted);
}

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testimonial-card {
  background: var(--rose-pale); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--rose-light);
}
.testimonial-card.featured-t {
  background: var(--rose); border-color: var(--rose);
}
.testimonial-card.featured-t p,
.testimonial-card.featured-t .t-stars { color: var(--white); }
.testimonial-card.featured-t .t-author strong { color: var(--white); }
.testimonial-card.featured-t .t-author span { color: rgba(255,255,255,0.7); }
.testimonial-card.featured-t .t-avatar { background: rgba(255,255,255,0.2); color: var(--white); }

.t-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.5rem; font-style: italic; }

.t-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose-light); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.t-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.t-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ---- LOCATION ---- */
.location { background: var(--rose-pale); }

.location-text p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.contact-item span { font-size: 0.88rem; color: var(--text-muted); }
.contact-item a { color: var(--rose); font-size: 0.88rem; }

.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 3px solid var(--rose-light);
}

/* ---- FOOTER ---- */
.footer { background: var(--brown); color: var(--white); }

.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem;
}

.footer-brand .logo-main { color: var(--rose-light); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0.75rem 0; }
.social-link { color: var(--gold); font-size: 0.88rem; }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h4, .footer-contact h4 {
  color: var(--rose-light); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.6; }
.footer-contact a { color: var(--gold); font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 2rem; max-width: 1200px; margin: 0 auto;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: 90px; min-height: auto; }
  .hero-image { display: flex; justify-content: center; }
  .hero-visual-block { width: 100%; max-width: 360px; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col.flip > :first-child { order: 1; }
  .two-col.flip > :last-child { order: 2; }
  .about-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
}

@media (max-width: 640px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-div { display: none; }
  .trust-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
