/* Responsive overrides for mobile and tablet (<= 992px) */
@media (max-width: 992px) {
  /* Header adjustments */
  .header-modern {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 4px 0;
    min-height: 48px;
    align-items: center;
  }
  .header-modern-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    flex: 0 0 auto;
    text-align: left;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-modern-logo a {
    display: flex;
    align-items: center;
    margin: 0;
  }
  .header-modern-logo img {
    max-height: 40px;
    height: 40px;
    width: auto;
    margin: 0;
  }
  .header-modern-info {
    flex-direction: column;
    width: 100%;
    order: 2;
  }
  .header-modern-item {
    justify-content: center;
    margin-bottom: 8px;
    font-size: 14px;
  }
  .header-modern-item:first-child {
    display: flex;
    flex-direction: column;
  }
  .opening-hours {
    text-align: center;
    line-height: 1.5;
  }
  .header-modern-bosch {
    display: none;
  }
  .header-nav .nav-menu a {
    padding: 15px 15px;
    font-size: 14px;
  }
  /* Grid layouts */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Content sections */
  .about-content {
    flex-direction: column;
    gap: 20px;
  }
  .about-image {
    order: -1;
    margin-bottom: 20px;
  }
  .about-image img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  /* Gallery and Partners */
  .gallery-item {
    flex: 0 0 50%;
  }
  .partner {
    flex: 0 0 33.333%;
  }
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-logo, .footer-menu, .footer-contact, .footer-hours {
    text-align: center;
  }
  .nav-toggle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #d60000;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10000;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 0;
  }
  .hamburger {
    width: 28px;
    height: 3.5px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(.4,2,.6,1);
    position: absolute;
    left: 10px;
    right: 10px;
    display: block;
  }
}

@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
  }
  /* Header */
  .header-modern {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
  }
  .header-modern-logo {
    margin-bottom: 10px;
    flex: 0 0 100%;
    text-align: center;
  }
  .header-modern-logo img {
    max-height: 50px;
    margin: 0 auto;
  }
  .header-modern-info {
    flex-direction: column;
    width: 100%;
    order: 2;
  }
  .header-modern-item {
    justify-content: center;
    margin-bottom: 8px;
    font-size: 14px;
  }
  .header-modern-item:first-child {
    display: flex;
    flex-direction: column;
  }
  .opening-hours {
    text-align: center;
    line-height: 1.5;
  }
  .header-modern-bosch {
    display: none;
  }
  .nav-toggle {
    display: flex !important;
  }
  .header-nav {
    position: relative;
    width: 100%;
  }
  .header-nav .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: none;
  }
  .header-nav .nav-menu.open {
    display: flex;
  }
  .header-nav .nav-menu a {
    padding: 15px;
    width: 100%;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 16px;
  }
  .header-nav .nav-menu a:hover,
  .header-nav .nav-menu a.active {
    background-color: #f8f8f8;
    color: var(--color-secondary);
  }
  .header-nav .nav-menu a::after {
    display: none;
  }
  /* Sections */
  .hero {
    padding: 50px 0;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
  /* Layouts */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    flex: 0 0 100%;
  }
  .partner {
    flex: 0 0 50%;
  }
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-logo, .footer-menu, .footer-contact, .footer-hours {
    text-align: center;
  }
  .footer-menu h3::after, .footer-contact h3::after, .footer-hours h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  /* Modals */
  .gallery-nav-arrow {
    width: 35px;
    height: 35px;
  }
  .gallery-prev {
    left: 10px;
  }
  .gallery-next {
    right: 10px;
  }
  .nav-toggle {
    position: relative;
  }
  .nav-toggle .hamburger:nth-child(1) {
    top: 12px;
    transform: none;
  }
  .nav-toggle .hamburger:nth-child(2) {
    top: 22px;
    transform: none;
  }
  .nav-toggle .hamburger:nth-child(3) {
    top: 32px;
    transform: none;
  }
  .nav-toggle.active .hamburger:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
  }
  .nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .hamburger:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 22px;
  }
  .header-modern {
    padding: 8px 0;
  }
  .header-modern-logo img {
    max-height: 40px;
  }
  .header-modern-item {
    font-size: 12px;
  }
  .header-modern-item .divider {
    margin: 0 2px;
  }
  .opening-hours span {
    display: block;
    margin: 3px 0;
  }
  .contact-details {
    flex-direction: column;
  }
  .contact-detail {
    width: 100%;
  }
  .partner {
    flex: 0 0 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .btn, .btn-secondary {
    width: 100%;
    margin-bottom: 10px;
  }
  .modern-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .header-modern-item,
  .header-modern .opening-hours {
    display: none !important;
  }
}

/* Red link for 'Created by' footer (responsive) */
.created-by-link {
  color: #d60000 !important;
} 