@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* Global Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

/* Header Styles */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  min-height: 300px;
  padding: 1rem;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  font-weight: bold;
  text-align: center;
  margin-top: 38px;
  font-size: 1.8rem;
  position: relative;
}

.hero .hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .hero-logo img {
  display: inline-block;
  height: 150px;
  width: auto;
}

.hero .hero-page-title {
  font-weight: 600;
  width: 100%;
  max-width: 100vw;
  text-align: center;
  padding: 0 2rem;
  box-sizing: border-box;
  margin-top: auto;
}

.hero .hero-prabhupada {
  max-width: 100px;
  height: auto;
  display: block;
  padding-top: 0.1rem;
}

.hero .hero-prabhupada img {
  height: 80px;
  width: auto;
}

/* Sticky Header Styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

.sticky-header {
  background-color: #35253A;
  padding: 2px 1rem;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  height: 38px;
}

.sticky-header nav {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.sticky-header nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  transition: background 0.2s;
}

.sticky-header a, 
header a {
  text-decoration: none;
  color: inherit;
}

.sticky-header a:hover,
header a:hover {
  text-decoration: none;
  color: #d4af37;
}

.sticky-header nav a:hover,
.sticky-header nav a.active {
  background-color: #4c384d;
  border-radius: 4px;
  text-decoration: none;
  color: #d4af37;
}

.sticky-header .top-header-icons {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  align-items: center;
}

nav .dropdown {
  position: relative;
  display: inline-block;
}

.sticky-header nav a i {
    padding-left: 4px;
}

nav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #35253A;
  min-width: 140px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1001;
  flex-direction: column;
}

nav .dropdown-content a {
  display: block;
  padding: 0.5rem;
  color: white;
  text-decoration: none;
}

nav .dropdown:hover .dropdown-content {
  display: flex;
}

nav .dropdown-content a:hover {
  background-color: #4c384d;
}

/* Page Content Styles */
main {
  max-width: 960px;
  margin: auto;
  margin-top: -20px;
  padding: 2rem 1rem;
}

.container.page-content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
  color: #6b1e6b; /*#2c3e50;*/
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content h1 {
  margin-top: 1rem;
  font-size: 2rem;
}

.page-content h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

.page-content h3 {
  font-size: 1.2rem;
}

.page-content ul {
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1.5rem;
}

/* Paragraph Styles */
.page-content p {
  margin-bottom: 1.2rem;
}

.page-content a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px dotted #0066cc;
  transition: color 0.2s ease;
}

.page-content a:hover {
  color: #004999;
  border-bottom: 1px solid #004999;
}

.page-content section {
  margin-bottom: 3rem;
}

.page-content section > h1, .page-content section > h2 {
  margin-top: 1rem;
}

.page-content .highlight {
  font-weight: 600;
  color: #6b1e6b;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #666666;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Event List Container */
.event-list {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

/* Each Event */
.event-list li {
  background: #f8f4fc;
  border-left: 4px solid #6b1e6b;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.page-content ul.event-list {
  list-style: none;
  padding-left: 0;
}

.event-list li:hover {
  background: #f1e8f9;
}

/* Highlight event name */
.event-list li strong {
  display: block;
  font-size: 1.1rem;
  color: #6b1e6b;
  margin-bottom: 0.25rem;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Bhagavad Gita quote block */
.bg-quote {
  background: #f5f1f9;
  border-left: 4px solid #6b1e6b;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1rem;
  color: #333;
}

.bg-quote p {
  margin: 0.5rem 0;
}

.bg-quote .translation {
  font-style: normal;
  color: #444;
}

.quote-ref {
  margin-top: -1rem;
  color: #6b1e6b;
  font-weight: 500;
}

/* Donation cards layout */
.donation-section {
  margin-top: 2rem;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.donation-card {
  background-color: #fff;
  border: 2px solid #ece6f2;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.donation-card:hover {
  transform: translateY(-3px);
}

.donation-card h3 {
  font-size: 1.1rem;
  margin-top: 0rem;
  margin-bottom: 1rem;
  color: #6b1e6b;
}

/* Donate button */
a.donate-button {
  display: inline-block;
  background-color: #6b1e6b;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

a.donate-button:hover {
  background-color: #541654;
  color: #d4af37;
}

/* Preview Section Styles */
.preview-section, .contact-section {
  padding: 2rem 1rem;
  background-color: #faf8f5;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.preview-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(107, 30, 107, 0.1);
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.preview-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.preview-card h3 {
  margin: 1rem 0;
  font-size: 1.3rem;
  color: #6b1e6b;
}

.preview-card p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: #444;
}

a.preview-button {
  display: inline-block;
  margin: 0 1rem 1rem;
  padding: 0.5rem 1rem;
  background-color: #6b1e6b;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

a.preview-button:hover {
  background-color: #4e1551;
  color: #d4af37;
}

/* Contact Section Styles */
.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  flex: 1;
  font-size: 1rem;
  color: #333;
}

.contact-details h2 {
  color: #6b1e6b;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-details p {
  margin: 0.5rem 0;
}

.contact-details a {
  color: #6b1e6b;
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  color: #d4af37;
  text-decoration: underline;
}

.map-container {
  flex: 1;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Founder‑Āchārya Page Styles */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.founder-image img {
  width: 100%;
  border-radius: 0.5rem;
  display: block;
  padding: 1rem 0;
}

.founder-text p {
  margin-bottom: 1rem;
}

/* Krishna Club Specific Styles */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(107, 30, 107, 0.1);
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  color: #6b1e6b;
  margin-bottom: 1rem;
}

.method-list {
  list-style: none;
  padding: 0;
}

.method-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.method-icon {
  color: #6b1e6b;
  margin-right: 1rem;
  width: 1.5rem;
  text-align: center;
}

/* Footer Styles */
footer {
  background-color: #5c445d;
  color: white;
  padding: 1.5rem 1rem;
  text-align: center;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

footer .social-links a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.4rem;
  text-decoration: none;
}

/* Video Wrapper Styles */
.page-content .video-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-content .video-wrapper iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Donate Styles */
.page-content .donate-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.page-content .donation-section .qr-box {
  background-color: #f4f4f4;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #ddd;
  max-width: 320px;
  margin-left: 0;
  margin-bottom: 1rem;
}

.page-content .donation-section .qr-box img {
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.page-content .donation-section .bank-details {
  background-color: #f4f4f4;
  padding: 1rem 2rem;
  border-radius: 8px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
  text-align: left;
  max-width: 300px;
}

.page-content .donation-section .bank-details h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #333;
}

.page-content .donation-section .bank-details p {
  margin: 0.25rem 0;
  color: #444;
}

.page-content .donation-section .upi-button {
  display: inline-block;
  background-color: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 1rem;
}

.page-content .donation-section .upi-button:hover {
  background-color: #1d4ed8;
}

/* Seva Table Styles */
.seva-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.seva-table th, .seva-table td {
  border: 1px solid #ccc;
  padding: 0.6rem 1rem;
  text-align: left;
}

.seva-table th {
  background-color: #f3f3f3;
}

.donate-callout {
  margin-top: 1rem;
  font-weight: bold;
  color: #222;
}

/* Responsive Styles */
@media (max-width: 550px) {
  .hero .hero-logo img {
    height: 100px;
  }

  .hero .hero-prabhupada img {
    height: 60px;
    width: auto;
  }

  .hero .hero-page-title {
    font-size: 1.4rem;
    padding: 0 1rem;
  }
  
  .hero .hero-prabhupada img {
    height: 80px;
  }

  .menu-toggle {
    display: none;
  }

  .sticky-header nav a {
    margin: 0;
    font-size: 0.85rem;
    text-align: left;
  }

  .sticky-header nav a.home-link, 
  .sticky-header .top-header-icons .fb-icon,
  .sticky-header .top-header-icons .insta-icon {
    display: none;
  }
 
  .sticky-header nav .dropdown-content {
    display: none;
    flex-direction: column;
    background-color: #35253A;
    padding-left: 1rem;
  }

  .sticky-header nav .dropdown-content a {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }

  .sticky-header nav .dropdown-content.show-submenu {
    display: flex;
  }

  .sticky-header nav .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .event-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact-details{
    flex: 1;
  }

  .map-container {
    flex: 2;
  }

  .founder-grid {
    grid-template-columns: 0.7fr 2fr;
  }

  .founder-image {
    max-width: 250px;
  }

  .page-content .donate-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
}