/* ---- Alap stílus & Háttér ---- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    min-height: 100vh;
    /* Kék helyett: Mélyfekete és sötét antracit átmenet */
    background: linear-gradient(135deg, #1a1a1a 0%, #080808 100%);
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* ---- Fejléc & Navigáció ---- */
header {
    background: rgba(0, 0, 0, .7);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 { font-size: 1.6rem; letter-spacing: 1px; color: #f0a500; }

nav ul { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; }

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

nav a:hover { background: #f0a500; color: #000; font-weight: bold; }

/* ---- Fő tartalom & Szekciók ---- */
main { flex: 1; padding: 2rem; max-width: 1200px; margin: 0 auto; width: 100%; }

section { animation: fade 0.6s ease-in-out; margin-bottom: 3rem; }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Hero egység */
.hero-box {
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.hero-box h1 { font-size: 2.5rem; color: #f0a500; margin-bottom: 1rem; }

.cta-button {
    display: inline-block;
    background: #f0a500;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.4);
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover { background: #fff; transform: scale(1.05); }

/* Kártyák (Veszély/Garancia) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.danger-card { background: rgba(255,0,0,0.1); padding: 1.5rem; border-left: 5px solid #ff4444; border-radius: 8px; }
.safe-card { background: rgba(0,255,0,0.05); padding: 1.5rem; border-left: 5px solid #f0a500; border-radius: 8px; }

/* Ikonos szekció */
.icon-box-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; text-align: center; }
.icon-card { width: 220px; }
.icon-card span { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ---- PROFI GALÉRIA RENDSZER ---- */
#galleryGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#galleryGrid img {
    width: 100%; height: 280px; object-fit: cover; border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4); cursor: pointer; transition: 0.3s;
    -webkit-user-drag: none; user-select: none; border: 2px solid rgba(255,255,255,0.1);
}
#galleryGrid img:hover { transform: translateY(-5px); border-color: #f0a500; }

/* ---- MOBIL KOMPATIBILITÁS ---- */
@media (max-width: 992px) {
    #galleryGrid { grid-template-columns: repeat(2, 1fr); }
    .hero-box h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
    header { flex-direction: column; gap: 1rem; }
    #galleryGrid { grid-template-columns: 1fr; }
    main { padding: 1rem; }
}

/* ---- LÁBLÉC ---- */
footer { background: rgba(0, 0, 0, .8); text-align: center; padding: 1.5rem; margin-top: auto; }
