/* Data Visualization Design Studio - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Navbar brand size */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Cards spacing */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Gallery grid adjustments */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  /* Form adjustments */
  .form-control {
    margin-bottom: 1rem;
  }
  
  /* No animations on mobile for performance */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .chart-mockup {
    height: 150px;
    font-size: 0.875rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .chart-mockup {
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-decorative {
    width: 175px;
    height: 175px;
  }
  
  .navbar-brand {
    font-size: 1.375rem;
  }
  
  /* Gallery grid - 2 columns */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-decorative::before {
    width: 125px;
    height: 125px;
    left: -75px;
    top: 75px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
}

/* Navigation responsive behavior */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #fcfdff;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #e7ebef;
    break-inside: avoid;
  }
  
  .hero-decorative {
    display: none;
  }
  
  body {
    font-size: 12pt;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
  
  .form-control {
    border: 2px solid #000;
  }
}

/* Dark mode support */

/* Focus indicators for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: white;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 9999;
}

.skip-to-content:focus {
  top: 6px;
}

/* Ensure sufficient spacing for touch targets */
@media (max-width: 767.98px) {
  .btn,
  .nav-link,
  .form-control {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
} 

.hero-section h1 {
    padding-top: 250px;
}