/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hind', sans-serif;
  font-family: 'Merriweather', serif;
  background-color: #fffaf2;
  color: #4a2600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.header {
  background-color: #800000;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h2 {
  font-style: italic;
  margin: 0;
  color: #ffffff;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.navbar a:hover,
.navbar a.active {
  border-bottom: 2px solid #ffd700;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Banner */
/* .hero img {
  width: 100%;
  height: auto;
  margin-top: 35px;
} */
.hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(255 255 255 / 59%);
  padding: 1.5rem 1rem;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-overlay h1 {
  font-size: 1.5rem;
  color: #8b0000;
  margin-bottom: 0.8rem;
  font-family: 'Noto Serif', serif;
  font-weight: bold;
}

.hero-overlay h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: goldenrod;
  margin: 6px auto 0;
}

.hero-overlay p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.location-text {
  font-size: 1rem;
  color: #4a2600;
  line-height: 1.6;
  text-align: center;
  margin: 20px 0;
}


/* Sections */
section {
  padding: 40px 0;
}

h2 {
  color: #a52a2a;
  margin-bottom: 20px;
}

/* Schedule */
.schedule ul {
  list-style: square;
  margin-left: 20px;
}

/* Quote */
.quote blockquote {
  font-size: 20px;
  font-style: italic;
  color: #444;
  text-align: center;
  border-left: 4px solid #ffd700;
  padding-left: 15px;
}

/* Social */
.social {
    background-color:#800000;
}

.social h2 {
    text-align: center;
    color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 20px;
  font-size: 24px;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  color: #ffffff;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

/* Footer */
.footer {
  background-color: #800000;
  color: #fff;
  text-align: center;
  padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    position: relative;
  }

  .navbar ul {
    flex-direction: column;
    background: #800000;
    position: absolute;
    top: 35px;
    right: 0;
    width: 200px;
    display: none;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .navbar ul li {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar ul li:last-child {
    border-bottom: none;
  }

  .navbar.active ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
  }

  .logo h2 {
    font-size: 18px;
  }
}

@media screen and (max-width: 600px) {
  .hero-banner {
    height: 300px;
  }

  .hero-overlay {
    padding: 1rem 0.8rem;
  }

  .hero-overlay h1 {
    font-size: 1rem;
  }

  .hero-overlay p {
    font-size: 0.75rem;
  }
}

/* Youtube */
.youtube {
  padding: 40px 0;
  background-color: #fff7e6;
}

.youtube h2 {
  text-align: center;
  color: #a52a2a;
  margin-bottom: 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.youtube-link {
  text-align: center;
  margin-top: 20px;
}

.youtube-link .btn {
  background-color: #800000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.youtube-link .btn:hover {
  background-color: #a52a2a;
}

.lang-toggle {
  display: flex;
  gap: 10px;
}

.lang-btn {
  background-color: transparent;
  border: 2px solid #ffd700;
  color: #fff;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background-color: #ffd700;
  color: #800000;
}

/* Our Ashram */
.ashram-intro {
  padding: 50px 20px;
  background-color: #fdf6f0;
  text-align: center;
}

.ashram-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.ashram-card {
  width: 300px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.ashram-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ashram-card h3 {
  color: #b43f24;
  margin: 15px 10px 10px;
  font-size: 20px;
}

.ashram-card p {
  padding: 0 15px;
  font-size: 15px;
  color: #444;
}

.read-more-btn {
  display: inline-block;
  margin: 15px;
  color: #fff;
  background-color: #b43f24;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

/* Intro */
.read-more-container {
    text-align: center;
    margin-top: 20px;
}

/* .read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #800000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}*/

.read-more-btn:hover {
    background-color: #a52a2a; 
} 

/* Font Awesome CDN required */
/* @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css'); */

.social-floating-icons {
    position: fixed;
    top: 40%;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.social-floating-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.social-floating-icons .whatsappicon { background: #25D366; }
.social-floating-icons .facebookicon { background: #3b5998; }
.social-floating-icons .instagramicon {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-floating-icons .youtubeicon { background: #FF0000; }

.social-floating-icons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.social-toggle {
    position: fixed;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    border-radius: 0 5px 5px 0;
    transition: left 0.3s;
}

.hide-icons .social-floating-icons {
    left: -60px; /* hide off screen */
}

.hide-icons .social-toggle {
    left: 0;
}

.hide-icons #toggleIcon {
    transform: rotate(180deg);
}