/* ============================================
   AMIGO SPA - Responsive Stylesheet
   ============================================ */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }

  section {
    padding: 70px 0;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .page-hero-content h1 {
    font-size: 2.8rem;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 15px;
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    padding: 12px 18px;
  }

  .navbar-cta {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .counter-number {
    font-size: 2.5rem;
  }

  .footer {
    padding: 60px 0 0;
  }
}

/* Small Devices (Landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }

  section {
    padding: 60px 0;
  }

  .hero-section {
    height: 100vh;
    min-height: 500px;
  }

  .hero-slide {
    height: 100vh;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content .subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.95rem;
  }

  .page-hero {
    height: 40vh;
    min-height: 280px;
  }

  .page-hero-content h1 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 25px;
  }

  .floating-buttons {
    bottom: 20px;
    right: 15px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .footer-bottom {
    margin-top: 30px;
  }

  .counter-number {
    font-size: 2rem;
  }

  .about-image-badge {
    padding: 15px;
  }

  .about-image-badge .number {
    font-size: 2rem;
  }

  .service-card-buttons {
    flex-direction: column;
  }

  .testimonial-card {
    padding: 25px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .subtitle {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-hero-content h1 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-filter-buttons {
    gap: 6px;
  }

  .gallery-filter-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }

  .btn-gold, .btn-whatsapp, .btn-green, .btn-outline-gold {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .navbar-brand img {
    height: 45px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 40px;
  }

  .footer-logo img {
    height: 55px;
  }

  .contact-info-card {
    padding: 20px;
  }

  .feature-box {
    padding: 25px 20px;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }
}

/* Fix for iOS Safari parallax */
@supports (-webkit-overflow-scrolling: touch) {
  .parallax-section {
    background-attachment: scroll;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .floating-buttons,
  .preloader {
    display: none !important;
  }

  body {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
