/* =====================================================
   SHIV SHAKTI ENTERPRISES - RESPONSIVE STYLES
   FUNZILLA & PLAY WAVE
   ====================================================== */

/* =====================================================
   BREAKPOINTS
   ====================================================== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  :root {
    --container-sm: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --container-md: 720px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  :root {
    --container-lg: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  :root {
    --container-xl: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  :root {
    --container-xl: 1320px;
    --container-2xl: 1400px;
  }
}

/* =====================================================
   MOBILE FIRST - SMALL DEVICES (< 768px)
   ====================================================== */

@media (max-width: 767.98px) {
  /* Base Typography */
  html {
    font-size: 15px;
  }
  
  /* Hero */
  .hero {
    padding: var(--space-12) 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image {
    min-height: 250px;
    order: -1;
  }
  
  .hero-image-placeholder {
    min-height: 250px;
  }
  
  /* Sections */
  .section {
    padding: var(--space-10) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-8);
  }
  
  /* Grid Layouts */
  .grid-2col {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .grid-3col {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* Card Layouts */
  .visual-card {
    padding: var(--space-6);
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* Contact Form */
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: 1;
  }
  
  /* Process Steps */
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .process-step {
    gap: var(--space-3);
  }
  
  /* Business Grid */
  .business-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .business-approach-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .business-approach-card {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
  
  /* Brands Grid */
  .brands-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* Products Overview */
  .products-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
  }
  
  .btn {
    width: 100%;
  }
  
  /* Product Grid */
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* Filter Bar */
  .filter-bar {
    flex-direction: column;
    gap: var(--space-3);
    align-items: stretch;
  }
  
  .filter-group {
    justify-content: space-between;
  }
  
  .search-box {
    min-width: 100%;
  }
  
  /* Header */
  .nav {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .header-logo-text {
    display: none;
  }
  
  .header-logo-badge {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  
  /* Mobile Navigation */
  .mobile-nav-body {
    padding: var(--space-3);
  }
  
  .mobile-nav-link {
    padding: var(--space-3);
    font-size: var(--font-size-base);
  }
  
  .mobile-nav-cta {
    padding: var(--space-4);
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  .footer-column:nth-child(3),
  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  
  .footer-copyright {
    order: 2;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: var(--space-2);
    order: 1;
  }
  
  /* Product Modal */
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  
  .product-modal-images {
    border-right: none;
    border-bottom: var(--border-width-1) solid var(--color-border-primary);
    padding-bottom: var(--space-6);
  }
  
  .product-modal-thumbnails {
    justify-content: center;
  }
  
  /* Enquiry */
  .enquiry-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .enquiry-steps {
    list-style: decimal;
    padding-left: var(--space-5);
  }
  
  .enquiry-form-actions {
    text-align: center;
  }
  
  /* Company Facts */
  .company-facts {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  /* Section CTA */
  .section-cta {
    padding: var(--space-10) 0;
  }
  
  .section-cta .cta-buttons {
    flex-direction: column;
  }
}

/* =====================================================
   MEDIUM DEVICES (768px - 991.98px)
   ====================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  /* Grid Layouts */
  .grid-2col {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  /* Form Grid */
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: 1;
  }
  
  /* Process Steps */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  /* Business Grid */
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  /* Business Approach */
  .business-approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .business-approach-card {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
  
  /* Brands */
  .brands-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* Products Overview */
  .products-overview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Product Grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  /* Filter Bar */
  .filter-bar {
    flex-wrap: wrap;
  }
  
  .search-box {
    min-width: 200px;
  }
  
  /* Header */
  .nav {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  .footer-column:nth-child(4),
  .footer-column:nth-child(5) {
    display: none;
  }
  
  /* Product Modal */
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  
  .product-modal-images {
    border-right: none;
    border-bottom: var(--border-width-1) solid var(--color-border-primary);
    padding-bottom: var(--space-6);
  }
}

/* =====================================================
   LARGE DEVICES (992px - 1199.98px)
   ====================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero */
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  /* Grid Layouts */
  .grid-2col {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  /* Form Grid */
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  /* Process Steps */
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  /* Business Grid */
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  /* Business Approach */
  .business-approach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  
  /* Products Overview */
  .products-overview-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
  
  /* Product Grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* =====================================================
   EXTRA LARGE DEVICES (1200px - 1399.98px)
   ====================================================== */

@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  /* Form Grid */
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Process Steps */
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  /* Business Grid */
  .business-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  /* Business Approach */
  .business-approach-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  /* Brands Grid */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
  
  /* Products Overview */
  .products-overview-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
  }
  
  /* Product Grid */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

/* =====================================================
   XXL DEVICES (1400px AND UP)
   ====================================================== */

@media (min-width: 1400px) {
  /* Hero */
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  
  .hero-content {
    padding-right: var(--space-8);
    text-align: left;
  }
  
  .hero-ctas {
    justify-content: flex-start;
  }
  
  .hero-image {
    order: 0;
  }
  
  /* Grid Layouts */
  .grid-2col {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  
  .grid-3col {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
  
  /* Contact Grid */
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
  
  /* Form Grid */
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Process Steps */
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
  
  /* Business Grid */
  .business-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
  
  /* Business Approach */
  .business-approach-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  .business-approach-card {
    flex-direction: row;
    text-align: left;
  }
  
  /* Products Overview */
  .products-overview-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
  }
  
  /* Product Grid */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  
  /* Filter Bar */
  .filter-bar {
    flex-wrap: nowrap;
  }
  
  .search-box {
    min-width: 300px;
  }
  
  /* Header */
  .nav {
    display: flex;
  }
  
  .header-cta {
    display: flex;
  }
  
  .mobile-nav-toggle {
    display: none;
  }
  
  .header-logo-text {
    display: flex;
  }
  
  .header-logo-badge {
    width: 44px;
    height: 44px;
    font-size: var(--font-size-lg);
  }
  
  /* Mobile Navigation */
  .mobile-nav-toggle {
    display: none;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: row;
  }
  
  .footer-copyright {
    order: 0;
    text-align: left;
  }
  
  .footer-legal {
    flex-direction: row;
    order: 1;
  }
  
  /* Product Modal */
  .product-modal-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-modal-images {
    border-right: var(--border-width-1) solid var(--color-border-primary);
    border-bottom: none;
    padding-bottom: 0;
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-wrap: nowrap;
    justify-content: center;
  }
  
  .btn {
    width: auto;
  }
}

/* =====================================================
   PRINT STYLES
   ====================================================== */

@media print {
  body {
    background: white;
    color: black;
  }
  
  .header,
  .footer,
  .mobile-nav-toggle,
  .mobile-nav-drawer,
  .mobile-nav-backdrop {
    display: none !important;
  }
  
  .btn,
  .btn-primary,
  .btn-secondary {
    display: none;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
}

/* =====================================================
   HIGH CONTRAST MODE
   ====================================================== */

@media (prefers-contrast: high) {
  .btn-primary,
  .btn-secondary,
  .btn-whatsapp {
    border: var(--border-width-2) solid currentColor;
  }
  
  .card,
  .product-card,
  .contact-card,
  .business-card,
  .brand-card {
    border: var(--border-width-2) solid var(--color-border-primary);
  }
}

/* =====================================================
   PREFERS REDUCED MOTION
   ====================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   DARK MODE (Optional - if needed)
   ====================================================== */

@media (prefers-color-scheme: dark) {
  /* Can add dark mode styles here if needed */
}

/* =====================================================
   END OF RESPONSIVE STYLES
   ====================================================== */
