*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f8f9fa;
}

a { color: #e94560; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 1.5rem;
}
header nav {
    max-width: 1200px;
    margin: 0 auto;
    height: 110px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
header nav a:first-child {
    font-weight: 700;
    font-size: 1.2rem;
    color: #e94560;
    margin-right: auto;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
    margin-top: 4rem;
}

/* ── Alerts ── */
.alert {
    padding: .85rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: .95rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Auth ── */
.auth-container {
    max-width: 420px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.auth-container h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}
.auth-links {
    margin-top: 1.25rem;
    font-size: .9rem;
    color: #666;
    text-align: center;
}

/* ── Forms ── */
.form-group {
    margin-bottom: 1.1rem;
}
.form-group label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .35rem;
    color: #333;
}
.form-group label small {
    font-weight: 400;
    color: #888;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .6rem .85rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

.form-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: .75rem 1rem .75rem 1.5rem;
    margin-bottom: 1.25rem;
    color: #721c24;
    font-size: .9rem;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: .65rem 1.4rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .2s;
}
.btn:hover { opacity: .88; }
.btn-primary {
    background: #e94560;
    color: #fff;
    width: 100%;
    text-align: center;
}
.btn-secondary {
    background: #eee;
    color: #333;
}

/* ── Hero / Főoldal ── */
.hero {
    text-align: center;
    padding: 4rem 1rem;
}
.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}
.hero form {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 640px;
    margin: 0 auto;
}
.hero input[type=text] {
    flex: 1;
    min-width: 220px;
    padding: .7rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
.hero button {
    padding: .7rem 1.4rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.hero button[type=submit] { background: #e94560; color: #fff; }
#btn-birthday { background: #1a1a2e; color: #fff; }
#birthday-extras {
    margin-top: 1rem;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
}
#birthday-extras input {
    padding: .6rem .85rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: .95rem;
}

/* ── Nav kiegészítés ── */
header nav { max-width: 1200px; margin: 0 auto; height: 110px; display: flex; align-items: center; }
.nav-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; height: 110px; }
.nav-logo { font-weight: 700; font-size: 1.2rem; color: #e94560 !important; margin-right: auto; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: #333; font-size: .95rem; }
.btn-nav { background: #e94560; color: #fff !important; padding: .4rem .9rem; border-radius: 6px; font-size: .9rem; }
.btn-nav-logout { background: none; border: none; cursor: pointer; color: #333; font-size: .95rem; padding: 0; font-family: inherit; line-height: inherit; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.footer-inner nav a { margin-left: 1.25rem; color: #888; font-size: .9rem; }

/* ── Főoldal – Kiemelt játszóházak ── */
.featured-section { margin-top: 3rem; }
.featured-title { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin-bottom: 1.5rem; }
.featured-footer { text-align: center; margin-top: 2rem; }

/* ── Search layout ── */
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.search-sidebar { background: #fff; border-radius: 10px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 1rem; }
.sidebar-section { margin-bottom: 1.25rem; }
.sidebar-section label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.sidebar-section input, .sidebar-section select { width: 100%; padding: .5rem .75rem; border: 1px solid #ccc; border-radius: 6px; font-size: .9rem; margin-bottom: .4rem; }
.checkbox-label { display: flex; align-items: center; gap: .4rem; font-size: .9rem; cursor: pointer; margin-bottom: .3rem; font-weight: 400; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.view-toggle { display: flex; gap: .5rem; }
.view-toggle .active { background: #1a1a2e; color: #fff; }

/* ── Playground grid / card ── */
.playground-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.playground-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.07); transition: box-shadow .2s; }
.playground-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.13); }
.playground-card.is-premium { border: 2px solid #e94560; }
.card-image-link { display: block; position: relative; height: 180px; overflow: hidden; background: #f0f0f0; }
.card-image-link img { width: 100%; height: 100%; object-fit: cover; }
.card-image-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.badge-premium { position: absolute; top: .5rem; right: .5rem; background: #e94560; color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; }
.card-body { padding: 1rem 1.1rem 1.25rem; }
.card-title { font-size: 1.05rem; margin-bottom: .3rem; }
.card-city { color: #666; font-size: .85rem; margin-bottom: .4rem; }
.card-desc { font-size: .88rem; color: #444; margin-bottom: .75rem; }
.card-btn { font-size: .88rem; padding: .45rem .9rem; }
.no-results { color: #888; font-size: 1rem; grid-column: 1/-1; }

/* ── City page ── */
.city-hero { margin-bottom: 2rem; }
.city-hero h1 { font-size: 2rem; margin-bottom: .75rem; }
.city-intro { color: #444; line-height: 1.7; }

/* ── Playground adatlap ── */
.pg-hero { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; margin-bottom: 2.5rem; }
.pg-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; gap: .4rem; border-radius: 10px; overflow: hidden; }
.gallery-main { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb { width: 100%; height: 100%; object-fit: cover; }
.pg-hero-info { background: #fff; border-radius: 10px; padding: 1.75rem; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pg-hero-info h1 { font-size: 1.7rem; margin-bottom: .5rem; }
.pg-city { color: #666; margin-bottom: .5rem; }
.pg-rating { color: #e94560; font-weight: 600; margin-bottom: .75rem; }
.pg-social { display: flex; gap: .75rem; margin: .75rem 0 1rem; flex-wrap: wrap; }
.pg-social a { font-size: .85rem; color: #555; text-decoration: underline; }
.btn-maps-link { display: inline-flex; align-items: center; gap: .4rem; background: #1a1a2e; color: #fff !important; padding: .5rem 1.1rem; border-radius: 6px; font-size: .88rem; font-weight: 600; text-decoration: none !important; transition: opacity .2s; }
.btn-maps-link:hover { opacity: .85; text-decoration: none; }
.pg-section { background: #fff; border-radius: 10px; padding: 1.75rem; margin-bottom: 1.5rem; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.pg-section h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.opening-table { width: 100%; border-collapse: collapse; }
.opening-table td { padding: .4rem .2rem; border-bottom: 1px solid #f0f0f0; }
.opening-table .closed td { color: #aaa; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { text-align: left; padding: .4rem .5rem; border-bottom: 2px solid #eee; font-size: .9rem; }
.price-table td { padding: .5rem .5rem; border-bottom: 1px solid #f0f0f0; }
.price-table small { display: block; color: #888; font-size: .8rem; }
.services-grid, .rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.service-card, .room-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.service-card img, .room-card img { width: 100%; height: 140px; object-fit: cover; }
.service-card h3, .room-card h3 { font-size: 1rem; padding: .6rem .75rem .2rem; }
.service-card p, .room-card p { font-size: .85rem; padding: 0 .75rem .75rem; color: #555; }
.amenity-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.amenity-list li { background: #f0f4ff; padding: .35rem .75rem; border-radius: 20px; font-size: .88rem; }
.faq-list dt { font-weight: 600; margin-top: 1rem; }
.faq-list dd { margin-left: 0; color: #444; margin-top: .25rem; }
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-card { display: flex; gap: 1rem; align-items: flex-start; }
.event-card img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.video-wrapper iframe { width: 100%; height: 380px; border: none; border-radius: 8px; }
.reviews-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card { border: 1px solid #eee; border-radius: 8px; padding: 1rem; }
.review-header { display: flex; gap: .75rem; align-items: center; margin-bottom: .4rem; flex-wrap: wrap; }
.review-header time { color: #888; font-size: .85rem; margin-left: auto; }

/* ── Dashboard / UserAccount ── */
.dashboard { max-width: 860px; }
.dashboard h1 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.dashboard-section { background: #fff; border-radius: 10px; padding: 1.75rem; margin-bottom: 1.5rem; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.dashboard-section h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.booking-list { display: flex; flex-direction: column; gap: .75rem; }
.booking-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid #eee; border-radius: 8px; padding: .9rem 1.1rem; flex-wrap: wrap; }
.booking-info { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; }
.booking-info strong { font-size: 1rem; }
.booking-info span { color: #555; }
.booking-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.status-badge { font-size: .8rem; font-weight: 600; padding: .3rem .65rem; border-radius: 20px; white-space: nowrap; }
.status-pending  { background: #fff3cd; color: #856404; }
.status-quote    { background: #cfe2ff; color: #0a58ca; }
.status-accepted { background: #d1e7dd; color: #0f5132; }
.status-rejected, .status-cancelled { background: #f8d7da; color: #842029; }
.status-warning  { background: #fff3cd; color: #664d03; }

/* ── Blog ── */
.blog-page h1 { font-size: 2rem; margin-bottom: .5rem; }
.blog-lead { color: #666; margin-bottom: 2rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 1.25rem; }
.blog-card-body h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.blog-meta { color: #888; font-size: .85rem; margin-bottom: .6rem; }
.blog-post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; margin-bottom: 1.5rem; }
.blog-post h1 { font-size: 2rem; margin-bottom: .5rem; }
.blog-content { line-height: 1.8; color: #333; margin-top: 1.5rem; }
.blog-content p { margin-bottom: 1rem; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination a { padding: .4rem .8rem; border: 1px solid #ccc; border-radius: 6px; color: #333; }
.pagination a.active { background: #e94560; color: #fff; border-color: #e94560; }

/* ── CMS ── */
.cms-page h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.cms-content { line-height: 1.8; color: #333; }
.cms-content p { margin-bottom: 1rem; }

/* ── Reszponzív ── */
@media (max-width: 768px) {
    .search-layout { grid-template-columns: 1fr; }
    .search-sidebar { position: static; }
    .pg-hero { grid-template-columns: 1fr; }
    .pg-gallery { grid-template-columns: 1fr; grid-template-rows: 220px; }
    .gallery-thumb { display: none; }
}

/* ── Nav – Ajánlj helyszínt gomb ── */
.btn-nav-suggest {
    background: transparent;
    border: 1.5px solid #e94560;
    color: #e94560 !important;
    padding: .35rem .85rem;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 600;
    transition: background .15s, color .15s;
}
.btn-nav-suggest:hover {
    background: #e94560;
    color: #fff !important;
    text-decoration: none;
}

/* ── Suggest playground page ── */
.suggest-page { max-width: 680px; margin: 0 auto; }
.suggest-header { text-align: center; margin-bottom: 2rem; }
.suggest-header h1 { font-size: 2rem; color: #1a1a2e; margin-bottom: .6rem; }
.suggest-header p { color: #555; font-size: 1.05rem; }
.suggest-form { background: #fff; border-radius: 12px; padding: 2rem 2.5rem; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.suggest-form .form-group { margin-bottom: 1.25rem; }
.suggest-form textarea { resize: vertical; min-height: 100px; }
.req { color: #e94560; }
.form-error { display: block; color: #c0392b; font-size: .82rem; margin-top: .25rem; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #e74c3c; }
.btn-suggest-submit {
    width: 100%;
    padding: .85rem;
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: .5rem;
    transition: background .15s;
}
.btn-suggest-submit:hover { background: #c73652; }

/* ── Error pages ── */
.error-page {
    text-align: center;
    padding: 5rem 1rem;
}
.error-page h1 {
    font-size: 5rem;
    color: #e94560;
    line-height: 1;
}
.error-page p { margin: 1rem 0; color: #555; }

/* ── Cookie consent banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a2e;
    color: #e8e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.cookie-banner-text {
    flex: 1;
    min-width: 200px;
    font-size: .9rem;
    line-height: 1.5;
}
.cookie-banner-text a { color: #e94560; text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background: #e94560;
    color: #fff;
    border: none;
    padding: .55rem 1.3rem;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.btn-cookie-accept:hover { background: #c73652; }
.btn-cookie-decline {
    background: transparent;
    color: #aaa;
    border: 1px solid #555;
    padding: .55rem 1.3rem;
    border-radius: 6px;
    font-size: .9rem;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}
.btn-cookie-decline:hover { color: #e8e8f0; border-color: #888; }
