/* Responsive Styles for Eco-Friendly Event Décor Rental */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile */
  * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Hero Section */
  #hero {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-blob-1, .hero-blob-2 {
    display: none;
  }
  
  /* Conservative font sizes for mobile */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Service cards stack */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid single column */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.6rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Section padding reduced */
  section {
    padding: 2.5rem 0;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Price display */
  .price-value {
    font-size: 1.5rem;
  }
  
  /* Process steps */
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Slightly larger but still conservative */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  
  .service-card {
    padding: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Reduced animations on smaller tablets */
  .card:hover {
    transform: translateY(-1px);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-price {
    font-size: 1.6rem;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 90vh;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Full hover effects on desktop */
  .card:hover {
    transform: translateY(-2px);
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Maximum section padding on large screens */
  section {
    padding: 5rem 0;
  }
  
  /* Hero decorative elements visible */
  .hero-decoration {
    display: block;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo {
    border-width: 2px;
  }
  
  .card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar, #footer {
    display: none;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #ccc !important;
  }
}

/* Accessibility - High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --eco-sage: #2d4a1f;
    --eco-cream: #ffffff;
    --eco-terracotta: #8b4513;
    --eco-lavender: #4b0082;
    --eco-mint: #006400;
  }
  
  .card {
    border: 2px solid #000;
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark mode support (if system preference) */

/* Navigation collapse adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--eco-cream);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--eco-sage-light);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--eco-sage-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form responsiveness */
@media (max-width: 767.98px) {
  .form-row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  .btn-block {
    width: 100%;
  }
}

/* Card grid responsiveness */
@media (max-width: 575.98px) {
  .row .col-lg-4,
  .row .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Team section responsiveness */
@media (max-width: 991.98px) {
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Price plan responsiveness */
@media (max-width: 767.98px) {
  .price-value {
    font-size: 1.8rem;
  }
  
  .priceplan-features {
    text-align: left;
  }
} 

body {
    overflow-x: hidden;
}