/* 
* Sneha Caretaker Services - Responsive Stylesheet
* Author: StackBlitz
* Version: 1.0
*/

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .slide-content h2 {
    font-size: 4rem;
  }
  
  .slide-content p {
    font-size: 1.5rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .slide-content h2 {
    font-size: 3.5rem;
  }
  
  .slide-content p {
    font-size: 1.3rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .slide-content h2 {
    font-size: 3rem;
  }
  
  .slide-content p {
    font-size: 1.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image, 
  .about-text {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, 
  .contact-form {
    width: 100%;
  }
  
  .footer-content > div {
    min-width: 45%;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) 0;
    transition: top 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 10;
  }
  
  .nav-menu.active {
    top: 70px;
  }
  
  .nav-menu li {
    margin: var(--space-xs) 0;
  }
  
  .nav-link {
    color: var(--dark-gray) !important;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .slide-content h2 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.1rem;
  }
  
  .services-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .footer-content > div {
    min-width: 100%;
    margin-bottom: var(--space-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .slide-content h2 {
    font-size: 2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-buttons {
    bottom: var(--space-sm);
    right: var(--space-sm);
  }
  
  .whatsapp-btn,
  .call-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .back-to-top {
    bottom: var(--space-sm);
    left: var(--space-sm);
    width: 40px;
    height: 40px;
  }
}