/* Sri Devagiri Balaji Temple - Responsive Breakpoints */

/* Extra Large Screens (1440px - 1920px) */
@media (min-width: 1440px) {
  .hero-title { font-size: 3.6rem; }
  .container { max-width: 1320px; }
}

/* Large Screens / Laptops (1024px - 1439px) */
@media (max-width: 1200px) {
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .item-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (768px - 1023px) */
@media (max-width: 1024px) {
  .donation-layout,
  .contact-layout,
  .location-layout,
  .about-temple-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-temple-image {
    height: clamp(220px, 45vw, 320px);
  }

  .alankara-spotlight-card {
    grid-template-columns: 1fr;
  }
  .alankara-img-col {
    min-height: 280px;
  }
  .alankara-info-col {
    padding: 2rem;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .section { padding: 3.5rem 0; }

  .about-temple-card { padding: 1.5rem; }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-description { font-size: 1rem; }
  
  .quick-info-section {
    margin-top: 2rem;
  }
  .quick-info-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid-3, .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .item-select-grid {
    grid-template-columns: 1fr;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .wizard-progress {
    justify-content: flex-start;
  }
  .wizard-step {
    flex: 0 0 auto;
    min-width: 110px;
    padding: 0.85rem 0.5rem;
    font-size: 0.72rem;
  }

  .receipt-paper,
  .temple-receipt-sacred {
    padding: 1.25rem 0.85rem !important;
    border-radius: 10px !important;
    border-width: 3px !important;
  }
  .receipt-grid,
  .receipt-two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .receipt-sacred-logo,
  .receipt-emblem-img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }
  .receipt-temple-name-sacred,
  .receipt-trust-title {
    font-size: 1.25rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
  }
  .receipt-meta-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem 0.5rem !important;
    padding: 0.75rem 0.85rem !important;
  }
  .receipt-card-section {
    padding: 1rem 0.85rem !important;
  }
  .receipt-offering-table th,
  .receipt-offering-table td {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
  .receipt-actions,
  .receipt-actions-sacred {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .receipt-actions .btn,
  .receipt-actions-sacred .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }
  .wizard-step-content {
    padding: 1.75rem 1rem !important;
  }
  .booking-wizard-wrapper {
    margin: 1rem auto 2.5rem auto !important;
    border-radius: 10px !important;
  }

  .top-notice-bar {
    display: none;
  }

  .admin-topbar {
    padding: 0 1rem;
  }
  .admin-content {
    padding: 1rem;
  }
}

/* Small Mobile Screens (320px - 425px) */
@media (max-width: 425px) {
  html { font-size: 14px; }
  
  .hero-section { padding: 1.75rem 0; }
  .hero-sacred-namam { margin-bottom: 0.75rem; }
  .hero-sacred-namam img { width: 52px; }
  .hero-title {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .hero-description {
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .about-temple-card { padding: 1.1rem; }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .wizard-step-content {
    padding: 1.5rem 1rem;
  }
  
  .receipt-actions {
    flex-direction: column;
    width: 100%;
  }
  .receipt-actions .btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .live-page-intro {
    padding: 2rem 0 1.5rem !important;
  }

  .live-page-content {
    padding: 1.5rem 0 2.5rem !important;
  }

  .live-page-player-card {
    padding: 1rem !important;
  }

  .live-page-player-heading {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.75rem !important;
  }

  .live-page-status-group {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.65rem !important;
    width: 100%;
  }

  .live-page-status-group h2 {
    font-size: clamp(1.05rem, 5vw, 1.35rem) !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .live-page-stream-link {
    width: 100%;
  }

  .live-player-placeholder-content {
    padding: 0.75rem 1rem 3.5rem !important;
    gap: 0.35rem;
    text-align: center;
  }

  .live-player-placeholder-icon {
    font-size: 1.75rem !important;
    margin-bottom: 0.1rem !important;
  }

  .live-player-placeholder-content h3 {
    max-width: 100%;
    font-size: clamp(0.95rem, 4.5vw, 1.25rem) !important;
    line-height: 1.25;
    letter-spacing: 0.4px !important;
    overflow-wrap: anywhere;
  }

  .live-player-placeholder-content p {
    max-width: 100%;
    font-size: clamp(0.72rem, 3vw, 0.88rem) !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
    display: none;
  }

  .live-player-connected-badge {
    display: none !important;
  }

  .live-player-control-bar {
    padding: 8px 10px !important;
    font-size: 0.68rem !important;
  }

  .live-player-control-bar > div:first-child {
    min-width: 0;
    gap: 6px !important;
  }

  .live-player-control-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .live-player-control-icons {
    gap: 8px !important;
    font-size: 0.85rem !important;
  }
}
