/* Responsive CSS for Upcycled Glass Product Line */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Extra Small devices (phones) */
  
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Navigation mobile */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Service cards mobile */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Price cards mobile */
  .price-card {
    padding: 2rem 1rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 40px;
    height: 40px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Sections padding mobile */
  section {
    padding: 3rem 0;
  }
  
  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  /* Disable animations on mobile for reduced motion */
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices (landscape phones) */
  
  .hero-decorative {
    width: 120px;
    height: 120px;
  }
  
  .service-card {
    padding: 1.8rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices (tablets) */
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .gallery-item img {
    height: 230px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Large devices (desktops) */
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 145px;
    height: 145px;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

@media (min-width: 1200px) {
  /* Extra Large devices (large desktops) */
  
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Container adjustments */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navigation responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--cream-dark);
    margin-top: 1rem;
    border-radius: 8px;
    padding: 1rem;
  }
}

/* Grid adjustments for mobile */
@media (max-width: 767.98px) {
  .row > .col-md-6,
  .row > .col-md-4,
  .row > .col-lg-4,
  .row > .col-lg-3 {
    margin-bottom: 2rem;
  }
}

/* Form adjustments */
@media (max-width: 575.98px) {
  .form-control {
    padding: 0.6rem;
    font-size: 1rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    width: 100%;
  }
}

/* Card spacing adjustments */
@media (max-width: 767.98px) {
  .service-card,
  .review-card,
  .faq-card,
  .team-member,
  .price-card {
    margin-bottom: 1.5rem;
  }
}

/* Text alignment for mobile */
@media (max-width: 767.98px) {
  .text-md-start {
    text-align: center !important;
  }
}

/* Image responsive adjustments */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Utility classes for responsive display */
.d-mobile-none {
  display: none;
}

@media (min-width: 768px) {
  .d-mobile-none {
    display: block;
  }
  
  .d-desktop-none {
    display: none;
  }
}

/* Responsive spacing utilities */
@media (max-width: 575.98px) {
  .py-mobile-3 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .mb-mobile-3 {
    margin-bottom: 2rem !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero-decorative,
  .btn,
  #contacts {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
} 