/* Solar-Powered Outdoor Advertising Displays Template - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* NO SCROLL ANIMATIONS ON MOBILE - Per Requirements */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Conservative mobile typography */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  /* Section padding reduction */
  .section {
    padding: 2rem 0;
  }
  
  /* Card padding reduction */
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Process number smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Gallery images height reduction */
  .gallery-image {
    height: 200px;
  }
  
  /* Team image height reduction */
  .team-image {
    height: 200px;
  }
  
  /* Blog image height reduction */
  .blog-image {
    height: 150px;
  }
  
  /* Form spacing */
  .form-group {
    margin-bottom: 1rem;
  }
  
  /* Button adjustments */
  .btn-solar-primary,
  .btn-solar-secondary {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* NO SCROLL ANIMATIONS ON MOBILE - Per Requirements */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .gallery-image {
    height: 220px;
  }
  
  .team-image {
    height: 220px;
  }
  
  .blog-image {
    height: 170px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  /* Two column layout for services */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery grid adjustments */
  .gallery-image {
    height: 240px;
  }
  
  .team-image {
    height: 240px;
  }
  
  .blog-image {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  /* Three column layout optimization */
  .gallery-image {
    height: 250px;
  }
  
  .team-image {
    height: 250px;
  }
  
  .blog-image {
    height: 190px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  /* Full desktop experience */
  .gallery-image {
    height: 250px;
  }
  
  .team-image {
    height: 250px;
  }
  
  .blog-image {
    height: 200px;
  }
  
  /* Enhanced spacing for large screens */
  .container {
    max-width: 1140px;
  }
}

/* Specific responsive rules for sections */

/* Navbar responsive behavior */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Hero section responsive layout */
@media (max-width: 767.98px) {
  .hero-section .row {
    text-align: center;
  }
  
  .hero-section .col-md-6:first-child {
    margin-bottom: 2rem;
  }
}

/* Services grid responsive */
@media (max-width: 575.98px) {
  .services-grid .col-lg-4,
  .services-grid .col-md-6 {
    margin-bottom: 1.5rem;
  }
}

/* Team grid responsive */
@media (max-width: 575.98px) {
  .team-grid .col-lg-3,
  .team-grid .col-md-4,
  .team-grid .col-sm-6 {
    margin-bottom: 2rem;
  }
}

/* Reviews responsive layout */
@media (max-width: 767.98px) {
  .review-card {
    margin-bottom: 1.5rem;
  }
}

/* FAQ responsive */
@media (max-width: 575.98px) {
  .faq-card {
    padding: 1rem;
  }
}

/* Contact form responsive */
@media (max-width: 767.98px) {
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Price cards responsive */
@media (max-width: 767.98px) {
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Process steps responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Timeline responsive */
@media (max-width: 575.98px) {
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .timeline-item::before {
    width: 8px;
    height: 8px;
  }
  
  .timeline-item::after {
    left: 3px;
    width: 1px;
  }
}

/* Career cards responsive */
@media (max-width: 767.98px) {
  .career-card {
    margin-bottom: 1.5rem;
  }
}

/* Core info responsive */
@media (max-width: 575.98px) {
  .coreinfo-card {
    margin-bottom: 1.5rem;
  }
  
  .coreinfo-icon {
    font-size: 2rem;
  }
}

/* Case study responsive */
@media (max-width: 767.98px) {
  .casestudy-card {
    margin-bottom: 2rem;
  }
}

/* Blog responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Additional page responsive adjustments */
@media (max-width: 575.98px) {
  .additional-section {
    padding: 2rem 0;
  }
  
  .additional-section h2 {
    font-size: 1.375rem;
  }
  
  .additional-section h3 {
    font-size: 1.25rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  [data-sal] {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    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 support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .feature-card,
  .price-card,
  .faq-card,
  .blog-card,
  .career-card,
  .coreinfo-card,
  .casestudy-card {
    border-width: 2px;
    border-color: var(--solar-neutral-dark);
  }
}

/* Reduced motion preferences - Mobile and Desktop */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .team-card,
  .blog-card,
  .career-card,
  .price-card {
    transition: none !important;
  }
  
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
} 

.hero-content {
    padding-top: 100px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
