/* Reset */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: #fefefe;
    color: #333;
    line-height: 1.6;
}
header {
    background: #111;
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}
header .container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.8rem;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #c0a060;
}

/* Hero section */
.hero {
    position: relative;
    height: 80vh;
    background: url('https://a.kixweb.hu/silver/images/etterem/499152994_10228947321535118_2687189979655100829_n.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    overflow: hidden;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.5); /* sötétszürke, 50% átlátszóság */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}


.hero p {
    font-size: 1.3rem;
    margin-top: 1rem;
	color: #fff; /* világos szöveg, hogy jól olvasható legyen a sötét háttéren */
    font-weight: bold;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* About */
.about {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 4rem;
    color: #555;
}
.about h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #444;
}
.about p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Menu preview */
.menu-preview {
    margin-bottom: 4rem;
}
.menu-preview h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}
.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.menu-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    width: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
}
.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px #c0a060;
}
.menu-item img {
    width: 100%;
    height: 200px; /* vagy amekkora magasságot szeretnél */
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.menu-item h4 {
    margin-bottom: 0.5rem;
    color: #222;
}
.menu-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
	
}
.menu-item .price {
    font-weight: 700;
    color: #51a641;
	
}
.tab.active {
	background-color: #c0a060;
	
}
/* Gallery */
.gallery {
    margin-bottom: 4rem;
}
.gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1rem;
}
.gallery-images img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 150px;
    transition: transform 0.3s ease;
}
.gallery-images img:hover {
    transform: scale(1.05);
}

/* Contact */
.contact {
    background: #111;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}
.contact h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #c0a060;
}
.contact p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: auto;
    line-height: 1.6;
}
.contact a {
    color: #c0a060;
    text-decoration: none;
    font-weight: 600;
}
.contact a:hover {
    text-decoration: underline;
}
/* Alapértelmezett desktop stílus - menü vízszintes, látható */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /* vízszintes menü desktopon */
  gap: 20px;
}

/* Linkek stílusa */
nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* Hamburger gomb alapból el van rejtve desktopon */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: 0 10px;
}

/* Hamburger ikon - 3 vonal */
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
  display: block;
  background-color: #333;
  height: 3px;
  width: 25px;
  border-radius: 2px;
  position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
  }
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 50px; /* a gomb alatt */
    left: 0;
    width: 100%;
    background-color: white;
    display: none; /* alapból rejtve */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 10px 0;
    z-index: 999;
  }

  /* Amikor aktív, megjelenik */
  nav ul.active {
    display: flex;
  }

  nav ul li {
    padding: 10px 20px;
  }
}

/* Footer */
footer {
    text-align: center; 
    padding: 1rem; 
    background: #222; 
    color: #aaa;
}
form {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
label {
    font-weight: 600;
}
/* Egységes űrlapelemek stílusa */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
    background-color: #fff;
    color: #333;
}

/* Opcionális: fókuszállapot stílusa */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

button {
    background: #c0a060;
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}
button:hover {
    background: #a0833f;
}
.error-messages {
    background: #ffdddd;
    border: 1px solid #dd5555;
    padding: 1rem;
    border-radius: 5px;
    color: #a00000;
}
.success-message {
    background: #ddffdd;
    border: 1px solid #55aa55;
    padding: 1rem;
    border-radius: 5px;
    color: #0a660a;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: center;
}
.contact-info {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    background-color: #f9f7f1;
    border: 1px solid #c0a060;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
}
.contact-info a {
    color: #c0a060;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
/* Galéria grid */
.gallery-section {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}
.gallery-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #c0a060;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(192,160,96,0.7);
}

/* Lightbox háttér */
#lightbox-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Lightbox kép */
#lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px #c0a060;
    cursor: zoom-out;
}/* Alap stílusok */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #fafafa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
}

/* Admin feltöltő űrlap */
.upload-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.upload-form h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

input[type="file"],
select {
    width: 100%;
    padding: 8px 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    background-color: #c0a060;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #ffd685;
}

/* Üzenetek */
.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 25px;
}

/* Galéria grid */
.gallery-admin,
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

/* Galéria elem */
.gallery-item,
.image-item,
.video-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
    cursor: pointer;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover,
.image-item:hover,
.video-thumbnail-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.15);
}

/* Képek és videók */
.gallery-item img,
.image-item img,
.video-preview {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

/* Videó előnézet */
.video-preview {
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.video-thumbnail-wrapper:hover .video-preview {
    filter: brightness(1);
}

/* Play gomb a videókhoz */
.video-thumbnail-wrapper .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 40px;
    pointer-events: none;
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(0,0,0,0.7);
}

/* Törlés gomb */
.delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    color: white;
    font-size: 20px;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: rgba(200, 0, 0, 1);
}

/* Modal stílusok */
.video-modal {
    display: none; /* alapból rejtett */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.7);
}

#modalVideoPlayer {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    outline: none;
}

/* Modal bezáró gomb */
.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    user-select: none;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ff4444;
}

/* Reszponzív */
@media (max-width: 480px) {
    .gallery-item img,
    .image-item img,
    .video-preview {
        height: 110px;
    }
    button[type="submit"] {
        width: 100%;
    }
	.menu-item img {
    width: 100%;
    height: 200px; /* vagy amekkora magasságot szeretnél */
    object-fit: cover;
    border-radius: 8px;
    display: block;
	}
	.menu-item .price {
    font-weight: 700;
    color: #51a641;
}

/* Responsive */
@media (max-width: 600px) {
    .menu-items {
        flex-direction: column;
        align-items: center;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
	.menu-item img {
    width: 100%;
    height: 200px; /* vagy amekkora magasságot szeretnél */
    object-fit: cover;
    border-radius: 8px;
    display: block;
	}
	.menu-item .price {
    font-weight: 700;
    color: #51a641;
}
@media (max-width: 2000px) {
    .menu-items {
        flex-direction: column;
        align-items: center;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
	.menu-item img {
    width: 100%;
    height: 200px; /* vagy amekkora magasságot szeretnél */
    object-fit: cover;
    border-radius: 8px;
    display: block;
	}
	.menu-item .price {
    font-weight: 700;
    color: #51a641;
}
