/* ===== BALLOON DECOR - RESPONSIVE CSS ===== */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Disable animations on mobile for reduced motion */
  .shape {
    animation: none;
  }
  
  .feature-item:hover,
  .service-card:hover,
  .team-member:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section {
    padding: 80px 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Mobile specific styles for Swiper */
@media (max-width: 768px) {
  .swiper {
    /* Disable autoplay and effects on mobile */
  }
  
  .swiper-slide {
    padding: 1rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-nav .nav-link {
    padding: 0.5rem 0.8rem !important;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .shape {
    display: none !important;
  }
  
  .section {
    padding: 20px 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('../YOG_images/hero-bg@2x.webp');
  }
}

/* Landscape orientation on mobile */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* Dark mode preferences (optional enhancement) */
@media (prefers-color-scheme: dark) {
  /* Keep original colors as specified - no dark mode */
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .shape {
    animation: none;
  }
  
  .swiper {
    scroll-behavior: auto;
  }
  
  .feature-item,
  .service-card,
  .team-member,
  .blog-card,
  .price-card {
    transition: none;
  }
  
  .feature-item:hover,
  .service-card:hover,
  .team-member:hover,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
  }
}

/* Container adjustments for different screen sizes */
@media (max-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
}

/* Specific mobile navigation improvements */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    color: var(--color-dark) !important;
    text-align: center;
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid #eee;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 5px;
  }
}

/* Form improvements for mobile */
@media (max-width: 767.98px) {
  .contact .container {
    padding: 0 20px;
  }
  
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn-primary {
    width: 100%;
    padding: 1.2rem;
  }
}

/* Gallery adjustments */
@media (max-width: 576px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Footer improvements */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Blog cards mobile optimization */
@media (max-width: 576px) {
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card img {
    height: 180px;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
}

/* Price cards mobile stacking */
@media (max-width: 767.98px) {
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
}

/* Team section mobile optimization */
@media (max-width: 576px) {
  .team-member {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
} 