/* Digital Recipe Cards Shop - Responsive Styles */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3.09rem;
  }
  
  .service-card {
    padding: 40px;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199.98px) {
  h1 {
    font-size: 2.64rem;
  }
  
  h2 {
    font-size: 1.91rem;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
  }
  
  .service-card {
    margin-bottom: 34.00px;
  }
  
  .team-member {
    margin-bottom: 34.00px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2.07rem;
  }
  
  h2 {
    font-size: 1.90rem;
  }
  
  h3 {
    font-size: 1.46rem;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .service-card {
    padding: 25px;
    margin-bottom: 23.00px;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  .service-price {
    font-size: 1.90rem;
  }
  
  .feature-item {
    margin-bottom: 34.00px;
  }
  
  .feature-item i {
    font-size: 2.64rem;
  }
  
  .team-member {
    margin-bottom: 23.00px;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .blog-card {
    margin-bottom: 23.00px;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.19rem !important;
  }
  
  h1 {
    font-size: 1.90rem;
  }
  
  h2 {
    font-size: 1.59rem;
  }
  
  h3 {
    font-size: 1.37rem;
  }
  
  p {
    font-size: 1.02rem;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 60vh;
    text-align: center;
    padding: 40px 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .service-card {
    padding: 20px;
    margin-bottom: 23.00px;
  }
  
  .service-card img {
    width: 50px;
    height: 50px;
  }
  
  .service-price {
    font-size: 1.59rem;
  }
  
  .feature-item {
    margin-bottom: 34.00px;
  }
  
  .feature-item i {
    font-size: 2.07rem;
  }
  
  .team-member {
    padding: 20px;
    margin-bottom: 23.00px;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .blog-card {
    margin-bottom: 23.00px;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .blog-card-body {
    padding: 20px;
  }
  
  .contact-form {
    padding: 25px;
    margin: 0 15px;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    overflow: visible;
  }
  
  .swiper-slide {
    transform: none !important;
  }
  
  .btn-primary {
    padding: 14px 20px;
    font-size: 1.02rem;
  }
}

/* Specific mobile optimizations for forms */
@media (max-width: 767.98px) {
  .form-control {
    font-size: 19.00px; /* Prevents zoom on iOS */
    padding: 15px;
  }
  
  .form-group {
    margin-bottom: 23.00px;
  }
  
  .contact-section {
    padding: 60px 0;
  }
}

/* Navigation optimizations */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    margin-top: 14.00px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.3;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-member,
  .blog-card {
    break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-member,
  .blog-card,
  .contact-form {
    border: 2px solid var(--primary-charcoal);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-charcoal);
  }
}

