/* 
* igulagroup - Responsywne style 
* Autor: igula.pl
* Wersja: 1.0
*/

/* Tablet - średnie ekrany */
@media (max-width: 992px) {
  /* Nagłówek */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .btn-text {
    display: none;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  /* Sekcje */
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: 1;
  }
  
  .about-content {
    order: 2;
  }
  
  /* Checkout */
  .checkout-container {
    grid-template-columns: 1fr;
  }
  
  /* Auth */
  .auth-container {
    grid-template-columns: 1fr;
  }
  
  .auth-hero {
    display: none;
  }
}

/* Telefony - małe ekrany */
@media (max-width: 768px) {
  /* Nagłówek */
  .language-selector .current-language span {
    display: none;
  }
  
  /* Hero */
  .hero-banner {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Gridy */
  .categories-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Specjalna oferta */
  .special-offer h2 {
    font-size: 2rem;
  }
  
  .special-offer h3 {
    font-size: 1.5rem;
  }
  
  /* Newsletter */
  .form-group {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
  }
  
  .newsletter-form button {
    width: 100%;
    border-radius: var(--radius-md);
  }
  
  /* Footer */
  .footer-bottom {
    text-align: center;
  }
  
  .payment-methods {
    flex-direction: column;
    align-items: center;
  }
  
  .copyright {
    text-align: center;
  }
  
  /* Formularze */
  .form-container {
    padding: 1.5rem;
  }
  
  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  /* Cookie consent */
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Bardzo małe ekrany */
@media (max-width: 480px) {
  /* Header */
  .header-wrapper {
    padding: 0.5rem 0;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .language-selector {
    margin-right: 0.5rem;
  }
  
  .btn-account, .btn-cart {
    padding: 0.4rem;
    margin-left: 0.5rem;
  }
  
  /* Sekcje */
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Formularze */
  .auth-form {
    padding: 1.5rem;
  }
  
  /* Produkty */
  .product-card {
    margin: 0 0.5rem;
  }
  
  /* Oferta specjalna */
  .special-offer {
    padding: 2rem 0;
  }
  
  .special-offer h2 {
    font-size: 1.5rem;
  }
  
  .special-offer h3 {
    font-size: 1.25rem;
  }
  
  /* Footer */
  .site-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
}

/* Stany dla ciemnego motywu (jeśli obsługiwane) */
@media (prefers-color-scheme: dark) {
  :root {
    --background-light: #121212;
    --background-white: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-color: #3a3a3a;
  }
  
  .product-card, 
  .category-card,
  .auth-container,
  .checkout-form,
  .checkout-summary,
  .order-confirmation {
    background-color: #2a2a2a;
  }
  
  .logo h1 {
    background: linear-gradient(45deg, #5c6bc0, #ffb74d);
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  .form-input, .form-textarea, .form-select {
    background-color: #333;
    color: var(--text-primary);
  }
  
  .cookie-consent {
    background-color: #2a2a2a;
  }
  
  .newsletter-form input {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
  }
}