/* 
* Aylmer Tee - Responsive Stylesheet
* Website: aylmertee.store
* Description: Responsive styles for Premium Brazilian Tea Store
*/

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Header */
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    background-color: var(--card-color);
    width: 100%;
    height: calc(100vh - 80px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  /* Hero */
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  /* Products */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  /* Sustainability */
  .sustainability-list {
    grid-template-columns: 1fr;
  }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Header */
  .header .container {
    padding: 10px;
  }
  
  .logo h1 {
    font-size: 1.4rem;
  }
  
  .logo img {
    width: 40px;
    height: 40px;
  }
  
  /* Hero */
  .hero {
    height: 90vh;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  /* About */
  .about-text p {
    font-size: 1rem;
  }
  
  /* Games */
  .games-list, .news-list {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-links ul {
    align-items: center;
  }
}

/* Small Height Screens */
@media screen and (max-height: 600px) and (min-width: 481px) {
  .hero {
    height: auto;
    padding: 100px 0;
  }
}

/* Large Screens (1400px and above) */
@media screen and (min-width: 1400px) {
  html {
    font-size: 18px;
  }
  
  .container {
    max-width: 1400px;
  }
}

/* Dark Mode Preference */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #81c784;
    --secondary-color: #2e7d32;
    --text-color: #f5f5f5;
    --background-color: #121212;
    --card-color: #1e1e1e;
    --footer-color: #0e3e10;
  }
  
  .product-card,
  .sustainability-list li,
  .games-list li,
  .news-list li {
    background-color: #252525;
  }
  
  .header {
    background-color: rgba(30, 30, 30, 0.95);
  }
  
  .form-group input, .form-group textarea {
    background-color: #333;
    color: var(--text-color);
    border-color: #555;
  }
}
