/* Responsive Styles for Collectors' Chronometer Appraisal */

/* Extra Large Devices (xl) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Large Devices (lg) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Devices (md) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}

/* Small Devices (sm) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-collapse {
    text-align: center;
  }
  
  .navbar-nav {
    align-items: center;
  }
  
  .navbar-nav .nav-link {
  font-size: 12px !important;
    padding: 0.5rem 0;
  }
}

/* Extra Small Devices (xs) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 10px;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .section-desc {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
  
  .service-card {
    border-radius: 10px;
  }
  
  .service-content {
    padding: 1.25rem;
  }
  
  .service-name {
    font-size: 1.125rem;
  }
  
  .team-member {
    padding: 1.5rem 1rem;
    border-radius: 10px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-name {
    font-size: 1.125rem;
  }
  
  .review-item {
    padding: 1.5rem 1rem;
  }
  
  .review-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
    font-size: 0.875rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
  font-size: 12px !important;
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-desc,
  .footer-links a,
  .footer-contact p {
    font-size: 0.8125rem;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
    padding-top: 1.5rem;
  }
  
  /* Hide decorative elements on mobile */
  .decorative-blob,
  .blob-1,
  .blob-2 {
    display: none;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-slide {
    transition: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-image,
  .service-image,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(26, 37, 47, 0.95);
  }
  
  .navbar-brand {
    color: var(--color-accent-light) !important;
  }
  
  .navbar-nav .nav-link {
  font-size: 12px !important;
    color: var(--color-neutral-light);
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--color-accent-light);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .decorative-blob {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-member,
  .review-item {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
  
  .gallery-grid {
    display: none;
  }
}

/* Landscape Orientation on Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.875rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .team-member,
  .contact-form {
    border: 2px solid var(--color-primary);
  }
  
  .btn-primary {
    border: 2px solid var(--color-secondary);
  }
  
  .form-control {
    border-width: 3px;
  }
  
  .form-control:focus {
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.2);
  }
} 