/* ===================== style.css ===================== */
/* Alap stílusok */
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; background: #0d0d0d; color: #eee; }
header { background: rgba(0,0,0,0.9); position: fixed; top: 0; width: 100%; height: 70px; z-index: 100; }
header .header-container { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 100%; position: relative; }
header h2 { margin: 0; z-index: 5; }
header .logo { width: 100px; height: 100px; border-radius: 20%; object-fit: cover; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -30%); z-index: 10; }
header nav { display: flex; gap: 15px; position: relative; z-index: 5; }
header nav a { color: #ccc; text-decoration: none; position: relative; transition: 0.3s; }
header nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: #f39c12; transition: 0.3s; }
header nav a:hover { color: #fff; }
header nav a:hover::after { width: 100%; }
/* Hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 15; }
.hamburger div { width: 25px; height: 3px; background: #ccc; transition: 0.3s; }
/* Hero */
.hero { margin-top: 70px; height: 42vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('kezdo.jpg') center/cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.hero h1 { font-size: 48px; margin-bottom: 10px; }
.hero p { font-size: 20px; color: #ccc; }
/* Container */
.container { max-width: 1100px; margin: auto; padding: 60px 20px; transition: opacity 0.3s; }
.container.fade { opacity: 0; }
.section-title { font-size: 28px; margin-bottom: 20px; border-left: 4px solid #f39c12; padding-left: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: #1a1a1a; padding: 25px; border-radius: 12px; transition: 0.3s; }
.card:hover { transform: translateY(-5px); background: #222; }
footer { background: #000; text-align: center; padding: 30px; color: #777; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-top: 30px; }
.gallery img { width: 100%; border-radius: 10px; cursor: pointer; transition: transform 0.3s; }
.gallery img:hover { transform: scale(1.05); }
#lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); display: none; justify-content: center; align-items: center; z-index: 2000; }
#lightbox img { max-width: 90%; max-height: 90%; border-radius: 10px; }
#lightbox:target { display: flex; }
/* Mobil optimalizálás */
@media (max-width: 768px) {
  header .header-container { flex-direction: row; justify-content: space-between; padding: 10px 20px; }
  header nav { flex-direction: column; gap: 10px; display: none; background: #111; position: absolute; top: 70px; right: 20px; padding: 10px; border-radius: 8px; }
  header nav.active { display: flex; }
  .hamburger { display: flex; justify-self: end; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .grid, .gallery { grid-template-columns: 1fr; }
  .container { padding: 40px 15px; }
}