/* Responsive Design for Cozy Journaling Nook */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.94rem;
  }
  
  .hero-decorative-blob {
    width: 100px;
    height: 100px;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .service-item {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.34rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2.07rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Disable autoplay and effects for Swiper on mobile as per requirements */
  .swiper {
    --swiper-autoplay-delay: 0;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-decorative-blob {
    animation: float 6s ease-in-out infinite;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 2.63rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-decorative-blob {
    width: 250px;
    height: 250px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 2.84rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .hero-decorative-blob {
    width: 300px;
    height: 300px;
  }
}

/* Utility Classes for Responsive Design */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-center-mobile {
    text-align: left;
  }
}

/* Responsive Images */
.img-responsive {
  max-width: 100%;
  height: auto;
}

/* Responsive Spacing */
.py-mobile-2 {
  padding-top: 1.17rem;
  padding-bottom: 1.20rem;
}

@media (min-width: 768px) {
  .py-mobile-2 {
    padding-top: 2.11rem;
    padding-bottom: 2.20rem;
  }
}

/* Mobile Navigation Adjustments */
@media (max-width: 767.98px) {
  .navbar-nav {
    text-align: center;
    margin-top: 1.22rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
}

/* Mobile-specific styles for better touch interaction */
@media (max-width: 767.98px) {
  .btn {
    min-height: 48px;
    padding: 0.8rem 1.5rem;
  }
  
  .form-control {
    min-height: 48px;
    font-size: 20.00px; /* Prevents zoom on iOS */
  }
  
  .faq-question {
    min-height: 48px;
    padding: 1rem;
  }
}

/* Tablet-specific adjustments */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .col-md-6 .service-item {
    margin-bottom: 2.21rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
}

/* Print styles */
@media print {
  .hero-decorative-blob,
  .navbar,
  .footer,
  .btn,
  form {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1rem 0;
  }
} 