@charset "UTF-8";
body {
  margin: 0;
  border-top: 2px solid #cc0000;
}
/* Header styling */
header {
    z-index: 1000;
}

header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-search-form {
            max-width: 500px;
            width: 100%;
        }

#headerSearch {
    border-right: none;
}

#headerSearch:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group .btn-primary {
    border-left: none;
    background-color: #cc0000;
    border-color: #cc0000;
}

.input-group .btn-primary:hover {
    background-color: #0b5ed7;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .input-group {
        max-width: 200px !important;
    }
    
    header h2 {
        font-size: 1.2rem;
    }
}

/* Minimale fix voor verticale centrering */
header .col-6.col-md-8 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

header .header-search-form {
  margin: 0;
  align-items: center;
}
/* Zoekveld breder maken */
header .input-group {
  width: 400px; /* Pas deze waarde aan naar wens */
}

/* Responsief: smaller op mobiel */
@media (max-width: 768px) {
  header .input-group {
    width: 100%;
    max-width: 250px;
  }
}

/* Horizontale Hoofdnavigatie */
.navbar {
    border-bottom: 2px solid #dee2e6;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    color: #495057;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.navbar-nav .nav-link.active {
    color: #0d6efd;
    font-weight: bold;
}

/* Verticale Subnavigatie - Desktop Sidebar */
.subnav-sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: sticky;
    top: 80px;
}

.subnav-title {
    font-size: 1rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
}

.subnav-link {
    display: block;
    padding: 8px 12px;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.subnav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
    padding-left: 16px;
}

.subnav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
    font-weight: 600;
}

/* Verticale Subnavigatie - Mobiel (horizontale tabs) */
.subnav-mobile {
    position: sticky;
    top: 56px;
    z-index: 999;
}

.subnav-mobile .nav-link {
    font-size: 0.9rem;
    color: #495057;
}

.subnav-mobile .nav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
}

.subnav-mobile .nav-link:hover {
    color: #0d6efd;
}

/* Responsive aanpassingen */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .subnav-mobile .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Override Bootstrap link colors */
a {
  color: #cc0000 !important;
}

a:hover,
a:focus {
  color: #990000 !important; /* Donkerder rood bij hover */
}

a:visited {
  color: #aa0000 !important;
}

/* Specifiek voor Bootstrap componenten */
.link-primary {
  color: #cc0000 !important;
}

.btn-link {
  color: #cc0000 !important;
}

.nav-link {
  color: #cc0000 !important;
}

/* Voor links in de navbar */
.navbar-light .navbar-nav .nav-link {
  color: #cc0000 !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #cc0000 !important;
}


/* Restaurant lijst styling */
.restaurant-item {
    padding: 6px 12px;
    margin-bottom: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.restaurant-item:nth-child(even) {
    background-color: #f9f9f9;
}

.restaurant-item:hover {
    background-color: #fff3f3;
    transform: translateX(1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.restaurant-field {
    flex: 1;
    min-width: 0;
}

.restaurant-name {
    font-weight: normal;
    color: #212529;
    flex: 1.3;
}

.restaurant-district {
    color: #495057;
    flex: 0.6;
}

.restaurant-street {
    color: #495057;
    flex: 1.5;
}

.restaurant-cuisine {
    color: #495057;
    flex: 0.8;
}

.restaurant-phone {
    color: #6c757d;
    flex: 0.7;
}

/* Filter panel styling */
.filter-panel {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
}

.filter-panel h5 {
    margin-bottom: 15px;
    color: #212529;
    font-size: 1.1rem;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h6 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 10px;
}

.form-check {
    margin-bottom: 8px;
}

.form-check-label {
    font-size: 0.9rem;
}

/* Responsive design voor mobiele apparaten */
@media (max-width: 768px) {
    .restaurant-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 15px;
    }
    
    .restaurant-field {
        padding: 2px 0;
    }
    
    .filter-panel {
        position: static;
    }
}

