/* Responsive Styles for Local Heritage Recipe Blog Monetization Agency */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Remove all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .heritage-card:hover,
  .service-card:hover,
  .btn-heritage:hover,
  .gallery-grid img:hover {
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  
  /* Navbar brand even smaller on mobile */
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decoration {
    display: none;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 2rem 0;
  }
  
  .section-padding-lg {
    padding: 3rem 0;
  }
  
  /* Card adjustments */
  .heritage-card,
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team card image height */
  .team-card img {
    height: 200px;
  }
  
  /* Gallery grid */
  .gallery-grid img {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Process number smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* Price cards no scaling */
  .price-card.featured {
    transform: none;
  }
  
  /* Button adjustments */
  .btn-heritage,
  .btn-outline-heritage {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Reduce animations on small devices */
  .heritage-card:hover,
  .service-card:hover {
    transform: translateY(-2px);
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-padding-lg {
    padding: 4rem 0;
  }
  
  .team-card img {
    height: 220px;
  }
  
  .gallery-grid img {
    height: 220px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Moderate animations on tablets */
  .heritage-card:hover,
  .service-card:hover {
    transform: translateY(-3px);
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-decoration {
    width: 150px;
    height: 150px;
  }
  
  .hero-decoration::before {
    width: 100px;
    height: 100px;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .section-padding-lg {
    padding: 5rem 0;
  }
  
  .team-card img {
    height: 230px;
  }
  
  .gallery-grid img {
    height: 230px;
  }
  
  .process-number {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-decoration {
    width: 180px;
    height: 180px;
  }
  
  .hero-decoration::before {
    width: 130px;
    height: 130px;
  }
  
  .team-card img {
    height: 240px;
  }
  
  .gallery-grid img {
    height: 240px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-decoration {
    width: 200px;
    height: 200px;
  }
  
  .hero-decoration::before {
    width: 150px;
    height: 150px;
  }
  
  .section-padding-lg {
    padding: 6rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .heritage-card,
  .service-card,
  .contact-form {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .heritage-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }
}

/* Print Styles */
@media print {
  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  
  .hero-decoration,
  .navbar,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .heritage-card,
  .service-card {
    page-break-inside: avoid;
    border: 1px solid #cfcece;
  }
}

/* Accessibility - High Contrast */
@media (prefers-contrast: high) {
  :root {
    --primary-warm: #c48c6a;
    --primary-sage: #829077;
    --primary-burgundy: #86576b;
    --text-dark: #000000;
    --text-light: #464544;
  }
  
  .heritage-card,
  .service-card,
  .contact-form {
    border: 2px solid var(--text-dark);
  }
  
  .btn-heritage,
  .btn-outline-heritage {
    border: 2px solid var(--text-dark);
  }
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.navbar-toggler:focus {
  outline: 3px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Landscape Phone Specific */
@media only screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.25rem 1rem;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
} 

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