/* AI-Assisted Content Calendar Creation Template - Responsive Styles */

/* === MOBILE OPTIMIZATIONS === */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.375rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 1rem 0;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on small screens */
  }
  
  /* Section padding adjustments */
  .section-padding {
    padding: 2rem 0;
  }
  
  .section-padding-sm {
    padding: 1.5rem 0;
  }
  
  /* Card spacing */
  .custom-card {
    margin-bottom: 1.5rem;
  }
  
  /* Button adjustments */
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Team images smaller on mobile */
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  /* Navbar brand smaller */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Form controls */
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Gallery adjustments */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  /* Footer padding */
  .footer-section {
    padding: 2rem 0 1rem 0;
  }
  
  /* Price badge adjustments */
  .price-badge {
    font-size: 1rem;
    padding: 6px 12px;
  }
  
  /* NO ANIMATIONS ON MOBILE - Critical Rule */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .custom-card:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  
  .btn-primary-custom:hover {
    transform: none !important;
  }
  
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .team-image {
    width: 175px;
    height: 175px;
  }
  
  .btn-primary-custom,
  .btn-outline-custom {
    width: auto;
    margin-bottom: 0.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-decorative {
    width: 250px;
    height: 250px;
  }
  
  .hero-decorative:nth-child(3) {
    top: 50%;
    right: 5%;
    background: var(--primary-lavender);
    width: 100px;
    height: 100px;
  }
}

/* === PRINT STYLES === */
@media print {
  .hero-decorative,
  .navbar,
  .btn,
  .footer-section {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5 {
    color: black;
    page-break-after: avoid;
  }
  
  .custom-card {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* === LANDSCAPE ORIENTATION === */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 0.5rem 0;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
}

/* === HIGH DPI DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-image,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* === REDUCED MOTION ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative {
    animation: none;
  }
  
  .custom-card,
  .btn-primary-custom,
  .btn-outline-custom,
  .gallery-item {
    transition: none;
  }
  
  .custom-card:hover,
  .btn-primary-custom:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* === FOCUS MANAGEMENT === */
@media (hover: none) {
  .custom-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  
  .btn-primary-custom:hover {
    transform: none;
  }
}

/* === CONTRAST PREFERENCES === */
@media (prefers-contrast: high) {
  .custom-card {
    border: 2px solid var(--dark-gray);
  }
  
  .form-control {
    border: 3px solid var(--dark-gray);
  }
  
  .btn-primary-custom {
    border: 2px solid var(--dark-blue);
  }
}

/* === DARK MODE SUPPORT === */



.hero-content {
    padding-top: 200px;
}