/* ==========================================================================
   WEBKOLL – CLEAN, DYNAMIC & INTERACTIVE DESIGN SYSTEM (LIGHT / DARK MODE)
   ========================================================================== */

:root {
    --primary-green: #5e942e;
    --primary-green-bright: #76b83b;
    --light-green: #A5C943;
    --neon-green: #b5e604;
    --accent-orange: #FF6224;

    --bg-primary: #ffffff;
    --bg-secondary: #f4f7f1;
    --bg-elevated: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.84);
    --bg-card: #ffffff;

    --text-main: #182218;
    --text-muted: #526052;

    --border-color: rgba(106, 159, 57, 0.16);
    --border-strong: rgba(106, 159, 57, 0.34);

    --shadow-sm: 0 4px 18px rgba(18, 30, 18, 0.05);
    --shadow-md: 0 14px 36px rgba(18, 30, 18, 0.09);
    --shadow-lg: 0 22px 52px rgba(18, 30, 18, 0.14);
    --shadow-glow: 0 10px 28px rgba(165, 201, 67, 0.32);

    --section-padding: 5.75rem 0;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition-smooth: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
    --primary-green: #8ad147;
    --primary-green-bright: #a5e65a;
    --light-green: #A5C943;
    --neon-green: #b8f500;

    --bg-primary: #0b100c;
    --bg-secondary: #101812;
    --bg-elevated: #152018;
    --bg-glass: rgba(16, 24, 18, 0.86);
    --bg-card: #141e16;

    --text-main: #eef5ee;
    --text-muted: #9cb09e;

    --border-color: rgba(165, 201, 67, 0.16);
    --border-strong: rgba(165, 201, 67, 0.38);

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 10px 32px rgba(165, 201, 67, 0.24);
}

/* === ALAP BEÁLLÍTÁSOK === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

h2 {
    text-align: center;
    font-size: clamp(1.9rem, 3.2vw, 2.55rem);
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
}

.content-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.content-section.alt-bg {
    background-color: var(--bg-secondary);
}

/* === GÖRGETÉS JELZŐ ÉS KURZOR FÉNYUDVAR === */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-green), var(--neon-green), var(--accent-orange));
    z-index: 9999;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px var(--light-green);
}

#cursor-glow {
    position: fixed;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(165, 201, 67, 0.13) 0%, rgba(165, 201, 67, 0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] #cursor-glow {
    background: radial-gradient(circle, rgba(165, 201, 67, 0.19) 0%, rgba(165, 201, 67, 0) 70%);
}

/* === SZEKCIÓ FEJLÉCEK (IKONOK HELYETT FINOM FÉNYCSÍK) === */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.25rem auto;
}

.section-divider {
    width: 64px;
    height: 4px;
    margin: 0.75rem auto 1.25rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--primary-green), var(--neon-green));
    box-shadow: 0 2px 12px rgba(165, 201, 67, 0.45);
}

.section-lead {
    font-size: 1.05rem;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.7;
}

.inline-highlight-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* === HEADER ÉS NAVIGÁCIÓ === */
header {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    gap: 10px;
}

.logo img {
    height: 38px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover img {
    transform: rotate(-8deg) scale(1.08);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-menu a.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-menu a.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    border-radius: 2px;
    background: var(--light-green);
    transition: width 0.25s ease;
}

.nav-menu a.nav-link:hover {
    color: var(--primary-green);
}

.nav-menu a.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.98rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.icon-btn:hover {
    border-color: var(--light-green);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: inline-block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: inline-block; color: #ffd43b; }

/* === GOMBOK === */
.btn-custom {
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--light-green) 0%, #8dbb2b 100%);
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: var(--shadow-glow);
    color: #131c13 !important;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-primary);
    font-size: 0.94rem;
    font-weight: 600;
    height: 44px;
    justify-content: center;
    padding: 0 24px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(165, 201, 67, 0.45);
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--light-green) 100%);
}

.btn-custom.btn-large,
.btn-outline.btn-large {
    padding: 0 32px;
    height: 52px;
    font-size: 1rem;
}

.btn-outline {
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-pill);
    color: var(--text-main) !important;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-primary);
    font-size: 0.94rem;
    font-weight: 600;
    height: 44px;
    justify-content: center;
    padding: 0 24px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--light-green);
    background: rgba(165, 201, 67, 0.12);
    transform: translateY(-3px);
}

/* === HERO SZEKCIÓ (STABIL, UGRÁLÁSMENTES CÍMSORRAL & FÉNYGÖMBÖKKEL) === */
#hero {
    min-height: 90vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.45;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 360px;
    height: 360px;
    background: rgba(165, 201, 67, 0.35);
    top: 8%;
    left: -70px;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(94, 148, 46, 0.28);
    bottom: 8%;
    right: -50px;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(25px, -25px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(1.85rem, 4.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.hero-title-top {
    display: block;
}

/* Fix magasságú egysoros konténer, hogy SOHA ne ugorjon a tartalom gépelés közben */
.typewriter-line {
    display: block;
    height: 1.3em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 55%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter-cursor {
    color: var(--light-green);
    font-weight: 400;
    display: inline-block;
    margin-left: 2px;
    animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    max-width: 620px;
    margin: 0 auto 2.35rem;
    text-align: center;
    color: var(--text-muted);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* === DINAMIKUS SPOTLIGHT KÁRTYA EFFEKT === */
.interactive-card,
.portfolio-item,
.blog-post {
    position: relative;
    overflow: hidden;
}

.interactive-card::before,
.portfolio-item::before,
.blog-post::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        420px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
        rgba(165, 201, 67, 0.13),
        transparent 45%
    );
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.interactive-card > *,
.portfolio-item > *,
.blog-post > * {
    position: relative;
    z-index: 1;
}

/* === MIÉRT PONT A WEBKOLL? / RÓLAM SZEKCIÓ === */
.about-me-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
    align-items: center;
}

.feature-bento-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-bento-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.45rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.feature-bento-card:hover {
    transform: translateX(8px);
    border-color: var(--light-green);
    box-shadow: var(--shadow-md);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 13px;
    background: rgba(165, 201, 67, 0.16);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-bento-card:hover .feature-icon-box {
    transform: scale(1.08) rotate(-4deg);
    background: var(--light-green);
    color: #121814;
}

.feature-bento-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.feature-bento-card p {
    font-size: 0.93rem;
    text-align: left;
}

.about-me-animation-window {
    position: relative;
    height: 420px;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.about-me-animation-window:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#about-me-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.programmer-illustration-wrapper {
    position: relative;
    z-index: 2;
    width: 78%;
    max-width: 305px;
    pointer-events: none;
}

.floating-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.18));
    animation: floatSlow 5s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* === VALÓDI PARALLAX VIDEÓ SÁV (MAGASABB, ÜVEGABLAKKAL) === */
.parallax-video-wrapper {
    position: relative;
    height: 68vh;
    min-height: 460px;
    width: 100%;
    z-index: 2;
    overflow: hidden;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
}

.parallax-video-wrapper video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

.parallax-video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 11, 0.5) 0%, rgba(10, 15, 11, 0.68) 100%);
    z-index: 1;
}

.video-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 2;
}

.video-glass-card {
    background: rgba(16, 22, 18, 0.64);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(165, 201, 67, 0.38);
    border-radius: var(--radius-lg);
    padding: 2.75rem 3.5rem;
    text-align: center;
    max-width: 740px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.video-glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--light-green);
}

.video-glass-card h2 {
    color: #ffffff;
    font-size: clamp(1.75rem, 3.3vw, 2.65rem);
    margin-bottom: 0.75rem;
}

.video-glass-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
}

/* === PORTFÓLIÓ (MUNKÁIM) SZEKCIÓ === */
.portfolio-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-7px);
    border-color: var(--light-green);
    box-shadow: var(--shadow-lg);
}

.portfolio-image-container {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #0d130e;
}

.portfolio-item img.portfolio-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, opacity 0.35s ease;
}

.portfolio-item video.portfolio-hover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.portfolio-item.is-playing-video video.portfolio-hover-video {
    opacity: 1;
}

.portfolio-item.is-playing-video img.portfolio-cover {
    opacity: 0.15;
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.45rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
    flex-grow: 1;
    text-align: left;
}

.portfolio-buttons {
    display: flex;
    gap: 0.7rem;
    margin-top: auto;
}

.portfolio-buttons .btn-custom,
.portfolio-buttons .btn-outline {
    flex: 1;
    height: 40px;
    font-size: 0.86rem;
    padding: 0 14px;
}

/* === HONLAP WEBSHOP SZEKCIÓ ÉS KOSÁR STÍLUSOK === */
.cart-nav-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.webshop-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.25rem;
    padding: 0.85rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.webshop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shop-filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.shop-filter-btn:hover {
    color: var(--text-main);
    background: rgba(165, 201, 67, 0.1);
}

.shop-filter-btn.active {
    background: var(--light-green);
    color: #121814;
}

.shop-cat-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(15, 22, 16, 0.82);
    backdrop-filter: blur(8px);
    color: var(--light-green);
    border: 1px solid rgba(165, 201, 67, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.shop-features-list {
    list-style: none;
    margin: 0 0 1.25rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    text-align: left;
}

.shop-features-list li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: 700;
    margin-right: 8px;
}

.shop-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.shop-price-current {
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-green);
}

.shop-price-old {
    font-size: 0.92rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.cart-items-container {
    margin-bottom: 1.5rem;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.65rem;
}

.cart-item-info strong {
    display: block;
    font-size: 1rem;
}

.cart-item-info small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-remove-btn {
    background: rgba(217, 56, 58, 0.12);
    color: #d9383a;
    border: 1px solid rgba(217, 56, 58, 0.3);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.cart-remove-btn:hover {
    background: #d9383a;
    color: #fff;
}

.webshop-checkout-form {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.webshop-checkout-form h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.cart-summary-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 1.15rem 1.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}

.cart-summary-bar strong {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-green);
}

/* === BLOG SZEKCIÓ === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.85rem;
}

.blog-post {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--light-green);
    border-radius: var(--radius-md);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.blog-post:hover {
    transform: translateY(-6px);
    border-color: var(--light-green);
    box-shadow: var(--shadow-md);
}

.blog-post h3 {
    font-size: 1.18rem;
    margin-bottom: 0.65rem;
}

.blog-post p {
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
    flex-grow: 1;
    text-align: left;
}

.read-more {
    align-self: flex-start;
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.read-more:hover {
    gap: 10px;
}

/* === ÁRAJÁNLATKÉRŐ ŰRLAP (LETISZTULT, KÖZÉPRE IGAZÍTOTT) === */
.quote-simple-container {
    max-width: 680px;
    margin: 0 auto;
}

.modern-quote-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
    color: var(--text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 0.94rem;
    transition: var(--transition-smooth);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--light-green);
    box-shadow: 0 0 0 3px rgba(165, 201, 67, 0.2);
    outline: none;
}

.quote-submit-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.quote-feedback {
    margin-top: 1.15rem;
    padding: 0.9rem 1.15rem;
    border-radius: var(--radius-sm);
    background: rgba(46, 204, 113, 0.14);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: var(--text-main);
    font-size: 0.92rem;
}

/* === KAPCSOLAT KÁRTYA === */
.contact-card-clean {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    max-width: 780px;
    margin: 0 auto;
    align-items: center;
}

.contact-profile-col {
    text-align: center;
    padding-right: 1.75rem;
    border-right: 1px solid var(--border-color);
}

.contact-avatar-ring {
    width: 135px;
    height: 135px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    box-shadow: var(--shadow-glow);
}

.contact-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-elevated);
}

.contact-profile-col h3 {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
}

.contact-role {
    font-size: 0.88rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}

.contact-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-socials a:hover {
    background: var(--light-green);
    color: #111;
    transform: translateY(-2px);
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.25s ease;
}

.contact-info-item:hover {
    border-color: var(--light-green);
}

.c-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(165, 201, 67, 0.15);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.c-text {
    flex-grow: 1;
    text-align: left;
}

.c-text small {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.c-text a,
.c-text span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    text-decoration: none;
}

.c-text a:hover {
    color: var(--primary-green);
}

/* === LÁBLÉC === */
footer {
    background: #0e1410;
    color: #d6e2d6;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(165, 201, 67, 0.15);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #8fa391;
    font-size: 0.88rem;
    text-align: center;
}

.footer-admin-link {
    color: #a5c943;
    text-decoration: none;
    font-weight: 500;
}

.footer-admin-link:hover {
    text-decoration: underline;
}

/* === MODAL ABLAK === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(8, 12, 9, 0.78);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-elevated);
    color: var(--text-main);
    border: 1px solid var(--border-strong);
    padding: 1.75rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(10px);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

#modal-title {
    margin: 0;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    text-align: left;
}

.modal-close {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.modal-close:hover {
    background: var(--light-green);
    color: #121814;
    border-color: var(--light-green);
}

#modal-body video,
#modal-body img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

#modal-body h4 {
    margin: 1.25rem 0 0.6rem;
    color: var(--primary-green);
}

#modal-body p {
    text-align: left;
    margin-bottom: 0.75rem;
}

.modal-footer-actions {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* === TOAST ÉRTESÍTÉS === */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--bg-elevated);
    color: var(--text-main);
    border: 1px solid var(--light-green);
    border-left: 4px solid var(--light-green);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-weight: 500;
    font-size: 0.9rem;
    transform: translateY(120%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* === SCROLL REVEAL === */
.reveal-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === RÉSZLETES KÉRDŐÍV (ARAJANLAT.HTML) STÍLUSOK === */
.questionnaire-progress-box {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 82px;
    z-index: 90;
}

.qp-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.meter-bar-bg {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.meter-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    border-radius: var(--radius-pill);
    transition: width 0.35s ease;
}

.webkoll-form-wrapper {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-section-block {
    background: var(--bg-card);
    padding: 22px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-green);
}

.form-section-block h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-group .hint {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.94rem;
    background: var(--bg-primary);
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-main);
}

.radio-option input,
.checkbox-option input {
    margin-top: 5px;
    accent-color: var(--primary-green);
    width: 18px !important;
    height: 18px !important;
}

.interactive-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip-checkbox {
    cursor: pointer;
    user-select: none;
}

.chip-checkbox input {
    display: none;
}

.chip-checkbox span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--bg-primary);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.chip-checkbox input:checked + span {
    background: var(--light-green);
    color: #121814;
    border-color: var(--light-green);
    font-weight: 600;
}

/* === MOBILNAVIGÁCIÓ ÉS HAMBURGER IKON === */
.hamburger-trigger {
    display: none;
    z-index: 1001;
}

.hamburger-bars {
    width: 42px;
    cursor: pointer;
}

.hamburger-bars .line {
    fill: none;
    stroke: var(--text-main);
    stroke-width: 5.5;
    stroke-linecap: round;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
}

.hamburger-bars .line.top { stroke-dasharray: 40 172; }
.hamburger-bars .line.middle { stroke-dasharray: 40 111; }
.hamburger-bars .line.bottom { stroke-dasharray: 40 172; }
.hamburger-bars.active .top { stroke-dashoffset: -132px; }
.hamburger-bars.active .middle { stroke-dashoffset: -71px; }
.hamburger-bars.active .bottom { stroke-dashoffset: -132px; }

/* === RESZPONZÍV TÖRÉSPONTOK === */
@media (max-width: 992px) {
    .hamburger-trigger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        height: calc(100vh - 74px);
        background-color: var(--bg-elevated);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.75rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a.nav-link {
        font-size: 1.25rem;
    }

    .about-me-wrapper,
    .contact-card-clean {
        grid-template-columns: 1fr;
    }

    .contact-profile-col {
        padding-right: 0;
        padding-bottom: 1.5rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .video-glass-card {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .form-row-2col,
    .portfolio-bento-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.25rem;
    }

    .webkoll-form-wrapper,
    .modern-quote-form {
        padding: 1.35rem;
    }

    .video-glass-card {
        padding: 1.5rem;
    }
}
