/* Souvenir Shop - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-decorative {
    display: none;
  }
  
  h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  p {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  
  .service-card,
  .team-card,
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  /* Swiper disabled effects on mobile */
  .swiper-slide {
    transform: none !important;
    transition: none !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-section {
    min-height: 75vh;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Swiper effects still disabled */
  .swiper-slide {
    transform: none !important;
    transition: none !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  /* Enable Swiper effects on tablets and up */
  .swiper-slide {
    transition: transform 0.3s ease !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: flex !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  h1 {
    font-size: 1.9rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .gallery-item img {
    height: 260px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../RES_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .service-card,
  .team-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-1: #000000;
    --primary-2: #333333;
    --light-1: #ffffff;
    --dark-1: #000000;
  }
  
  .service-card,
  .team-card,
  .feature-card {
    border: 2px solid #000000;
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  :root {
    --light-1: #2d2d2d;
    --light-2: #3d3d3d;
    --light-3: #4d4d4d;
    --dark-1: #f0f0f0;
    --dark-2: #ffffff;
  }
  
  body {
  overflow-x: hidden;
    background-color: var(--light-1);
    color: var(--dark-1);
  }
  
  .service-card,
  .team-card,
  .feature-card,
  .contact-form {
    background: var(--light-2);
    color: var(--dark-1);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .nav-link {
    padding: 1rem 0.5rem !important;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-decorative {
    animation: none !important;
  }
  
  .swiper-slide {
    transition: none !important;
  }
} 