/*
Theme Name: SaiVeena Traditional
Theme URI: https://saiveena.kshanam.in
Description: A premium, traditional Indian classical dance theme for Sai Veena School of Arts matching logo color palette.
Author: Antigravity
Version: 1.0.0
*/

:root {
  /* Logo Derived Palette */
  --bg-primary: #0e070c;      /* Rich dark plum */
  --bg-secondary: #160c13;    /* Card dark plum */
  --bg-tertiary: #20121d;     /* Highlight background */
  
  --brand-plum: #6a0c47;      /* Deep logo plum */
  --brand-orange: #e05315;    /* Accent orange */
  --gold-primary: #f0a70a;    /* Brilliant Indian gold */
  --gold-secondary: #f3e5ab;  /* Soft metallic gold */
  --gold-gradient: linear-gradient(135deg, #e05315 0%, #f0a70a 100%);
  --gold-glow: rgba(240, 167, 10, 0.25);
  
  --text-primary: #f6f2f5;    /* Cream white */
  --text-secondary: #a99ca5;  /* Soft gray */
  --text-muted: #72606d;      /* Warm dark gray */
  
  --border-color: rgba(106, 12, 71, 0.3);
  --border-color-hover: rgba(240, 167, 10, 0.4);
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  --radius-md: 12px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Mandala Motifs */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106, 12, 71, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240, 167, 10, 0.08) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, .serif-font {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--brand-orange);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(14, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold-primary);
}

.brand-text h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

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

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

.nav-cta {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px var(--gold-glow);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 167, 10, 0.4);
  color: #000;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 8% 80px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.hero-content {
  flex: 1.2;
  max-width: 650px;
}

.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--brand-orange);
  padding-bottom: 4px;
}

.hero-content h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-content h2 em {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0e070c;
  border: none;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(240, 167, 10, 0.4);
}

.btn-secondary {
  background: rgba(106, 12, 71, 0.15);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(106, 12, 71, 0.3);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.hero-media {
  flex: 0.9;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-bg {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106, 12, 71, 0.3) 0%, rgba(224, 83, 21, 0.1) 60%, transparent 100%);
  position: absolute;
  animation: pulse 6s infinite alternate;
  border: 1px dashed rgba(240, 167, 10, 0.2);
}

.hero-guru-img {
  width: 340px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 5;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--border-color);
  transition: var(--transition-smooth);
}

.hero-guru-img:hover {
  border-color: var(--gold-primary);
  transform: scale(1.02);
}

/* Sections */
.section {
  padding: 100px 8%;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--brand-orange);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-title em {
  font-style: italic;
  color: var(--gold-primary);
}

/* Program / Brochure Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 30px rgba(240, 167, 10, 0.15);
}

.gallery-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(14, 7, 12, 0.9) 0%, rgba(14, 7, 12, 0.4) 70%, transparent 100%);
  padding: 24px;
  color: white;
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--gold-primary);
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* About Guru Section */
.about-guru-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-guru-image-wrap {
  flex: 0.9;
  position: relative;
  display: flex;
  justify-content: center;
}

.about-guru-img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 2px solid var(--border-color);
}

.about-guru-info {
  flex: 1.1;
}

.about-guru-info h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--gold-primary);
}

.about-guru-title {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-orange);
  font-weight: 600;
  margin-bottom: 24px;
}

.about-guru-bio {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.cred-tag {
  background: rgba(106, 12, 71, 0.25);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 25px rgba(240, 167, 10, 0.1);
}

.course-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: inline-block;
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--gold-primary);
}

.course-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.course-features {
  list-style: none;
}

.course-features li {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.course-features li::before {
  content: "✦";
  color: var(--brand-orange);
}

/* YouTube performances */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

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

.video-info {
  padding: 20px;
}

.video-info h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--gold-primary);
}

.video-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Traditional Quote Section */
.quote-section {
  background: linear-gradient(rgba(14, 7, 12, 0.92), rgba(14, 7, 12, 0.92)), 
              radial-gradient(circle, rgba(106, 12, 71, 0.3) 0%, transparent 60%);
  padding: 120px 8%;
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.quote-icon {
  font-size: 3rem;
  color: var(--brand-orange);
  margin-bottom: 24px;
}

.quote-text {
  font-size: 2.2rem;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 24px auto;
  font-weight: 400;
}

.quote-translation {
  color: var(--gold-primary);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Contact Info cards */
.contact-container {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.contact-info-panel {
  flex: 1;
  background: rgba(106, 12, 71, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e070c;
  font-weight: bold;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: var(--gold-primary);
}

.contact-detail p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-map-panel {
  flex: 1.2;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 380px;
}

/* Footer */
footer {
  background: #060305;
  border-top: 1px solid var(--border-color);
  padding: 60px 8% 30px 8%;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-desc h2 {
  font-size: 1.8rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.footer-desc p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(106, 12, 71, 0.2);
  transform: translateY(-2px);
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(106, 12, 71, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating Actions */
.floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e070c;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.float-erp {
  background: var(--gold-gradient);
}

.float-whatsapp {
  background: #25d366;
  color: white;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.04); opacity: 1; }
}

/* Media Queries */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .about-guru-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .credential-tags {
    justify-content: center;
  }
  .contact-container {
    flex-direction: column;
  }
}
