/* ==============================
   Macskás fadísz – main.css
   Bootstrap 5.3-ra hangolva
   ============================== */

/* --------- Színek / változók --------- */
:root {
    --green-900: #041e17;
    --green-800: #083026;
    --green-700: #0f4a39;
    --gold: #d4af37;
    --white: #ffffff;
    --mustard: #E1AD01;
    /* mustársárga */
}

/* --------- Alapok --------- */
html,
body {
    height: 100%
}

body {
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--white);
    background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
}

/* --------- Tipográfia / linkek --------- */
.text-gold {
    color: var(--gold) !important
}

.text-white {
    color: var(--white) !important
}

.small-note {
    opacity: .9
}

footer a {
    color: var(--gold);
    text-decoration: underline dotted
}

footer a:hover {
    text-decoration: underline
}

/* --------- Gombok --------- */
.btn-gold {
    background: var(--gold);
    color: #111;
    border: none;
    transition: background-color .2s, box-shadow .2s, filter .2s, color .2s;
}

.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active {
    background: var(--mustard) !important;
    color: #111 !important;
    filter: none !important;
}

.btn-gold:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(225, 173, 1, .35)
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, .8)
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background: var(--mustard) !important;
    border-color: var(--mustard) !important;
    color: #111 !important;
}

/* --------- Kártyák / felületek --------- */
.card-glass {
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .24);
}

.divider {
    border-color: rgba(255, 255, 255, .32) !important
}

.border-gold {
    border-color: rgba(212, 175, 55, .9) !important
}

.shadow-soft {
    box-shadow: 0 12px 36px rgba(0, 0, 0, .45)
}

/* --------- Hero --------- */
.hero {
    min-height: 90vh;
    display: grid;
    place-items: center
}

.hero h1 {
    font-weight: 800;
    letter-spacing: .4px
}

.badge-limit {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gold);
    color: #111;
    font-weight: 700
}

/* --------- Képek --------- */
.ornament {
    width: 100%;
    max-width: 380px;
    height: auto
}

/* --------- Navigáció --------- */
.navbar .navbar-toggler-icon {
    /* világos ikon sötét háttérhez (inline SVG) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------- Űrlapok --------- */
.form-control::placeholder {
    color: #aaaaaa !important;
    opacity: 1
}

.form-control,
.form-select {
    color: var(--white);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .24);
}

.form-control:focus,
.form-select:focus {
    color: var(--white);
    background: rgba(255, 255, 255, .10);
    border-color: var(--gold);
    box-shadow: 0 0 0 .25rem rgba(212, 175, 55, .25);
}

.input-group-text {
    color: var(--white);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .24);
}

/* --------- Táblázat sötét "ghost" --------- */
.table-dark-ghost {
    --bs-table-bg: rgba(255, 255, 255, .04);
    --bs-table-color: var(--white);
    --bs-table-border-color: rgba(255, 255, 255, .2);
}

/* --------- Segéd / finomhangolás --------- */
.text-white-50 {
    color: rgba(255, 255, 255, .65) !important
}

/* --------- Média (apró reszponzív finomságok) --------- */
@media (min-width:992px) {
    .hero {
        min-height: 92vh
    }
}

/* --------- Mozgásérzékenyek támogatása --------- */
@media (prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}