*{
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}

body{
    background-color: #f8f9fa;
}


/* =========================
   Navigation Bar
========================= */
.navigation {
    display: flex;
    align-items: center;
    height: 120px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative; /* needed for absolute mobile menu */
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 30px;
}
.nav-left img {
    height: 40px;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-right {
    flex: 1;
}

/* Navigation links */
.navigation a {
    text-decoration: none;
    font-size: 1.3rem;
    color: black;
    margin: 0 20px;
    padding: 30px;
    border-radius: 20px;
    transition: 0.15s;
}

.navigation a:hover {
    border-radius: 20px;
    font-weight: 600;
    scale: 1.1;
    background-color: rgba(200, 200, 200, 0.4);
}

/* =========================
   Hamburger Button (Mobile)
========================= */
.hamburger {
    display: none; /* hidden by default */
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* =========================
   Responsive Mobile Styles
========================= */
@media (max-width: 768px) {
    /* Hide nav links initially */
    .nav-center {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 120px; /* navbar height */
        left: 0;
        width: 100%;
        background-color: white;
        padding: 15px 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 100;
    }

    /* Show nav links when active */
    .nav-center.active {
        display: flex;
    }

    /* Show hamburger button */
    .hamburger {
        display: block;
        flex: 0;
        margin-right: 20px;
    }

    /* Reduce padding of links for mobile */
    .navigation a {
        margin: 5px 0;
        padding: 10px 15px;
        font-size: 1.2rem;
    }
}



/* =========================
   Footer
========================= */
.site-footer {
    background-color: rgb(34, 34, 34, 0.94);
    color: #eee;
    padding: 60px 10% 20px;
    font-size: 1rem;
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-brand p {
    line-height: 1.6;
    color: #ccc;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-socials h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-socials p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 1rem;
    color: #aaa;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: opacity 0.25s ease;
}

.instagram-link img {
    width: 30px;
    height: 30px;
}

.instagram-link:hover {
    opacity: 0.7;
}








/* =========================
   Hero sektion
========================= */
.hero-sektion {
    position: relative;           
    width: 100%;
    height: 500px;        
    overflow: hidden;
}

.hero-sektion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(20%);
    z-index: 1;        /* <-- billedet ligger bag teksten */
}


.hero-sektion h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-align: center;
    z-index: 2;       /* <-- sørger for at teksten ligger ovenpå billedet */
}







/* =========================
   Populære Nyheder
========================= */
.opskrifter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.nyheder-titel {
  font-size: 3rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin: 3rem auto 2rem;
  max-width: 800px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1.5rem;
}

/* Decorative underline */
.nyheder-titel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #f5a623 0%, #d88f1c 100%);
  border-radius: 2px;
}

.opskrifter h2 {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 20px;
    color: black;
    font-size: 3rem;
}

.opskrifter p {
    text-align: center;
    margin-bottom: 35px;
    margin-top: 20px;
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
}

.opskriftscontainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4);
}

.item h3 {
    position: relative;
    z-index: 2;
    color: white;
    margin: 0;
    padding: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 2rem;
}
.item p {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1.2em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.item a{
    text-decoration: none;
}








/* =========================
   Nyheder
========================= */
.nyheder {
    background-color:white;
    color: black;
    padding: 0px 10%;
    margin: 20px 0;
}

.nyheder h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: black;
    font-weight: 600;
}

.nyheder ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
}

.nyheder li {
    margin-bottom: 0;
}

.nyheder a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255);
    border-left: 3px solid #666;
    transition: all 0.25s ease;
    font-size: 1rem;
}

.nyheder a:hover {
    color: white;
    background-color: rgb(34, 34, 34, 0.94);
    border-left-color: #fff;
    padding-left: 30px;
    border-radius: 5px;
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .opskrift ul {
        grid-template-columns: 1fr;
    }
}






/* =========================
   Modal Popup
========================= */
/* =========================
   Modal Popup
========================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

/* MODAL CONTENT BOX */
.modal-content {
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 80vw;
  width: 90%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* MODAL IMAGE */
.modal-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
  margin-bottom: 2.5rem;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #333;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background: white;
  transform: rotate(90deg);
}

/* MODAL HEADER */
.modal-content h1 {
  font-size: 2.5rem;
  color: #111;
  margin: 0 3rem 2rem 3rem;
  line-height: 1.3;
  font-weight: 700;
}

/* MODAL TEXT */
.modal-content p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin: 0 3rem 3rem 3rem;
}

/* PREVENT BODY SCROLL WHEN MODAL IS OPEN */
body.modal-open {
  overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-content img {
    height: 200px;
    margin-bottom: 2rem;
  }

  .modal-content h1 {
    font-size: 1.8rem;
    margin: 0 2rem 1.5rem 2rem;
  }

  .modal-content p {
    font-size: 1rem;
    margin: 0 2rem 2rem 2rem;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .modal-content img {
    height: 150px;
    margin-bottom: 1.5rem;
  }

  .modal-content h1 {
    font-size: 1.5rem;
    margin: 0 1.5rem 1rem 1.5rem;
  }

  .modal-content p {
    font-size: 0.95rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
  }
}

/* Modal content styling */
.modal-paragraph {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  margin: 0 3rem 1.5rem 3rem;
}

.modal-subtitle {
  font-size: 1.6rem;
  color: #111;
  margin: 2.5rem 3rem 1rem 3rem;
  font-weight: 700;
  padding-left: 1rem;
  border-left: 4px solid #111;
}

.modal-bullets {
  list-style: none;
  padding: 0;
  margin: 0 3rem 2rem 3rem;
}

.modal-bullets li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
  border-bottom: 1px solid #f5f5f5;
}

.modal-bullets li:last-child {
  border-bottom: none;
}

.modal-bullets li::before {
  content: '●';
  position: absolute;
  left: 0.5rem;
  color: #111;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-paragraph {
    margin: 0 2rem 1.5rem 2rem;
  }
  
  .modal-subtitle {
    font-size: 1.4rem;
    margin: 2rem 2rem 1rem 2rem;
  }
  
  .modal-bullets {
    margin: 0 2rem 2rem 2rem;
  }
}

@media (max-width: 480px) {
  .modal-paragraph {
    font-size: 1rem;
    margin: 0 1.5rem 1rem 1.5rem;
  }
  
  .modal-subtitle {
    font-size: 1.3rem;
    margin: 1.5rem 1.5rem 0.75rem 1.5rem;
  }
  
  .modal-bullets {
    margin: 0 1.5rem 1.5rem 1.5rem;
  }
  
  .modal-bullets li {
    font-size: 0.95rem;
    padding: 0.6rem 0 0.6rem 2rem;
  }
}
/* =========================
   Recipe Modal Styling
========================= */
.item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.recipe-modal-body {
    padding: 0 3rem 3rem 3rem;
}

.recipe-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 140px;
}

.info-icon {
    font-size: 1.5rem;
}

.info-badge strong {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.info-badge p {
    margin: 0;
    font-size: 1rem;
    color: #111;
    font-weight: 600;
}

.recipe-description {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.recipe-modal-body h3 {
    font-size: 2rem;
    color: #111;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 700;
}

.recipe-modal-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: #111;
    border-radius: 3px;
}

.recipe-modal-body ul,
.recipe-modal-body ol {
    padding-left: 0;
    list-style: none;
    margin: 0 0 2rem 0;
}

.recipe-modal-body ul li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

.recipe-modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.recipe-modal-body ol {
    counter-reset: step-counter;
}

.recipe-modal-body ol li {
    counter-increment: step-counter;
    padding: 1.25rem 0 1.25rem 4rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
}

.recipe-modal-body ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 1.25rem;
    background: #111;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Responsive for recipe modal */
@media (max-width: 768px) {
    .recipe-modal-body {
        padding: 0 2rem 2rem 2rem;
    }
    
    .recipe-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-badge {
        width: 100%;
    }
    
    .recipe-modal-body h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .recipe-modal-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}


















/* RESPONSIV: mindre skærme */
@media (max-width: 768px) {
    .hero-sektion {
        height: 350px;
    }

    .hero-sektion h2,
    .opskrifter h2,
    .nyheder h2 {
        font-size: 2rem;
    }
    .item h3 {
        font-size: 1.3rem;
    }
    .item p{
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-sektion {
        height: 250px;
    }

    .hero-sektion h2 {
        font-size: 1.5rem;
    }
}