/* --- Dizájn Alapok & Változók --- */
:root {
    --bg-main: #fafafa;
    --bg-card: #ffffff;
    --text-main: #0a0a0b;
    --text-muted: #52525b;
    --accent: #000000;
    --border: rgba(0, 0, 0, 0.08);
    --radius-lg: 32px;
    --radius-md: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Háttér rácsháló */
.bg-grid-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 40px 40px; z-index: 1; pointer-events: none;
}

/* --- Görgetési Animációk Alapjai (Extrák) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Navigáció --- */
.navbar {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 1200px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 100px;
    padding: 10px 24px; display: flex; align-items: center; justify-content: space-between;
    z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.nav-brand { display: flex; align-items: center; text-decoration: none; position: relative; z-index: 1001; }
.nav-brand img { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.nav-brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--text-main); margin-left: 12px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-links a:hover { color: var(--text-main); }

.nav-cta { background: var(--accent); color: white; text-decoration: none; font-size: 13px; font-weight: 700; padding: 12px 24px; border-radius: 100px; transition: var(--transition); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

/* Hamburger Menu (Alapból rejtett) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1001;
}
.hamburger span {
    width: 24px; height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero Szekció --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 140px 6% 80px 6%; position: relative; z-index: 2;
}

.hero-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; max-width: 1300px; margin: 0 auto;
}

.hero-content-left { text-align: left; }

.hero-badge {
    display: inline-block; background: rgba(0,0,0,0.05); border: 1px solid var(--border);
    padding: 8px 18px; border-radius: 100px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px;
}

.hero h1 { font-family: var(--font-heading); font-size: 4vw; font-weight: 800; line-height: 1.1; margin-bottom: 32px; letter-spacing: -2px;}
.gradient-text { background: linear-gradient(90deg, #000000 0%, #6b7280 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-text-block { margin-bottom: 40px; }
.hero-text-block p { font-size: 18px; line-height: 1.7; color: var(--text-muted); margin-bottom: 20px; font-weight: 500;}
.hero-text-block p:last-child { margin-bottom: 0; }

.btn-main { display: inline-block; background: var(--accent); color: white; text-decoration: none; padding: 18px 40px; border-radius: 100px; font-size: 15px; font-weight: 700; transition: var(--transition); }
.btn-main:hover { transform: scale(1.03); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

.hero-image-right { position: relative; }
.hero-image-right img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,0.1); transform: perspective(1000px) rotateY(-5deg); transition: var(--transition); }
.hero-image-right:hover img { transform: perspective(1000px) rotateY(0deg); }

.floating-stat { position: absolute; bottom: 40px; left: -30px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); padding: 20px 30px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; border: 1px solid rgba(255,255,255,1); }
.floating-stat strong { font-family: var(--font-heading); font-size: 24px; font-weight: 800; line-height: 1; }
.floating-stat span { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-top: 5px; }

/* --- Bento Grid --- */
.products { padding: 100px 6%; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); display: block; margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-heading); font-size: 42px; font-weight: 800; letter-spacing: -1.5px; }

.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }

.bento-card {
    background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; position: relative; border: 1px solid var(--border);
    display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: var(--transition);
}

.card-large { grid-column: span 2; min-height: 500px; }
.card-medium { grid-column: span 1; min-height: 420px; }

.card-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

.card-overlay { position: relative; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 70%, transparent 100%); padding: 40px; color: white; }
.category-tag { display: inline-block; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.card-overlay h3 { font-family: var(--font-heading); font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -1px; }
.card-overlay p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.5; font-weight: 400; }

.bento-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.bento-card:hover .card-image img { transform: scale(1.05); }

/* --- Kapcsolat Szekció --- */
.contact { padding: 120px 6%; background: #ffffff; position: relative; z-index: 2; border-top: 1px solid var(--border); }
.contact-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.contact h2 { font-family: var(--font-heading); font-size: 52px; font-weight: 800; letter-spacing: -2px; margin-bottom: 16px; }
.contact-lead { font-size: 18px; color: var(--text-muted); margin-bottom: 60px; font-weight: 500;}

.contact-details-grid { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }

.contact-card-link {
    text-decoration: none; background: var(--bg-main); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 40px; width: 340px;
    display: flex; flex-direction: column; align-items: center; transition: var(--transition);
}

.contact-center-logo { display: flex; align-items: center; justify-content: center; }
.contact-center-logo img {
    width: 180px; height: 180px; object-fit: cover; border-radius: 50%;
    border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.08); transition: transform 0.4s ease;
}
.contact-center-logo img:hover { transform: scale(1.05); }

.icon-wrapper { width: 64px; height: 64px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0,0,0,0.05); font-size: 28px; margin-bottom: 24px; transition: transform 0.3s ease;}
.item-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.item-value { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--text-main); transition: var(--transition); }

.contact-card-link:hover { transform: translateY(-6px); background: #ffffff; box-shadow: 0 30px 60px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.15); }
.contact-card-link:hover .icon-wrapper { transform: scale(1.1); }
.contact-card-link:hover .item-value { color: var(--text-muted); }

/* --- Lábléc --- */
footer { padding: 40px 6%; background: #ffffff; border-top: 1px solid var(--border); z-index: 2; position: relative; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-muted); font-weight: 600; }

/* --- Reszponzív nézet és Mobil Menü Logika --- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content-left { order: 2; }
    .hero-image-right { order: 1; margin-bottom: 40px; }
    .floating-stat { left: 20px; bottom: 20px; }
    .hero h1 { font-size: 48px; }
    .bento-grid { grid-template-columns: 1fr; }
    .card-large, .card-medium { grid-column: span 1; }
}

@media (max-width: 800px) {
    /* Menü mobil viselkedése */
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    
    .nav-links {
        position: absolute; top: calc(100% + 10px); left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column; padding: 24px; border-radius: 24px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 1px solid var(--border);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: var(--transition);
    }
    
    .nav-links.active {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    
    .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
    .nav-links li:last-child { border-bottom: none; padding-bottom: 0; }
    .nav-links a { font-size: 16px; padding: 10px; display: block; }

    /* Egyéb mobil optimalizációk */
    .contact-details-grid { flex-direction: column; }
    .contact-center-logo { order: -1; margin-bottom: 20px; }
    .contact-card-link { width: 100%; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}