/* ================================================
   PET PORTRAIT STUDIO - RESPONSIVE CSS
   Mobile-First Responsive Design
   ================================================ */

/* Base Mobile Styles (Default) */
/* Already defined in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    padding: 0 1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .card-columns {
    column-count: 2;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Typography adjustments */
  h1 {
    font-size: 2.76rem;
  }
  
  h2 {
    font-size: 2.37rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.79rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.22rem;
    padding: 0.5rem 1.25rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 0 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  /* Section spacing */
  .section-padding {
    padding: 5rem 0;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
  
  /* Cards */
  .card-columns {
    column-count: 3;
  }
  
  /* Team members */
  .team-member img {
    width: 220px;
    height: 220px;
  }
  
  /* Services */
  .service-card {
    padding: 2rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 300px;
  }
  
  /* Forms */
  .form-control {
    font-size: 1.16rem;
    padding: 0.875rem 1.25rem;
  }
  
  /* Footer */
  .footer {
    padding: 4rem 0 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Typography */
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.55rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 2rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.17rem;
    padding: 0.75rem 1.5rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 0 3rem;
  }
  
  .hero-content h1 {
    font-size: 3.55rem;
  }
  
  /* Section spacing */
  .section-padding {
    padding: 6rem 0;
  }
  
  .section-title {
    margin-bottom: 5rem;
  }
  
  /* Cards */
  .card-columns {
    column-count: 4;
  }
  
  /* Team members */
  .team-member img {
    width: 250px;
    height: 250px;
  }
  
  /* Services */
  .service-card {
    padding: 2.5rem;
  }
  
  .service-price {
    font-size: 2.28rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 350px;
  }
  
  /* Decorative shapes - Show on larger screens */
  .decorative-shape {
    display: block;
  }
  
  .shape-1 {
    width: 120px;
    height: 120px;
  }
  
  .shape-2 {
    width: 180px;
    height: 180px;
  }
  
  .shape-3 {
    width: 100px;
    height: 100px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Typography */
  h1 {
    font-size: 3.29rem;
  }
  
  h2 {
    font-size: 2.85rem;
  }
  
  /* Hero Section */
  .hero-content h1 {
    font-size: 4rem;
  }
  
  /* Section spacing */
  .section-padding {
    padding: 7rem 0;
  }
  
  .section-title {
    margin-bottom: 6rem;
  }
  
  /* Cards */
  .card-columns {
    column-count: 5;
  }
  
  /* Services */
  .service-card {
    padding: 3rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 400px;
  }
  
  /* Decorative shapes - Larger on XL screens */
  .shape-1 {
    width: 150px;
    height: 150px;
  }
  
  .shape-2 {
    width: 200px;
    height: 200px;
  }
  
  .shape-3 {
    width: 120px;
    height: 120px;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  /* Container adjustments */
  .container {
    max-width: 1320px;
  }
  
  /* Typography */
  .hero-content h1 {
    font-size: 4.51rem;
  }
  
  /* Section spacing */
  .section-padding {
    padding: 8rem 0;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 450px;
  }
}

/* Mobile-specific styles */
@media (max-width: 575.98px) {
  /* Hide decorative shapes on mobile */
  .decorative-shape {
    display: none;
  }
  
  /* Adjust hero section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.31rem;
  }
  
  /* Compact navigation */
  .navbar-brand {
    font-size: 1.35rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
  }
  
  /* Tighter spacing */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Card adjustments */
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.19rem;
  }
  
  /* Team members */
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Services */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.55rem;
  }
  
  .service-price {
    font-size: 1.86rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Forms */
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Mobile-specific improvements */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Improved mobile navigation */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  /* Better mobile form layout */
  .form-label {
    font-size: 0.92rem;
    font-weight: 600;
  }
  
  /* Mobile-optimized spacing */
  .mb-4 {
    margin-bottom: 1.61rem !important;
  }
  
  .mb-3 {
    margin-bottom: 1rem !important;
  }
}

/* Landscape phone adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Print styles */
@media print {
  /* Hide non-essential elements */
  .navbar,
  .footer,
  .btn,
  .decorative-shape {
    display: none;
  }
  
  /* Adjust colors for print */
  body {
    color: black;
    background: white;
  }
  
  .hero-section {
    background: white;
    color: black;
  }
  
  /* Adjust spacing for print */
  .section-padding {
    padding: 1rem 0;
  }
  
  /* Ensure readable text */
  h1, h2, h3, h4, h5, h6 {
    color: black;
  }
  
  p {
    color: black;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #1c1c1c;
    --text-muted: #6a6767;
    --primary-soft-blue: #0b8de2;
    --primary-warm-pink: #d6086b;
    --primary-mint-green: #00c968;
  }
  
  .card {
    border: 2px solid var(--text-primary);
  }
  
  .btn-primary {
    border: 2px solid var(--text-primary);
  }
  
  .form-control {
    border: 2px solid var(--text-primary);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .service-card:hover {
    transform: none;
  }
}

/* Dark mode support */