/* Alapvető stílusok és betűtípus */
:root {
    --color-bg: #eef3f8;
    --color-surface: #ffffff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-primary: #0a4d68;
    --color-accent: #4a90e2;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.10);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fejléc */
header {
    background: rgba(255,255,255,0.95);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: saturate(180%) blur(8px);
    transition: padding 0.25s ease, box-shadow 0.25s ease;
}

header.is-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

header .container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

nav a {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap;
}

nav a:hover {
    color: var(--color-primary);
    background-color: rgba(10, 77, 104, 0.08);
    border-color: rgba(10, 77, 104, 0.2);
    box-shadow: 0 2px 8px rgba(10, 77, 104, 0.08);
}

.phone-number {
    color: #fff;
    background: var(--color-primary);
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.phone-number:hover {
    background: var(--color-primary-600, #0b5977);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 77, 104, 0.2);
}

/* Fő szekció (Hero) */
#hero {
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45));
    z-index: -1;
}

/* Hero háttér rétegek az áttűnő diavetítéshez */
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	z-index: -2;
}

.hero-bg.is-visible {
	opacity: 1;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background: var(--color-accent);
    color: white;
    padding: 15px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s, transform 0.1s ease-in-out;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    background: #3a7bd5;
}

.cta-button:active {
    transform: translateY(1px);
}

/* Szolgáltatások és Rólunk szekciók */
section {
    padding: 60px 0;
    text-align: center;
}

/* Finom szekciótagolás és kiemelés */
section:nth-of-type(even) {
    background: rgba(255,255,255,0.6);
}

h3 {
    position: relative;
}

h3::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: 12px auto 0;
    border-radius: 999px;
}

h3 {
    font-size: 2.5rem;
    color: #0a4d68;
    margin-bottom: 40px;
}

.service-list {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.service-item {
    background: var(--color-surface);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Kis ikon a cím előtt */
.service-item h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.service-item h4 i {
    font-size: 1.1em;
    color: #000;
}

/* Kapcsolat szekció */
.contact-info {
    font-size: 1.2rem;
    margin-top: 20px;
}

.contact-info a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
}

/* Lábléc */
footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Kiemelt félkövér szöveg finom háttérrel */
.bold {
    font-weight: 700;
    background: #fff3cd;
    padding: 0 4px;
    border-radius: 4px;
}

/* Reszponzív design */
@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    
    header.is-scrolled {
        padding: 0.25rem 0;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    nav {
        display: none;
    }

    .logo {
        font-size: 1.1rem;
        line-height: 1.1;
    }

    .phone-number {
        margin: 0;
        padding: 6px 10px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
}

/* ... (az összes korábbi CSS kód) ... */

/* Animációk */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animation] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Animált elemek láthatóvá tétele */
[data-animation].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Külön animáció a csúszó elemeknek */
[data-animation="slide-up"] {
    transform: translateY(50px);
}

[data-animation="slide-up"].visible {
    transform: translateY(0);
}

/* Fókusz gyűrű a billentyűzet használathoz */
:where(a, button, .cta-button, .phone-number):focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
    border-radius: 8px;
}

/* Reduced motion támogatás */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}