/* Geetham Art Gallery - Custom Brand Utilities & Glassmorphism */

body {
  background-color: #050507;
  color: #e2e8f0;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-btn {
  background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa841b 100%);
  color: #0a0a0d;
  transition: all 0.3s ease;
}

.gold-gradient-btn:hover {
  background: linear-gradient(135deg, #f5d061 0%, #ffffff 50%, #d4af37 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.glass-panel {
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.glass-card {
  background: linear-gradient(145deg, rgba(20, 20, 28, 0.8), rgba(10, 10, 14, 0.9));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.mandala-bg {
  background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
}

.tanjore-frame-shadow {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #050507;
}

::-webkit-scrollbar-thumb {
  background: #4e3612;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Custom range slider styling */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #d4af37;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Step Circle tracker styling */
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.step-circle.active {
  background: linear-gradient(135deg, #fce899 0%, #d4af37 100%);
  color: #09090b;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.step-circle.completed {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid #d4af37;
  color: #f5d45c;
}
.step-circle.pending {
  background: #15151e;
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #64748b;
}

/* Accordion FAQ content styling */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}
.accordion-content.open {
  max-height: 500px;
  transition: max-height 0.5s ease-in-out;
}

/* OTP box styling */
.otp-box {
  width: 48px;
  height: 58px;
  background: #0a0a0d;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fcd31c;
  transition: all 0.2s ease;
  outline: none;
}
.otp-box:focus {
  border-color: #d4af37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
  background: rgba(20, 20, 28, 0.9);
}
@media (max-width: 400px) {
  .otp-box {
    width: 38px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* ============================================================
   MOBILE VIEW — GEETHAM ART GALLERY (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ── ANNOUNCEMENT BAR ── */
  .announcement-bar-text {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  /* ── HEADER ── */
  header .header-inner {
    height: 64px !important;
  }

  /* Ensure cart badge & hamburger have sufficient tap area */
  header button,
  header a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ── MOBILE MENU DRAWER ── */
  #mobile-menu {
    padding: 0;
  }

  #mobile-menu-backdrop {
    transition: opacity 0.3s ease;
  }

  #mobile-menu {
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.85), 0 2px 0 rgba(212, 175, 55, 0.3);
  }

  #mobile-menu a,
  #mobile-menu button:not(.mobile-close-btn) {
    min-height: 52px;
    font-size: 15px;
  }

  .mobile-close-btn {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    border-radius: 9999px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
  }

  /* ── HERO SECTION ── */
  .hero-section {
    min-height: auto !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .hero-glass-panel {
    padding: 16px 12px !important;
    border-radius: 20px !important;
  }

  /* Hero image — taller on mobile for dramatic feel */
  #hero-slide-img {
    height: 320px !important;
    object-position: center top;
  }

  /* Slide arrow buttons — smaller and positioned at image edges */
  .hero-prev-btn,
  .hero-next-btn {
    width: 36px !important;
    height: 36px !important;
    top: 140px !important; /* vertically centered on image */
    background: rgba(5, 5, 7, 0.85) !important;
  }

  .hero-prev-btn {
    left: 4px !important;
  }

  .hero-next-btn {
    right: 4px !important;
  }

  /* Hero title */
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  /* Hero action buttons — stack and full-width */
  .hero-btn-group {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .hero-btn-group a {
    width: 100% !important;
    justify-content: center !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  /* ── DEITY HUB GRID ── */
  #deity-hub-grid {
    gap: 10px !important;
  }

  #deity-hub-grid button {
    padding: 14px !important;
    min-height: 68px;
  }

  #deity-hub-grid button span.font-serif {
    font-size: 1rem !important;
  }

  /* ── GALLERY GRID SECTION ── */
  #gallery-grid-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Collection header — stack on mobile */
  .collection-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .collection-view-all-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Product card dropdowns — stack vertically on mobile */
  .mobile-card-selects {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* Product card price + add-to-cart row */
  .card-bottom-row {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .card-bottom-row button {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    min-height: 44px;
  }

  /* ── ARTISAN JOURNEY — remove sticky on mobile ── */
  .artisan-sticky-panel {
    position: static !important;
    top: auto !important;
  }

  /* ── TESTIMONIALS ── */
  .testimonial-grid {
    gap: 14px !important;
  }

  /* ── CUSTOM ORDER CTA ── */
  #custom-order .right-action-box {
    padding: 20px 16px !important;
  }

  #custom-order h2 {
    font-size: 1.75rem !important;
  }

  /* ── FOOTER ── */
  footer .footer-grid {
    gap: 20px !important;
  }

  footer ul li {
    margin-bottom: 10px !important;
  }

  footer ul a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  /* ── CART DRAWER — full width on mobile ── */
  #wishlist-modal > div {
    max-width: 100% !important;
    width: 100% !important;
    border-left: none !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh !important;
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
  }

  #wishlist-modal {
    align-items: flex-end !important;
  }

  /* ── MODALS — safe mobile sizing ── */
  #artwork-modal > div,
  #custom-order-modal > div,
  #login-modal > div {
    margin: 0 8px !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
    max-height: 88vh !important;
  }

  #custom-order-modal .grid.grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  /* ── TOAST NOTIFICATION ── */
  #toast-notification {
    right: 12px !important;
    left: 12px !important;
    bottom: 16px !important;
  }

  /* ── GLASS CARD HOVER — disable on touch ── */
  .glass-card:hover {
    transform: none !important;
  }

  /* ── SECTION HEADINGS ── */
  .section-heading-xl {
    font-size: 1.75rem !important;
  }

}

/* Extra small phones (≤ 375px) */
@media (max-width: 375px) {
  #hero-slide-img {
    height: 280px !important;
  }

  .hero-title {
    font-size: 1.5rem !important;
  }

  header .logo-text {
    font-size: 1.1rem !important;
  }

  #deity-hub-grid button span.font-serif {
    font-size: 0.9rem !important;
  }
}

