/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-title {
    font-size: 3.56rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.38rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: 2.64rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
}

/* Extra Small Devices (up to 767px) */
@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }
  
  .hero-section {
    min-height: 90vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.16rem;
    margin-bottom: 1.74rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.84rem;
    margin-bottom: 0.99rem;
  }
  
  .section-subtitle {
    font-size: 1.23rem;
  }
  
  .section-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .services-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.65rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .testimonial-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1.00rem;
  }
  
  .faq-answer {
    padding: 0 1rem;
  }
  
  .faq-answer.active {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 1.02rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.32rem !important;
  }
  
  .navbar-toggler {
    padding: 0.2rem 0.4rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.14rem;
  }
  
  .card-text {
    font-size: 1.03rem;
  }
}

/* Portrait Phones (up to 576px) */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.84rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 1.09rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.64rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-description {
    font-size: 1.04rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .service-price {
    font-size: 1.31rem;
  }
  
  .team-member {
    padding: 1.25rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .testimonial-card {
    padding: 1.25rem;
    margin: 0.25rem;
  }
  
  .testimonial-card::before {
    font-size: 2.53rem;
    top: 0;
    left: 10px;
  }
  
  .contact-form {
    padding: 1.25rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 0.99rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.96rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .navbar-brand {
    font-size: 1.24rem !important;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Landscape Phones (up to 480px) */
@media (max-width: 479px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.61rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.00rem;
  }
  
  .hero-description {
    font-size: 1.02rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.38rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .service-image img {
    width: 30px;
    height: 30px;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .testimonial-card::before {
    font-size: 2rem;
    top: 5px;
    left: 8px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../ZEN_images/hero-bg@2x.webp');
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .navbar,
  .footer,
  .btn,
  .form-control,
  .testimonial-card::before {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ded4d5;
  }
  
  .services-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .service-card,
  .team-member {
    padding: 1rem;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .card,
  .service-card,
  .team-member,
  .testimonial-card,
  .faq-item {
    page-break-inside: avoid;
  }
}

/* Landscape Orientation */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .card:hover,
  .service-card:hover,
  .team-member:hover,
  .gallery-item:hover,
  .navbar-nav .nav-link:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .hero-blob {
    animation: none;
  }
  
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    transition: none;
    opacity: 1;
    transform: none;
  }
} 