/* Responsive Design for Eco-Friendly Event Décor Rental Template */

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .service-card img,
  .gallery-item img {
    height: 220px;
  }
  
  .team-card img {
    height: 280px;
  }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  #hero {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  .hero-shape-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 5%;
  }
  
  .hero-shape-2 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 3%;
  }
  
  .service-card img,
  .gallery-item img {
    height: 200px;
  }
  
  .team-card img {
    height: 250px;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  #hero {
    min-height: 70vh;
    padding: 2.5rem 0;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .case-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card img,
  .gallery-item img {
    height: 180px;
  }
  
  .team-card img {
    height: 220px;
  }
  
  .contact-form {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .price-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  #footer {
    padding: 2.5rem 0 1.5rem;
    text-align: center;
  }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 15px;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  /* Header Mobile */
  #header {
    padding: 0.5rem 0;
  }
  
  #header .navbar-brand {
    font-size: 1.2rem;
  }
  
  #header .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    text-align: center;
  }
  
  /* Hero Mobile */
  #hero {
    min-height: 60vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  #hero h1 {
    margin-bottom: 1rem;
  }
  
  #hero p {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Section Titles Mobile */
  .section-title {
    margin-bottom: 1.5rem;
  }
  
  .section-title h2 {
    margin-bottom: 0.5rem;
  }
  
  .section-title p {
    font-size: 16px;
  }
  
  /* Cards Mobile */
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .case-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .feature-card,
  .service-card-body,
  .team-card-body,
  .review-card,
  .case-card,
  .blog-card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
  
  .feature-card i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  /* Images Mobile */
  .service-card img,
  .gallery-item img {
    height: 160px;
  }
  
  .team-card img {
    height: 200px;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 15px;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 15px;
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Price Cards Mobile */
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
    margin: 1rem 0;
  }
  
  .price-features {
    margin: 1.5rem 0;
  }
  
  /* Process Mobile */
  .process-step {
    margin-bottom: 1.5rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 0 auto 0.8rem;
  }
  
  /* FAQ Mobile */
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .faq-question {
    font-size: 15px;
    margin-bottom: 0.8rem;
  }
  
  .faq-answer {
    font-size: 14px;
  }
  
  /* Footer Mobile */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  #footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  #footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  /* Gallery Mobile */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  /* Blog Mobile */
  .blog-card-body h5 {
    font-size: 1.1rem;
  }
  
  /* Contact Info Mobile */
  .contact-info {
    margin-top: 2rem;
    text-align: center;
  }
  
  .contact-info i {
    display: block;
    margin: 0 auto 0.5rem;
    font-size: 1.5rem;
  }
}

/* Landscape Phone Specific */
@media (max-width: 767px) and (orientation: landscape) {
  #hero {
    min-height: 50vh;
    padding: 1.5rem 0;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-card img,
  .team-card img,
  .gallery-item img,
  .blog-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  #header,
  #footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  .page-break {
    page-break-before: always;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .feature-card:hover,
  .gallery-item:hover img,
  .btn-primary:hover {
    transform: none !important;
  }
  
  .gallery-item img {
    transition: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .case-card,
  .blog-card,
  .faq-card {
    border: 2px solid var(--earth-brown-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--earth-brown-dark);
  }
  
  .form-control {
    border: 2px solid var(--earth-brown-dark);
  }
}

/* Focus Visible Support */
.btn-primary:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Smooth Scrolling for Anchor Links */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
} 

.hero-content {
    padding-top: 275px;
}