/* ================================================================
   Alternatív Gyógyászat — publikus layout
   (a sablon style blokkjából átemelve, Twig-kompatibilis szerkezetben)
   ================================================================ */

* { box-sizing: border-box; }

:root {
    --ag-zold:      #3a7d5c;
    --ag-zold-sot:  #265740;
    --ag-zold-vil:  #e8f2ec;
    --ag-arany:     #b8912a;
    --ag-arany-vil: #f7f0e1;
    --ag-szurke:    #5a5a5a;
    --ag-halvany:   #f5f3ef;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
    background: #fff;
}

h1, h2, h3, h4, h5, .brand-name {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

a { color: var(--ag-zold); text-decoration: none; }
a:hover { color: var(--ag-zold-sot); }

/* ── Felső info sáv ── */
#topbar {
    background: var(--ag-zold-sot);
    color: rgba(255,255,255,.85);
    font-size: .82rem;
    padding: .45rem 0;
}
#topbar a {
    color: rgba(255,255,255,.85);
    transition: color .2s;
}
#topbar a:hover { color: #fff; }
#topbar .topbar-icon {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-right: 1.25rem;
}
#topbar .social-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .8rem;
    transition: background .2s, border-color .2s;
}
#topbar .social-icon:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.7);
}

/* ── Logo / fejléc sáv ── */
#header {
    background: #fff;
    padding: 1.1rem 0 .9rem;
    border-bottom: 1px solid #e8e8e8;
}
.brand-name {
    font-family: "Kaushan Script", cursive;
    font-size: 2rem;
    font-weight: 400;
    color: var(--ag-zold-sot);
    letter-spacing: .5px;
    line-height: 1.15;
    transition: .5s all;
}
.brand-name:hover {
    color: var(--ag-arany);
}
.brand-tagline {
    font-size: .78rem;
    color: var(--ag-szurke);
    letter-spacing: 4.3px;
    text-transform: uppercase;
    font-family: 'Poppins' sans-serif;
    padding-top: .3em;
}
#header .logo-img {
    max-height: 70px;
    width: auto;
}

/* ── Navigáció ── */
#mainNav {
    background: var(--ag-zold);
    padding: 0;
}
#mainNav .navbar-toggler {
    border-color: rgba(255,255,255,.4);
    margin: .5rem;
}
#mainNav .navbar-toggler-icon {
    filter: invert(1);
}
#mainNav .nav-link {
    color: rgba(255,255,255,.9) !important;
    font-size: .88rem;
    font-weight: 400;
    letter-spacing: .4px;
    padding: .75rem .9rem !important;
    transition: background .2s, color .2s;
    text-transform: uppercase;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    background: var(--ag-zold-sot);
    color: #fff !important;
}
#mainNav .dropdown-menu {
    background: #fff;
    border: none;
    border-top: 3px solid var(--ag-arany);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    min-width: 230px;
    padding: .4rem 0;
}
#mainNav .dropdown-item {
    font-size: .85rem;
    color: #333;
    padding: .55rem 1.2rem;
    transition: background .15s, color .15s;
}
#mainNav .dropdown-item:hover {
    background: var(--ag-zold-vil);
    color: var(--ag-zold-sot);
}
/* Webshop kiemelés */
#mainNav .nav-item.webshop .nav-link {
    color: var(--ag-arany) !important;
}
#mainNav .nav-item.webshop .nav-link:hover {
    background: var(--ag-arany);
    color: #fff !important;
}

/* ── Aloldalak fejléc sávja (page-header) ── */
#pageHeader {
    background: var(--ag-halvany);
    border-bottom: 1px solid #e0dbd2;
    padding: 1rem 0;
}
#pageHeader h1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ag-zold-sot);
    margin: 0;
}
#pageHeader .breadcrumb {
    margin: 0;
    font-size: .8rem;
}
#pageHeader .breadcrumb-item + .breadcrumb-item::before {
    color: var(--ag-szurke);
}

/* ── Fő tartalom ── */
#content {
    padding: 2rem 0 2.5rem;
}

.content-area h2 {
    font-size: 1.65rem;
    color: var(--ag-zold-sot);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--ag-zold-vil);
}
.content-area h3 {
    font-size: 1.25rem;
    color: var(--ag-zold);
    margin-top: 1.5rem;
}
.content-area p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-area img {
    border: 1px solid var(--ag-halvany);
    padding: .25rem;
}

.content-area .lead {
    font-weight: 500;
}

.content-area footer.blockquote-footer {
    margin-top: .25rem;
}

/* ── Jobb oldalsáv (sidebar) ── */
.sidebar-box {
    background: #fff;
    border: 1px solid #e3dfd7;
    border-radius: 4px;
    margin-bottom: 1.4rem;
    overflow: hidden;
}
.sidebar-box .sidebar-title {
    background: var(--ag-zold);
    color: #fff;
    font-family: "Raleway" sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: .6rem 1rem;
    margin: 0;
}
.sidebar-box .sidebar-body {
    padding: .9rem 1rem;
    font-size: .87rem;
    line-height: 1.7;
}

.sidebar-box .announcement-text {
    font-size: 1.1rem;
    white-space: pre-line;
}

.service-variant {
    background-color: yellow;
    padding: 0 .25rem 0 .25rem;
}

/* Közlemény / akció doboz */
.sidebar-box.akcio .sidebar-title {
    background: var(--ag-arany);
}
.sidebar-box.akcio .sidebar-body {
    background: var(--ag-arany-vil);
}

/* Nyitva tartás */
.opening-row {
    display: flex;
    justify-content: space-between;
    padding: .2rem 0;
    border-bottom: 1px solid #f0ece5;
}
.opening-row:last-child { border-bottom: none; }
.opening-day { color: var(--ag-szurke); }
.opening-time { font-weight: 700; color: var(--ag-zold-sot); }

/* Hírlevél */
.newsletter-form .form-control {
    border-radius: 0;
    font-size: .85rem;
}
.newsletter-form .btn, .booking {
    background: var(--ag-zold);
    color: #fff;
    border-radius: 0;
    font-size: .83rem;
    border: none;
    width: 100%;
    margin-top: .4rem;
    padding: .5rem;
    transition: background .2s;
}
.newsletter-form .btn:hover, .booking:hover { background: var(--ag-zold-sot); }

/* ── Lábléc ── */
#footer {
    background: var(--ag-zold-sot);
    color: rgba(255,255,255,.8);
    padding: 2.5rem 0 1.5rem;
}
#footer h5 {
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

#footer .brand-name-footer a {
    font-family: "Kaushan Script", cursive;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: .5px;
    line-height: 1.15;
}

#footer .brand-name-footer a:hover {
    color: var(--ag-arany);
}

#footer a {
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    display: block;
    padding: .18rem 0;
    transition: color .2s;
}
#footer a:hover { color: #fff; }
#footer .footer-logo {
    max-height: 55px;
    filter: brightness(0) invert(1);
    opacity: .85;
    margin-bottom: .75rem;
}
#footer .footer-desc {
    font-size: .83rem;
    line-height: 1.7;
}

#footer .social-block a {
    display: inline-block;
}

#footer .footer-social {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#footer .footer-social i {
    font-size: .8rem;
}

#copyright {
    background: #1a3d2b;
    color: rgba(255,255,255,.5);
    font-size: .78rem;
    text-align: center;
    padding: .7rem 0;
}
#copyright a { color: rgba(255,255,255,.65); }
#copyright a:hover { color: #fff; }

/* ── Ajándékutalvány lebegő gomb ── */
.floating-gift {
    position: fixed;
    right: 1.2rem;
    bottom: 5rem;
    z-index: 1050;
}
.floating-gift .btn {
    background: var(--ag-arany);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .55rem 1.1rem;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    transition: background .2s, transform .2s;
}
.floating-gift .btn:hover {
    background: #9a7921;
    transform: translateY(-2px);
}

/* ── Főoldalon hero kép ── */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 480px;
}
.hero-wrapper img {
    width: 100%;
    object-fit: cover;
    display: block;
    max-height: 480px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30,60,40,.55) 0%, transparent 65%);
    display: flex;
    align-items: center;
}
.hero-text h2 {
    font-size: 2.4rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
    margin-bottom: .5rem;
}
.hero-text p {
    color: rgba(255,255,255,.9);
    font-size: 1.05rem;
    max-width: 440px;
}
.hero-text .btn-hero {
    background: var(--ag-arany);
    color: #fff;
    border: none;
    padding: .6rem 1.6rem;
    font-size: .9rem;
    font-weight: 700;
    border-radius: 2px;
    transition: background .2s;
}
.hero-text .btn-hero:hover { background: #9a7921; }

/* ── Reszponzív finomítások ── */
@media (max-width: 991px) {
    .hero-text h2 { font-size: 1.7rem; }
    .hero-wrapper, .hero-wrapper img { max-height: 300px; }
}
@media (max-width: 767px) {
    .brand-name { font-size: 1.5rem; }
    .brand-tagline { letter-spacing: 1.3px }
    #topbar .topbar-icon { margin-right: .6rem; }
}

/* ── Közlemény sáv — most a sidebar "akció" dobozán keresztül jelenik meg,
     lásd .sidebar-box.akcio fent. Megtartjuk a korábbi osztályt is,
     ha valahol külön, header alatti sávként szeretnéd használni. ── */
.announcement-bar {
    background: #fff3cd;
    border-bottom: 1px solid #ffe69c;
    color: #664d03;
}
.announcement-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: .65rem 1.5rem;
    font-size: .95rem;
    text-align: center;
}

/* ================================================================
   Flash üzenetek
   ================================================================ */

.alert--success { background: #d1e7dd; color: #0f5132; }
.alert--error   { background: #f8d7da; color: #842029; }

/* ================================================================
   Űrlapok — kapcsolat, megrendelés, ajándékutalvány közös stílusai
   ================================================================ */

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: .3rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid #ccd0d5;
    border-radius: .375rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ag-zold);
    box-shadow: 0 0 0 .15rem rgba(58,125,92,.15);
}

.form-group--error input,
.form-group--error textarea {
    border-color: #dc3545;
}

.form-error {
    display: block;
    color: #dc3545;
    font-size: .875rem;
    margin-top: .3rem;
}

.required {
    color: #dc3545;
}

.form-note {
    font-size: .875rem;
    color: #6c757d;
}

.btn--primary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem 1.5rem;
    background: var(--ag-zold);
    color: #fff;
    border: none;
    border-radius: .375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn--primary:hover {
    background: var(--ag-zold-sot);
}

.btn--primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ================================================================
   Kapcsolat oldal
   ================================================================ */
.contact-section .info {
    width: 100%;
    background: #fff;
}

.contact-section .info i {
    font-size: 1.5rem;
    color: #556270;
    float: left;
    width: 3rem;
    height: 3rem;
    background: var(--ag-halvany);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.contact-section .info h4 {
    padding: 0 0 0 3.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0 !important;
    color: #333;
}

.contact-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0 !important;
    color: #333;
}

.contact-section .info p {
    padding: 0 0 0 3.75rem;
    margin-bottom: 0;
    font-size: .8rem;
    color: var(--ag-szurke);
}

.contact-section .info .email,
.contact-section .info .phone {
    margin-top: 1rem;
}

.contact-section .info .email:hover i,
.contact-section .info .address:hover i,
.contact-section .info .phone:hover i {
    background: #556270;
    color: var(--ag-halvany);
}

/* ================================================================
   Megrendelő oldal
   ================================================================ */

.order-section__title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--ag-zold-vil);
    padding-bottom: .4rem;
    color: var(--ag-zold-sot);
}

.order-intro {
    color: #6c757d;
}

.order-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.order-products-table th,
.order-products-table td {
    padding: .65rem .75rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.order-products-table__unit {
    color: #6c757d;
    font-size: .875rem;
}

.order-products-table__price {
    white-space: nowrap;
}

.order-qty-input {
    width: 90px;
    padding: .4rem .5rem;
    border: 1px solid #ccd0d5;
    border-radius: .375rem;
}

.order-summary {
    background: var(--ag-halvany);
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    max-width: 350px;
    margin-left: auto;
}

.order-summary__row {
    display: flex;
    justify-content: space-between;
    padding: .3rem 0;
}

.order-summary__row--total {
    border-top: 1px solid #d5d9de;
    margin-top: .4rem;
    padding-top: .6rem;
    font-size: 1.1rem;
}

.order-delivery-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.order-delivery-option {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
    cursor: pointer;
}

.order-personal-info {
    background: var(--ag-zold-vil);
    color: var(--ag-zold-sot);
    border-radius: .375rem;
    padding: .75rem 1rem;
    font-size: .9rem;
}

@media (max-width: 600px) {
    .order-products-table thead { display: none; }
    .order-products-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .5rem .75rem;
        padding: .5rem 0;
    }
    .order-products-table td {
        border-bottom: none;
        padding: 0;
    }
    .order-summary {
        max-width: none;
    }
}

/* ================================================================
   Ajándékutalvány igénylési oldal
   ================================================================ */

.gift-services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.gift-services-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.gift-services-table td {
    padding: .65rem .75rem;
    vertical-align: middle;
}

.gift-service-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    cursor: pointer;
}

.gift-service-checkbox input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.gift-services-table__qty {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.gift-services-table__qty label {
    font-size: .875rem;
    color: #6c757d;
    margin: 0;
}

.gift-qty-input {
    width: 70px;
    padding: .4rem .5rem;
    border: 1px solid #ccd0d5;
    border-radius: .375rem;
}

.gift-qty-input:disabled {
    background: var(--ag-halvany);
    color: #adb5bd;
}

@media (max-width: 600px) {
    .gift-services-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .5rem;
        padding: .5rem 0;
    }
    .gift-services-table td {
        padding: 0;
    }
}

/* ================================================================
   Tartalom oldal (content/show.twig)
   ================================================================ */

.content-page h1 {
    margin-top: 0;
}

.content-page__body img {
    max-width: 100%;
}
