/* Mobile Optimizations for index.html - iPhone specific */

@media (max-width: 768px) {
  
  /* Hero Section Mobile Optimization */
  .hero-section {
    min-height: 100vh !important;
    padding: 60px 16px 40px !important;
    text-align: center !important;
  }

  /* Hero Grid - Stack vertically on mobile */
  .hero-section .container .grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important;
  }

  /* Hero Text Optimization */
  .hero-section h1 {
    font-size: 2.5rem !important; /* 40px */
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    font-weight: 900 !important;
  }

  .hero-section p {
    font-size: 1.125rem !important; /* 18px */
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
    max-width: 100% !important;
  }

  /* Hero Buttons - Stack vertically */
  .hero-section .flex {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-section .btn {
    width: 100% !important;
    max-width: 280px !important;
    min-height: 48px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  /* Hide hero image on mobile to save space */
  .hero-section .relative.h-full.w-full {
    display: none !important;
  }

  /* Service Cards Section */
  .services-section {
    padding: 48px 16px !important;
  }

  .services-section h2 {
    font-size: 2.25rem !important; /* 36px */
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .services-section p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
  }

  /* Service Cards Grid - Single column */
  .services-section .grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Individual Service Cards */
  .services-section .gallery-card {
    padding: 24px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .services-section .gallery-card h3 {
    font-size: 1.5rem !important; /* 24px */
    margin-bottom: 12px !important;
  }

  .services-section .gallery-card p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  .services-section .gallery-card .text-2xl {
    font-size: 1.75rem !important; /* 28px */
    margin-bottom: 16px !important;
  }

  /* Service Card Icons */
  .services-section .material-symbols-outlined {
    font-size: 2.5rem !important;
  }

  .services-section .inline-block {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }

  /* Service Card Lists */
  .services-section ul {
    margin-bottom: 24px !important;
  }

  .services-section li {
    padding: 8px 0 !important;
    font-size: 0.9rem !important;
  }

  /* Gallery Section Mobile */
  .gallery-section {
    padding: 48px 16px !important;
  }

  .gallery-section h2 {
    font-size: 2.25rem !important;
    margin-bottom: 16px !important;
  }

  /* Gallery Grid - 2 columns on mobile */
  .gallery-section .grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .gallery-section .gallery-card {
    border-radius: 12px !important;
  }

  /* About Section Mobile */
  .about-section {
    padding: 48px 16px !important;
  }

  .about-section .grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center !important;
  }

  .about-section h2 {
    font-size: 2.25rem !important;
    margin-bottom: 20px !important;
  }

  .about-section p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  /* About Section List */
  .about-section ul {
    text-align: left !important;
    max-width: 400px !important;
    margin: 0 auto 32px !important;
  }

  .about-section li {
    padding: 12px 0 !important;
  }

  .about-section h4 {
    font-size: 1.125rem !important;
    margin-bottom: 4px !important;
  }

  /* Quote Box */
  .about-section .gradient-rosa {
    padding: 24px !important;
    margin-top: 24px !important;
    border-radius: 16px !important;
  }

  .about-section .gradient-rosa p {
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
  }

  /* Testimonials Section */
  .testimonials-section {
    padding: 48px 16px !important;
  }

  .testimonials-section h2 {
    font-size: 2.25rem !important;
    margin-bottom: 16px !important;
  }

  /* Testimonials Grid - Single column */
  .testimonials-section .grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Individual Testimonial Cards */
  .testimonials-section .gallery-card {
    padding: 20px !important;
    border-radius: 16px !important;
  }

  .testimonials-section .flex.items-center {
    margin-bottom: 16px !important;
  }

  .testimonials-section img {
    width: 48px !important;
    height: 48px !important;
  }

  .testimonials-section h4 {
    font-size: 1.125rem !important;
    margin-bottom: 4px !important;
  }

  .testimonials-section .material-symbols-outlined {
    font-size: 1rem !important;
  }

  .testimonials-section p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 48px 16px !important;
  }

  .cta-section h2 {
    font-size: 2.25rem !important;
    margin-bottom: 20px !important;
  }

  .cta-section p {
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
  }

  /* CTA Grid - Stack vertically */
  .cta-section .grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .cta-section .bg-white\/10 {
    padding: 24px !important;
    border-radius: 16px !important;
  }

  .cta-section h3 {
    font-size: 1.5rem !important;
    margin-bottom: 16px !important;
  }

  .cta-section .space-y-2 a {
    padding: 12px 0 !important;
    font-size: 1rem !important;
  }

  /* Footer Mobile Optimization */
  footer {
    padding: 32px 16px !important;
  }

  footer .grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  footer h4 {
    font-size: 1.125rem !important;
    margin-bottom: 12px !important;
  }

  footer ul li {
    padding: 4px 0 !important;
  }

  footer .border-t {
    padding-top: 24px !important;
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }

  /* Fixed Call Button - Adjust for mobile */
  .fixed.bottom-6.right-6 {
    bottom: 20px !important;
    right: 20px !important;
  }

  .fixed.bottom-6.right-6 a {
    width: 56px !important;
    height: 56px !important;
  }

  .fixed.bottom-6.right-6 svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Ensure proper spacing between sections */
  section + section {
    margin-top: 0 !important;
  }

  /* Optimize images for mobile loading */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Ensure text is readable on small screens */
  * {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  /* Prevent horizontal scroll */
  body, html {
    overflow-x: hidden !important;
  }

  .container {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* iPhone SE and smaller screens */
@media (max-width: 375px) {
  
  .hero-section h1 {
    font-size: 2rem !important; /* 32px */
  }

  .hero-section p {
    font-size: 1rem !important;
  }

  .services-section h2,
  .gallery-section h2,
  .about-section h2,
  .testimonials-section h2,
  .cta-section h2 {
    font-size: 1.875rem !important; /* 30px */
  }

  .services-section .gallery-card,
  .testimonials-section .gallery-card {
    padding: 20px !important;
  }

  /* Gallery - Single column on very small screens */
  .gallery-section .grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer - Single column */
  footer .grid {
    grid-template-columns: 1fr !important;
  }
}

/* iPhone 12/13/14 Pro Max and larger */
@media (min-width: 428px) and (max-width: 768px) {
  
  .hero-section h1 {
    font-size: 3rem !important; /* 48px */
  }

  .hero-section p {
    font-size: 1.25rem !important; /* 20px */
  }

  .services-section h2,
  .gallery-section h2,
  .about-section h2,
  .testimonials-section h2,
  .cta-section h2 {
    font-size: 2.5rem !important; /* 40px */
  }

  /* Gallery can show 2 columns on larger phones */
  .gallery-section .grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}