/* ==========================================================================
   Photography Studio Rental - Responsive Styles
   ========================================================================== */

/* GLOBAL ANIMATION DISABLE - ALL ANIMATIONS DISABLED FOR STABILITY */
.fade-in,
.slide-in-left,
.slide-in-right {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* FORCE DISABLE ALL ANIMATIONS GLOBALLY */
* {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    padding-top: 150px !important;
  }

  .hero-section {
    min-height: 100vh;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --font-size-h1: 2.25rem;
    --font-size-h2: 1.875rem;
    --font-size-h3: 1.625rem;
    --section-padding: 60px 0;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
  }

  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2.34rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Small Devices (Landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.5rem;
    --font-size-base: 15px;
    --section-padding: 50px 0;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
  }

  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1.08rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.125rem;
    --font-size-base: 14px;
    --font-size-small: 13px;
    --section-padding: 40px 0;
    --navbar-brand-size: 1.25rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
  }

  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 1.82rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.02rem;
    margin-bottom: 1.61rem;
  }
  
  .hero-shape {
    display: none;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: var(--navbar-brand-size) !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    display: block;
    margin: 0.5rem 0;
    font-size: 1.06rem;
  }
  
  .section-title h2 {
    font-size: 1.65rem;
  }
  
  .section-title p {
    font-size: 1.02rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .service-price {
    font-size: 1.34rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .team-card {
    padding: 1.25rem;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item {
    aspect-ratio: 4/3;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .form-control {
    padding: 10px 12px;
    font-size: 1.02rem;
  }
  
  .btn-primary {
    padding: 10px 25px;
    font-size: 0.91rem;
  }
  
  .review-card {
    padding: 1.25rem;
    margin: 0.25rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.92rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.99rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 1.65rem;
  }
  
  /* Hide floating animations on mobile for better performance */
  .hero-shape,
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Optimize hover effects for touch devices */
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .service-card:active,
  .team-card:active {
    transform: scale(0.98);
  }
}

/* Landscape phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section h1 {
    padding-top: 150px !important;
  }

  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content h1 {
    padding-top: 50px !important;
    font-size: 1.54rem;
  }
  
  .hero-content p {
    font-size: 0.92rem;
  }
  
  .section {
    padding: 30px 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-card img,
  .team-card img,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-shape,
  .btn,
  .contact-form,
  .footer {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
  }

  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .review-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #f0eded;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .gallery-grid {
    display: none;
  }
}

/* ANIMATIONS COMPLETELY DISABLED - Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-shape {
    animation: none !important;
  }
  
  .service-card,
  .team-card,
  .gallery-item,
  .btn-primary {
    transition: none !important;
  }
  
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #000000;
    --color-secondary: #ff2111;
    --color-accent: #ffe500;
    --color-neutral: #7f7373;
    --color-highlight: #870079;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-item {
    border: 2px solid var(--color-primary);
  }
  
  .btn-primary {
    border: 2px solid var(--color-primary);
  }
} 