:root {
    --header-logo-size: 180px;
}

@font-face {
    font-family: "Jester Regular";
    src: local("Jester Regular"), local("Jester Reg"), local("Jester");
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Jester Regular", Georgia, serif;
    background: #111;
    color: white;
    scroll-behavior: smooth;
}

header {
    background: #000;
    padding: 20px;
    text-align: center;
}

.main-nav {
    margin-top: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
    background: #1e1e1e;
    border-color: #755ea3;
}

.main-nav a.active {
    background: #755ea3;
    border-color: #755ea3;
}

.brand-row {
    display: grid;
    grid-template-columns: var(--header-logo-size) 1fr var(--header-logo-size);
    align-items: start;
    gap: 14px;
}

.header-box {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 0;
}

.header-box h1 {
    margin: 0;
}

.header-subtitle {
    margin: 0;
}

.header-logo {
    grid-column: 3;
    justify-self: end;
    align-self: start;
    width: var(--header-logo-size);
    height: var(--header-logo-size);
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #755ea3;
    background: #111;
}

.hero {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, #1f1f1f, #333);
}

button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    background: #755ea3;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
}

.button-link {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    background: #755ea3;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
}

.inform {
    padding: 40px;
    text-align: center;
}

.services {
    padding: 40px;
    text-align: center;
}

.card {
    background: #1e1e1e;
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    width: 250px;
}

.palap {
    color:green;
}

.h3premium {
    color:gold;
}
.card {
    cursor: pointer;
}

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 15px;
}

.card.active .card-content {
    max-height: 310px; /* ha hosszabb szöveg lesz, növeld */
    padding: 10px 15px 15px 15px;
}

.card-header {
    user-select: none;
}

.extra-services {
    padding-top: 0;
}

.card-tag {
    margin: 8px 0 0 0;
    color: #ffd166;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-price {
    margin: 12px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid #343434;
    font-weight: 700;
    text-align: center;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.quick-link {
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid #755ea3;
    border-radius: 8px;
}

.quick-link:hover {
    background: #755ea3;
}

.booking-section {
    max-width: 760px;
    margin: 0 auto 40px auto;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.booking-form {
    max-width: 460px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
    text-align: left;
}

.booking-form label {
    font-weight: 700;
}

.name-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.name-field {
    display: grid;
    gap: 6px;
}

.booking-form input,
.booking-form select {
    font: inherit;
    color: white;
    background: #101010;
    border: 1px solid #515151;
    border-radius: 8px;
    padding: 10px 12px;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: #755ea3;
    box-shadow: 0 0 0 2px rgba(117, 94, 163, 0.25);
}

.booking-form button {
    margin-top: 8px;
}

.input-with-prefix {
    display: flex;
    align-items: stretch;
}

.input-prefix {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: white;
    background: #101010;
    border: 1px solid #515151;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.input-with-prefix input {
    flex: 1;
    min-width: 0;
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.input-with-prefix input:focus {
    box-shadow: none;
}

.input-with-prefix:focus-within {
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(117, 94, 163, 0.25);
}

.input-with-prefix:focus-within .input-prefix,
.input-with-prefix:focus-within input {
    border-color: #755ea3;
}

.booking-note {
    margin-top: 14px;
    opacity: 0.9;
}

@media (max-width: 600px) {
    :root {
        --header-logo-size: 54px;
    }

    header {
        padding: 18px 14px;
    }

    .main-nav {
        gap: 10px;
    }

    .header-box {
        gap: 8px;
    }

    .booking-form {
        max-width: 100%;
    }

    .name-fields {
        grid-template-columns: 1fr;
    }
}
