/* =========================================
   GOLDEN MARINE — Responsive & Mobile Styles
   ========================================= */

/* --- Tablet & Below (768px) --- */
@media (max-width: 768px) {
  /* Hero Section */
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .hero__visual {
    order: -1;
    max-width: 100%;
    aspect-ratio: 16/9;
  }
  
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Intro Section */
  .intro__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .intro__stats {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Navigation */
  .nav__links {
    display: none;
  }
  
  .nav__menu-btn {
    display: flex;
    z-index: 1000;
  }
  
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  /* About Page */
  .about-story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact Form */
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
  
  /* Spacing Adjustments */
  .section {
    padding-block: var(--space-8);
  }
  
  .inner-hero {
    padding-top: calc(var(--space-8) + 60px);
    padding-bottom: var(--space-6);
  }
}

/* --- Mobile (480px and below) --- */
@media (max-width: 480px) {
  /* Stats Grid - Single Column */
  .intro__stats {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: var(--space-3);
  }
  
  /* Typography Adjustments */
  .hero__title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: var(--fs-2xl);
  }
  
  /* Button Adjustments */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--fs-xs);
  }
  
  /* Navigation Logo */
  .nav__logo {
    font-size: var(--fs-base);
  }
  
  .nav__logo-mark {
    font-size: var(--fs-lg);
  }
  
  /* Spacing Reductions */
  .section {
    padding-block: var(--space-6);
  }
  
  :root {
    --container-pad: 1.5rem;
  }
}

/* --- Large Screens (1400px+) --- */
@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
  }
  
  .hero__title {
    font-size: var(--fs-5xl);
  }
  
  .section-title {
    font-size: var(--fs-4xl);
  }
}

/* --- Touch Device Optimizations --- */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .btn,
  .nav__link,
  .service-card__link {
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Remove hover effects on touch devices */
  .btn:hover::before {
    transform: translateX(0);
  }
  
  /* Simplify animations for performance */
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.3s !important;
  }
}

/* --- Landscape Mobile --- */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-block: var(--space-8);
  }
  
  .hero__grid {
    gap: var(--space-3);
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .nav__menu-btn,
  .hero__cta-group,
  .site-footer,
  .preloader {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero,
  .inner-hero {
    background: white;
    color: black;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
  }
}
