/* Responsive CSS for Zero-Waste Wedding Planning Service */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 275px;
}
  
  .service-card {
    padding: 2.5rem;
  }
  
  .price-card {
    padding: 3rem;
  }
}

/* Medium screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    padding: 1.8rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decoration {
    display: none;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Disable animations on mobile for better performance */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Extra small screens (up to 575px) */
@media (max-width: 575px) {
  :root {
    --section-padding: 2.5rem 0;
  }
  
  body {
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.9rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-decoration {
    display: none;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .service-card,
  .price-card,
  .feature-card,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .info-card,
  .faq-card {
    padding: 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .form-control {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  /* Stack columns on mobile */
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  /* Footer adjustments */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  /* Disable all animations on mobile */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  
  .service-card:hover,
  .price-card:hover,
  .feature-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black !important;
    background: white !important;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    border: 1px solid #ddd !important;
    background: white !important;
    box-shadow: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --text-charcoal: #000000;
    --text-charcoal-dark: #000000;
    --neutral-cream: #ffffff;
    --neutral-cream-light: #ffffff;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .navbar-collapse {
    max-height: 60vh;
    overflow-y: auto;
  }
}