/* Globális beállítások - Világos téma */
:root {
    --bg-color: #f8fafc;
    --box-bg: #ffffff;
    --primary-color: #d97706; /* Munkagép sárga/narancs */
    --primary-hover: #b45309;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: calc(25vw + 4px); /* Javítva: tartalom a fejléc alatt */
}

/* 4:1 méretarányú fix fejléc modern SVG háttérrel */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 4 / 1;
    background-color: #ffffff;
    
    /* Vektoros, világos munkagépes/geometriai háttér, a jobb oldalon teljesen kitisztítva */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='xMinYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23fff8f0' stop-opacity='1' /%3E%3Cstop offset='45%25' stop-color='%23fef3c7' stop-opacity='0.6' /%3E%3Cstop offset='70%25' stop-color='%23ffffff' stop-opacity='0' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='300' fill='url(%23grad)' /%3E%3C!-- Bal és középső oldali topográfiai / földmunka vonalak --%3E%3Cpath d='M-50,300 L200,180 L450,260 L700,120 L850,300 Z' fill='%23d97706' opacity='0.08' /%3E%3Cpath d='M-50,300 L150,220 L350,280 L600,180 L800,300 Z' fill='%23b45309' opacity='0.06' /%3E%3C!-- Munkagép markoló kanál sziluett a bal oldalon --%3E%3Cpath d='M 0,220 L 80,220 L 120,170 L 180,170 L 220,120 L 250,150 L 210,200 L 140,200 L 100,250 L 0,250 Z' fill='%23d97706' opacity='0.12' /%3E%3C!-- Döntött sárga dizájn sávok --%3E%3Cpolygon points='0,0 280,0 180,300 0,300' fill='%23d97706' opacity='0.05' /%3E%3Cpolygon points='290,0 320,0 220,300 190,300' fill='%23d97706' opacity='0.1' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 4px solid var(--primary-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--text-color);
}

.logo-icon {
    color: var(--primary-color);
}

/* Menü gomb (Szöveges + csíkos) */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-color);
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: #edf2f7;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
}

/* Navigációs menü */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-color);
}

.main-nav.open {
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Hero Section */
.hero-container {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b7?auto=format&fit=crop&w=1200&q=80') center/cover;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: #0f172a;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cta-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: var(--primary-hover);
}

/* Szövegdobozos elrendezés */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.content-box {
    display: none; /* Alapértelmezetten rejtve */
    background: var(--box-bg);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.content-box.active-box {
    display: block; /* Mindig csak az aktuális látható */
}

.content-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Tevékenységek stílus */
.section-intro {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-details h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.highlight-service {
    background: #fef3c7;
    border-left-color: #b45309;
}

/* Kapcsolat stílus */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.phone-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

/* Flash (Villanás) Hatások */
.flash-effect {
    animation: flashAnimation 0.8s ease-out;
}

@keyframes flashAnimation {
    0% { opacity: 0.2; transform: translateY(10px); }
    50% { opacity: 0.8; }
    100% { opacity: 1; transform: translateY(0); }
}

/* Lebegő hívás gomb villogó effekttel */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 999;
}

.flash-effect-pulse {
    animation: pulseFlash 2s infinite;
}

@keyframes pulseFlash {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Nem fix Lábléc */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.share-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.share-btn:hover {
    background: #1d4ed8;
}

.footer-message {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.dev-btn {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.dev-btn:hover {
    background: var(--text-color);
    color: white;
}

/* Reszponzív asztali nézet */
@media (min-width: 768px) {
    body {
        padding-top: calc(25vw + 4px); /* Javítva: korábbi 12vw helyett */
    }

    .main-nav {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        width: auto;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 10px;
    }

    .main-nav a {
        border: none;
        border-radius: 6px;
        padding: 8px 16px;
    }

    .menu-toggle {
        display: none; /* Asztali nézetben nincs szükség a hamburger gombra */
    }

    .feature-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .feature-card {
        background: var(--bg-color);
        padding: 20px;
        border-radius: 8px;
    }
}