/* Responsive CSS for Drone Gutter Service Template */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.62rem;
  }
  
  .section-title {
    font-size: 2.63rem;
  }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-title {
    font-size: 3.29rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .priceplan-card {
    padding: 3rem;
  }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.89rem;
  }
  
  .hero-subtitle {
    font-size: 1.24rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.44rem;
  }
}

/* Small Devices (768px and up) - Tablet Portrait */
@media (min-width: 768px) and (max-width: 991px) {
  /* Typography adjustments */
  .hero-title {
    font-size: 2.57rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 2.26rem;
  }
  
  h2 {
    font-size: 1.90rem;
  }
  
  h3 {
    font-size: 1.55rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.38rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 1.03rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 0;
    padding-top: 225px;
}
  
  /* Cards */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .service-price {
    font-size: 1.95rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.41rem;
  }
  
  .team-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .priceplan-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .priceplan-card.featured {
    transform: scale(1.02);
  }
  
  .priceplan-price {
    font-size: 2.63rem;
  }
  
  /* Process */
  .process-step {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.33rem;
  }
  
  /* Contact */
  .contact-form {
    padding: 2rem;
  }
  
  /* Gallery */
  .gallery-item {
    margin-bottom: 1.70rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-image {
    height: 180px;
  }
  
  /* FAQ */
  .faq-question,
  .faq-answer {
    padding: 1.2rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1.63rem;
  }
  
  /* Career */
  .career-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Core Info */
  .coreinfo-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Case Study */
  .casestudy-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* Extra Small Devices (576px and up) - Mobile Landscape */
@media (min-width: 576px) and (max-width: 767px) {
  /* Typography */
  .hero-title {
    font-size: 2.32rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 0.97rem;
  }
  
  .hero-desc {
    font-size: 1.08rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.62rem;
  }
  
  h3 {
    font-size: 1.41rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.8rem 0;
  }
  
  .navbar-brand {
    font-size: 1.24rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.3rem 0.6rem;
    font-size: 0.90rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 1.5rem 0;
    padding-top: 225px;
}
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .service-card {
    padding: 1.2rem;
    margin-bottom: 1.58rem;
  }
  
  .service-image {
    height: 160px;
  }
  
  .service-price {
    font-size: 1.65rem;
  }
  
  .feature-card {
    padding: 1.2rem;
    margin-bottom: 1.73rem;
  }
  
  .feature-icon {
    width: 45px;
    height: 45px;
    font-size: 1.16rem;
    margin-bottom: 1rem;
  }
  
  .team-card {
    padding: 1.2rem;
    margin-bottom: 1.60rem;
  }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
  
  .review-card {
    padding: 1.2rem;
    margin-bottom: 1.66rem;
  }
  
  .priceplan-card {
    padding: 1.5rem;
    margin-bottom: 1.56rem;
  }
  
  .priceplan-card.featured {
    transform: scale(1);
    margin-bottom: 2rem;
  }
  
  .priceplan-price {
    font-size: 2.27rem;
  }
  
  /* Process */
  .process-step {
    padding: 1.2rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1.19rem;
  }
  
  /* Contact */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog */
  .blog-image {
    height: 160px;
  }
  
  .blog-content {
    padding: 1.2rem;
  }
  
  /* FAQ */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Small Mobile Devices (up to 575px) - Mobile Portrait */
@media (max-width: 575px) {
  /* Typography */
  .hero-title {
    font-size: 1.81rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.00rem;
    margin-bottom: 0.97rem;
  }
  
  .hero-desc {
    font-size: 1.04rem;
    margin-bottom: 1.72rem;
  }
  
  h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.57rem;
    line-height: 1.2;
  }
  
  h3 {
    font-size: 1.23rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  h5 {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.6rem 0;
  }
  
  .navbar-brand {
    font-size: 1.12rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.89rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem 0;
    padding-top: 225px;
}
  
  /* Sections */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 0.93rem;
  }
  
  .section-subtitle {
    margin-bottom: 0.54rem;
  }
  
  .section-desc {
    margin-bottom: 1.62rem;
    font-size: 0.94rem;
  }
  
  /* Cards */
  .service-card {
    padding: 1rem;
    margin-bottom: 1.28rem;
  }
  
  .service-image {
    height: 140px;
    margin-bottom: 1rem;
  }
  
  .service-price {
    font-size: 1.43rem;
    margin-bottom: 1.01rem;
  }
  
  .service-features li {
    padding: 0.3rem 0;
    font-size: 1.01rem;
  }
  
  .feature-card {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .team-card {
    padding: 1rem;
    margin-bottom: 1.31rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }
  
  .team-name {
    font-size: 1.12rem;
    margin-bottom: 0.46rem;
  }
  
  .team-role {
    font-size: 1.02rem;
  }
  
  .review-card {
    padding: 1rem;
    margin-bottom: 1.40rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  .review-text {
    font-size: 1.04rem;
    padding-top: 0.97rem;
  }
  
  .review-author {
    font-size: 1.02rem;
  }
  
  .priceplan-card {
    padding: 1.2rem;
    margin-bottom: 1.33rem;
  }
  
  .priceplan-card.featured {
    transform: scale(1);
    border-width: 2px;
  }
  
  .priceplan-card.featured::before {
    font-size: 0.86rem;
    padding: 0.3rem 1.5rem;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  .priceplan-price small {
    font-size: 0.96rem;
  }
  
  /* Process */
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Contact */
  .contact-section {
    padding: 2.5rem 0;
  }
  
  .contact-form {
    padding: 1.2rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 1.01rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1.02rem;
  }
  
  /* Gallery */
  .gallery-section {
    padding: 2.5rem 0;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 1.44rem;
  }
  
  .blog-image {
    height: 140px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.91rem;
  }
  
  .blog-excerpt {
    font-size: 0.94rem;
    margin-bottom: 0.85rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 0.8rem;
    font-size: 1.05rem;
  }
  
  .faq-answer {
    padding: 0.8rem;
    font-size: 0.97rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
  }
  
  .timeline-item::before {
    left: -12px;
    width: 8px;
    height: 8px;
  }
  
  /* Career */
  .career-card {
    padding: 1rem;
    margin-bottom: 1.26rem;
  }
  
  /* Core Info */
  .coreinfo-card {
    padding: 1rem;
    margin-bottom: 1.37rem;
  }
  
  /* Case Study */
  .casestudy-card {
    padding: 1rem;
    margin-bottom: 1.27rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-title {
    margin-bottom: 0.97rem;
  }
  
  #contact-info-phone,
  #contact-info-email,
  #contact-info-address {
    font-size: 1.03rem;
    margin-bottom: 0.57rem;
  }
  
  #site-copyright {
    font-size: 0.86rem;
    margin-top: 1rem;
  }
  
  /* Space Page */
  #space {
    min-height: 60vh;
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../DIG_images/hero-bg@2x.webp');
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: none;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #dedada;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #293999;
    --color-secondary: #085234;
    --color-accent: #a73d0e;
    --color-neutral: #47586a;
  }
}

/* Focus improvements for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
  }
} 