/* Responsive Styles for Virtual Coworking Café */

/* Mobile First Approach - Base styles are for mobile */

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content p {
    font-size: 1.3rem;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: 1.4rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1.5rem;
  }
  
  .service-item img {
    height: 220px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
  
  .hero-content p {
    font-size: 1.5rem;
  }
  
  .service-item img {
    height: 240px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .timeline-item {
    margin-left: 50px;
  }
  
  .timeline-item::before {
    left: -50px;
    width: 25px;
    height: 25px;
  }
  
  .timeline-item::after {
    left: -37px;
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 5.5rem;
  }
  
  .container {
    max-width: 1320px;
  }
}

/* Mobile specific styles */
@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .service-item,
  .about-feature,
  .feature-item,
  .priceplan-item,
  .team-member,
  .review-item,
  .casestudy-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 1.5rem;
  }
  
  .service-item img {
    height: 180px;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .priceplan-price {
    font-size: 2.5rem;
  }
  
  .timeline-item {
    margin-left: 20px;
  }
  
  .timeline-item::before {
    left: -20px;
    width: 15px;
    height: 15px;
  }
  
  .timeline-item::after {
    left: -12px;
  }
}

/* Tablet specific styles */
@media (min-width: 576px) and (max-width: 991px) {
  .hero {
    padding: 2rem 0;
  }
  
  .about-feature,
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .service-item {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .contact-form,
  .gallery {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    color: #000;
  }
  
  .hero-content p {
    font-size: 1rem;
    color: #000;
  }
  
  .about,
  .services,
  .features,
  .priceplan,
  .team,
  .reviews,
  .casestudy,
  .process,
  .timeline,
  .career,
  .coreinfo,
  .blog,
  .faq {
    padding: 1rem 0;
    background: #fff;
    color: #000;
  }
  
  .service-item,
  .about-feature,
  .feature-item,
  .priceplan-item,
  .team-member,
  .review-item,
  .casestudy-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item,
  /* FAQ now uses Bootstrap cards */
  
  .service-item img,
  .team-member img,
  .gallery-item img,
  .blog-item img {
    max-width: 100%;
    height: auto;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-purple: #4C1D95;
    --primary-teal: #0F766E;
    --primary-coral: #C2410C;
    --primary-mint: #065F46;
    --primary-rose: #BE185D;
    --dark-gray: #000000;
    --gray: #374151;
    --light-gray: #E5E7EB;
  }
  
  .hero-content,
  .services,
  .priceplan,
  .reviews,
  .process,
  .timeline,
  .coreinfo,
  .faq {
    color: #FFFFFF;
  }
  
  .service-item,
  .about-feature,
  .feature-item,
  .priceplan-item,
  .team-member,
  .review-item,
  .casestudy-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item,
  /* FAQ now uses Bootstrap cards */
  
  .contact-form .form-control {
    border: 2px solid #000000;
  }
  
  .contact-form .form-control:focus {
    border-color: #4C1D95;
    box-shadow: 0 0 0 0.2rem rgba(76, 29, 149, 0.5);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
  
  .about-feature,
  .service-item,
  .feature-item,
  .priceplan-item,
  .team-member,
  .review-item,
  .casestudy-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-item,
  .gallery-item {
    transition: none;
  }
  
  .about-feature:hover,
  .service-item:hover,
  .gallery-item:hover,
  .blog-item:hover {
    transform: none;
  }
  
  .contact-form button:hover {
    transform: none;
  }
  
  /* Animation classes removed - no scroll animations */
}

/* Dark mode support (if needed in future) */

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .about,
  .services,
  .features,
  .priceplan,
  .team,
  .reviews,
  .casestudy,
  .process,
  .timeline,
  .career,
  .coreinfo,
  .contact,
  .blog,
  .faq {
    padding: 3rem 0;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  *:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
  }
  
  .navbar-nav .nav-link:focus {
    outline-color: var(--white);
  }
  
  .contact-form .form-control:focus {
    outline: none;
  }
  
  .contact-form button:focus {
    outline-color: var(--white);
  }
}

/* Custom scrollbar for webkit browsers */
@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--light-gray);
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-teal) 100%);
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--dark-teal) 100%);
  }
}

/* Container max-width adjustments */
@media (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }
}

@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
} 