/* ==========================================
   VINTAGE POSTER GALLERY - RESPONSIVE STYLES
   Mobile-First Responsive Design
   ========================================== */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-shape {
    width: 150px;
    height: 150px;
  }
  
  h1 {
    font-size: 1.59rem;
  }
  
  h2 {
    font-size: 1.39rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .team-member-card img {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .service-price {
    font-size: 1.32rem;
  }
  
  .price-value {
    font-size: 1.54rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    padding: 2.5rem 0;
  }
  
  .hero-shape {
    width: 200px;
    height: 200px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .team-member-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 997px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-shape {
    width: 250px;
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .hero-shape {
    width: 300px;
    height: 300px;
  }
  
  .container-xl {
    max-width: 1400px;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 80vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #d9d9d9;
  }
  
  body {
    font-size: 12pt;
    color: black;
  }
}

/* Accessibility - Focus States */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item img:hover {
    transform: none;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 1rem;
  }
}

/* Reduced Motion Responsive Adjustments */
@media (prefers-reduced-motion: reduce) {
  .card,
  .gallery-item img,
  .btn,
  .form-control {
    transition: none;
  }
}

/* Container Responsive Adjustments */
@media (max-width: 575.98px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-top: 0.63rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-sage);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Typography Responsive Scaling */
@media (max-width: 575.98px) {
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.98rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1rem;
  }
}

@media (min-width: 1400px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.84rem;
  }
  
  .section-subtitle {
    font-size: 1.23rem;
  }
} 

.hero-section h1 {
    padding-top: 250px;
}