body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

header, nav {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

nav a {
    color: #6d4c1b;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.2s;
}

nav a:hover {
    color: #e67e22;
}

h1, h2, h3 {
    color: #6d4c1b;
    margin-top: 0;
    text-align: center;
}

.main-content {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

p {
    color: #444;
    font-size: 1.1em;
    line-height: 1.6;
}

.featured-cheeses {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #fff8e1;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
    max-width: 1000px;
    max-height: 600px;
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
}

.slider img {
    flex: 0 1 100%;
    scroll-snap-align: start;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    display: block;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #000000;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
}

.nav-search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.search-form input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.search-form button {
    padding: 8px 12px;
    border-radius: 5px;
    background: #ffe066;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 16px;
    height: 70px;
    width: 70px;
}

.logo-box img {
    max-height: 100%;
    width: auto;
    display: block;
}

.header-title-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-title-nav h1 {
    margin-bottom: 8px;
}

.header-title-nav nav {
    display: flex;
    gap: 15px;
}

.dyk {
    background: #fff8e1;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    max-width: 300px;
    margin: 20px auto;
    text-align: center;
    transition: transform 0.4s ease;
}

.dyk:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.cheese-list {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    text-align: center;
}

.cheese-list td {
    vertical-align: top;
}

.cheese-list img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 15px 6px 10px rgba(0, 0, 0, 0.1);
}

.cheese-list td:hover {
    transform: scale(0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-dyk-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.gouda-page {
  max-width: none;
  margin: 24px auto;
  padding: 24px;
  background: transparent;
  box-shadow: none;
}
.page-title {
     text-align: center; 
     margin-top: 0; 
    }

.gouda-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 0;
}

.gouda-hero {
     max-width: 520px;
      flex: 1 1 520px;
     }

.gouda-hero-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: block;
}

.gouda-facts { 
    width: 300px;
     flex: 0 0 300px;
     }

.gouda-facts ul { 
    list-style: none; 
    padding: 0;
     margin: 0; 
    }

.gouda-facts li { 
    padding: 6px 0;
     color: #444;
     }

.gouda-extra { 
    max-width: 900px;
     margin: 18px auto; color:
      #444; line-height: 1.6; 
    }

.meta-note { font-size: 0.9em; 
    color: #666; 
    text-align: center;
     margin-top: 12px; 
    }
.back-links {
     text-align: center; 
    margin: 18px 0; 
}


@media (max-width: 800px) {
  .gouda-grid {
     flex-direction: column; 
    padding: 12px 0;
 }
  .gouda-facts {
     width: 100%;
      max-width: 420px; 
    }
}

      body {
        background-color: #fffdf8;
      }

      .cheese-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 30px;
        padding: 40px;
        justify-items: center;
      }

      .cheese-card {
        width: 200px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        overflow: hidden;
        text-align: center;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
      }

      .cheese-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      }

      .cheese-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
      }

      .cheese-card a {
        display: block;
        padding: 10px 0 14px;
        text-decoration: none;
        color: #6d4c1b;
        font-weight: bold;
        font-size: 1.05em;
      }

      .cheese-card a:hover {
        color: #e67e22;
      }

      h1.page-title {
        text-align: center;
        color: #6d4c1b;
        margin-top: 40px;
      }

      hr {
        border: none;
        height: 2px;
        background-color: #6d4c1b;
        width: 600px;
        margin: 10px auto 40px;
      }
      
    table.centered {
        margin-left: auto;
        margin-right: auto;
    }
    #results div {
  margin: 5px 0;
}

#results a {
  text-decoration: none;
  color: black;
}

#results a:hover {
  color: orange;
}

.result-item strong {
  font-weight: bold;
}

.result-item.active {
  background-color: #e6e6e6;
}


.search-container {
  position: relative;
  display: inline-block;   /* prevents layout shifting */
}


.search-container input {
  width: 250px;
  padding: 8px;
}


.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  display: none;
  max-height: 250px;
  overflow-y: auto;
  z-index: 9999;  /* ensures it floats above everything */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.result-item {
  padding: 8px;
}

.result-item a {
  text-decoration: none;
  color: black;
  display: block;
}

.result-item:hover,
.result-item.active {
  background-color: #f2f2f2;
}