/* ============================================================
   VJI Relax Music - Devotional Theme (Saffron + Gold)
   ============================================================ */

:root {
  --saffron: #ff6b35;
  --saffron-dark: #e55100;
  --gold: #d4a017;
  --gold-light: #f5c842;
  --maroon: #8b0000;
  --cream: #fff8e7;
  --bg: #fffbf2;
  --bg-alt: #fef3d7;
  --text: #3d2817;
  --text-light: #6b5544;
  --border: #e8d5a8;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(212, 160, 23, 0.15);
  --shadow-lg: 0 15px 35px rgba(255, 107, 53, 0.2);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Hindi text styling */
.title-hi, .footer-tagline-hi, .sanskrit-quote,
h1:lang(hi), h2:lang(hi) {
  font-family: 'Tiro Devanagari Hindi', 'Poppins', serif;
}

a { color: var(--saffron-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--maroon); }

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

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

/* ===== Header ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; color: var(--text); }
.logo-icon { font-size: 2rem; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 0.85rem;
  color: var(--saffron-dark);
}

.main-nav { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a { color: var(--text); font-weight: 500; }
.main-nav a:hover { color: var(--saffron); }
.btn-youtube { background: #ff0000; color: var(--white) !important; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; }
.btn-youtube:hover { background: #cc0000; color: var(--white) !important; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--saffron); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #ff6b35 0%, #ff9a3c 50%, #d4a017 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.om-large {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero-en { font-size: 1.4rem; opacity: 0.95; margin-bottom: 1rem; font-style: italic; }
.hero-subtitle { font-size: 1.1rem; max-width: 750px; margin: 0 auto 2rem; opacity: 0.95; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
}
.btn-primary { background: var(--white); color: var(--saffron-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--maroon); }
.btn-secondary { background: rgba(255,255,255,0.2); color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.3); color: var(--white); }

/* ===== Sections ===== */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  color: var(--saffron-dark);
}
.section-title .title-hi {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 0.3rem;
  font-weight: 500;
}

.page-section { padding: 3rem 0; min-height: 60vh; }
.page-section h1 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--saffron-dark); }
.page-section h1 .title-hi { display: inline; font-size: 1.8rem; color: var(--gold); margin-left: 0.5rem; }
.page-subtitle { color: var(--text-light); margin-bottom: 2rem; font-size: 1.1rem; }

/* ===== Video Grid ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.video-card:hover .video-thumb img { transform: scale(1.05); }

.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,0,0,0.9);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 4px;
}
.video-info { padding: 1rem; }
.video-info h3 { font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.4; }
.video-info h3 a { color: var(--text); }
.video-info h3 a:hover { color: var(--saffron); }
.video-info p { color: var(--text-light); font-size: 0.9rem; }
.video-category {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--saffron-dark);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border: 1px solid var(--gold-light);
}

/* ===== Category Grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--white);
  border-color: var(--gold);
}
.category-card:hover h3, .category-card:hover p, .category-card:hover .cat-count { color: var(--white); }
.cat-icon { font-size: 3rem; margin-bottom: 0.7rem; line-height: 1; }
.category-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--saffron-dark); }
.category-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.4; }
.cat-count { display: inline-block; margin-top: 0.8rem; font-size: 0.85rem; color: var(--gold); font-weight: 600; }

/* ===== Single Video Page ===== */
.video-page { padding: 2rem 0; }
.breadcrumb { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }
.breadcrumb a { color: var(--saffron); }
.video-title { font-size: 2rem; margin-bottom: 1rem; line-height: 1.2; color: var(--text); }
.video-meta {
  display: flex; gap: 1.5rem; margin-bottom: 1.5rem;
  color: var(--text-light); font-size: 0.9rem;
  flex-wrap: wrap; align-items: center;
}
.video-cat-tag { background: var(--saffron); color: var(--white) !important; padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.85rem; }

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  border: 3px solid var(--gold);
}
.video-player iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; }

.video-actions { display:flex; gap:1rem; margin-bottom:2rem; flex-wrap:wrap; }
.video-actions .btn-primary { background: var(--saffron); color: var(--white); }
.video-actions .btn-primary:hover { background: var(--saffron-dark); color: var(--white); }
.video-actions .btn-secondary { background: var(--bg-alt); color: var(--saffron-dark); border: 2px solid var(--saffron); }

.video-description {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--saffron);
}
.video-description h2 { margin-bottom: 1rem; font-size: 1.3rem; color: var(--saffron-dark); }

.video-tags { margin-bottom: 2rem; }
.tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--saffron-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin: 0.2rem;
  border: 1px solid var(--gold-light);
}

.related-section { margin-top: 3rem; }
.related-section h2 { margin-bottom: 1.5rem; color: var(--saffron-dark); }

/* ===== Pagination ===== */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a {
  padding: 0.5rem 1rem;
  background: var(--white);
  border-radius: 8px;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.pagination a.active, .pagination a:hover { background: var(--saffron); color: var(--white); border-color: var(--saffron); }

/* ===== About snippet ===== */
.about-snippet { max-width: 800px; margin: 0 auto; text-align: center; }
.about-snippet h2 { margin-bottom: 1rem; color: var(--saffron-dark); }
.about-snippet p { color: var(--text-light); margin-bottom: 1rem; }

/* ===== Content pages ===== */
.content-page { max-width: 800px; margin: 0 auto; }
.content-page h1 { color: var(--saffron-dark); margin-bottom: 1rem; }
.content-page h2 { margin: 1.5rem 0 0.8rem; color: var(--saffron-dark); }
.content-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-page ul li { margin-bottom: 0.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin-top: 2rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--saffron); }
.contact-form button { align-self: flex-start; background: var(--saffron); color: var(--white); padding: 0.9rem 2rem; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; }
.contact-form button:hover { background: var(--saffron-dark); }

.alert { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert.success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, #3d2817 0%, #2a1a0e 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3 { color: var(--gold-light); margin-bottom: 1rem; font-size: 1.3rem; }
.footer-col h4 { color: var(--gold-light); margin-bottom: 1rem; font-size: 1.05rem; }
.footer-col p { color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.footer-tagline-hi { font-size: 1.05rem !important; color: var(--gold-light) !important; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.75); }
.footer-col ul li a:hover { color: var(--gold-light); }

.social-links { display: flex; gap: 0.6rem; }
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}
.social-links a:hover { background: var(--saffron); color: var(--white); }

.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-form input { flex:1; padding: 0.7rem; border: none; border-radius: 8px; font-family: inherit; }
.newsletter-form button { background: var(--saffron); color: var(--white); border: none; padding: 0 1.2rem; border-radius: 8px; cursor: pointer; font-weight: 600; }
.newsletter-form button:hover { background: var(--saffron-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-bottom a { color: rgba(255,255,255,0.85); }
.sanskrit-quote {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-en { font-size: 1.1rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .om-large { font-size: 3rem; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    gap: 0.5rem;
  }
  .main-nav.open { display: flex; }
  .section-title { font-size: 1.5rem; }
  .section-title .title-hi { font-size: 1.2rem; }
  .video-title { font-size: 1.4rem; }
  .logo-text { font-size: 1.1rem; }
  .logo-sub { font-size: 0.75rem; }
}
