
:root {
    --primary-blue: #0077b6;
    --light-blue: #caf0f8;
    --dark-blue: #03045e;
    --text-color: #333;
    --glass-bg: rgba(202, 240, 248, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: black;
}

/* Alap fókusz állapot az akadálymentesítéshez */
:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
}

/* --- Header Szekció --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px; 
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 5%;
    z-index: 1000;          
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px; 
    font-size: 2.4rem;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(135deg, #56fce9 0%, #025373 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav#nav-bar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav#nav-bar ul li a {
    text-decoration: none;        
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}      

nav#nav-bar ul li:nth-child(1) a { color: #56fce9; }
nav#nav-bar ul li:nth-child(2) a { color: #025373; }
nav#nav-bar ul li:nth-child(3) a { color: #56fce9; }

nav#nav-bar ul li:nth-child(1) a:hover { color: #025373; }
nav#nav-bar ul li:nth-child(2) a:hover { color: #56fce9; }
nav#nav-bar ul li:nth-child(3) a:hover { color: #025373; }

/* --- Hero Szekció --- */
@keyframes fadeInZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.page-wrapper {
    width: 100%;
    padding-top: 90px; 
}

.hero {
    position: relative; 
    height: calc(100vh - 90px); 
    background-color: #000; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-start;
    overflow: hidden;
    z-index: 1;
}

.hero-slide {
    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: 0; 
}

.hero-slide.active { 
    opacity: 1; 
    z-index: 1;
    animation: fadeInZoom 6s ease-out forwards;
}

#slide-face {
    background-size: auto 100% !important; 
    background-position: 100% center !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; 
    text-align: left; 
    width: 100%; 
    padding: 0 10%; 
}

@keyframes textFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.slide-content {
    opacity: 0; 
    transform: translateY(20px);
    animation: textFadeUp 1.8s ease-out 0.8s forwards; 
    will-change: opacity, transform; 
}

.slide-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.slide-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px; 
}

.szinatmenetes-szoveg {
    background: linear-gradient(135deg, #579aab 0%, #fca4a4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.szinatmenetes-szoveg2 {
    background: linear-gradient(135deg, #579aab 0%, #ff787c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* --- CTA Gombok --- */
.cta-btn, .doboz-gomb {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #56fce9 0%, #025373 100%); 
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(47, 145, 122, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cta-btn:hover, .doboz-gomb:hover {
    background: linear-gradient(135deg, #025373 0%, #56fce9 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 145, 122, 0.6);
}

.doboz-gomb::after {
    content: '';
    position: absolute;
    inset: 0;
}

.flex-doboz:hover .doboz-gomb {
    background-color: #0b3761;
    box-shadow: 0 6px 15px rgba(11, 55, 97, 0.4);
}

/* --- Rólunk Szekció --- */
.doboz-rolunk {
    background: white;
    width: 100%;
    padding: 40px 5%; 
    margin: 0 auto;
}

.rolunk-belso {
    display: flex;
    align-items: center; 
    gap: 50px; 
}

.rolunk-szoveg {
    flex: 1; 
}

.rolunk-szoveg h3 {
    color: #579aab;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.rolunk-szoveg h1 {
    color: var(--dark-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.rolunk-szoveg .idezet {
    color: grey;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    border-left: 6px solid #579aab; 
    padding-left: 15px;
}

.rolunk-szoveg .leiras {
    color: #444;
    line-height: 1.7;
    text-align: justify;
}

.rolunk-szoveg .alairas {
    color: #579aab;
    font-style: italic;
    font-size: 1.3rem;
}

.rolunk-profil-doboz {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 4px solid #579aab; 
}

.rolunk-profil-doboz img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

@media (max-width: 900px) {
    .rolunk-belso {
        flex-direction: column;
        text-align: center;
    }
    .rolunk-szoveg .idezet {
        border-left: none;
        padding-left: 0;
    }
} 

/* --- Szolgáltatások Szekció --- */
.flex-tarolo {
    background: linear-gradient(135deg, #365c73 0%, #8ddcf2 100%); 
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 80px 5%; 
}

.flex-doboz {
    background-color: white;
    width: 360px;
    height: 580px; 
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;   
    transition: transform 0.3s ease;
    position: relative;
    padding: 20px; 
    box-sizing: border-box; 
    border-radius: 10px; 
}

.flex-doboz:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); 
}

.kep-doboz {
    background-color: #f8f9fa; 
    border-radius: 5px; 
    height: 300px; 
    overflow: hidden; 
    margin-bottom: auto; 
}

.doboz-kép {
    width: 100%;  
    height: 100%; 
    object-fit: cover;
    display: block;
}

.doboz-cim {
    color: #1693b5;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px 10px 10px 10px;
    pointer-events: none;
}

.doboz-leirás {
    color: #333;
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0 15px 30px 15px; 
    pointer-events: none;
}

/* --- Footer Szekció --- */
.site-footer { 
    background-color: black; 
    padding: 0; 
    color: #ddd; 
    font-size: 0.95rem;
}

.footer-tartalom { 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; 
    max-width: 100%; 
    padding-left: 5%; 
    margin: 0;
}

.footer-oszlop { 
    flex: 1; 
    min-width: 300px; 
}

.kapcsolat-adatok {
    padding: 40px 20px 20px 0; 
}

.kapcsolat-adatok h3 { 
    margin-top: 0; 
    margin-bottom: 20px; 
    color: #579aab; 
    font-size: 1.5rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kapcsolat-adatok p { 
    margin: 10px 0; 
    line-height: 1.6; 
    color: #ccc; 
}

.kapcsolat-adatok a { 
    color: #ccc; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.kapcsolat-adatok a:hover { 
    color: #579aab;  
}

.adatkezelesi-link { 
    display: inline-block; 
    margin-top: 10px; 
    color: #aaa; 
}

/* Gomb stílus reset az impresszumhoz */
.as-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}
.as-link:hover { color: #579aab; }

.footer-kep { 
    display: flex;
    justify-content: flex-end; 
    position: relative; 
    margin: 0; 
}

.footer-kep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%; 
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none; 
    z-index: 2; 
}

.footer-kep img { 
    max-width: 100%;
    height: auto; 
    display: block; 
    opacity: 0.9; 
}

.szerzoi-jog {
    text-align: center; 
    font-size: 0.85rem; 
    color: #666;
    border-top: 1px solid #222; 
    padding: 20px 5%;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-tartalom {
        flex-direction: column;
        text-align: center;
        padding-left: 0; 
    }
    .kapcsolat-adatok {
        padding: 40px 5% 0;
    }
    .footer-kep {
        justify-content: center;
        width: 100%;
    }
    .footer-kep::before {
        width: 100%;
        height: 35%;
        background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    }
}

/* --- Modal (Felugró űrlap) --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto; 
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: modalBeuszas 0.4s ease-out;
}

@keyframes modalBeuszas {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    background: transparent;
    border: none;
}

.close:hover, .close:focus-visible {
    color: var(--primary-blue);
    text-decoration: none;
}

.modal-content h2 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(0, 119, 182, 0.2);
}

.g-recaptcha {
    margin-bottom: 20px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #579aab 0%, #04456b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #467e8c 0%, #03324d 100%);
    box-shadow: 0 5px 15px rgba(4, 69, 107, 0.4);
    transform: translateY(-2px);
}

.impresszum-section {
    margin-bottom: 25px;
    text-align: left;
}

.impresszum-section h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px;
}

.data-list {
    list-style: none; 
    padding: 0;
}

.data-list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap; 
}

.data-list li span {
    font-weight: 600;
    color: var(--dark-blue);
    width: 150px; 
    flex-shrink: 0;
}

#urlap-uzenet {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.siker-uzenet {
    color: #2f917a; 
    padding: 10px;
    background-color: #eafaf1;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.hiba-uzenet {
    color: #d9534f; 
    padding: 10px;
    background-color: #fdf0ef;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

/* Print CSS */
@media print {
    header, .hero, .doboz-gomb, .modal, .site-footer {
        display: none !important;
    }
    body {
        background-color: white !important;
        color: black !important;
    }
    .flex-tarolo, .doboz-rolunk {
        background: none !important;
        page-break-inside: avoid;
    }
    .flex-doboz {
        border: 1px solid #ccc;
        box-shadow: none !important;
    }
}