/* ------------------------------------------------------------
   GLOBAL
------------------------------------------------------------ */
:root {
    color-scheme: light;
}
:root {
    color-scheme: only light;
}
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
.idezet {
    font-style: italic;
    display: inline-block;
    transform: rotate(0deg);
    color: #8a7f63;
    font-style: italic;
    color: #8a7f63;
}
h1, h2, h3,
.site-name,
.about-title,
.about-subtitle,
.produkt-title,
.hero-text-card h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.text-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
h1, h2, h3,
.about-title, .about-subtitle, .produkt-title,
.hero-text-card p, .hero-text-card .hero-btn {
    opacity: 0;
    padding-top: 0.2em;
    padding-bottom: 0.1em;
}

    h1.letters-ready, h2.letters-ready, h3.letters-ready,
    .about-title.letters-ready, .about-subtitle.letters-ready, .produkt-title.letters-ready,
    .hero-text-card p.letters-ready {
        opacity: 5;
    }

.hero-text-card .hero-btn {
    transition: opacity .4s ease;
}

    .hero-text-card .hero-btn.box-in {
        opacity: 1;
    }

.letter {
    transform-origin: 50% 100%;
    display: inline-block;
    line-height: 1em;
    transform: scale(0);
}
.word-wrap {
    display: inline-block;
}
    html, body {
        -webkit-text-size-adjust: 100%;
    }

    @media (min-width: 600px) {
        html {
            font-size: 20px;
        }
    }

body {
    margin: 0;
    padding: 0;
    padding-bottom: 140px; /* hely a fixed footernek */
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
    background: url('/images/background-lotus.webp') center/cover no-repeat;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto !important;
}

@media (max-width: 720px) {
    body {
        background-image: url('/images/background-lotus-mobile.webp');
    }
}

        body.fade-in {
            opacity: 1;
        }

        body.fade-out {
            opacity: 0;
        }

    a {
        color: #827a62;
        text-decoration: none;
    }

        a:hover {
            text-decoration: underline;
        }

    .logo-link,
    .logo-link:hover,
    .logo-link:focus {
        text-decoration: none !important;
    }

    .btn:focus,
    .btn:active:focus,
    .btn-link.nav-link:focus,
    .form-control:focus,
    .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }
    /* ------------------------------------------------------------
   TOPBAR / NAVBAR
------------------------------------------------------------ */
    .topbar {
        position: relative;
        height: 120px;
        display: flex;
        align-items: center;
        background-size: cover;
        background-position: center;
        border-bottom: 1px solid rgba(0,0,0,0.10);
        box-shadow: 0 6px 16px rgba(0,0,0,0.28);
        z-index: 100;
    }

        .topbar::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.05);
        }

    .topbar-inner {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .site-logo {
        height: 100px;
        width: auto;
    }

.site-name {
    font-weight: 300;
    color: #c6b88e;
    font-size: 1.25rem;
    text-shadow: 0 1px 0 rgba(0,0,0,0.18);
    hyphens: none !important;
    white-space: nowrap;
}

.topbar .navbar-nav .nav-link {
    color: #c6b88e;
    font-weight: 500;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    transition: color .18s ease, background .18s ease;
    hyphens: none !important;
    white-space: nowrap;
}

        .topbar .navbar-nav .nav-link:hover,
        .topbar .navbar-nav .nav-link:focus {
            color: #fff;
            background: rgba(157, 132, 68, 0.1);
        }

        .topbar .navbar-nav .nav-link.active,
        .topbar .navbar-nav .nav-link[aria-current="page"] {
            color: #ff6b6b;
            font-weight: 600;
            background: rgba(255,255,255,0.02);
        }
    /* NAVBAR COLLAPSE */
    @media (max-width: 992px) {
        #mainNavbar {
            background: rgba(255,255,255,0.95);
            padding: 20px;
            border-radius: 12px;
        }

            #mainNavbar .nav-link {
                font-size: 1.2rem;
                padding: 10px 0;
            }
    }
    /* NAVBAR MOBIL */
    @media (max-width: 600px) {
        .site-logo {
            height: 55px !important;
        }

        .site-name {
            display: inline-block !important;
            font-size: 0.85rem !important;
            margin-left: 6px !important;
            margin-top: 2px !important;
            color: #c6b88e !important;
            font-weight: 300 !important;
        }

        .topbar {
            height: 80px !important;
            padding: 0 16px !important;
        }

        .navbar-toggler {
            margin-left: auto;
            padding: 6px 8px;
        }

        #mainNavbar {
            position: absolute;
            top: 100%;
            left: 16px;
            right: 16px;
            z-index: 50;
            margin-top: 8px;
        }
    }
    /* ------------------------------------------------------------
   HERO (HOME)
------------------------------------------------------------ */
    .hero {
        position: relative;
        min-height: 380px;
        background: url('/images/hero.jpg') center/cover no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        animation: heroZoom 10s ease-in-out infinite alternate;
        margin-bottom: 120px;
    }

    @keyframes heroZoom {
        0% {
            background-size: 100%;
        }

        100% {
            background-size: 125%;
        }
    }

    .hero-content {
        background: rgba(0,0,0,0.35);
        padding: 40px;
        border-radius: 12px;
        animation: float 6s ease-in-out infinite;
        max-width: 90%;
        width: 600px;
    }

    @keyframes float {
        0% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(10px);
        }

        100% {
            transform: translateX(0);
        }
    }
    /* HERO TEXT CARD */
.hero-text-card {
    position: relative;
    z-index: 2;
    background: rgba(20,10,0,0.12);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.50);
}

        .hero-text-card h1 {
            font-size: 2rem;
            color: #c6b88e;
        }

    .hero-text-card p {
        font-size: 1rem;
        color: #c6b88e;
        hyphens: none;
    }

    .hero-text-card .hero-btn {
        font-size: 1.2rem;
        padding: 12px 36px;
    }
    /* HERO MOBIL */
    @media (max-width: 600px) {
        html {
            font-size: 18px;
        }

        .hero {
            background-image: url('/images/hero-mobile.jpg') !important;
            min-height: 500px;
            animation: none !important;
            background-size: cover !important;
            margin-bottom: 60px !important;
        }

        .hero-content {
            padding: 20px;
            animation: none !important;
        }

        .hero-text-card {
            margin: -60px 16px 40px;
            padding: 24px 18px;
        }

            .hero-text-card h1 {
                font-size: 1.35rem;
            }

            .hero-text-card p {
                font-size: 1.05rem;
            }
    }
    /* ------------------------------------------------------------
   PRODUKT OLDAL
------------------------------------------------------------ */
    .produkt-page-layout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 40px;
        margin-top: 20px;
    }

    @media (max-width: 900px) {
        .produkt-page-layout {
            grid-template-columns: 1fr;
        }
    }

    .produkt-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .produkt-card {
        background: rgba(255,255,255,0.4);
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        transition: 0.25s;
    }

        .produkt-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.18);
        }

    .produkt-thumb {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 16px;
        object-fit: cover;
    }

    @media (max-width: 600px) {
        .produkt-thumb {
            height: 160px;
        }
    }

    .produkt-title {
        font-size: 1.5rem;
        color: #827a62;
    }

    .produkt-excerpt {
        font-size: 1.1rem;
        color: #827a62;
    }

.produkt-btn {
    display: inline-block;
    padding: 10px 26px;
    background: rgba(255,255,255,0.4);
    border: 1px solid #9d8444;
    color: #6b5a2e;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

    .produkt-btn:hover {
        background: rgba(255,255,255,0.65);
        transform: translateY(-2px);
    }
    /* PROMO CARD */
    .right-col {
        display: flex;
        justify-content: center;
    }

    .promo-card {
        width: 100%;
        max-width: 420px;
        border-radius: 20px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .promo-image {
        width: 100%;
        min-height: 800px;
        background: url('/images/promohero1.jpg') center/cover no-repeat;
        animation: promoZoom 18s ease-in-out infinite alternate;
    }

    @keyframes promoZoom {
        0% {
            background-size: 100%;
        }

        100% {
            background-size: 115%;
        }
    }

    .promo-text {
        padding: 24px;
        text-align: center;
        color: #827a62;
    }
    /* ------------------------------------------------------------
   ABOUT OLDAL
------------------------------------------------------------ */
    .about-hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin: 40px auto 80px;
        max-width: 1300px;
    }

    .about-card {
        background: #ffffffcc;
        padding: 40px;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        backdrop-filter: blur(4px);
        color: #827a62;
    }

    .about-title {
        font-size: 2.4rem;
        color: #827a62;
    }

    .about-subtitle {
        font-size: 1.6rem;
        color: #827a62;
    }

    .about-hero-image {
        width: 100%;
        height: 1000px;
        border-radius: 20px;
        background: url('/images/abaut.webp') center/cover no-repeat;
        animation: aboutHeroMove 10s ease-in-out infinite alternate;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    @keyframes aboutHeroMove {
        0% {
            background-size: 110%;
        }

        50% {
            background-size: 125%;
        }

        100% {
            background-size: 110%;
        }
    }

    @media (max-width: 900px) {
        .about-hero-grid {
            grid-template-columns: 1fr;
        }

        .about-hero-image {
            height: 350px;
        }
    }

    @media (max-width: 600px) {
        .about-hero-image {
            background-image: url('/images/about-mobile.jpg') !important;
            height: 420px;
            animation: none !important;
        }
    }
    /* ------------------------------------------------------------
   KONTAKT OLDAL
------------------------------------------------------------ */
    .kontakt-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 1200px;
        margin: 40px auto;
    }

    .kontakt-card {
        background: #ffffffcc;
        padding: 30px;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        backdrop-filter: blur(4px);
    }

    .kontakt-hero {
        min-height: 700px;
        border-radius: 20px;
        background: url('/images/kontakt.jpg') center/cover no-repeat;
        animation: kontaktHeroMove 18s ease-in-out infinite alternate;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    @keyframes kontaktHeroMove {
        0% {
            background-size: 110%;
        }

        50% {
            background-size: 125%;
        }

        100% {
            background-size: 110%;
        }
    }

    @media (max-width: 900px) {
        .kontakt-layout {
            grid-template-columns: 1fr;
        }

        .kontakt-hero {
            min-height: 400px;
        }
    }
    /* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
.footer-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-image: url('/images/botbar.jpg');
    background-size: cover;
    background-position: center;
    padding: 12px 0;
    color: #f8f6f2;
    z-index: 10;
}

    .footer-links {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    @media (max-width: 600px) {
        .footer-nav {
            font-size: 12px;
            padding: 8px 0;
        }

        .footer-links {
            gap: 16px;
        }
    }

    main {
        padding-bottom: 40px;
    }
    /* ------------------------------------------------------------
   MISC
------------------------------------------------------------ */
    img, .hero, .about-hero-image, .promo-image {
        -webkit-user-drag: none;
        user-drag: none;
        pointer-events: none;
    }
    /* --- KONTAKT MOBIL: MINDEN BETŰ KISEBB --- */
    @media (max-width: 600px) {
        /* Kártya teljes tipográfia */
        .kontakt-card {
            font-size: 0.85rem !important;
            line-height: 1.25 !important;
        }

            .kontakt-card h1,
            .kontakt-card h2,
            .kontakt-card h3 {
                font-size: 1rem !important;
                line-height: 1.2 !important;
            }

            .kontakt-card p,
            .kontakt-card label,
            .kontakt-card span {
                font-size: 0.85rem !important;
                line-height: 1.25 !important;
            }
            /* Input mezők */
            .kontakt-card input,
            .kontakt-card textarea {
                font-size: 0.85rem !important;
                padding: 6px 8px !important;
            }
        /* Email mező külön */
        input[type="email"] {
            font-size: 0.8rem !important;
            word-break: break-all !important;
            overflow-wrap: break-word !important;
        }
        /* Név + Email két sorban */
        .form-grid {
            display: block !important;
        }

            .form-grid .form-group {
                width: 100% !important;
                margin-bottom: 12px !important;
            }
    }
    /* ------------------------------------------------------------
   TERMIN-INFO-KARTE (Kezdés / Időpont / Helyszín)
------------------------------------------------------------ */
    .course-info-card {
        max-width: 480px;
        margin: 24px auto 24px 0;
        background: rgba(255, 255, 255, 0.75);
        border: 1px solid rgba(201, 162, 74, 0.35);
        border-radius: 14px;
        padding: 10px 26px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        backdrop-filter: blur(2px);
    }

    .course-info-row {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 0;
    }

        .course-info-row + .course-info-row {
            border-top: 1px solid rgba(201, 162, 74, 0.2);
        }

    .course-info-icon {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #c9a24a;
    }

        .course-info-icon svg {
            width: 22px;
            height: 22px;
        }

    .course-info-label {
        flex: 0 0 auto;
        min-width: 90px;
        font-weight: 600;
        color: #8a7f63;
    }

    .course-info-value {
        flex: 1 1 auto;
        text-align: right;
        color: #4a4438;
    }

    @media (max-width: 500px) {
        .course-info-card {
            margin: 20px 16px 20px 16px;
            padding: 6px 18px;
        }

        .course-info-label {
            min-width: 70px;
            font-size: 0.78rem;
        }

        .course-info-value {
            font-size: 0.78rem;
        }

        .course-info-icon {
            width: 22px;
            height: 22px;
        }
    }
