:root {
    --header-bg: #313846;
    --text-bg: #f5f5f5;
    --text-color: #38444f;
    --white: #ffffff;
    --border: #d9dee4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--text-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

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

#szechenyi_logo {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 250px;
}

#szechenyi_logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: var(--header-bg);
    color: var(--white);
    padding: 18px 20px;
    position: relative;
    z-index: 50;
}

.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
    gap: 24px;
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.site-nav a {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.site-nav a:hover {
    text-decoration: underline;
}

.mobile-menu-button {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
}

/* =========================
   FŐOLDAL - SLIDER
========================= */

.slider-section {
    background-color: var(--text-bg);
    padding: 24px 20px 40px;
}

.slider-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(49, 56, 70, 0.08);
}

.slider-track {
    display: flex;
    transition: transform 0.45s ease;
}

.slider-slide {
    min-width: 100%;
    position: relative;
}

.slider-slide a {
    display: block;
}

.slider-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(49, 56, 70, 0.85);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}

.slider-button:hover {
    background: rgba(49, 56, 70, 1);
}

.slider-button.prev {
    left: 16px;
}

.slider-button.next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
}

.slider-dot.is-active {
    background: var(--white);
}

/* =========================
   FŐOLDAL - KAPCSOLAT
========================= */

.contact-section {
    padding: 48px 20px 70px;
    background-color: var(--text-bg);
}

.contact-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px;
}

.contact-inner h1 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.25;
    color: var(--text-color);
}

.contact-inner p {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.7;
}

.contact-list {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.contact-item {
    background-color: var(--text-bg);
    padding: 18px 20px;
    border-radius: 10px;
}

.contact-item span {
    display: block;
    font-size: 14px;
    color: #66717c;
    margin-bottom: 4px;
}

.contact-item strong {
    display: block;
    font-size: 17px;
    color: var(--text-color);
}

/* =========================
   PÁLYÁZATI OLDAL
========================= */

.page-hero {
    background: var(--header-bg);
    color: var(--white);
    padding: 48px 20px;
}

.page-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
}

.page-content {
    background-color: var(--text-bg);
    padding: 48px 20px 70px;
}

.page-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.project-image {
    margin-top: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(49, 56, 70, 0.06);
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 42px;
    box-shadow: 0 8px 24px rgba(49, 56, 70, 0.06);
}

.project-label {
    display: inline-block;
    background-color: var(--text-bg);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.project-title {
    margin: 0 0 20px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
}

.project-lead {
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.7;
}

.support-box {
    background-color: var(--text-bg);
    border-left: 6px solid var(--header-bg);
    border-radius: 10px;
    padding: 26px;
    margin-bottom: 34px;
}

.support-box span {
    display: block;
    font-size: 15px;
    color: #66717c;
    margin-bottom: 8px;
}

.support-box strong {
    display: block;
    font-size: 34px;
    line-height: 1.15;
    color: var(--text-color);
    font-weight: 700;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.detail-item {
    background-color: var(--text-bg);
    border-radius: 10px;
    padding: 20px;
}

.detail-item span {
    display: block;
    font-size: 14px;
    color: #66717c;
    margin-bottom: 6px;
}

.detail-item strong {
    display: block;
    font-size: 17px;
    line-height: 1.45;
    color: var(--text-color);
}

.project-description {
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.project-description h2 {
    margin: 0 0 16px;
    font-size: 25px;
    color: var(--text-color);
}

.project-description p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.75;
}

.project-description p:last-child {
    margin-bottom: 0;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: var(--header-bg);
    color: var(--white);
    text-align: center;
    padding: 24px 20px;
    font-size: 14px;
}

/* =========================
   TABLET / MOBIL
========================= */

@media (max-width: 768px) {
    #szechenyi_logo {
        width: 150px;
    }

    .site-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .site-logo {
        font-size: 20px;
    }

    .mobile-menu-button {
        display: inline-block;
        justify-self: end;
        margin-right: 150px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 20px;
        right: 20px;
        background: #252b36;
        padding: 16px;
        border-radius: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        z-index: 100;
    }

    .site-nav.is-open {
        display: flex;
    }

    .slider-slide img {
        height: 240px;
    }

    .contact-inner {
        padding: 28px 20px;
    }

    .contact-inner h1 {
        font-size: 28px;
    }

    .page-hero {
        padding: 38px 20px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .project-card {
        padding: 28px 20px;
    }

    .project-title {
        font-size: 24px;
    }

    .support-box strong {
        font-size: 28px;
    }

    .project-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #szechenyi_logo {
        width: 110px;
    }

    .site-header {
        padding: 10px 14px;
    }

    .site-header-inner {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .site-logo {
        font-size: 18px;
    }

    .mobile-menu-button {
        padding: 7px 10px;
        font-size: 14px;
        margin-right: 110px;
    }

    .site-nav {
        top: 62px;
        left: 14px;
        right: 14px;
    }

    .slider-section {
        padding: 16px 14px 32px;
    }

    .slider-slide img {
        height: 190px;
    }

    .slider-button {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .slider-button.prev {
        left: 10px;
    }

    .slider-button.next {
        right: 10px;
    }

    .contact-section {
        padding: 32px 14px 50px;
    }

    .contact-inner {
        padding: 24px 18px;
    }

    .page-content {
        padding: 34px 14px 50px;
    }

    .project-image {
        padding: 12px;
        margin-bottom: 24px;
    }

    .project-card {
        padding: 24px 18px;
    }

    .project-description h2 {
        font-size: 22px;
    }

    .project-description p,
    .project-lead {
        font-size: 16px;
    }
}
/* =========================
   FŐOLDAL - BEMUTATKOZÁS ÉS TELEPHELYEK
========================= */

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--text-bg);
    color: #66717c;
    font-size: 14px;
    font-weight: 500;
}

.about-section,
.locations-section {
    padding: 48px 20px 24px;
    background-color: var(--text-bg);
}

.about-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(49, 56, 70, 0.06);
}

.about-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-badge {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--header-bg);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 14px 30px rgba(49, 56, 70, 0.18);
}

.about-content h1,
.locations-section h1 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.25;
    color: var(--text-color);
}

.about-content p,
.location-info p {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.7;
}

.about-content p:last-child,
.location-info p:last-child {
    margin-bottom: 0;
}

.lead-text {
    font-style: italic;
}

.locations-section .section-inner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(49, 56, 70, 0.06);
}

.locations-list {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.location-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--text-bg);
}

.location-info {
    padding: 28px;
    background: var(--header-bg);
    color: var(--white);
}

.location-info h2 {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.35;
}

.location-info p {
    color: rgba(255, 255, 255, 0.92);
}

.location-info a:hover {
    text-decoration: underline;
}

.location-map {
    min-height: 290px;
    background: #e8edf2;
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 290px;
    border: 0;
}

.about-text-wrap {
    max-height: 188px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.about-text-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.about-text-wrap.is-open {
    max-height: 2000px;
}

.about-text-wrap.is-open::after {
    opacity: 0;
}

.read-more-btn {
    margin-top: 18px;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    background: #243b53;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.read-more-btn:hover {
    background: #1b2f43;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .about-card,
    .location-card {
        grid-template-columns: 1fr;
    }

    .about-media {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .about-section,
    .locations-section {
        padding: 34px 20px 18px;
    }

    .about-card,
    .locations-section .section-inner {
        padding: 28px 20px;
    }

    .about-badge {
        width: 140px;
        height: 140px;
        font-size: 40px;
    }

    .about-content h1,
    .locations-section h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .about-section,
    .locations-section {
        padding: 28px 14px 14px;
    }

    .about-card,
    .locations-section .section-inner {
        padding: 24px 18px;
    }

    .about-content p,
    .location-info p {
        font-size: 16px;
    }

    .location-info {
        padding: 24px 18px;
    }
}

/* =========================
   TELEPHELYEK - IKONOS ELRENDEZES ES KEP
========================= */

.location-card {
    grid-template-columns: 420px 1fr;
    background: var(--header-bg);
}

.location-info {
    padding: 0;
    background: var(--header-bg);
}

.location-info-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 18px;
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.location-info-row:last-child {
    border-bottom: none;
}

.location-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--white);
    padding-top: 2px;
}

.location-icon svg {
    width: 26px;
    height: 26px;
    display: block;
    fill: currentColor;
}

.location-text h2 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--white);
}

.location-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.96);
}

.location-text a {
    color: var(--white);
    font-weight: 700;
}

.location-image-row {
    align-items: center;
}

.location-image-wrap img {
    width: 100%;
    max-width: 332px;
    aspect-ratio: 332 / 192;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .location-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .location-info-row {
        grid-template-columns: 30px 1fr;
        gap: 14px;
        padding: 20px 18px;
    }

    .location-icon,
    .location-icon svg {
        width: 24px;
        height: 24px;
    }

    .location-image-wrap img {
        max-width: 100%;
    }
}

.location-card-no-map {
    grid-template-columns: 1fr;
}

.location-card-no-map .location-image-wrap img {
    max-width: 100%;
}
.location-address {
    white-space: pre-line;
}


/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__text {
    color: var(--text);
}

.cookie-consent__text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
}

.cookie-consent__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

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

.cookie-consent__button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    color: var(--white);
    background: var(--text-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-consent__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.cookie-consent__button--secondary {
    color: var(--text);
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 700px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .cookie-consent__actions {
        width: 100%;
        flex-direction: column-reverse;
    }

    .cookie-consent__button {
        width: 100%;
    }
}
