/* =====================================================
   HOME PAGE — Joginder Gymkhana Club
   ===================================================== */

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(7,22,40,0.60) 0%,
      rgba(7,22,40,0.35) 40%,
      rgba(7,22,40,0.68) 100%
    );
  transition: transform 8s ease;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  transition: transform 8s ease;
}
.hero:hover .hero-bg-img { transform: scale(1.03); }
.hero:hover .hero-bg { transform: scale(1.03); }
#heroParticles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}
.hero-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  animation: fadeInDown 1s ease both;
}
.hero-welcome::before,
.hero-welcome::after {
  content: ''; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-welcome::after {
  background: linear-gradient(270deg, transparent, var(--gold));
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
  animation: fadeInUp 1s 0.2s ease both;
}
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 0.75rem;
  animation: fadeInUp 1s 0.4s ease both;
}
.hero-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s 0.55s ease both;
}
.hero-location span { color: var(--gold-light); }
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.7s ease both;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(184,147,58,0.6);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: mouseScroll 2s ease-in-out infinite;
}
@keyframes mouseScroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(8px); opacity: 0.2; }
}
.scroll-label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(184,147,58,0.7); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── ABOUT HOME SECTION ── */
.about-home { padding: 100px 0; background: var(--white); }
.about-home-text h2 { margin-bottom: 1rem; }
.about-home-text .para { max-width: 560px; }
.about-home-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ── HISTORY SECTION ── */
.history-section {
  padding: 100px 0;
  background: var(--cream);
}
.history-img-wrap {
  position: relative;
  height: 460px;
  border-radius: 4px;
  overflow: hidden;
}
.history-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── FACILITIES SECTION ── */
.facilities-section {
  padding: 100px 0;
  background: var(--teal);
  position: relative;
  overflow: hidden;
}
.facilities-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?w=1600&q=60') center/cover no-repeat;
  opacity: 0.06;
}
.facilities-section .container { position: relative; z-index: 1; }

/* ── BACKGROUND BLOB ANIMATIONS ── */
.bg-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.45;
  animation: floatBlob 25s infinite alternate ease-in-out;
}
.bg-blob-1 {
  background: radial-gradient(circle, rgba(184,147,58,0.22) 0%, transparent 70%);
  top: -15%;
  left: -8%;
}
.bg-blob-2 {
  background: radial-gradient(circle, rgba(13,34,64,0.7) 0%, transparent 70%);
  bottom: -15%;
  right: -8%;
  animation-delay: -7s;
  animation-duration: 28s;
}
.bg-blob-3 {
  background: radial-gradient(circle, rgba(184,147,58,0.15) 0%, transparent 70%);
  top: 35%;
  left: 30%;
  animation-delay: -14s;
  animation-duration: 32s;
}
@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(70px, 50px) scale(1.1) rotate(120deg); }
  66% { transform: translate(-30px, 70px) scale(0.95) rotate(240deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.facility-card-img-wrap {
  overflow: hidden;
  height: 210px;
}

/* ── EVENTS SECTION ── */
.events-section { padding: 90px 0; background: var(--white); }
.events-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── ENQUIRE SECTION ── */
.home-enquire { padding: 0; }
.enquire-inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  min-height: 420px;
}
.enquire-left {
  background:
    linear-gradient(135deg, rgba(13,34,64,0.88), rgba(92,16,16,0.7)),
    url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1200&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 4rem;
}
.enquire-right {
  background: var(--white);
  padding: 3.5rem;
}

/* ── GALLERY SECTION ── */
.home-gallery-section { padding: 90px 0; background: var(--cream); position: relative; overflow: hidden; }
.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.gallery-card-home {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.gallery-card-home img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-card-home:hover img { transform: scale(1.05); }
.gallery-card-overlay-home {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,22,40,0.85) 0%, rgba(7,22,40,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0; transition: opacity 0.4s ease;
}
.gallery-card-home:hover .gallery-card-overlay-home { opacity: 1; }
.gallery-card-cat-home { font-size: 0.68rem; text-transform: uppercase; color: var(--gold); letter-spacing: 0.15em; font-weight: 700; margin-bottom: 4px; }
.gallery-card-title-home { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--white); font-weight: 600; }

/* ── SHOWCASE SECTION ── */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.showcase-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.showcase-content {
  background: #0d2240;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
}
.showcase-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(184,147,58,0.5);
}
.showcase-club-name {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: #d4a94a;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.showcase-location {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.showcase-divider {
  width: 50px;
  height: 1px;
  background: #b8933a;
  margin: 1rem auto;
}
.showcase-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}
.showcase-est-badge {
  background: rgba(184,147,58,0.9);
  color: #071628;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
}
.showcase-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,34,64,0.5), transparent);
}
.showcase-est-wrap {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}
.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: transparent;
  border: 1px solid rgba(184,147,58,0.6);
  color: #d4a94a;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s;
}
.showcase-btn:hover {
  background: #b8933a;
  color: #071628;
}

/* ── ENQUIRE CONTACT INFO ROWS ── */
.enquire-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.enquire-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
}
.enquire-contact-row a {
  color: inherit;
  text-decoration: none;
}
.enquire-contact-icon {
  color: var(--gold);
}
.enquire-contact-row-top {
  align-items: flex-start;
}
.enquire-contact-icon-top {
  color: var(--gold);
  margin-top: 2px;
}
.enquire-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .enquire-inner { grid-template-columns: 1fr; }
  .enquire-left { padding: 3rem 2rem; min-height: 250px; }
  .enquire-right { padding: 2.5rem 2rem; }
  .showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .facilities-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 3rem; }
}
@media (max-width: 900px) {
  .gallery-grid-home { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .gallery-grid-home { grid-template-columns: 1fr; }
}
