/* Responsive Styles for Digital Asset Management Template */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .services-card {
    margin-bottom: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding: 0;
  }
  
  .section {
    padding: var(--section-padding);
  }
  
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile-specific rules (below 768px) */
@media (max-width: 767.98px) {
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Conservative font sizes for mobile */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .services-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
  }
  
  .services-price {
    font-size: 1.3rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .features-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .faq-card {
    padding: 1rem;
  }
  
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Remove hover effects on mobile */
  .services-card:hover,
  .gallery-item:hover img,
  .btn-primary:hover {
    transform: none;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .services-card,
  .review-card,
  .faq-card,
  .contact-form {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 30px 0;
  }
}

/* Very small devices (small phones) */
@media (max-width: 359px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .services-card,
  .contact-form {
    padding: 1rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 1.25rem;
  }
  
  h2 {
    font-size: 1.15rem;
  }
  
  .price-value {
    font-size: 1.75rem;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
