/* Responsive CSS for Barbershop Template */

/* Mobile First Approach */
/* Base styles are for mobile devices */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-padding {
    padding: 100px 0;
  }
  
  .feature-item {
    margin-bottom: 0;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper {
    --swiper-navigation-size: 0px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-padding {
    padding: 120px 0;
  }
  
  .service-card {
    height: 100%;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  /* Enable full functionality for larger screens */
  .swiper {
    --swiper-navigation-size: 44px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile Specific Styles (below 768px) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 3rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Stack footer content on mobile */
  .footer-content .row > div {
    margin-bottom: 2rem;
  }
}

/* Tablet Specific Styles (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    height: auto;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 13pt; }
  h5 { font-size: 12pt; }
  h6 { font-size: 11pt; }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-gold: #FFD700;
    --primary-dark: #000000;
    --primary-brown: #654321;
    --cream-light: #FFFFFF;
    --charcoal-light: #333333;
  }
  
  .service-card,
  .feature-item,
  .review-item {
    border: 2px solid var(--primary-dark);
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .service-card,
  .feature-item,
  .team-member,
  .review-item,
  .blog-item,
  .gallery-item img {
    transition: none !important;
    transform: none !important;
  }
  
  .swiper {
    --swiper-transition-duration: 0ms;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --cream-light: #1a1a1a;
    --cream-dark: #2d2d2d;
    --primary-dark: #ffffff;
    --charcoal-light: #cccccc;
  }
  
  body {
  overflow-x: hidden;
    background-color: var(--cream-light);
    color: var(--primary-dark);
  }
  
  .service-card,
  .feature-item,
  .review-item,
  .contact-form,
  .blog-item,
  .faq-answer {
    background-color: var(--cream-dark);
    color: var(--primary-dark);
  }
} 