/* Da'wah Public School - Theme based on uploaded reference design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --theme-topbar: #0B2418;
  --theme-hero: #153225;
  --theme-hero-dark: #0D2218;
  --theme-cream: #FCFAF6;
  --theme-cream-card: #F7F4ED;
  --theme-gold: #D49B35;
  --theme-gold-hover: #BF8828;
  --theme-text-dark: #19251E;
  --theme-text-muted: #5C6E64;
  --theme-green-accent: #2E7D32;
  --theme-whatsapp: #10B981;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #19251E;
  background-color: #FCFAF6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Master Editorial Serif Font for the iconic headline */
.font-editorial {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-motto {
  font-family: 'Amiri', serif;
}

/* Custom Gold Button matching the reference */
.btn-gold {
  background-color: #D49B35;
  color: #1A261E;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}
.btn-gold:hover {
  background-color: #BE8828;
  transform: translateY(-1px);
}

/* Hero Background and SVG watermark styling */
.hero-canvas {
  background-color: #163326;
  position: relative;
  overflow: hidden;
}

/* Card Subtle Hover */
.warm-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(22, 51, 38, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.warm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 155, 53, 0.4);
  box-shadow: 0 16px 30px -10px rgba(22, 51, 38, 0.08);
}

/* Hide all browser scrollbar visibility */
::-webkit-scrollbar {
  display: none;
  width: 0px;
  height: 0px;
}

html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  overflow-x: hidden;
}

/* Dynamic Motion & Animation for Campus Activity Showcase (Zero Elevation) */
@keyframes activityFloat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.018);
  }
}

.animate-activity-float {
  animation: activityFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-slow-rotate {
  animation: slowRotate 40s linear infinite;
}

@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 155, 53, 0.6), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(212, 155, 53, 0), 0 12px 18px -3px rgba(0, 0, 0, 0.12);
  }
}

.btn-pulse-glow {
  animation: buttonGlow 2.4s infinite;
}

/* Creative Parallax Stuck Background Effect */
.bg-stuck-parallax {
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .bg-stuck-parallax {
    background-attachment: fixed !important;
  }
}
