/**
 * Golmoti Wishes - Main Stylesheet
 * Premium, modern Indian festive aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Festive Color Palette */
  --saffron-primary: #E65100;
  --saffron-light: #FF8F00;
  --saffron-subtle: #FFF3E0;
  --gold-primary: #D4AF37;
  --gold-light: #F3C74C;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --maroon-deep: #7B1113;
  --maroon-dark: #4A0E17;
  --cream-bg: #FDFBF7;
  --cream-surface: #FFFFFF;
  --cream-card: #FAF6F0;
  --text-dark: #2C1810;
  --text-muted: #6D5C54;
  --text-light: #94857D;
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-soft: rgba(230, 81, 0, 0.12);

  /* Functional */
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;
  --error-color: #D32F2F;
  --success-color: #2E7D32;

  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 24, 16, 0.12);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 12px 35px rgba(123, 17, 19, 0.08);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream-bg);
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 224, 178, 0.25) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(255, 204, 128, 0.2) 0%, transparent 40%);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

input, button, select, textarea {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 860px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--saffron-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron-primary), var(--gold-primary));
  transition: width 0.25s ease;
  border-radius: 2px;
}

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

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--saffron-primary), #D84315);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(230, 81, 0, 0.25);
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 81, 0, 0.35);
  color: #FFFFFF;
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 2px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  padding: 24px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  z-index: 999;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.15) 0%, rgba(230, 81, 0, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 620px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(230, 81, 0, 0.08);
  border: 1px solid rgba(230, 81, 0, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--saffron-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--saffron-primary);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(230, 81, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 81, 0, 0); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-headline span.highlight {
  background: linear-gradient(135deg, var(--saffron-primary), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--saffron-primary) 0%, #D84315 100%);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 22px rgba(230, 81, 0, 0.32);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 81, 0, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  background: #FFFFFF;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--cream-card);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--saffron-primary), var(--gold-primary), var(--saffron-primary));
}

.hero-art-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  position: relative;
}

.hero-art-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.3));
}

.hero-floating-diya {
  position: absolute;
  width: 52px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(255, 152, 0, 0.4));
  animation: floatDiya 3s ease-in-out infinite alternate;
}

.hero-floating-diya.left {
  bottom: 20px;
  left: -15px;
}

.hero-floating-diya.right {
  top: 20px;
  right: -15px;
  animation-delay: 1.5s;
}

@keyframes floatDiya {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(3deg); }
}

/* Section Common Styling */
.section {
  padding: 70px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--saffron-primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Festival Cards Grid */
.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.festival-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0,0,0,0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.festival-card.active-card {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
}

.festival-card.active-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.35);
  border-color: var(--saffron-primary);
}

.festival-card.coming-soon-card {
  opacity: 0.88;
  background: #FCFCFB;
}

.festival-card.coming-soon-card:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-active {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.badge-coming-soon {
  background: #F5F5F5;
  color: #757575;
  border: 1px solid #E0E0E0;
}

.card-icon-wrap {
  width: 74px;
  height: 74px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  padding: 10px;
}

.card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.card-native-name {
  font-size: 0.85rem;
  color: var(--saffron-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.btn-card-active {
  background: linear-gradient(135deg, var(--saffron-primary), #D84315);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
}

.btn-card-active:hover {
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.35);
}

.btn-card-disabled {
  background: #F0EEEB;
  color: #8D827A;
  cursor: not-allowed;
}

/* How It Works Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--saffron-primary), var(--gold-primary));
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(230, 81, 0, 0.3);
}

.step-icon {
  font-size: 2.2rem;
  margin: 10px 0 16px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #23120B;
  color: #D6CCC7;
  padding: 60px 0 30px;
  border-top: 3px solid var(--gold-primary);
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--gold-light);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 360px;
  color: #B3A49E;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #B3A49E;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #8D7E77;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #2C1810;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--gold-primary);
  animation: slideInToast 0.3s ease forwards;
  max-width: 360px;
}

.toast.success {
  border-left-color: var(--whatsapp-green);
}

.toast.error {
  border-left-color: var(--error-color);
}

@keyframes slideInToast {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 24, 16, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #FFFFFF;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--border-gold);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  background: #F0ECE4;
  color: var(--text-dark);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.modal-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-visual-card {
    max-width: 320px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-headline {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-headline {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas a, .hero-ctas button {
    width: 100%;
  }
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toast {
    max-width: 100%;
  }
}
