/* 
  Styles.css - Baba Trivati Nath Mandir 
  Premium Spiritual Aesthetics
*/

:root {
  /* Color Palette */
  --primary: #FF671F; /* Saffron/Ochre */
  --primary-dark: #cc4d12;
  --secondary: #D4AF37; /* Warm Gold */
  --bg-color: #FDFBF7; /* Warm off-white */
  --bg-light: #F4EBE1; 
  --dark-color: #2D2321;
  --darker-color: #1A1311;
  --text-color: #4A4A4A;
  
  /* Fonts */
  --font-en: 'Outfit', sans-serif;
  --font-hi: 'Mukta', sans-serif;
  
  /* Utilities */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body {
  font-family: var(--font-en);
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  font-family: var(--font-en);
}

.hero-title, .text-white h1, .text-white h2, .text-white h3 {
  color: #fff !important;
}

.brand-title {
  font-family: var(--font-hi);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark-color) !important; }
.bg-darker { background-color: var(--darker-color) !important; }
.bg-light { background-color: var(--bg-light) !important; }

/* Navbar Styling */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--darker-color);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
}

.navbar-brand {
  color: #fff !important;
}

.nav-logo {
  height: 50px;
  border-radius: 5px;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
}

.navbar.scrolled .nav-link {
  color: rgba(255,255,255,0.8);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Custom Buttons */
.premium-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.premium-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--primary-dark);
  transition: var(--transition);
  z-index: -1;
}

.premium-btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.premium-btn:hover::before {
  width: 100%;
}

.premium-btn-outline {
  border-width: 2px;
  border-radius: 50px;
  padding: 0.6rem 2rem;
  font-weight: 600;
}

.premium-btn-outline:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  /* Adjust background position to top center so the top of the image doesn't get cut off */
  background: url('assets/images/hero_bg.jpg') no-repeat top center / cover;
  position: relative;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 19, 17, 0.65) 0%, rgba(255, 103, 31, 0.2) 100%);
  z-index: 0;
}

.hero-title {
  font-family: var(--font-hi);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.mouse {
  width: 30px;
  height: 45px;
  border: 2px solid #fff;
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { top: 8px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* Section Utilities */
.section-padding {
  padding: 6rem 0;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-hi);
  background-color: rgba(255, 103, 31, 0.1);
  color: var(--primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.lead-text {
  font-size: 1.15rem;
  color: var(--dark-color);
  font-weight: 500;
}

/* Custom Lists */
.custom-list li {
  padding-bottom: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-color);
}

/* Image Wrappers */
.image-wrapper {
  transition: var(--transition);
}

.image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.2) !important;
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background-color: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Custom Cards */
.custom-card {
  padding: 2.5rem 1.5rem;
  transition: var(--transition);
  background-color: #fff;
  top: 0;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.card-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 103, 31, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.custom-card:hover .card-icon-wrapper {
  background-color: var(--primary);
  color: #fff;
}

/* Management Section */
.pattern-bg {
  position: relative;
}

.pattern-bg::before {
  content: '';
  position: абсолюте; /* typo simulated */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
  background-size: 30px 30px;
  z-index: 0;
}

.glass-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease-out;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Footer */
.footer-logo {
  height: 60px;
  border-radius: 5px;
  object-fit: contain;
}

.footer-title {
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Team & Committee */
.team-card {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  z-index: -1;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.profile-icon {
  box-shadow: 0 5px 15px rgba(255, 103, 31, 0.3);
  transition: var(--transition);
}

.team-card:hover .profile-icon {
  transform: scale(1.1);
}

/* Feature List */
.feature-list li {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.feature-list li:hover {
  border-left-color: var(--primary);
  transform: translateX(10px);
}

/* Responsiveness */
@media (max-width: 991.98px) {
  .navbar {
    background-color: var(--darker-color) !important;
    padding: 0.5rem 0;
  }
  
  .navbar-collapse {
    background-color: var(--darker-color);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 10px;
  }
  
  .image-badge {
    position: relative;
    right: 0;
    bottom: 0;
    display: inline-block;
    margin-top: -30px;
    z-index: 2;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
}
