/* Main Stylesheet - Imports all CSS modules */

/* Reset and Base */
@import url('reset.css');
@import url('variables.css');
@import url('typography.css');

/* Layout and Components */
@import url('layout.css');
@import url('components.css');
@import url('animations.css');
@import url('logo-styles.css');
@import url('swiper-custom.css');
@import url('gradient-animation.css');

/* ========================================
   GLOBAL STYLES
   ======================================== */

body {
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  width: 100%;
}

html {
  overflow-x: hidden;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: var(--z-modal);
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }

  .grid--products-4 {
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex-direction: column;
  }

  .testimonial-card__image {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .showcase-card {
    width: 450px;
    height: 250px;
  }

  .footer__main {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__brand,
  .footer__links-container {
    width: 100%;
  }

  /* Hero responsive - Tablet */
  .hero__imac-section {
    margin-top: 150px;
    padding-top: 80px;
  }

  .hero__cta-text {
    white-space: normal;
  }

  .hero__cta-line1 {
    font-size: 32px;
  }

  .hero__cta-line2 {
    font-size: 40px;
  }

  .hero__imac-container {
    width: 100%;
    height: 600px;
    overflow: visible;
  }

  .hero__products-layer {
    transform: translateX(-50%) scale(0.7);
    transform-origin: center 200px;
  }

  .hero__imac-section.is-animated .hero__products-layer {
    transform: translateX(-50%) scale(0.7);
  }

  .hero__imac {
    width: 450px;
    height: 378px;
    top: 80px;
  }

  /* Hero content wrapper - tablet */
  .hero__content-wrapper {
    min-height: calc(100vh - 80px);
    max-width: 100%;
    padding: 1.5rem;
  }
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero__content-wrapper {
    min-height: calc(100vh - 70px);
    padding: 1rem;
    left: 0;
    transform: none;
  }

  .grid--products-4 {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 400px;
  }

  .showcase-card {
    width: 320px;
    height: 180px;
  }

  .footer__links-container {
    flex-direction: column;
    height: auto;
    gap: 1.5rem;
  }

  .footer-category {
    width: 100%;
  }

  .trust-section__content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem var(--container-padding);
  }

  .slider-button {
    width: 100%;
    max-width: 350px;
  }

  /* Hero responsive - Mobile */
  .hero__imac-section {
    margin-top: 80px;
    padding-top: 40px;
  }

  .hero__cta-secondary {
    margin-bottom: 40px;
  }

  .hero__cta-text {
    white-space: normal;
    padding: 0 1rem;
  }

  .hero__cta-line1 {
    font-size: 22px;
  }

  .hero__cta-line2 {
    font-size: 26px;
  }

  .hero__imac-container {
    width: 100%;
    height: 400px;
    overflow: visible;
  }

  .hero__products-layer {
    transform: translateX(-50%) scale(0.45);
    transform-origin: center 150px;
  }

  .hero__imac-section.is-animated .hero__products-layer {
    transform: translateX(-50%) scale(0.45);
  }

  .hero__products-layer img {
    opacity: 0.8;
  }

  .hero__imac {
    width: 300px;
    height: 252px;
    top: 60px;
  }

  .hero__grid-background {
    width: 100%;
  }
}