/* Alapértelmezett*/
body {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    color: #2c1b0f;
    margin: 0;
    padding: 0;
}

header {
    background-color: #8b4513;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav ul.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #a0522d;
    flex-wrap: wrap;
}

nav ul.menu li {
    margin: 0;
}

nav ul.menu a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    text-align: center;
}

nav ul.menu a:visited {
    color: #d2b48c; /*nem megy :((*/
}

nav ul.menu a.active {
    background-color: #d2691e;
    font-weight: bold;
    border-radius: 6px;
}

nav ul.menu a:hover {
    background-color: #c26509;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

figcaption {
    font-style: italic;
    text-align: center;
}

footer {
    background-color: #8b4513;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    overflow: visible;
}

/* Kezdőlap*/
.koszonto {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    background-image: url('content/koszonto.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 12px;
}

.koszonto-tartalom {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
}

.koszonto h2.oldalcim {
    font-size: 2rem;
    color: #5a2d0c;
    margin-bottom: 1rem;
}

.koszonto .sutemeny-lista ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.koszonto .sutemeny-lista li {
    margin: 0.5rem 0;
}

.koszonto .sutemeny-lista a {
    text-decoration: none;
    color: #5a2d0c;
    text-decoration: underline;
}

.koszonto .sutemeny-lista a:visited {
    color: #8b7355;
}

.oldalcim {
    text-align: center;
    font-size: 2rem;
    color: #8b4513;
}

.koszontokep {
    width: 100%;
    border-radius: 10px;
}

.sutemeny-bemutato {
    margin-bottom: 2rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 28px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
    border: 1px solid #a0522d;
}

.sutemeny-bemutato h3 {
    color: #8b4513;
    text-align: center;
    border-bottom: 2px solid #d2b48c;
    padding-bottom: 0.5rem;
}

.sutemeny-kep-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.sutemeny-kep-container.jobbra {
    flex-direction: row-reverse;
}

.sutemeny-kep-container.balra {
    flex-direction: row;
}

.sutemeny-kep {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 10px;
    object-fit: cover;
}

.sutemeny-kep-szoveg {
    flex: 1;
    min-width: 250px;
}

.sutemeny-lista {
    background-color: white;
    border: 1px solid #a0522d;
    padding: 0.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
}

.sutemeny-lista h3 {
    color: #8b4513;
    border-bottom: 2px solid #d2b48c;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.sutemeny-lista ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.sutemeny-lista ul li {
    margin-bottom: 1rem;
    text-align: center;
}

.sutemeny-lista ul li a {
    color: #8b4513;
    font-weight: bold;
}

.sutemeny-lista ul li a:visited {
    color: #a67c52; /*ez se*/
}

.lista {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.lista li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #000000;
    font-weight: 500;
}

.thumbnail {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/*Carousel*/
.carousel-text {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 0.9rem;
    padding: 2.5rem 6rem;
    color: #000000;
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon.custom-arrow,
.carousel-control-next-icon.custom-arrow {
    background-image: none;
    width: 2rem;
    height: 2rem;
    border: solid #8b4513;
    border-width: 0 4px 4px 0;
    padding: 8px;
}

.carousel-control-prev-icon.custom-arrow {
    transform: rotate(135deg);
}

.carousel-control-next-icon.custom-arrow {
    transform: rotate(-45deg);
}

.carousel-indicators button {
  background-color: #8B4513;
  width: auto;
  height: auto;
  padding: 6px 14px;
  border: none;
  border-radius: 20px;
  color: #8b4513;
  font-size: 14px;
  margin: 5px;
  transition: background-color 0.3s;
}

.carousel-indicators button:hover,
.carousel-indicators .active {
  background-color: #a0522d;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.local-video {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  height: auto;
}

.video-description {
  flex: 300px;
  min-width: 250px;
  max-width: 100%;
}

/* Receptek oldal stílusai */
.recept-kartya {
    background-color: #fff;
    border: 1px solid #a0522d;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(160, 82, 45, 0.2);
    padding: 1.5rem;
    margin: 1rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recept-kartya h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #5a2d0c;
}

.recept-kartya table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    border: 1px solid #d2b48c;
}

.recept-kartya table th {
    background-color: #d8997b;
    color: #000000;
    padding: 0.6rem;
    border: 1px solid #8b4513;
}

.recept-kartya table td {
    padding: 0.6rem;
    color: #000000;
    border: 1px solid #8b4513;
}

.recept-kartya h4 {
    margin-top: 1rem;
    color: #5c3b23;
}

.recept-kartya ul,
.recept-kartya ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #4b2e1a;
}

.recept-kartya li::marker {
    color: #a0522d;
}

.recept-reszletek summary {
    font-weight: bold;
    cursor: pointer;
    padding: 6px;
    background-color: #f3f3f3;
    border-radius: 5px;
}

.recept-reszletek summary:hover {
    background-color: #e0e0e0;
}

.recept-reszletek table {
    margin-top: 10px;
    border-collapse: collapse;
    width: 100%;
}

.recept-reszletek caption {
    caption-side: top;
    font-style: italic;
    text-align: left;
    padding: 4px 0;
    font-size: 0.95em;
    color: #555;
}

.recept-reszletek th, .recept-reszletek td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: left;
}

/* Űrlap stílusai */
.uj-sutemeny-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    min-height: 100px;
}

.rating-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-buttons button[type="submit"] {
    background-color: #8b4513;
    color: white;
}

.form-buttons button[type="reset"] {
    background-color: #ddd;
}

/* Reszponzív*/
@media (max-width: 1024px) {
    main {
        padding: 1rem;
    }

    .sutemeny-bemutato {
        padding: 1rem;
    }

    .sutemeny-lista {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .sutemeny-kep {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        object-fit: cover;
    }

    .sutemeny-kep-container {
        display: block;
        text-align: center;
        margin-bottom: 20px;
        object-fit: cover;
    }

    .row {
        flex-direction: column;
    }

    .col-md-4, .col-md-8 {
        width: 100%;
    }

     .video-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .video-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 0.5rem;
    }

    .sutemeny-bemutato h2 {
        font-size: 1.2rem;
    }

    .sutemeny-lista {
        padding: 0.5rem;
    }

    .form-buttons {
        flex-direction: column;
    }

    .form-buttons button {
        width: 100%;
        margin-bottom: 1rem;
    }
}