/**
 * Responsive styles for HO BAR theme
 */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Medium Desktop (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 60px;
  }
  
  .hero-subtitle {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 38px;
  }
  
  .bar-service-title {
    font-size: 30px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet and Small Desktop (768px to 991px) */
@media (max-width: 991px) {
  :root {
    --section-spacing: 80px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-subtitle {
    font-size: 20px;
  }
  
  .about-text,
  .bar-service-content {
    padding-left: 0;
    margin-bottom: 40px;
  }
  
  .about-content,
  .bar-service-item,
  .bar-service-item:nth-child(even) {
    flex-direction: column-reverse;
  }
  
  .bar-service-item:nth-child(even) .bar-service-content {
    padding-right: 0;
  }
  
  .bar-service-item {
    margin-bottom: 60px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .footer-widgets {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .customer-logo {
    min-width: 120px;
    max-width: 150px;
  }
  
  .about-image:before {
    right: 10px;
    top: 10px;
  }
  
  #primary-menu li {
    margin: 0 10px;
  }
  
  .hero-title {
    font-size: 50px;
  }
  
  .hero-subtitle {
    font-size: 28px;
  }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
  :root {
    --section-spacing: 60px;
  }
  
  .site-header .container {
    flex-wrap: wrap;
  }
  
  .menu-toggle {
    display: block;
  }
  
  #primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
    padding: 20px 0;
    z-index: 100;
  }
  
  .main-navigation.toggled #primary-menu {
    display: block;
  }
  
  #primary-menu li {
    margin: 0;
    text-align: center;
  }
  
  #primary-menu a {
    display: block;
    padding: 10px 0;
  }
  
  .header-contact {
    margin-right: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 24px;
  }
  
  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-image:before {
    display: none;
  }
  
  .why-us-boxes {
    grid-template-columns: 1fr;
  }
  
  .site-info {
    text-align: center;
    justify-content: center;
  }
  
  .copyright,
  .credits {
    width: 100%;
  }
  
  .footer-widgets {
    grid-template-columns: 1fr;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info,
  .contact-form {
    padding: 40px 30px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .bar-service-image img {
    height: 250px;
  }
  
  .customer-logo {
    min-width: 100px;
    max-width: 130px;
  }
  
  .customer-logo img {
    max-height: 50px;
  }
  
  .additional-services-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }
  
  .bar-service-title {
    font-size: 28px;
  }
  
  .service-item {
    height: 200px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .customers-logos {
    justify-content: center;
  }
  
  .customer-logo {
    min-width: 120px;
    max-width: 120px;
  }
  
  .site-branding {
    width: 70%;
  }
  
  .menu-toggle {
    width: 30%;
    display: flex;
    justify-content: flex-end;
  }
  
  .page-title {
    font-size: 32px;
  }
  
  .lightbox-content {
    width: 95%;
  }
  
  .close-lightbox {
    top: 10px;
    right: 20px;
  }
  
  .cta-button, 
  .about-button, 
  .alcohol-button, 
  .submit-button, 
  .more-button {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .footer-widget {
    margin-bottom: 40px;
  }
}

/* Very Small Mobile (up to 375px) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .bar-service-title {
    font-size: 24px;
  }
  
  .contact-title {
    font-size: 24px;
  }
  
  .contact-info,
  .contact-form {
    padding: 25px 15px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
  }
  
  .customer-logo {
    min-width: 100px;
    max-width: 100px;
    padding: 10px;
  }
}
