:root {
    --primary: #00d4ff;
    --primary-dark: #00a2ff;
    --secondary: #0052cc;
    --accent: #00ffff;
    --text: #0a192f;
    --text-muted: #2d3748;
    --bg-light: #e1f5fe;
    --bg-content: #f0faff;
    --white: #ffffff;
    --border: #b3e5ff;
    --shadow: 0 4px 20px rgba(0, 162, 255, 0.2);
    --shadow-hover: 0 10px 30px rgba(0, 162, 255, 0.35);
    --gradient: linear-gradient(135deg, #0052cc 0%, #00d4ff 100%);
    --gradient-hover: linear-gradient(135deg, #0044aa 0%, #00a2ff 100%);
}

/* Alapvető reset és tipográfia */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-content);
}

/* Linkek és címsorok */
a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; margin-top: 20px; color: var(--secondary); }
h2 { font-size: 2.2rem; margin-top: 30px; margin-bottom: 25px; }
h3 { font-size: 1.6rem; color: var(--secondary);}
p { margin-bottom: 15px; font-size: 1.1rem; color: var(--text-muted); }
img { max-width: 100%; height: auto; border-radius: 12px; display: block; }

/* Közös tartály (Container) */
.header-container,
.site-main,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* ======= TISZTA FEJLÉC ÉS MENÜ ======= */
.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 65px;
    width: auto;
    min-width: 200px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

/* Főmenü */
.main-nav {
    display: block;
}

.menu {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.menu > li {
    position: relative;
}

.menu a {
    color: var(--text);
    font-weight: 500;
    padding: 10px 18px;
    display: inline-block;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.menu a:hover {
    background-color: var(--bg-light);
    color: var(--secondary);
    transform: translateY(-1px);
}

/* Legördülő menü (Asztali) */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 12px 0;
    list-style: none;
    z-index: 1000;
    border: 1px solid var(--border);
    overflow: hidden;
}

.has-dropdown:hover .dropdown {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 12px 25px;
    display: block;
    border-radius: 0;
    text-transform: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--secondary);
    transform: translateX(5px);
}

/* HAMBURGER MENÜ (Pure CSS) */
.menu-toggle-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle-label span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ======= FŐOLDALI ÉS ALOLDALI SZEKCIÓK ======= */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    background: var(--bg-light);
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(0, 82, 204, 0.05) 0%, transparent 40%);
    border-radius: 30px;
    margin-bottom: 70px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.hero-section h1 { 
    color: var(--secondary); 
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    line-height: 1.1;
}
.hero-section p { max-width: 800px; margin: 20px auto 40px auto; font-size: 1.25rem; }

.services-section, .steps-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 70px;
}

.service-card, .step-card {
    flex: 1 1 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card { text-align: center; }

.step-card h3 { display: flex; align-items: center; gap: 15px; }
.step-number {
    background: var(--gradient);
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.3);
}

.service-card:hover, .step-card:hover { 
    transform: translateY(-12px); 
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.features-section, .guarantee-section {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 40px;
    border-radius: 30px;
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.features-section h2, .guarantee-section h2 { color: var(--white); text-align: center; font-size: 2.5rem; }
.features-list { list-style: none; max-width: 700px; margin: 30px auto 0 auto; font-size: 1.2rem; }
.features-list li { 
    margin-bottom: 20px; 
    padding-left: 35px; 
    position: relative;
}
.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.4rem;
}
.guarantee-section p { text-align: center; max-width: 800px; margin: 20px auto 0 auto; font-size: 1.3rem; }

.cta-section { 
    text-align: center; 
    padding: 60px 20px; 
    background: var(--bg-light);
    border-radius: 24px;
    margin-bottom: 50px;
}

/* GOMBOK */
.elementor-button, button, input[type="submit"] {
    display: inline-block; 
    padding: 16px 35px; 
    background: var(--gradient);
    color: var(--white);
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    font-weight: 700; 
    text-align: center; 
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.elementor-button:hover, button:hover, input[type="submit"]:hover { 
    background: var(--gradient-hover);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 82, 204, 0.4);
}

/* GYIK HARMONIKA */
.faq-section { max-width: 900px; margin: 0 auto 70px auto; }
details.faq-item { background: var(--white); border-radius: 16px; margin-bottom: 20px; border: 1px solid var(--border); overflow: hidden; transition: all 0.3s ease; }
details.faq-item:hover { border-color: var(--primary); }

details.faq-item summary {
    font-weight: 700; font-size: 1.25rem; padding: 25px; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; background: var(--white); color: var(--secondary);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { 
    content: '+'; 
    font-size: 1.8rem; 
    font-weight: 300; 
    color: var(--primary);
    transition: transform 0.3s ease;
}
details.faq-item[open] summary::after { transform: rotate(45deg); color: var(--secondary); }
details.faq-item p { padding: 0 25px 25px 25px; margin: 0; background: var(--white); color: var(--text-muted); font-size: 1.1rem; }

/* ======= TISZTA LÁBLÉC ======= */
.site-footer {
    background: var(--text);
    color: var(--white);
    padding: 80px 20px 40px 20px;
    margin-top: 80px;
}

.site-footer p {
    color: var(--white);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    max-width: 280px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer-credits {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    color: var(--white);
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-credits a {
    font-weight: 600;
    color: var(--primary);
}

.footer-credits a:hover {
    color: var(--accent);
}

/* ======= MOBIL NÉZET ÉS HAMBURGER MENÜ ======= */
@media screen and (max-width: 768px) {
    .menu-toggle-label { display: flex; }

    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 25px 50px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .menu a { padding: 15px 25px; border-bottom: 1px solid var(--bg-light); border-radius: 0; }

    .dropdown {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        background: var(--bg-light);
    }

    .dropdown a { padding-left: 45px; font-size: 0.95rem; }

    .menu-toggle-checkbox:checked ~ .main-nav { display: block; }
    .menu-toggle-checkbox:checked + .menu-toggle-label span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle-checkbox:checked + .menu-toggle-label span:nth-child(2) { opacity: 0; }
    .menu-toggle-checkbox:checked + .menu-toggle-label span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero-section { padding: 60px 20px; border-radius: 20px; }
    .hero-section h1 { font-size: 2.5rem; }
}

/* Extra Info Section */
.extra-info-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.extra-info-section .info-content { flex: 1 1 400px; }
.extra-info-section .info-content h2 { 
    color: var(--secondary); 
    font-size: 2.5rem; 
    margin-bottom: 25px;
    line-height: 1.2;
}

.extra-info-section .info-image { flex: 1 1 400px; }
.extra-info-section .info-image img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    transition: transform 0.3s ease;
}
.extra-info-section:hover .info-image img { transform: scale(1.02); }

/* Lábléc partner link formázás */
.footer-partner-link {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 25px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.footer-partner-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
    .extra-info-section { padding: 30px 20px; flex-direction: column-reverse; gap: 30px; }
    .extra-info-section .info-content h2 { font-size: 2rem; }
}

/* ======= KAPCSOLATI ÚRLAP ======= */
.contact-container {
    max-width: 800px;
    margin: 40px auto;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

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

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

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fdfdff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

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

.success-message {
    text-align: center;
    padding: 60px;
}

.success-message h2 {
    color: #28a745;
    margin-bottom: 20px;
}
