/* ==========================================================================
   DIVINE - LUXURY MEN'S FASHION HOMEPAGE - RESPONSIVE STYLESHEET
   ========================================================================== */

/* --- Large Desktops / Ultra-Wide Screens --- */
@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
  
  .hero-title {
    font-size: 8rem;
  }
}

/* --- Standard Notebooks / Medium Desktops (Max 1200px) --- */
@media (max-width: 1200px) {
  .container {
    padding: 0 3rem;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .categories-grid {
    gap: 1.5rem;
  }
  
  .products-grid {
    gap: 2rem;
  }
  
  .story-content-column {
    padding: 4rem;
  }
}

/* --- Tablets and Small Laptops (Max 992px) --- */
@media (max-width: 992px) {
  :root {
    --header-height: 80px;
  }

  .container {
    padding: 0 2rem;
  }
  
  .section-heading h2 {
    font-size: 2.5rem;
  }

  .nav-menu {
    display: none; /* Hide standard nav menu; mobile menu handles navigation */
  }
  
  .menu-toggle {
    display: flex; /* Show mobile drawer toggle button */
  }

  /* Hero adjustments */
  .hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
  }
  
  .hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }
  
  /* Categories: 2-column grid instead of 3 */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .category-card {
    height: 450px;
  }

  /* Products: 2-column grid instead of 3 */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Brand Story: Stack columns vertically */
  .story-split {
    flex-direction: column;
  }
  
  .story-visual-column {
    height: 50vh;
    min-height: 400px;
  }
  
  .story-image-overlay {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, 1) 100%);
  }

  .story-content-column {
    padding: 4rem 2rem;
  }
  
  .story-content-wrapper {
    max-width: 100%;
  }

  /* Showcase Video Sizing */
  #showcase {
    height: 60vh;
  }
  
  .showcase-heading {
    font-size: 2rem;
  }

  /* Testimonials: stacked/flex wraps */
  .testimonials-slider {
    gap: 2rem;
  }
  
  .testimonial-card {
    max-width: 100%;
    width: 100%;
    padding: 3rem 2rem;
  }

  /* Instagram: 3 columns instead of 6 */
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Footer layout */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  /* Catalog Specific Layout: Tablet & Below */
  .horizontal-filter-bar {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }
  
  .filter-list {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .filter-list a {
    font-size: 0.8rem;
  }

  /* 2 columns on tablet */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  
  /* Touch devices: Always show actions since hover isn't possible */
  .in-image-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
  }
}

/* --- Mobile Landscape & Large Smartphones (Max 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-logo img {
    height: 72px;
  }

  #navbar.scrolled .nav-logo img {
    height: 52px;
  }

  .section-heading {
    margin-bottom: 3.5rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }
  
  .section-heading p {
    font-size: 1rem;
    margin-top: 1rem;
  }

  /* Hero buttons stacking/spacing */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  
  .hero-actions .btn-luxury {
    width: 100%;
    max-width: 300px;
  }

  /* Drawers */
  .drawer {
    width: 100%;
    right: -100%;
  }
  
  #mobile-nav-drawer {
    left: -100%;
    width: 100%;
  }
  
  #mobile-nav-drawer.active {
    left: 0;
  }

  /* Categories: Stacked single column */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-card {
    height: 380px;
  }

  /* Products: 1-column grid on mobile for luxury immersive feel */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .product-image-container {
    height: 280px;
  }

  /* Instagram: 2 columns */
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Newsletter */
  .newsletter-heading {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
    border-bottom: none;
    gap: 1.5rem;
  }
  
  .newsletter-input {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.8rem 0;
    text-align: center;
  }
  
  .newsletter-submit-btn {
    border: 1px solid var(--color-gold);
    padding: 1rem 2rem;
    text-align: center;
    background: transparent;
    transition: var(--transition-fast);
  }
  
  .newsletter-submit-btn:hover {
    background: var(--gold-gradient);
    color: var(--color-black);
  }

  /* Footer layout */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* --- Small Mobile Devices (Max 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
    letter-spacing: 0.15em;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }
  
  .story-heading {
    font-size: 2rem;
  }
  
  .story-quote {
    font-size: 1.15rem;
  }
  
  .showcase-play-btn {
    width: 80px;
    height: 80px;
    font-size: 1.2rem;
  }
  
  .showcase-play-btn::after {
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
  }

  .splash-logo-container img {
    height: 120px;
  }
}
