/* Interactive E-book Publishing Tools Template - Responsive CSS */

/* Mobile First Approach - Base styles are mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.5rem;
    padding-top: 100px;
}
  
  .services-grid .col-sm-6 {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 100px;
}
  
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .process-step {
    padding: 3rem 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3.5rem;
    padding-top: 100px;
}
  
  .services-grid .card {
    margin-bottom: 0;
  }
  
  .priceplan-card.featured {
    transform: scale(1.05);
  }
  
  .timeline-item {
    padding-left: 4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 4rem;
    padding-top: 100px;
}
  
  .container {
    max-width: 1140px;
  }
}

/* Mobile Specific Rules - NO animations on mobile scroll */
@media (max-width: 767px) {
  /* Disable all scroll animations on mobile */
  .sal-animate,
  .sr-element,
  [data-sal],
  [data-sr] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Mobile Navigation - Use standard Bootstrap only */
  .navbar-toggler {
    border: 1px solid var(--primary-purple);
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-top: 100px;
}
  
  .hero-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Services Mobile */
  .services-grid .col-12 {
    margin-bottom: 1.5rem;
  }
  
  .services-price {
    font-size: 1.5rem;
  }
  
  /* Features Mobile */
  .feature-icon {
    width: 48px;
    height: 48px;
  }
  
  /* Price Plan Mobile */
  .priceplan-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .priceplan-card.featured::before {
    display: none;
  }
  
  /* Team Mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-member:hover {
    transform: none;
  }
  
  /* Process Mobile */
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .process-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  /* Timeline Mobile */
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 8px;
    height: 8px;
  }
  
  .timeline-item::after {
    left: 3px;
    width: 2px;
  }
  
  /* Contact Form Mobile */
  .contact-section .row {
    margin-bottom: 2rem;
  }
  
  /* Gallery Mobile */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Cards Mobile */
  .card:hover {
    transform: none !important;
  }
  
  /* Button Mobile */
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Spacing Mobile */
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  /* Typography Mobile */
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .lead {
    font-size: 1rem;
  }
}

/* Tablet Specific Rules */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.75rem;
    padding-top: 100px;
}
  
  .services-grid .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .priceplan-card.featured {
    transform: scale(1.02);
  }
}

/* High DPI Displays */
@media (min-resolution: 2dppx) {
  .hero-section::before {
    opacity: 0.08;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-section::before {
    display: none !important;
  }
  
  .hero-section {
    background: white !important;
    min-height: auto !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none !important;
  }
  
  .card:hover,
  .team-member:hover,
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .priceplan-card.featured {
    transform: none !important;
  }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
