/* ========================================
   Responsive CSS - Mobile-First Design
   ========================================*/

/* Mobile First Base Styles (up to 575px) */
/* Base styles already defined in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
  
  .service-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    margin-bottom: 5rem;
  }
  
  .service-item {
    padding: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .faq-item {
    padding: 2rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 5rem 0;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .service-item {
    padding: 3rem;
  }
  
  .contact-form {
    padding: 4rem;
  }
  
  .gallery-item img {
    height: 300px;
  }
}

/* Extra extra large devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
  .hero-section {
    padding: 6rem 0;
  }
  
  .section {
    padding: 7rem 0;
  }
}

/* Mobile-specific optimizations */
@media (max-width: 575px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  h1 {
    font-size: 1.88rem;
  }
  
  h2 {
    font-size: 1.62rem;
  }
  
  h3 {
    font-size: 1.29rem;
  }
  
  .navbar-brand {
    font-size: 1.38rem;
  }
  
  .service-item {
    padding: 1.5rem;
    margin-bottom: 1.77rem;
  }
  
  .service-price {
    font-size: 1.31rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .faq-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 1.05rem;
  }
}

/* Tablet portrait optimizations */
@media (min-width: 576px) and (max-width: 991px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .service-item {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 3rem;
  }
  
  .gallery-item {
    margin-bottom: 1.69rem;
  }
}

/* Navigation responsive behavior */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--white);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px var(--soft-shadow);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--primary-wheat);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form responsive behavior */
@media (max-width: 767px) {
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.94rem;
  }
  
  .form-label {
    font-size: 1.05rem;
    font-weight: 500;
  }
}

/* Footer responsive behavior */
@media (max-width: 767px) {
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Gallery responsive grid */
@media (max-width: 575px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .gallery-item {
    margin-bottom: 1.60rem;
  }
}

/* Card responsive behavior */
@media (max-width: 575px) {
  .card {
    margin-bottom: 1rem;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Button responsive behavior */
@media (max-width: 575px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Breadcrumb responsive behavior */
@media (max-width: 575px) {
  .breadcrumb {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }
  
  .breadcrumb-item img {
    width: 16px;
    height: 16px;
  }
}

/* Space page responsive behavior */
@media (max-width: 575px) {
  #space {
    min-height: 60vh;
    padding: 2rem 0;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}