/* ===== RESPONSIVE DESIGN ===== */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.53rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .navbar-collapse {
    background: rgba(230, 139, 78, 0.95);
    border-radius: 10px;
    margin-top: 10px;
    padding: 1rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.69rem;
  }
  
  .section-title h2 {
    font-size: 1.80rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .service-card, .feature-card, .price-card, .team-card, .review-card, .faq-card {
    padding: 1.5rem;
    margin-bottom: 1.64rem;
  }
  
  .price-card .price {
    font-size: 2.53rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .breadcrumb-container {
    padding: 80px 0 15px;
  }
  
  .navbar-brand {
    font-size: 1.34rem !important;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 40px 0;
    --font-size-base: 15px;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.89rem;
  }
  
  .hero-subtitle {
    font-size: 1.06rem;
  }
  
  .section-title h2 {
    font-size: 1.57rem;
  }
  
  .service-card, .feature-card, .price-card, .team-card, .review-card, .faq-card {
    padding: 1.25rem;
    margin-bottom: 1.44rem;
  }
  
  .price-card .price {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .icon {
    font-size: 2.62rem;
  }
  
  .team-card img {
    width: 80px;
    height: 80px;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.52rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

/* Print styles */
@media print {
  .header,
  .navbar,
  .footer,
  .btn,
  .breadcrumb-container {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .service-card, .feature-card, .price-card, .team-card, .review-card, .faq-card {
    box-shadow: none;
    border: 1px solid #dbdbdb;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* High contrast mode for accessibility */
@media (prefers-contrast: high) {
  :root {
    --primary-orange: #ff5807;
    --primary-green: #00820c;
    --primary-blue: #0068df;
    --primary-pink: #b80068;
    --primary-yellow: #ffb306;
    --gray: #5b5354;
    --dark-gray: #2c2928;
    --black: #000000;
  }
  
  .btn-primary {
    background: var(--black);
    color: var(--white);
  }
  
  .btn-outline-primary {
    border-color: var(--black);
    color: var(--black);
  }
  
  .service-card, .feature-card, .price-card, .team-card, .review-card, .faq-card {
    border: 2px solid var(--dark-gray);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover, 
  .feature-card:hover, 
  .price-card:hover, 
  .team-card:hover,
  .btn-primary:hover,
  .btn-outline-primary:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .navbar-nav .nav-link:hover {
    transform: none;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Note: Requirements specify no dark theme for accessibility */
  /* This section is left empty intentionally */
}

/* Focus styles for better accessibility */
@media (any-hover: hover) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card, .feature-card, .price-card, .team-card {
    transition: none;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 15px 35px;
    font-size: 1.21rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem 1.5rem !important;
  }
  
  .form-control {
    padding: 15px 18px;
    font-size: 1.21rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 90vh;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .row {
    margin: 0 -15px;
  }
  
  .col-md-4,
  .col-md-6,
  .col-lg-4 {
    padding: 0 15px;
    margin-bottom: 2rem;
  }
}

/* Very large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4.53rem;
  }
  
  .section-title h2 {
    font-size: 3.51rem;
  }
} 