/* Alapbeállítások és színpaletta - Krémszínű modern design */
:root {
    --primary-color: #efd49e;
    --primary-solid: rgb(239, 212, 158);
    --secondary-color: #8b6f47;
    --accent-color: #d4a574;
    --dark-brown: #4a3f2e;
    --text-light: #ffffff;
    --text-dark: #3d3226;
    --bg-light: #faf7f2;
    --bg-dark: #3a2f28;
    --hover-color: #c9a86a;
    --shadow-light: rgba(139, 111, 71, 0.1);
    --shadow-medium: rgba(139, 111, 71, 0.2);
    --shadow-dark: rgba(139, 111, 71, 0.3);
    --transition: all 0.3s ease;
}

/* Alapértelmezett stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigációs sáv */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(45, 37, 32, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 15px var(--shadow-dark);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-left {
    display: flex;
    gap: 30px;
    flex: 1;
    align-items: center;
}

.nav-right-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

/* Desktop nyelvváltó látható, mobil nyelvváltó és mobil right rejtve desktopban */
.mobile-lang-switch,
.mobile-right {
    display: none !important;
}

.desktop-lang-switch {
    display: flex;
}

.navbar a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar a:hover {
    color: var(--primary-color);
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* Nyelvváltó csúszka stílusa */
.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switch span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.language-switch span.active {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 100%);
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Hamburger menü (alapból rejtett) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobil menü (alapból rejtett) */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(45, 37, 32, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    max-height: 500px;
}

.mobile-menu a {
    font-size: 18px;
    padding: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Hero szekció */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                url('image/zaszlo.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 1;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.welcome-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Gombok */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--dark-brown);
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-dark);
    background: var(--hover-color);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Szekciók */
.section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    color: var(--dark-brown);
}

.section-dark .section-title {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Menü rács */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.menu-category {
    background: rgba(239, 212, 158, 0.08);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(139, 111, 71, 0.15);
}

.menu-category h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.menu-item {
    margin-bottom: 25px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.dish-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-brown);
}

.section-dark .dish-name {
    color: var(--primary-color);
}

.price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.section-dark .price {
    color: var(--accent-color);
}

.dish-desc {
    color: #6b5d4f;
    font-size: 0.95rem;
}

.section-dark .dish-desc {
    color: #c4b5a0;
}

.dish-variants {
  margin-top: 10px;
  padding-left: 20px;
}

.variant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.95em;
}

.variant-name {
  color: var(--text-light);
}

.variant .price {
  font-weight: 600;
  color: var(--accent-color);
  margin-left: auto;
}

.variant .price2 {
  font-weight: 600;
  color: var(--secondary-color);
  margin-left: auto;
}

.variant2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.95em;
  gap: 15px;
}

.variant2-name,
.variant2 .dish-desc {
  flex: 1;
  word-wrap: break-word;
  color: #6b5d4f;
}

.variant2 .price,
.variant2 .price2 {
  font-weight: 600;
  color: var(--secondary-color);
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

.variant2-description {
  color: #6b5d4f;
  font-size: 0.85rem;
  line-height: 1.5;
  padding-left: 40px;
  margin-top: 3px;
  margin-bottom: 8px;
}

.section-dark .variant2-description {
  color: #c4b5a0;
}

/* Nyitvatartás */
.opening-hours {
    max-width: 600px;
    margin: 0 auto 40px;
    background: rgba(239, 212, 158, 0.1);
    padding: 30px;
    border-radius: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
    font-size: 1.1rem;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--dark-brown);
}

.section-dark .day {
    color: var(--primary-color);
}

.time {
    color: var(--accent-color);
    font-weight: 500;
}

.contact-info {
    text-align: center;
    margin-top: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.map-container {
  margin-top: 30px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.map-container iframe {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Galéria */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Scroll to Top gomb */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-medium);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1500;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Visszaszámláló Modal */
.countdown-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 37, 32, 1);
    backdrop-filter: none;
    align-items: center;
    justify-content: center;
}

.countdown-modal.show {
    display: flex !important;
}

.countdown-modal-content {
    background: linear-gradient(135deg, #3a2f28 0%, #2d2520 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 2px solid #d4a574;
    max-width: 700px;
    width: 90%;
}

.countdown-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    font-weight: bold;
    color: #efd49e;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.countdown-close:hover {
    color: #d4a574;
    transform: rotate(90deg);
}

.countdown-title {
    color: #efd49e;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.countdown-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(239, 212, 158, 0.1);
    padding: 25px 30px;
    border-radius: 15px;
    min-width: 110px;
    border: 2px solid rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #efd49e;
    text-shadow: 0 0 20px rgba(239, 212, 158, 0.6);
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 1rem;
    color: #d4a574;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
@media (min-width: 768px) {
    .mobile-menu.active {
            display: none;
        }
}

/* MOBIL RESZPONZÍV DESIGN */
@media (max-width: 768px) {
    /* Navbar mobil struktúra */
    .navbar {
        padding: 10px 0;
        background: rgba(45, 37, 32, 0.95);
    }
    
    .navbar.scrolled {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* BAL OLDAL: Mobil nyelvváltó */
    .nav-left {
        flex: 0 0 auto;
        gap: 0;
    }
    
    .desktop-menu-item {
        display: none !important;
    }
    
    .mobile-lang-switch {
        display: flex !important;
    }
    
    /* KÖZÉP: Logó (mindig látszik mobilon) */
    .nav-logo {
        flex: 0 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-logo img {
        height: 40px;
        width: auto;
    }
    
    /* JOBB OLDAL: CSAK Hamburger */
    .nav-right-wrapper {
        flex: 0 0 auto;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .desktop-lang-switch {
        display: none !important;
    }
    
    .mobile-right {
        display: flex !important;
        align-items: center;
    }
    
    /* Hamburger menü stílus */
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1002;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: all 0.3s ease;
        display: block;
    }
    
    /* X ikon amikor aktív - VÉGSŐ JAVÍTÁS */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--primary-color);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--primary-color);
    }
    
    /* Mobil menü */
    .mobile-menu {
        top: 60px;
    }
    
    /* Hero szekció mobil */
    .hero-content {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Szekció címek mobil */
    .section-title {
        font-size: 2rem;
    }

    /* Rólunk szekció blur háttér mobilon */
    #rolunk .content-wrapper {
        background: transparent;
        padding: 30px 20px;
        border-radius: 15px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Menü rács mobil */
    .menu-grid {
        grid-template-columns: 1fr;
    }

    /* Scroll to top gomb mobil */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    /* Hero gombok mobil */
    .hero-buttons {
        flex-direction: column;
    }
    
    /* Nyitvatartás mobil */
    .opening-hours {
        padding: 20px 15px;
    }
    
    .hours-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 10px;
        font-size: 0.95rem;
    }
    
    .day {
        text-align: left;
    }
    
    .time {
        text-align: right;
    }

    /* Visszaszámláló mobil */
    .countdown-modal-content {
        padding: 40px 20px;
        max-width: 95%;
    }

    .countdown-title {
        font-size: 1.2rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
        line-height: 1.4;
        padding-right: 30px;
    }

    .countdown-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    .countdown-item {
        padding: 20px 10px;
        min-width: auto;
        width: 100%;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.85rem;
    }

    .countdown-close {
        font-size: 30px;
        right: 10px;
        top: 10px;
        width: 35px;
        height: 35px;
    }

    /* Térkép mobil */
    .map-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Extra kis képernyők */
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Visszaszámláló extra kicsi */
    .countdown-modal-content {
        padding: 35px 15px;
    }

    .countdown-title {
        font-size: 1rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
        padding-right: 35px;
    }

    .countdown-container {
        gap: 10px;
        max-width: 260px;
    }

    .countdown-item {
        padding: 15px 8px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .countdown-close {
        font-size: 28px;
        right: 8px;
        top: 8px;
        width: 32px;
        height: 32px;
    }
}

/* További modern részletek */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}