/* AI Pitch Deck Builder - Responsive CSS */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  
  .hero-blob-1 {
    width: 400px;
    height: 400px;
  }
  
  .hero-blob-2 {
    width: 300px;
    height: 300px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Typography adjustments for mobile */
  h1 { 
    font-size: 1.75rem;
    line-height: 1.3;
  }
  h2 { 
    font-size: 1.5rem;
    line-height: 1.3;
  }
  h3 { 
    font-size: 1.25rem;
    line-height: 1.3;
  }
  h4 { 
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem;
    padding-top: 200px;
}
  
  /* Remove decorative elements on mobile */
  .hero-shapes,
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  /* Disable animations on mobile */
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Section spacing adjustments */
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #faq,
  #contact,
  #gallery {
    padding: 60px 0;
  }
  
  /* Card adjustments */
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-blue);
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Service icons */
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Team avatars */
  .team-avatar {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    width: 100%;
    font-size: 0.95rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1.25rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  /* Gallery adjustments */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer-section ul li {
    padding: 0.4rem 0;
  }
  
  /* Section titles */
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    margin-bottom: 0.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Landscape orientation adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
  }
  
  .navbar-collapse {
    max-height: 60vh;
    overflow-y: auto;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-icon,
  .feature-icon {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  #footer,
  .btn,
  .hero-shapes {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Reduced motion preference - mobile specific */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus styles for accessibility */
@media (max-width: 767px) {
  .btn:focus,
  .form-control:focus,
  .navbar-toggler:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
  
  .nav-link:focus {
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 4px;
  }
} 