/* Responsive Styles for Fantasy Map Generator */

/* Mobile First Approach */
@media (max-width: 767.98px) {
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  /* Typography adjustments */
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
  }
  
  /* Hero section mobile */
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.80rem;
    margin-bottom: 1.17rem;
  }
  
  .hero-subtitle {
    font-size: 1.32rem;
    margin-bottom: 1.73rem;
  }
  
  /* Section padding reduction */
  section {
    padding: 2rem 0;
  }
  
  /* Card adjustments */
  .service-card, .feature-card, .price-card, .team-card {
    margin-bottom: 1.73rem;
    padding: 1.5rem;
  }
  
  /* Navigation */
  .navbar-nav {
    text-align: center;
    margin-top: 1.06rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Form adjustments */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer mobile */
  .footer {
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .footer .row > div {
    margin-bottom: 1.73rem;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Adjust card layouts for tablet */
  .service-card, .feature-card {
    margin-bottom: 2.05rem;
  }
}

/* Desktop adjustments */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Large screen hero adjustments */
  .hero-section {
  padding-top: 50px;
    padding: 0 2rem;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Print styles */
@media print {
  .navbar, .footer {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    background: none !important;
    color: black !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-secondary: #454343;
    --color-white: #FFFFFF;
    --color-dark: #000000;
  }
  
  .service-card, .feature-card, .price-card {
    border: 2px solid #000000;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
  padding-top: 50px;
    min-height: 50vh;
  }
  
  section {
    padding: 1.5rem 0;
  }
} 