/* Responsive CSS - Mobile Compatibility */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.87rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.59rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item {
    margin-bottom: 2rem;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2.34rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  /* Typography Adjustments */
  .hero-title {
    font-size: 1.81rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.24rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.80rem; }
  h3 { font-size: 1.55rem; }
  h4 { font-size: 1.33rem; }
  h5 { font-size: 1.27rem; }
  h6 { font-size: 1rem; }
  
  /* Navigation */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.22rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
  
  /* Hero Section */
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 250px;
}
  
  /* Sections */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  .service-card {
    margin-bottom: 1.64rem;
  }
  
  .service-body {
    padding: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem;
    margin-bottom: 1.59rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.60rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery */
  .gallery-image {
    height: 250px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.91rem;
  }
  
  /* Back to top button adjustment */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  /* Breadcrumb adjustment */
  .breadcrumb-nav {
    padding: 80px 0 15px;
  }
  
  /* Utility Classes for Mobile */
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-mobile-1 { margin-bottom: 0.57rem; }
  .mb-mobile-2 { margin-bottom: 1rem; }
  .mb-mobile-3 { margin-bottom: 1.56rem; }
  .mb-mobile-4 { margin-bottom: 2rem; }
  .mb-mobile-5 { margin-bottom: 2.68rem; }
  
  .mt-mobile-1 { margin-top: 0.60rem; }
  .mt-mobile-2 { margin-top: 1rem; }
  .mt-mobile-3 { margin-top: 1.67rem; }
  .mt-mobile-4 { margin-top: 2rem; }
  .mt-mobile-5 { margin-top: 2.61rem; }
  
  .py-mobile-1 { padding-top: 0.69rem; padding-bottom: 0.64rem; }
  .py-mobile-2 { padding-top: 1rem; padding-bottom: 1rem; }
  .py-mobile-3 { padding-top: 1.58rem; padding-bottom: 1.74rem; }
  .py-mobile-4 { padding-top: 2rem; padding-bottom: 2rem; }
  .py-mobile-5 { padding-top: 2.70rem; padding-bottom: 2.61rem; }
  
  .px-mobile-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
  .px-mobile-2 { padding-left: 1rem; padding-right: 1rem; }
  .px-mobile-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .px-mobile-4 { padding-left: 2rem; padding-right: 2rem; }
  .px-mobile-5 { padding-left: 2.5rem; padding-right: 2.5rem; }
  
  /* Hide elements on mobile */
  .hide-mobile {
    display: none;
  }
  
  /* Show elements only on mobile */
  .show-mobile {
    display: block;
  }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.20rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Navigation adjustments */
  .navbar-collapse {
    text-align: center;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-size: 1.13rem;
  }
}

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.62rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .navbar,
  .footer,
  .btn,
  .contact-form,
  .back-to-top,
  .scroll-progress {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: none !important;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .feature-item {
    page-break-inside: avoid;
  }
  
  .gallery-item {
    display: none;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* High DPI specific styles */
  .hero::before {
    background-image: url('GAT_assets/GAT_images/hero-bg@2x.webp');
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.24rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Focus Management for Accessibility */
@media (prefers-reduced-motion: no-preference) {
  :focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem 0.5rem;
  }
  
  .faq-question {
    padding: 1.5rem;
    min-height: 44px;
  }
  
  .form-control {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .gallery-item {
    cursor: default;
  }
}

/* Very Small Screens (320px and below) */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.63rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.96rem;
  }
  
  .section-title {
    margin-bottom: 1.57rem;
  }
  
  .feature-item,
  .service-card,
  .team-card,
  .review-card {
    padding: 1rem;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Large Screens (1440px and above) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.52rem;
  }
  
  .section {
    padding: 7rem 0;
  }
  
  .contact-form {
    padding: 4rem;
  }
}

/* Ultra-wide Screens (1920px and above) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section {
    padding: 8rem 0;
  }
} 