/* LuminaCraft - Responsive CSS */
/* Mobile-First Responsive Design */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1, .h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  h2, .h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3, .h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Hero Section Mobile */
  .hero {
    min-height: 80vh;
    padding-top: 80px;
  }
  
  .hero .btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Navbar Mobile */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
  }
  
  /* Card Adjustments */
  .card-img-top {
    height: 180px;
  }
  
  /* Button Spacing */
  .btn {
    margin-bottom: 0.5rem;
  }
  
  /* Form Adjustments */
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Team Member Images */
  .rounded-circle {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }
  
  /* Section Padding */
  section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  /* Text Center on Mobile */
  .text-center-mobile {
    text-center: center;
  }
  
  /* Process Steps Mobile */
  .bg-primary.rounded-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  /* Footer Adjustments */
  footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Gallery Mobile */
  #gallery .col-md-4 {
    margin-bottom: 1rem;
  }
  
  /* SAL.js DISABLED - CRITICAL: No scroll animations on mobile */
  /*
  [data-sal] {
    transform: none;
    opacity: 1;
    transition: none;
  }
  
  .sal-animate {
    transform: none;
    opacity: 1;
    transition: none;
  }
  */
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    min-height: 85vh;
  }
  
  h1, .h1 {
    font-size: 1.875rem;
  }
  
  .display-4 {
    font-size: 2.25rem;
  }
  
  .card-img-top {
    height: 190px;
  }
  
  .rounded-circle {
    width: 130px;
    height: 130px;
  }
  
  /* SAL.js DISABLED - Still no scroll animations on small mobile */
  /*
  [data-sal] {
    transform: none;
    opacity: 1;
    transition: none;
  }
  */
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    min-height: 90vh;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .rounded-circle {
    width: 140px;
    height: 140px;
  }
  
  /* SAL.js DISABLED - Enable animations for tablets and above */
  /*
  [data-sal] {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  */
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero {
    min-height: 100vh;
  }
  
  /* SAL.js DISABLED - Full animations enabled for desktop */
  /*
  [data-sal] {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .sal-animate {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
  }
  */
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1, .h1 {
    font-size: 2.25rem;
  }
  
  .display-4 {
    font-size: 3rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  section {
    padding: 5rem 0;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card-img-top,
  #gallery img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support */

/* Print Responsive */
@media print {
  .container {
    max-width: none;
    width: 100%;
  }
  
  .row {
    display: block;
  }
  
  .col-lg-4,
  .col-md-6,
  .col-sm-12 {
    width: 100%;
    float: none;
  }
  
  .card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  /* SAL.js DISABLED - Disable all animations on mobile when motion is reduced */
  /*
  [data-sal],
  .sal-animate,
  */
  .card:hover,
  .btn:hover,
  .rounded-circle:hover {
    transform: none;
    transition: none;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  
  .btn:hover {
    transform: none;
  }
  
  .rounded-circle:hover {
    transform: none;
    border-color: var(--primary-blue-light);
  }
  
  /* Increase touch targets */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
  
  .nav-link {
    padding: 1rem;
  }
  
  .form-control {
    min-height: 44px;
  }
}

/* Focus Management for Keyboard Navigation */
@media (hover: hover) and (pointer: fine) {
  /* Enhanced focus styles for mouse users */
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Container Breakpoint Adjustments */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
}

/* Mobile-Specific Utilities */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 767.98px) {
  .mobile-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
  
  .mobile-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}

/* Performance Optimizations for Mobile */
@media (max-width: 767.98px) {
  /* Reduce visual complexity on mobile */
  .hero::before {
    display: none;
  }
  
  /* Simplify shadows */
  .shadow-lg {
    box-shadow: var(--shadow);
  }
  
  /* Reduce border radius for performance */
  .card {
    border-radius: var(--border-radius);
  }
}


body {
    overflow-x: hidden;
}

.hero h1 {
    padding-top: 125px;
}