/* Milap Theater - Marathi Theatre Website */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
  --primary: #8b2500;
  --primary-dark: #5c1a00;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --bg-dark: #1a0f0a;
  --bg-card: #2d1810;
  --text: #f5ebe0;
  --text-muted: #c4a574;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Devanagari', 'Segoe UI', 'Nirmala UI', Arial, Helvetica, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 15, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
  padding: 0.75rem 1.5rem;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-link img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: var(--gold-light);
}

/* Main content - offset for fixed navbar */
main {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
/* Hero with image slider */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 15, 10, 0.85) 0%, rgba(92, 26, 0, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero h1 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Sections */
section {
  padding: -0.5rem 0;
}

.section-title {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Shevga show dates - location buttons */
.shevga-shows {
  margin: 2rem 0;
}

.show-block {
  margin-bottom: 2.5rem;
}

.show-block:last-child {
  margin-bottom: 0;
}

.shevga-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.shevga-col {
  min-width: 0;
}

.shevga-col-intro {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.shevga-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.location-btn {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.location-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.location-btn.active {
  background: var(--gold);
  color: var(--bg-dark);
}

.shevga-detail-card {
  display: none;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow);
  flex-direction: column;
}

.shevga-detail-card.visible {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.shevga-detail-card .card-img-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
  overflow: hidden;
  flex-shrink: 0;
}

.shevga-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.shevga-detail-card .card-body {
  padding: 1.25rem;
}

.shevga-detail-card .card-body h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.shevga-detail-card .card-body p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.shevga-booking-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.25rem;
  background: #f84464;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}

.shevga-booking-btn:hover {
  background: #e63352;
  transform: translateY(-1px);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.service-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.3);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.project-card .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-gallery {
  display: inline-block;
  margin-top: 0.5rem;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-light);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-gallery:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-1px);
}

/* Team carousel */
.team-section {
  margin: 1.5rem 0 2rem;
}

.team-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-track-wrap {
  overflow: hidden;
  width: 100%;
}

.team-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s ease;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.team-card-body {
  padding: 1rem 1rem 1.1rem;
}

.team-card-body h3 {
  color: var(--gold);
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.team-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.team-nav {
  border: 1px solid var(--gold);
  background: var(--bg-card);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.team-nav:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-1px);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-content {
  position: relative;
  z-index: 1101;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item span.icon {
  font-size: 1.5rem;
}

.contact-item a {
  color: var(--gold-light);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
  margin-top: 1rem;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 400px;
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 2px solid var(--gold);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Social media floating button */
.social-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
}

.social-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.social-float-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.social-float-panel {
  position: absolute;
  bottom: 64px;
  left: 0;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 0.75rem;
  min-width: 200px;
  box-shadow: var(--shadow);
  display: none;
}

.social-float-panel.open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.social-float-panel a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.social-float-panel a:hover {
  background: var(--primary);
  color: var(--gold-light);
}

.social-float-panel .panel-title {
  font-weight: 600;
  color: var(--gold);
  padding: 0.25rem 0.75rem 0.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  margin-bottom: 0.25rem;
}

/* Page title */
.page-title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

/* About - two columns on larger screens */
.about-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
  border: 2px solid var(--gold);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  margin: 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 1rem;
  }

  .navbar-inner {
    flex-direction: column;
    gap: 0.35rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }

  .nav-links a {
    padding: 0.35rem 0.6rem;
    font-size: 0.95rem;
  }

  /* Extra top clearance so hero is not cut by fixed navbar on mobile */
  main {
    padding-top: 120px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 320px;
  }

  .hero-content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .shevga-two-cols {
    grid-template-columns: 1fr;
  }

  .shevga-locations {
    flex-direction: column;
  }

  .location-btn {
    width: 100%;
  }

  .team-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .team-card img {
    height: 240px;
  }
}

@media (max-width: 560px) {
  .team-carousel {
    gap: 0.5rem;
  }

  .team-card {
    flex-basis: 100%;
  }

  .team-card img {
    height: 230px;
  }

  .team-nav {
    width: 38px;
    height: 38px;
  }
}
