/* AI Meeting Summary Tool - Responsive CSS */

/* Mobile First Approach */
/* Base styles are mobile-first, then enhanced for larger screens */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-image img {
    height: 250px;
    border-radius: 15px;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title .subtitle {
    font-size: 1rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-image img {
    height: 300px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-image {
    height: 200px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-desc {
    font-size: 1.125rem;
  }
  
  .hero-image img {
    height: 400px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section-title .subtitle {
    font-size: 1.125rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .navbar-collapse {
    flex-grow: 0;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-desc {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  .section-title .subtitle {
    font-size: 1.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .review-card:hover {
    transform: translateY(-10px);
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
  
  .hero-desc {
    font-size: 1.375rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .section-title .subtitle {
    font-size: 1.375rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 3.5rem;
  }
}

/* Orientation Specific Styles */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-image img {
    height: 250px;
  }
}

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

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section,
  .section {
    padding: 1rem 0;
  }
  
  .hero-title,
  .section-title h2 {
    color: #000 !important;
    font-size: 1.5rem !important;
  }
  
  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
  
  body {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section::before {
    animation: none !important;
  }
  
  .animate-fade-in-up {
    animation: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0056b3;
    --secondary-purple: #6f42c1;
    --accent-green: #28a745;
    --warm-coral: #dc3545;
    --neutral-slate: #495057;
  }
  
  .hero-section {
    background: linear-gradient(135deg, #0056b3 0%, #6f42c1 100%);
  }
  
  .btn-primary {
    background: #0056b3;
    border: 2px solid #004085;
  }
  
  .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.5);
  }
}

/* Dark Mode Support (if needed in future) */

/* Container Adjustments */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

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

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

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

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Flexbox Adjustments for Different Screen Sizes */
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

@media (max-width: 575.98px) {
  .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

/* Card Spacing Adjustments */
@media (max-width: 767.98px) {
  .card {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .card {
    margin-bottom: 2rem;
  }
}

/* Navigation Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
} 