/* =========================================================
   HSS MUNDUR — index.css
   Homepage-specific styles
   ========================================================= */

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 50%, #0f2744 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(27,122,120,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,168,76,.08) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center; gap: 10px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInUp .8s ease both;
}
.hero h2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 24px;
  animation: fadeInUp .9s .1s ease both;
}
.hero h2 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: 1.12rem; color: rgba(255,255,255,.72);
  max-width: 560px; margin-bottom: 44px;
  animation: fadeInUp .9s .2s ease both;
}
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp .9s .3s ease both;
}
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  animation: fadeInUp .9s .4s ease both;
}
.stat-item .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold-light); line-height: 1;
}
.stat-item .stat-label {
  font-size: .78rem; color: rgba(255,255,255,.55);
  letter-spacing: .06em; text-transform: uppercase; margin-top: 6px;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4); font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  animation: bounce 2s ease infinite;
}
.hero-scroll i { font-size: 1.1rem; }

/* ── About Preview ─────────────────────────────────────── */
.about-preview { padding: 100px 0; background: var(--white); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
  width: 100%; height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  width: 100%; height: 480px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 4rem;
}
.about-img-placeholder span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; margin-top: 16px;
  letter-spacing: .06em; color: rgba(255,255,255,.35);
}
.about-badge-float {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--gold); color: var(--navy);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; box-shadow: var(--shadow-md); z-index: 2;
}
.about-badge-float .badge-year { font-size: 2rem; line-height: 1; }
.about-badge-float .badge-text { font-size: .65rem; letter-spacing: .04em; text-align: center; line-height: 1.3; margin-top: 4px; }

.about-text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.about-text p { margin-bottom: 18px; font-size: 1rem; }

/* ── Features Section ──────────────────────────────────── */
.features-section { padding: 80px 0; background: var(--cream); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; transition: var(--transition);
  border: 1px solid transparent; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(27,122,120,.12); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white); margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { font-size: .92rem; line-height: 1.65; }

/* ── Gallery Preview ───────────────────────────────────── */
.gallery-preview { padding: 100px 0; background: var(--navy); }
.gallery-preview .section-title h2 { color: var(--white); }
.gallery-preview .section-title p { color: rgba(255,255,255,.55); }
.gallery-preview .section-label { color: var(--gold-light); }
.gallery-preview .section-label::before { background: var(--gold-light); }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.g-item {
  border-radius: 8px; overflow: hidden;
  position: relative; background: var(--navy-mid); cursor: pointer;
}
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(4) { grid-column: span 2; }
.g-item img {
  width: 100%; height: 100%; min-height: 180px;
  object-fit: cover; transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(13,27,42,.85));
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end;
  padding: 16px; color: white;
  font-size: .85rem; font-weight: 500;
}
.g-item:hover .g-overlay { opacity: 1; }

/* ── CTA Section ───────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-section p { color: rgba(255,255,255,.8); margin: 16px auto 36px; max-width: 520px; }
.cta-section .btn-primary { background: var(--white); color: var(--teal); }
.cta-section .btn-primary:hover { background: var(--cream); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-badge-float { bottom: -16px; right: 16px; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .g-item:nth-child(1) { grid-column: span 2; }
  .g-item:nth-child(4) { grid-column: span 1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 60px) 0 80px; }
  .hero-stats { gap: 28px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-masonry { grid-template-columns: 1fr; }
  .g-item:nth-child(1), .g-item:nth-child(4) { grid-column: span 1; }
}

@media (max-width: 480px) {
  .about-badge-float { width: 88px; height: 88px; }
  .about-badge-float .badge-year { font-size: 1.6rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
}
