/* 
   Ínyencfalatozó (Paks)
   Redesign CSS 
*/

:root {
    --inyenc-primary: #d4a248;      /* Új megrendelői Okker / Arany (Logó, gombok, hover) */
    --inyenc-secondary: #54302a;    /* Sötétbarna (Fejléc feliratok, menüpontok alapszíne) */
    --inyenc-accent: #e51f20;       /* Piros (Akciós gombok) */
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Quicksand', sans-serif;
}

body {
    font-family: var(--font-body) !important;
    background-color: #f9f8f6; /* Nagyon finom meleg éttermi háttérszín a tiszta fehér helyett */
}

h1, h2, h3, h4, h5, h6, .page-title-text, .sec-title-two h2 {
    font-family: var(--font-heading) !important;
    color: var(--inyenc-secondary);
}

/* Általános gomb stílus (theme-btn felülírás) */
.theme-btn.style-four, .theme-btn {
    background-color: var(--inyenc-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px; /* Finomítás a durva formák helyett */
    font-weight: 700;
}

.theme-btn.style-four:hover, .theme-btn:hover {
    background-color: var(--inyenc-secondary) !important;
    color: #fff !important;
}

/* Header és Logó / Navigáció */
.main-header .header-lower {
    background-color: #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.main-menu .navigation > li > a {
    color: var(--inyenc-secondary) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 15px !important;
    padding: 10px 15px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center;
}

.main-menu .navigation {
    margin: 0 !important;
    padding: 0 !important;
}

.main-menu .navigation > li {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.main-menu .navigation > li > a:hover, 
.main-menu .navigation > li.current > a {
    color: var(--inyenc-primary) !important;
}

/* Új éttermi logó: Kép és Név kombinációja */
.inyenc-brand-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    gap: 15px;
    padding: 10px 0;
}

.inyenc-circle-logo {
    background-color: var(--inyenc-primary);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    top: 10px;
    margin-bottom: -40px; /* lelóg a fejlécből */
    z-index: 99;
    overflow: hidden; /* A kép ne lépjen ki a körívből */
}

.inyenc-img-logo {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%; /* dupla védelem a sarok ellen */
    transition: transform 0.3s ease;
}

.inyenc-brand-wrapper:hover .inyenc-img-logo {
    transform: scale(1.05); /* Interakciós effekt */
}

.inyenc-brand-name {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--inyenc-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
    margin-top: 0; 
}

/* Felülírt Hero / Címsor Szekció Háttér (Page-title) */
.page-title-section .overlay {
    background: rgba(84, 48, 42, 0.7) !important; /* Másodlagos barna sötétebb verziója az overlayhez */
}

.page-title-section h1 {
    color: var(--inyenc-primary) !important;
}

.page-title-section p {
    color: #fff !important;
}

/* Feature blokkok kártya stílusa (home_box) */
.feature-style-three .feature-block-three .inner-box {
    border-radius: 8px;
    border-top: 4px solid var(--inyenc-primary);
    box-shadow: 0 10px 30px rgba(84,48,42,0.08); /* Barna tónusú árnyék */
    background: #fff;
    transition: all 0.3s ease;
}

.feature-style-three .feature-block-three .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(84,48,42,0.15);
}

.feature-style-three .feature-block-three .icon-box {
    color: var(--inyenc-primary) !important;
}

.feature-style-three .feature-block-three h3 a {
    color: var(--inyenc-secondary) !important;
}

.feature-style-three .feature-block-three h3 a:hover {
    color: var(--inyenc-primary) !important;
}

/* "Rólunk" - Éttermi blokk */
.about-style-three .sec-title-two h5 {
    color: var(--inyenc-primary) !important;
}

.about-style-three .year-box {
    display: none !important; /* Elrejtjük az 'éve alapítva', mert az az alapítványnak szólt, hacsak nem akarjuk használni */
}

/* Lábléc módosító (TBD) */
.main-footer, .footer-top {
    background-color: var(--inyenc-secondary) !important;
}

.footer-top .widget-title h3 {
    color: var(--inyenc-primary) !important;
}

/* =========================================================
   WEBSHOP TOP BAR (Nyelv, Kosár, Bejelentkezés)
========================================================= */
.inyenc-header-top {
    background-color: var(--inyenc-secondary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 500;
}
.inyenc-header-top .top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inyenc-header-top ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
.inyenc-header-top a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s;
}
.inyenc-header-top a:hover {
    color: var(--inyenc-primary) !important;
}
.inyenc-header-top .top-right {
    display: flex;
    align-items: center;
}
.inyenc-header-top .user-links {
    display: flex;
    gap: 20px;
}
.inyenc-header-top .user-links i {
    margin-right: 5px;
    color: var(--inyenc-primary);
}
.inyenc-header-top .lang-switcher {
    display: flex;
    gap: 10px;
}
.inyenc-header-top .lang-switcher a {
    background-color: rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1px;
}
.inyenc-header-top .lang-switcher a.active,
.inyenc-header-top .lang-switcher a:hover {
    background-color: var(--inyenc-primary);
    color: #fff !important;
}

/* =========================================================
   INFORMÁCIÓS BLOKK A LOGÓ MELLETT (Név alatti beépülés)
========================================================= */
.inyenc-brand-text {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-phone-sub {
    font-size: 15px;
    color: var(--inyenc-secondary);
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.contact-phone-sub:hover {
    color: var(--inyenc-primary);
}

.contact-phone-sub i {
    color: var(--inyenc-primary);
    margin-right: 4px;
}

/* =========================================================
   FŐ FEJLÉC ÉS KÖZÉPRE IGAZÍTÁS (TELJES FLEXBOX)
========================================================= */
.main-header .outer-box,
.sticky-header .outer-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
}

.main-header .logo-box, 
.sticky-header .logo-box {
    float: none !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.main-header .menu-area,
.sticky-header .menu-area {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex-grow: 1;
    justify-content: space-between; /* A hozzávalókat szétosztjuk, hogy a gomb a szélre kerüljön */
}

@media (min-width: 992px) {
    .main-header .main-menu,
    .main-menu .navbar-collapse {
        display: flex !important;
        align-items: center !important;
        margin: 0 auto !important; /* Középre húzza a menüt a flexen belül */
        padding: 0;
    }
}

.main-header .menu-right-content {
    display: flex !important;
    align-items: center !important;
    margin-left: 20px;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.main-header .search-btn {
    display: flex;
    align-items: center;
    margin-right: 15px; 
}

.main-header .search-toggler {
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-8px); /* A kereső ikon eddig lejjebb volt */
    font-size: 18px;
}

.main-header .btn-box {
    display: flex;
    align-items: center;
}

.main-header .menu-right-content .theme-btn {
    transform: translateY(2px); /* Kicsit lejjebb húzzuk a szöveg baseline-hoz */
}

/* Mobil reszponzivitás javítások */
@media (max-width: 991px) {
    /* Asztali menü teljes elrejtése, hogy a mobil menütoggler látszódjon */
    .main-header .main-menu {
        display: none !important;
    }
    .main-header .menu-area {
        justify-content: flex-end; /* A toggler menjen jobbra */
    }
    .inyenc-circle-logo {
        width: 80px;
        height: 80px;
        border-width: 3px;
        top: 0;
        margin-bottom: 0;
    }
    .inyenc-brand-name {
        font-size: 18px;
        margin-top: 0;
    }
    .contact-phone-sub {
        font-size: 13px;
    }
    .inyenc-header-top .top-inner {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .main-header .outer-box {
        padding: 10px 0;
    }
    /* Elrejtjük az asztali dobozokat mobilon, hogy ne törjön szét a navigáció */
    .main-header .menu-right-content .btn-box {
        display: none !important; 
    }
    .main-header .menu-right-content .search-btn {
        margin-right: 20px;
    }
    
    /* Hamburger menü újrapozicionálása a flex layoutban */
    .main-header .menu-area {
        justify-content: flex-end !important; /* Jobb szélre toljuk a hozzávalókat */
    }
    
    .inyenc-brand-wrapper {
        gap: 10px;
        padding: 5px 0;
    }
    .inyenc-circle-logo {
        width: 60px;
        height: 60px;
        border-width: 2px;
        top: 0;
        margin-bottom: 0;
    }
    .inyenc-brand-name {
        font-size: 16px;
        margin-top: 0;
    }
    .contact-phone-sub {
        font-size: 10px;
    }
    .inyenc-brand-name {
        font-size: 16px;
        bottom: calc(100% + 1px);
    }
}

/* =========================================================
   BEJELENTKEZÉS ÉS REGISZTRÁCIÓ OLDAL STÍLUSOK
========================================================= */
.login-tabs-container {
    background: rgba(0, 0, 0, 0.03);
    padding: 6px;
    border-radius: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.login-tabs-container .tab-btn {
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-heading) !important;
    font-size: 0.95rem;
    background: transparent;
    color: #666;
}

.login-tabs-container .tab-btn.active {
    background-color: var(--inyenc-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--inyenc-primary) 30%, transparent) !important;
}

.login-submit-btn {
    background-color: var(--inyenc-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px;
    font-family: var(--font-heading) !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.login-submit-btn:hover {
    background-color: var(--inyenc-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pref-option-label {
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.pref-option-label.active {
    border-color: var(--inyenc-primary) !important;
    background-color: rgba(212, 162, 72, 0.05); /* Fallback */
    background-color: color-mix(in srgb, var(--inyenc-primary) 5%, transparent) !important;
}

.glass-panel {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(84, 48, 42, 0.05);
}

/* =========================================================
   CÍM AUTOCOMPLETE STÍLUSOK
========================================================= */
.address-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(84, 48, 42, 0.12);
    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 6px;
    font-family: var(--font-body);
}

.address-autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}
.address-autocomplete-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.address-autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 3px;
}

.autocomplete-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
}

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

.autocomplete-suggestion-item:hover {
    background-color: var(--inyenc-primary) !important;
    color: #ffffff !important;
}

.autocomplete-suggestion-item:hover i {
    color: #ffffff !important;
}

.autocomplete-loading, .autocomplete-no-results {
    padding: 16px;
    font-size: 0.85rem;
    color: #777;
    text-align: center;
    font-family: var(--font-body);
}

/* =========================================================
   CUSTOM ALERT MODAL POPUP STÍLUSOK
========================================================= */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(84, 48, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-alert-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.custom-alert-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 15px 45px rgba(84, 48, 42, 0.15);
    width: 90%;
    max-width: 420px;
    padding: 30px;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--font-body);
}

.custom-alert-overlay.open .custom-alert-box {
    transform: scale(1) translateY(0);
}

.custom-alert-header h3 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--inyenc-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-alert-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.custom-alert-footer .theme-btn {
    border-radius: 25px !important;
    overflow: hidden !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 30px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}



