/* Alapbeállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
}

/* Állami támogatás sáv */
.top-bar {
    height: 60px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}

/* Header (Sticky & Glassmorphism) */
.glass-header {
    position: sticky; /* Ez biztosítja, hogy felgördüljön, majd a tetején maradjon */
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255, 0.4); /* rgba(230, 255, 235, 0.6); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-black { color: #000000; }
.brand-green { color: #2c8285; } 

/* Navigáció */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav > ul > li > a:hover {
    color: #2c8285;
}

/* Mega Menü */
.has-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px; 
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 15px; /* Távolság a menüponttól */
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-title {
    color: #808080; /* Szürke szín */
    font-size: 1.2rem;
    font-weight: bold;
}

.mega-divider {
    border: none;
    height: 1px;
    background-color: #eee;
    margin-top: 40px; /* Kb. 1cm elválasztó távolság */
    margin-bottom: 20px;
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 350px; /* 3 oszlop (2 szöveg, 1 kép) */
    gap: 30px;
}

/* Almenü kártyák */
.menu-card {
    display: block;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.menu-card:hover {
    background-color: rgba(44, 130, 133, 0.2); /* Header háttérszíne hover-re */  
}

.menu-card-title {
    color: #000;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.menu-card-desc {
    color: #808080;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Kép az almenüben */
.image-column {
    display: flex;
    align-items: stretch;
}

.mega-image {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Hero Szekció */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Keyframes a kép zoomhoz */
@keyframes fadeInZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.slide.active .slide-bg {
    animation: fadeInZoom 6s ease-out forwards; /* 6 mp alatt áll be az 1-es scale */
}

/* Szöveg és gomb animációja (1.5 mp késleltetés) */
.slide-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    transition-delay: 1.5s; /* Itt van a kért 1.5 másodperces késleltetés! */
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h1 {
    color: #fff;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.slide-content h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.btn-glass {
    display: inline-block;
    padding: 15px 40px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    background:rgba(44, 130, 133, 0.4); /* rgba(230, 255, 235, 0.8);*/
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: #2c8285;
    color: #fff;
}