/* ================================================================
   Campania Együtt – style.css
   Fonts: Playfair Display (serif, headings) + Nunito (sans, body)
   Palette: tengerkék #0a4a5e | türkiz #0a9aaa | citrom #f5d840
            homok #f7f3ed | fehér #fff | sötét #07303e
   ================================================================ */

/* ----------------------------------------------------------------
   1. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #1a3a4a;
    background: #f7f3ed;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0a7a8a;
    text-decoration: none;
    transition: color .2s;
}

a:hover { color: #0a4a5e; text-decoration: underline; }

ul, ol { list-style: none; }

/* ----------------------------------------------------------------
   2. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0a4a5e;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.1rem; color: #2a4a5a; }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: #3a6a7a;
    line-height: 1.8;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0a7a8a;
    margin-bottom: 1.5rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #b0dcd8, transparent);
}

/* ----------------------------------------------------------------
   3. LAYOUT
   ---------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 64px 0; }
.section--sm { padding: 40px 0; }
.section--lg { padding: 96px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ----------------------------------------------------------------
   5. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0a4a5e;
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: .3px;
    flex-shrink: 0;
    transition: color .2s;
}

.site-logo:hover { color: #f5d840; text-decoration: none; }

/* Nav */
.main-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    border-radius: 4px;
    transition: all .2s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #f5d840;
    background: rgba(255,255,255,.06);
    text-decoration: none;
}

.nav-arrow {
    transition: transform .2s;
    flex-shrink: 0;
}

.nav-item:hover .nav-arrow,
.nav-item.sub-open .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.nav-sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: #07303e;
    border-top: 2px solid #0a9aaa;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .22s ease;
    z-index: 100;
}

.nav-item:hover .nav-sub,
.nav-item.sub-open .nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-sub li { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-sub li:last-child { border-bottom: none; }

.nav-sub-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: all .15s;
}

.nav-sub-link:hover,
.nav-sub-link.active {
    color: #f5d840;
    background: rgba(255,255,255,.05);
    padding-left: 22px;
    text-decoration: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    height: 580px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7,48,62,.15) 0%,
        rgba(7,48,62,.25) 40%,
        rgba(7,48,62,.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 0 56px;
}

.hero-content .container { display: flex; flex-direction: column; gap: 16px; }

.hero-badge {
    display: inline-block;
    background: #f5d840;
    color: #07303e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    width: fit-content;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    max-width: 600px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-title em {
    font-style: italic;
    color: #f5d840;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,.82);
    max-width: 480px;
    line-height: 1.7;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

/* Hero aloldalon (kisebb) */
.hero--sub {
    height: 360px;
    align-items: center;
}

.hero--sub .hero-content { padding: 0; }

/* ----------------------------------------------------------------
   7. BREADCRUMB
   ---------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 0;
    font-size: 0.82rem;
    color: #5a8a98;
    border-bottom: 1px solid #ddeee8;
    margin-bottom: 2rem;
}

.breadcrumb-link {
    color: #0a7a8a;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-link:hover { color: #0a4a5e; text-decoration: underline; }

.breadcrumb-sep { color: #aaccc8; font-size: 0.9rem; }

.breadcrumb-current {
    color: #1a3a4a;
    font-weight: 700;
}

/* ----------------------------------------------------------------
   8. LÁTNIVALÓ KÁRTYÁK
   ---------------------------------------------------------------- */
.attraction-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddeee8;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10,74,94,.15);
    text-decoration: none;
    color: inherit;
}

.attraction-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.attraction-card__body {
    padding: 16px 18px 20px;
}

.attraction-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a4a5e;
    margin-bottom: 6px;
}

.attraction-card__desc {
    font-size: 0.85rem;
    color: #5a8a98;
    line-height: 1.5;
    margin: 0;
}

.attraction-card__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0a7a8a;
    background: #e0f5f2;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

/* ----------------------------------------------------------------
   9. GASZTRONÓMIA KÁRTYÁK
   ---------------------------------------------------------------- */
.food-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddeee8;
    transition: transform .25s, box-shadow .25s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.food-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10,74,94,.15);
    text-decoration: none;
}

.food-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.food-card__body { padding: 18px 20px 22px; }

.food-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #0a4a5e;
    margin-bottom: 8px;
}

.food-card__desc {
    font-size: 0.88rem;
    color: #5a8a98;
    line-height: 1.6;
    margin: 0;
}

/* ----------------------------------------------------------------
   10. INFO BLOKKOK (2 oszlop)
   ---------------------------------------------------------------- */
.info-block {
    background: #fff;
    border-radius: 12px;
    padding: 28px 30px;
    border: 1px solid #ddeee8;
}

.info-block--dark {
    background: #0a4a5e;
    border-color: #0a4a5e;
}

.info-block--dark h3 { color: #f5d840; }
.info-block--dark p  { color: rgba(255,255,255,.75); }

.info-block__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.info-block__tag--teal { background: #e0f5f2; color: #0a7a8a; }
.info-block__tag--gold { background: #f5d840; color: #07303e; }

/* ----------------------------------------------------------------
   11. PRAKTIKUS KÁRTYÁK
   ---------------------------------------------------------------- */
.prak-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 22px;
    border: 1px solid #ddeee8;
    border-top: 3px solid #0a9aaa;
}

.prak-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0a4a5e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prak-card__icon {
    width: 32px;
    height: 32px;
    background: #e0f5f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.prak-card__val {
    font-size: 0.85rem;
    color: #5a8a98;
    line-height: 1.55;
    margin: 0;
}

/* ----------------------------------------------------------------
   12. ALOLDAL TARTALOM
   ---------------------------------------------------------------- */
.page-content { padding: 48px 0 80px; }

.article-body h2 {
    margin: 2.2rem 0 0.8rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ddeee8;
}

.article-body h2:first-child {
    margin-top: 0;
    border-top: none;
}

.article-body h3 { margin: 1.6rem 0 0.6rem; }

.article-body ul, .article-body ol {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}

.article-body ul li, .article-body ol li {
    margin-bottom: .4rem;
    color: #2a4a5a;
    font-size: 0.95rem;
}

.article-body img {
    border-radius: 10px;
    margin: 1.5rem 0;
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.article-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 3rem;
}

.article-intro__img {
    border-radius: 12px;
    width: 100%;
    height: 340px;
    object-fit: cover;
    order: 2;
}

/* ----------------------------------------------------------------
   13. SIDEBAR / KAPCSOLÓDÓ
   ---------------------------------------------------------------- */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddeee8;
    margin-bottom: 20px;
}

.sidebar-card__title {
    padding: 14px 18px;
    background: #0a4a5e;
    color: #f5d840;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
}

.sidebar-card__list { padding: 8px 0; }

.sidebar-card__list a {
    display: block;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2a5a6a;
    border-bottom: 1px solid #f0f0f0;
    transition: all .15s;
    text-decoration: none;
}

.sidebar-card__list a:hover {
    background: #f0faf8;
    color: #0a4a5e;
    padding-left: 24px;
    text-decoration: none;
}

.sidebar-card__list li:last-child a { border-bottom: none; }

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
    background: #07303e;
    color: rgba(255,255,255,.7);
    margin-top: 80px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f5d840;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.footer-logo:hover { color: #fff; text-decoration: none; }

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    margin: 0;
    max-width: 260px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-col-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a9aaa;
    margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
    font-size: 0.85rem;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .15s;
}

.footer-col a:hover { color: #f5d840; text-decoration: none; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,.3);
    margin: 0;
}

.footer-cookie-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.45);
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    letter-spacing: .5px;
    padding: 5px 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .2s;
}

.footer-cookie-btn:hover {
    border-color: rgba(255,255,255,.5);
    color: rgba(255,255,255,.8);
}

/* ----------------------------------------------------------------
   15. GOMBOK & LINKEK
   ---------------------------------------------------------------- */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #0a4a5e;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s;
}

.btn-primary:hover {
    background: #0a7a8a;
    color: #fff;
    text-decoration: none;
}

.text-link {
    font-weight: 700;
    color: #0a7a8a;
    font-size: .88rem;
    text-decoration: none;
    transition: color .2s;
}

.text-link:hover {
    color: #0a4a5e;
    text-decoration: underline;
}

/* ----------------------------------------------------------------
   16. UTILITY
   ---------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
}

.tag--teal { background: #e0f5f2; color: #0a7a8a; }
.tag--gold  { background: #fef9d0; color: #8a6a00; }
.tag--blue  { background: #e0eef5; color: #0a4a5e; }

.divider {
    border: none;
    border-top: 1px solid #ddeee8;
    margin: 2.5rem 0;
}

/* ----------------------------------------------------------------
   16. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .page-with-sidebar { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
    /* Hamburger megjelenik */
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #07303e;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
        align-items: flex-start;
        padding: 16px 0 40px;
    }

    .main-nav.is-open { transform: translateX(0); }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        padding: 14px 24px;
        font-size: 0.9rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
        justify-content: space-between;
    }

    .nav-sub {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        transition: max-height .3s ease, visibility .3s;
        background: rgba(0,0,0,.2);
    }

    .nav-item.sub-open .nav-sub {
        visibility: visible;
        max-height: 600px;
    }

    .nav-sub-link { padding: 11px 24px 11px 36px; }
}

@media (max-width: 768px) {
    .hero { height: 420px; }
    .hero--sub { height: 260px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .article-intro { grid-template-columns: 1fr; }
    .article-intro__img { order: 0; height: 240px; }
    .footer-nav { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .section--lg { padding: 56px 0; }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.9rem; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------
   Cookie banner
   ---------------------------------------------------------------- */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #07303e;
    border-top: 2px solid #0a9aaa;
    padding: 16px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.25);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-inner p {
    flex: 1;
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    margin: 0;
    line-height: 1.5;
    min-width: 260px;
}

.cookie-inner a { color: #f5d840; font-weight: 600; }

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btns button {
    padding: 9px 22px;
    border-radius: 4px;
    font-family: 'Nunito', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.cookie-accept {
    background: #f5d840;
    color: #07303e;
}

.cookie-settings {
    background: transparent;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.3) !important;
}

.cookie-reject {
    background: transparent;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.3) !important;
}
