/* Photography Workshop Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 3rem 0;
    --fs-3xl: 1.5rem;
    --fs-2xl: 1.25rem;
    --fs-xl: 1.125rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Navigation */
  .navbar-brand {
    font-size: var(--fs-lg);
  }

  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }

  /* Hero Section */
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
    text-align: center;
  }

  .hero-image img {
    height: 300px;
    margin-top: 2rem;
  }

  /* Cards */
  .card {
    margin-bottom: 1.62rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .gallery-item {
    height: 200px;
  }

  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
  }

  /* Team */
  .team-photo {
    width: 120px;
    height: 120px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem;
  }

  /* FAQ */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-image img {
    height: 350px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 220px;
  }

  .service-card {
    padding: 1.75rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 90vh;
  }

  .hero-image img {
    height: 400px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item {
    height: 240px;
  }

  .contact-form {
    padding: 2.5rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-image img {
    height: 450px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-image img {
    height: 500px;
  }

  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Team Grid */
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .container {
    max-width: 1200px;
  }
}

/* Tablet Portrait */
@media (orientation: portrait) and (min-width: 768px) and (max-width: 1024px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    padding: 3rem 0;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Tablet Landscape */
@media (orientation: landscape) and (min-width: 768px) and (max-width: 1024px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .gallery-item img,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-item,
  .hero-section::before {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }

  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }

  .card {
    box-shadow: none;
    border: 1px solid #e1cfd1;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .card:hover,
  .gallery-item:hover img,
  .btn:hover {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  /* Note: Dark theme disabled as per requirements */
  /* This section left empty intentionally */
}

/* Focus Management for Accessibility */
@media (max-width: 991.98px) {
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(88, 83, 255, 0.25);
  }

  .nav-link:focus {
    outline: 2px solid var(--color-primary-1);
    outline-offset: 2px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .gallery-item:hover img,
  .btn:hover {
    transform: none;
  }

  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-link {
    padding: 1rem 0.5rem;
  }

  .faq-question {
    min-height: 60px;
    display: flex;
    align-items: center;
  }
}

/* Container Responsive Padding */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) {
  .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Grid System Enhancements */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 575.98px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .row > * {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Utilities for Responsive Design */
.d-none-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .d-none-mobile {
    display: block !important;
  }
}

.d-mobile-only {
  display: block !important;
}

@media (min-width: 768px) {
  .d-mobile-only {
    display: none !important;
  }
}

/* Responsive Typography */
@media (max-width: 575.98px) {
  .display-1 { font-size: 2rem; }
  .display-2 { font-size: 1.83rem; }
  .display-3 { font-size: 1.62rem; }
  .display-4 { font-size: 1.40rem; }
}

/* Responsive Spacing */
@media (max-width: 575.98px) {
  .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
  .py-4 { padding-top: 1.64rem !important; padding-bottom: 1.72rem !important; }
  .my-4 { margin-top: 1.65rem !important; margin-bottom: 1.59rem !important; }
} 