/* ======================================
   RESPONSIVE STYLES
   Mobile-First Approach
   ====================================== */

/* Mobile Devices - Base Styles */
@media (max-width: 767px) {
  /* Typography Adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.15rem; }
  
  /* Hero Section */
  #hero {
    min-height: 100vh;
    text-align: center;
  }
  
  #hero .row {
    flex-direction: column-reverse;
  }
  
  #hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  #hero p {
    font-size: 1rem;
  }
  
  /* Section Spacing */
  section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  /* Service Cards */
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Pricing Cards */
  .pricing-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Process Steps */
  .process-step {
    padding-left: 50px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Swiper Adjustments */
  .swiper-container {
    pointer-events: auto !important;
  }
  
  .swiper-container .swiper-slide {
    user-select: text !important;
  }
  
  /* Disable autoplay and effects on mobile */
  .swiper-container[data-mobile-disabled="true"] {
    overflow: visible !important;
  }
  
  .swiper-container[data-mobile-disabled="true"] .swiper-wrapper {
    display: block !important;
    transform: none !important;
  }
  
  .swiper-container[data-mobile-disabled="true"] .swiper-slide {
    width: 100% !important;
    margin-bottom: 2rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 12px !important;
    font-size: 1.25rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 0;
    margin: 0;
  }
  
  /* Decorative Elements */
  .blob-shape {
    display: none;
  }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 991px) {
  /* Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  
  /* Hero Section */
  #hero h1 {
    font-size: 2.25rem;
  }
  
  /* Section Spacing */
  section {
    padding: 70px 0;
  }
  
  /* Service Grid */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team Grid */
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  /* Service Features */
  .service-features {
    font-size: 0.9rem;
  }
  
  /* Pricing Cards */
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Hero Section */
  #hero h1 {
    font-size: 3rem;
  }
  
  /* Feature Boxes */
  .feature-box {
    padding: 3rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Section Spacing */
  section {
    padding: 100px 0;
  }
  
  /* Hero Section */
  #hero h1 {
    font-size: 3.5rem;
  }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images for retina */
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print Styles */
@media print {
  /* Hide navigation and footer */
  .navbar, footer, .btn, .swiper-button-next, .swiper-button-prev {
    display: none !important;
  }
  
  /* Ensure readable text */
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  /* Page breaks */
  section {
    page-break-inside: avoid;
  }
  
  /* Links */
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  #hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .navbar {
    position: relative;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    padding: 12px 24px;
  }
  
  .form-control, .form-select {
    min-height: 44px;
  }
  
  /* Remove hover effects */
  .service-card:hover,
  .feature-box:hover,
  .pricing-card:hover {
    transform: none;
  }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color-1: #000080;
    --primary-color-3: #008000;
    --text-primary: #000;
    --text-secondary: #333;
  }
  
  .btn-primary {
    background: #000080;
    color: #fff;
    border: 2px solid #000080;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-shade-1: #374151;
    --light-shade-2: #1f2937;
    --light-shade-3: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #e5e7eb;
  }
  
  body {
    background-color: var(--dark-shade-2);
    color: var(--text-primary);
  }
  
  .navbar,
  .service-card,
  .pricing-card,
  .contact-form,
  #about,
  #priceplan,
  #process,
  #career,
  #blog,
  #gallery {
    background-color: var(--dark-shade-1);
  }
  
  .form-control,
  .form-select {
    background-color: var(--dark-shade-2);
    color: var(--text-primary);
    border-color: var(--dark-shade-3);
  }
} 