/* ===== RESPONSIVE STYLES - YOGA STUDIO TEMPLATE ===== */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.5rem;
    --font-size-navbar-brand: 1.25rem;
    --section-padding: 3rem 0;
    --section-padding-small: 2rem 0;
  }

  .navbar-brand {
    font-size: var(--font-size-navbar-brand);
  }

  .hero-title {
    font-size: 1.89rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-desc {
    font-size: 1.07rem;
  }

  .section-title {
    font-size: 1.54rem;
  }

  .service-item,
  .about-feature,
  .review-item,
  .faq-item,
  .process-item,
  .timeline-item,
  .casestudy-item,
  .career-item {
    margin-bottom: 1.73rem;
  }

  .contact-form {
    padding: 2rem 1rem;
  }

  .team-photo {
    width: 150px;
    height: 150px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }

  .service-price {
    font-size: 1.59rem;
  }

  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.24rem;
  }

  .breadcrumb-image {
    height: 150px;
  }

  #space {
    font-size: 1.63rem;
    padding: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2.5rem;
  }

  .team-photo {
    width: 1710px;
    height: 175px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-nav .nav-link {
    margin: 0 0.25rem;
  }

  .service-item,
  .about-feature {
    padding: 2rem 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-item:hover,
  .about-feature:hover,
  .blog-item:hover {
    transform: translateY(-10px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .container-fluid .row {
    margin: 0 auto;
    max-width: 1400px;
  }

  .hero-section::before {
    background-attachment: fixed;
  }
}

/* Specific Component Responsive Adjustments */

/* Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Hero Section */
@media (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 70vh;
    text-align: center;
  }

  .hero-content {
  padding-top: 50px !important;
    padding: 2rem 1rem;
  }

  .hero-section .row {
    flex-direction: column-reverse;
  }

  .hero-section .col-md-6:first-child {
    margin-top: 2rem;
  }
}

/* Services Grid */
@media (min-width: 768px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Team Section */
@media (min-width: 768px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Reviews Section */
@media (min-width: 768px) {
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Features Section */
@media (min-width: 768px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Price Plan Section */
@media (min-width: 768px) {
  .priceplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Process Section */
@media (min-width: 768px) {
  .process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Blog Section */
@media (min-width: 768px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ Section */
@media (min-width: 768px) {
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Contact Section */
@media (min-width: 768px) {
  .contact-section .row {
    align-items: center;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer .row > div:last-child {
    margin-bottom: 0;
  }
}

/* Image Optimization */
@media (max-width: 767.98px) {
  .gallery-item img,
  .blog-item img,
  .casestudy-item img {
    height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-item img,
  .blog-item img,
  .casestudy-item img {
    height: 225px;
  }
}

/* Animation Adjustments for Mobile */
@media (max-width: 767.98px) {
  .service-item:hover,
  .about-feature:hover,
  .review-item:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

/* Additional Page Sections */
@media (max-width: 767.98px) {
  .additional-section {
    padding: var(--section-padding-small);
  }

  .additional-section .container {
    padding: 0 1rem;
  }
}

/* Core Info Grid */
@media (min-width: 768px) {
  .coreinfo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Career Section */
@media (min-width: 768px) {
  .career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1200px) {
  .career-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Case Study Section */
@media (min-width: 768px) {
  .casestudy-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .casestudy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Timeline Section */
@media (min-width: 768px) {
  .timeline-item {
    position: relative;
    padding-left: 3rem;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
  }

  .timeline-item::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 1rem;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  #space,
  .btn,
  .contact-form {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .section {
    padding: 1rem 0 !important;
  }

  .service-item,
  .about-feature,
  .review-item,
  .faq-item,
  .process-item,
  .timeline-item,
  .casestudy-item,
  .career-item {
    background: white !important;
    box-shadow: none !important;
    border: 1px solid #c8b8ba !important;
  }
} 