/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon: #6B0F1A;
  --deep-red: #8B1A2B;
  --gold: #C9A84C;
  --light-gold: #E8D5A3;
  --cream: #FDF6E3;
  --warm-white: #FFFDF7;
  --dark: #1A1A1A;
  --text: #2C2C2C;
  --text-light: #5A5A5A;
  --teal: #1A5C5A;
  --saffron: #D4762C;
  --border-gold: rgba(201, 168, 76, 0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', 'Georgia', serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--maroon); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === DECORATIVE ELEMENTS === */
.ornament {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 12px auto;
  letter-spacing: 8px;
  opacity: 0.7;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 40px;
}

.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 40px;
}

section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: var(--cream);
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--light-gold) !important;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--light-gold);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--light-gold);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/gallery/40-basavaraj-brothers-hydrabad-palace.jpg') center center / cover no-repeat;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(107, 15, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 24px;
}

.hero-content .sanskrit {
  font-size: 1.1rem;
  color: var(--light-gold);
  letter-spacing: 4px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content .hero-sub {
  font-size: 1.3rem;
  color: var(--light-gold);
  font-style: italic;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-content .hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 2px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--light-gold);
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--light-gold);
  border: 1px solid var(--light-gold);
}

.btn-outline:hover {
  background: var(--light-gold);
  color: var(--dark);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--light-gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--border-gold);
}

.about-image .image-frame {
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  pointer-events: none;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(201, 168, 76, 0.08);
  border-left: 3px solid var(--gold);
}

.highlight-item .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.highlight-item .label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.highlight-item .value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--maroon);
}

/* === GURU === */
.guru-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.guru-photo {
  text-align: center;
}

.guru-photo img {
  border-radius: 4px;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.guru-photo .caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.guru-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.lineage-tree {
  margin-top: 32px;
  padding: 24px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}

.lineage-tree h4 {
  color: var(--maroon);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.lineage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--border-gold);
}

.lineage-item:last-child { border-bottom: none; }

.lineage-arrow {
  color: var(--gold);
  font-size: 1.2rem;
}

.lineage-name {
  font-weight: 600;
  color: var(--maroon);
}

.lineage-detail {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === MUSIC / VIDEOS === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.video-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.video-card .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-card .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card .video-info {
  padding: 16px;
}

.video-card .video-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--dark);
}

.video-card .video-info p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.video-category-title {
  font-size: 1.4rem;
  color: var(--maroon);
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
}

.video-category-title:first-of-type {
  margin-top: 0;
}

/* Streaming Links */
.streaming-section {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--maroon), var(--deep-red));
  border-radius: 4px;
  color: #fff;
}

.streaming-section h3 {
  color: var(--light-gold);
  margin-bottom: 8px;
}

.streaming-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

.streaming-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.streaming-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  color: #fff !important;
  font-size: 0.88rem;
  transition: all 0.3s;
}

.streaming-link:hover {
  background: rgba(255,255,255,0.25);
  color: #fff !important;
}

/* === BASAVARAJ BROTHERS / ATEETAM === */
.project-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

.project-hero img {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.project-hero h3 {
  font-size: 1.6rem;
  color: var(--maroon);
  margin-bottom: 12px;
}

.project-hero p {
  margin-bottom: 12px;
  font-size: 1rem;
}

.project-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.member-card {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
  transition: transform 0.3s;
}

.member-card:hover {
  transform: translateY(-4px);
}

.member-card .member-name {
  font-weight: 700;
  color: var(--maroon);
  font-size: 1rem;
  margin-bottom: 4px;
}

.member-card .member-instrument {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* === GALLERY === */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-light);
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 0.82rem;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light-gold);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.5;
  transition: opacity 0.3s;
  padding: 16px;
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* === PRESS === */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.press-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.3s;
}

.press-card:hover {
  transform: translateY(-4px);
}

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

.press-card .press-info {
  padding: 16px;
}

.press-card .press-info h4 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.press-card .press-info p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.press-quote {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 32px;
  background: rgba(201, 168, 76, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
}

.press-quote .source {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-style: normal;
  color: var(--text-light);
}

/* === ACADEMY === */
.academy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.academy-features {
  list-style: none;
  margin-top: 16px;
}

.academy-features li {
  padding: 12px 0;
  border-bottom: 1px dotted var(--border-gold);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}

.academy-features li::before {
  content: '\2727';
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dvd-cards {
  display: grid;
  gap: 16px;
}

.dvd-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}

.dvd-card h4 {
  color: var(--maroon);
  font-size: 1rem;
  margin-bottom: 8px;
}

.dvd-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  color: var(--maroon);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  padding: 12px 0;
  border-bottom: 1px dotted var(--border-gold);
  font-size: 0.95rem;
}

.contact-details li strong {
  color: var(--maroon);
  display: inline-block;
  width: 100px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--maroon) !important;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--maroon);
  color: #fff !important;
  border-color: var(--maroon);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--light-gold);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
}

.footer-bottom .sanskrit-footer {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
  .about-grid,
  .guru-content,
  .project-hero,
  .academy-content,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .guru-content { grid-template-columns: 200px 1fr; }

  .hero-content h1 { font-size: 2.5rem; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 26, 26, 0.98);
    padding: 16px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border-gold);
  }

  .nav-links.active { display: flex; }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .hamburger { display: flex; }

  .hero-content h1 { font-size: 2rem; }
  .hero-content .hero-sub { font-size: 1.1rem; }

  .guru-content { grid-template-columns: 1fr; }
  .guru-photo { max-width: 250px; margin: 0 auto; }

  .about-highlights { grid-template-columns: 1fr; }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  section { padding: 56px 0; }

  .project-members {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content .sanskrit { font-size: 0.9rem; letter-spacing: 2px; }
  .btn { padding: 10px 24px; font-size: 0.88rem; }
  .streaming-links { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
