/* Responsive CSS for Magic Shop Template */

/* Extra Large Screens */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
}

/* Large Screens */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .service-card {
    min-height: 350px;
  }
}

/* Medium Screens */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .service-card {
    min-height: 320px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Small Screens */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
    min-height: 280px;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .feature-item {
    margin-bottom: 1.5rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* Extra Small Screens */
@media (max-width: 767px) {
  /* Typography */
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Layout */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .service-card,
  .team-member,
  .feature-item,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    text-align: center;
  }
  
  /* Sections Padding */
  .services-section,
  .features-section,
  .team-section,
  .reviews-section,
  .contact-section,
  .faq-section,
  .blog-section,
  .gallery-section {
    padding: 3rem 0;
  }
  
  /* Contact Form */
  .form-control {
    margin-bottom: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Gallery */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  /* Blog Cards */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* Accordion/FAQ */
  .accordion-item {
    margin-bottom: 0.5rem;
  }
}

/* Tiny Screens */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 1.375rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .service-card,
  .team-member,
  .feature-item {
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Landscape Orientation for Mobile */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-desc {
    font-size: 0.85rem;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../NUM_images/hero-bg@2x.webp');
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-member,
  .review-card {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-section,
  .service-card,
  .team-member,
  .gallery-item,
  .blog-card {
    transition: none !important;
    animation: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-member,
  .review-card,
  .blog-card {
    border: 2px solid var(--black);
  }
  
  .btn-primary {
    border: 2px solid var(--black);
  }
  
  .form-control {
    border: 2px solid var(--black);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #1F2937;
    --black: #F9FAFB;
    --gray-light: #374151;
    --gray-dark: #D1D5DB;
  }
  
  .service-card,
  .team-member,
  .review-card,
  .blog-card,
  .feature-item {
    background: var(--gray-light);
    color: var(--black);
  }
  
  .form-control {
    background: var(--gray-light);
    color: var(--black);
    border-color: var(--gray-dark);
  }
} 