/* Responsive Styles for Ethical Coworking Space Template */

/* Mobile First - Base styles for mobile devices */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  #hero {
    min-height: 80vh;
    padding-top: 100px;
    text-align: center;
  }
  
  .hero-blob {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Section padding adjustments */
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 40px 0;
  }
  
  /* Card adjustments */
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .job-card,
  .blog-card,
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact form adjustments */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Team photo adjustments */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Process number adjustments */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price value adjustments */
  .price-value {
    font-size: 2.25rem;
  }
  
  /* Service price adjustments */
  .service-price {
    font-size: 1.75rem;
  }
  
  /* Gallery item adjustments */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 40px 0 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero section */
  #hero {
    padding-top: 90px;
  }
  
  /* Section padding */
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 60px 0;
  }
  
  /* Team photo */
  .team-photo {
    width: 175px;
    height: 175px;
  }
  
  /* Gallery item */
  .gallery-item img {
    height: 225px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    min-height: 90vh;
    padding-top: 80px;
  }
  
  /* Feature cards in 2 columns */
  .feature-card {
    margin-bottom: 2rem;
  }
  
  /* Service cards spacing */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery adjustments */
  .gallery-item img {
    height: 240px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section full height */
  #hero {
    min-height: 100vh;
  }
  
  /* Standard section padding */
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 80px 0;
  }
  
  /* Service cards in 2 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery standard height */
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Full desktop experience */
  #hero {
    min-height: 100vh;
  }
  
  /* Larger containers for better spacing */
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced hero blobs */
  .hero-blob {
    width: 250px;
    height: 250px;
  }
  
  /* Service cards in 3 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Enhanced gallery */
  .gallery-item img {
    height: 280px;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Enhanced decorative elements */
  .hero-blob {
    width: 300px;
    height: 300px;
  }
  
  /* Larger team photos */
  .team-photo {
    width: 220px;
    height: 220px;
  }
  
  /* Enhanced gallery */
  .gallery-item img {
    height: 300px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .hero-blob {
    display: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp images on retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  /* Hide non-essential elements for printing */
  #header,
  #footer,
  .hero-blob,
  .btn {
    display: none !important;
  }
  
  /* Ensure black text for printing */
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  /* Page breaks */
  section {
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  /* Override all animations for users who prefer reduced motion */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Hide decorative animations */
  .hero-blob {
    animation: none !important;
  }
}

/* Dark mode support (optional) */

/* Focus improvements for keyboard navigation */
@media (any-hover: none) {
  /* Touch devices - remove hover effects */
  .feature-card:hover,
  .service-card:hover,
  .case-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* Specific Bootstrap 5 responsive utilities override prevention */
/* Ensure we don't accidentally override Bootstrap's responsive classes */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  /* Let Bootstrap handle container responsiveness */
}

.row {
  /* Let Bootstrap handle row behavior */
}

[class*="col-"] {
  /* Let Bootstrap handle column behavior */
} 

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 250px;
}