/* 
=========================================
Event Notary Services - Responsive Styles
=========================================
*/

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }

  /* Header */
  .navbar-brand {
    font-size: 1.25rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 6rem 0 3rem;
    min-height: auto;
    text-align: center;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-image::after {
    display: none;
  }

  /* Sections */
  .section-header {
    margin-bottom: 2rem;
  }

  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .coreinfo-section,
  .gallery-section,
  .faq-section,
  .blog-section,
  .contact-section,
  .add-page-section-1,
  .add-page-section-2,
  .add-page-section-3,
  .add-page-section-4,
  .add-page-section-5 {
    padding: 3rem 0;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-image {
    height: 180px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 7rem 0 4rem;
    text-align: center;
  }

  .hero-image {
    margin-top: 2rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Price Cards */
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* All Mobile Devices */
@media (max-width: 991.98px) {
  /* Team Members */
  .team-image img {
    height: 250px;
  }

  /* Service Cards */
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .core-info-item,
  .blog-card,
  .certificate-item {
    margin-bottom: 1.5rem;
  }

  /* About Features */
  .about-feature {
    margin-bottom: 1.5rem;
  }

  /* Contact Info */
  .contact-info {
    margin-bottom: 2rem;
  }

  /* Additional Pages */
  .content-block {
    margin-top: 2rem;
  }

  /* Footer */
  .site-footer h3,
  .site-footer h4 {
    margin-top: 1.5rem;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .gallery-item:hover img,
  .blog-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .core-info-item:hover,
  .certificate-item:hover {
    transform: none !important;
  }

  .team-card:hover .team-image img,
  .blog-card:hover .blog-image img {
    transform: none;
  }

  .swiper-container {
    --swiper-theme-color: var(--primary-color);
  }
}

/* Touch Device Adaptations */
@media (hover: none) {
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .gallery-item:hover img,
  .blog-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .core-info-item:hover,
  .certificate-item:hover {
    transform: none;
  }

  .team-card:hover .team-image img,
  .blog-card:hover .blog-image img {
    transform: none;
  }
} 