/* Additional Responsive Styles for Fuego del Alma Website */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  .stat-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .process-step {
    margin-bottom: 1.5rem;
  }
  
  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }
  
  .timeline-content {
    padding: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    margin-top: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .market-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .market-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step {
    flex: 0 0 calc(33.333% - 1.5rem);
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .btn:hover {
    background-color: var(--primary-color);
  }
  
  .btn-outline:hover {
    background-color: transparent;
    color: var(--primary-color);
  }
  
  .product-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .product-card:hover .product-image img {
    transform: none;
  }
  
  /* Add active states for touch devices */
  .btn:active {
    background-color: var(--secondary-color);
  }
  
  .btn-outline:active {
    background-color: var(--primary-color);
    color: var(--light-color);
  }
  
  .product-card:active {
    transform: translateY(-5px);
  }
}

/* Print styles */
@media print {
  header, 
  footer, 
  #contact,
  .btn,
  .social-links {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  p, ul, ol, table {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  .hero {
    height: auto;
    background: none;
    color: #000;
    padding: 0;
    margin-bottom: 2cm;
  }
  
  .hero h1 {
    color: #000;
  }
  
  section {
    padding: 1cm 0;
    page-break-inside: avoid;
  }
  
  .product-grid,
  .market-stats,
  .demographics-container,
  .marketing-strategy,
  .production-process,
  .timeline {
    display: block;
  }
  
  .product-card,
  .stat-card,
  .demographic-card,
  .strategy-card,
  .process-step,
  .timeline-item {
    page-break-inside: avoid;
    margin-bottom: 1cm;
  }
  
  .timeline::after {
    display: none;
  }
  
  .timeline-item {
    width: 100%;
    padding: 0;
  }
  
  .timeline-item::after {
    display: none;
  }
  
  .right {
    left: 0;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
}
