/* ==========================================================================
   DUNAKANYAR ÁRNYÉKOLÁSTECHNIKA - RESZPONZÍV STÍLUSLAP (css/style.css)
   ========================================================================== */

:root {
    --brand-navy: #082c50;
    --brand-teal: #0298af;
    --brand-teal-bright: #03a6b7;
    --brand-teal-hover: #027f94;
    --header-right-bg: #eef6f8;
	--card-dark-bg: rgba(24, 37, 45, 0.3);
    --card-light-bg: rgba(255, 255, 255, 0.6);
    --icon-teal: #0fabb8;
    --icon-navy: #083363;
    --icon-darkteal: #0e7e92;
    --footer-bg: #152326;
    --text-white: #ffffff;
    --text-muted: #d0d8dc;
    --text-dark: #18252d;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-condensed: 'Roboto Condensed', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--footer-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* 1. FEJLÉC (HEADER) */
.site-header {
    width: 100%;
    height: 86px;
    background-color: var(--header-right-bg);
    position: relative;
    z-index: 20;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.header-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 5vw;
}

.header-left-brand {
    position: relative;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding-left: 5vw;
    padding-right: 48px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    z-index: 2;
}

.brand-logo-img {
	height: 86px;
	width: auto;
	max-width: 210px;
	object-fit: contain;
	display: block;
}

.header-diagonal-bars {
    position: absolute;
    top: 0;
    right: -28px;
    height: 100%;
    width: 56px;
    display: flex;
    transform: skewX(-28deg);
    transform-origin: bottom left;
    z-index: 1;
    pointer-events: none;
}

.diag-bar {
    height: 100%;
    display: block;
}

.diag-navy {
    width: 16px;
    background-color: var(--brand-navy);
}

.diag-teal {
    width: 18px;
    background-color: var(--brand-teal);
}

.header-right-action {
    display: flex;
    align-items: center;
}

.btn-callback {
	background-color: var(--brand-teal);
	color: var(--text-white);
	font-family: var(--font-condensed);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: none;
	border-radius: 6px;
	padding: 11px 24px;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(2, 152, 175, 0.3);
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-callback:hover,
.btn-callback:focus-visible {
    background-color: var(--brand-teal-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(2, 152, 175, 0.45);
    outline: none;
}


/* CSERE */

/* 2. FŐ TARTALMI RÉSZ (HERO SECTION & KÁRTYÁK) */
.hero-section {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    background-color: #1c2b36;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 20px 5vw; /* Kompaktabb térköz, hogy minden kényelmesen kiférjen 1 képernyőn */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        95deg,
        rgba(8, 24, 38, 0.72) 0%,
        rgba(8, 24, 38, 0.48) 55%,
        rgba(8, 24, 38, 0.28) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.hero-text-block {
    max-width: 1020px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.1vw, 3.8rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.hero-title .title-white {
    display: block;
    color: var(--text-white);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.hero-title .title-teal {
    display: block;
    color: var(--brand-teal-bright);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
}

.title-underline {
    width: 245px;
    height: 3px;
    background-color: var(--brand-teal);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    margin-bottom: 8px;
}

.title-underline.underline-white {
	background-color: var(--brand-teal);
	margin-top: 12px;
	margin-bottom: 8px;
}

/* 1. JAVÍTÁS: Bevezető szöveg egyedi színnel, bal oldali sáv nélkül, pontosan a sávhoz igazítva */
.hero-lead {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.98rem, 1.25vw, 1.22rem);
    line-height: 1.48;
    color: #e4e9ea; /* Lágy jégfehér alapszín a hófehér címek helyett */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-lead strong {
    font-weight: 700;
    color: #6cebf8; /* Világos akvamarin kiemelés a kulcsszavaknak – kiválóan olvasható */
}

/* Szekció alcímek ("Szolgáltatásaink" és "Téli redőny karbantartás") karakteresebb kiemelése */
.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.02rem, 1.3vw, 1.26rem);
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    margin: 0;
}

.right-grid-header {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

/* 3. KÁRTYÁK SZEKCIÓ */
.services-board {
    display: flex;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    margin-top: 2px;
}

.cards-left-grid {
    flex: 1.15;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cards-vertical-divider {
    width: 3px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.cards-right-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-self: stretch; /* Kitölti a jobb oldali oszlopot, így alulra befér a Partner logó */
    align-content: space-between;
}

/* 2. JAVÍTÁS: Kártyák halványítása + gomb-szerű felugrás eltávolítása */
.service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 14px;
    border-radius: 10px;
    cursor: default; /* Nem mutat kattintható mutatót */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.card-dark {
    background-color: var(--card-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.card-light {
    background-color: var(--card-light-bg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    padding: 10px 14px;
}

/* 3. JAVÍTÁS: Hivatalos beszállítói partner sáv a jobb oldali kártyák alatt */
.partner-badge-row {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 2px;
}

.partner-badge-label {
	font-family: var(--font-condensed);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.03em;
	color: var(--text-white);
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
}

.partner-badge-logo {
	height: 60px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	border: 0px solid rgba(255, 255, 255, 0.6);
	border-radius: 6px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
	display: block;
}

/* CSERE */

.card-icon-box {
	width: 48px;
	height: 48px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.icon-bg-teal {
    background-color: transparent;
}

.icon-bg-navy {
    background-color: transparent;
}

.icon-bg-darkteal {
    background-color: transparent;
}

.card-icon-img {
	width: 48px;
	height: 46px;
	object-fit: contain;
	display: block;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.card-title {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.08rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.card-dark .card-title {
    color: var(--text-white);
}

.card-light .card-title {
    color: var(--text-dark);
}

.card-desc {
    font-family: var(--font-condensed);
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 1.25;
}

.card-dark .card-desc {
    color: var(--text-muted);
}

.card-light .card-desc {
    color: #3b4d54;
}

/* 4. LÁBLÉC (FOOTER) */
.site-footer {
    width: 100%;
    background-color: var(--footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 5vw;
    flex-shrink: 0;
    z-index: 10;
}

.footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ha balra, a kártyák széléhez szeretnéd zárni, írd át: flex-start */
    flex-wrap: wrap;
    gap: 0;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-item:first-child {
    padding-left: 0;
}

.footer-item:last-child {
    border-right: none;
    padding-right: 0;
}

.footer-icon {
    font-size: 1.45rem;
    color: var(--brand-teal-bright);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-condensed);
    line-height: 1.25;
}

.footer-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-white);
}

.footer-link {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brand-teal-bright);
}

.footer-domain {
    font-weight: 700;
    color: var(--text-white);
}

.footer-privacy-link {
    font-size: 0.82rem;
    color: var(--brand-teal-bright);
    text-decoration: none;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.footer-privacy-link:hover {
	color: #ffffff;
	text-decoration: none;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon-link {
    color: var(--text-white);
    font-size: 1.35rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.15s ease;
    display: inline-flex;
}

.social-icon-link:hover {
    color: var(--brand-teal-bright);
    transform: translateY(-2px);
}

/* 5. KOMPAKT ELŐUGRÓ ABLAK (MODAL) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(8, 22, 34, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    width: 100%;
    max-width: 440px;
    background-color: #ffffff;
    color: var(--text-dark);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}

.modal-backdrop.is-open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, #0d4373 100%);
    color: #ffffff;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: #d2e6f0;
    line-height: 1.35;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-close-btn:hover {
    opacity: 1;
}

.modal-form {
    padding: 20px 22px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    margin-bottom: 14px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 5px;
}

.req {
    color: #d93025;
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background-color: #f7fafb;
    border: 1px solid #c5d6de;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(2, 152, 175, 0.18);
    background-color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 72px;
    max-height: 150px;
}

.form-check-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.form-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-teal);
    cursor: pointer;
}

.form-check-label {
    font-size: 0.83rem;
    color: #3b4d54;
    cursor: pointer;
}

.form-check-label a {
    color: var(--brand-teal);
    font-weight: 600;
    text-decoration: underline;
}

.form-status-msg {
    font-size: 0.88rem;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: none;
}

.form-status-msg.status-success {
    display: block;
    background-color: #e6f7ed;
    color: #136534;
    border: 1px solid #a3e2bd;
}

.form-status-msg.status-error {
    display: block;
    background-color: #fce8e6;
    color: #b3261e;
    border: 1px solid #f5c2c0;
}

.modal-footer {
    margin-top: 6px;
}

.btn-submit {
    width: 100%;
    background-color: var(--brand-teal);
    color: #ffffff;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 6px;
    padding: 11px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--brand-teal-hover);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* 6. ADATKEZELÉSI TÁJÉKOZTATÓ OLDAL STÍLUSA */
.legal-page-body {
    background-color: #eef6f8;
    color: var(--text-dark);
}

.legal-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 8px 24px rgba(8, 44, 80, 0.08);
}

.legal-card h1 {
    font-family: var(--font-heading);
    color: var(--brand-navy);
    font-size: 2rem;
    margin-bottom: 12px;
}

.legal-content-editable h2 {
    font-family: var(--font-heading);
    color: var(--brand-navy);
    font-size: 1.25rem;
    margin: 24px 0 10px;
}

.legal-content-editable p,
.legal-content-editable ul {
    margin-bottom: 14px;
    line-height: 1.65;
    color: #2c3e45;
}

.legal-content-editable ul {
    padding-left: 22px;
}

/* 7. RESZPONZÍV TÖRÉSPONTOK (TABLET ÉS MOBIL NÉZETEK) */
@media (max-width: 1180px) {
    .services-board {
        flex-direction: column;
        gap: 22px;
    }

    .cards-vertical-divider {
        width: 100%;
        height: 3px;
    }

    .cards-right-grid {
        align-self: stretch;
    }

    .footer-inner {
        justify-content: flex-start;
        gap: 18px 28px;
    }

	.footer-item {
			border-right: none;
			padding: 0;
	}
}

@media (max-width: 768px) {
    .site-header {
        height: 76px;
    }

    .brand-logo-img {
        height: 54px;
    }

    .header-left-brand {
        padding-right: 32px;
    }

    .header-diagonal-bars {
        right: -20px;
        width: 42px;
    }

    .btn-callback {
        font-size: 13px;
        padding: 9px 16px;
    }

    .hero-section {
        padding: 32px 20px;
    }

    .cards-left-grid,
    .cards-right-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .site-header {
        height: auto;
        padding: 10px 16px;
        background-color: #ffffff;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
        padding-right: 0;
    }

    .header-left-brand {
        width: 100%;
        justify-content: center;
        padding: 0;
    }

    .header-diagonal-bars {
        display: none;
    }

    .header-right-action {
        width: 100%;
    }

    .btn-callback {
        width: 100%;
        text-align: center;
        padding: 11px;
    }

    .hero-section {
        padding: 26px 16px;
    }

    .hero-title {
        font-size: 2.05rem;
    }

    .title-underline {
        width: 160px;
        height: 5px;
    }

    .cards-left-grid,
    .cards-right-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-socials {
        width: 100%;
        justify-content: flex-start;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
	.partner-badge-row {
        align-items: center;
        margin-top: 8px;
    }	
}
