/* =========================================
   NEMZETKÖZI (CSS VARIABLES)
   ========================================= */
:root {
    /* Színek (Prémium, Fás, Modern) */
    --clr-bg: #0d1117;
    /* Nagyon sötét kék/szürke az alap BG */
    --clr-bg-alt: #161b22;
    /* Kissé világosabb szekció BG */
    --clr-surface: #21262d;
    /* Kártyák BG */

    --clr-primary: #d4af37;
    /* Prémium arany / friss fa szín */
    --clr-primary-hover: #b8962c;

    --clr-text-main: #f0f6fc;
    /* Fehér/szürkés szöveg bekezdésekhez */
    --clr-text-muted: #8b949e;
    /* Halványabb szürke */

    --clr-accent: #ff8c00;
    /* Melegebb borostyán, fa erezet */

    /* Tipográfia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Átmenetek és Árnyékok */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* =========================================
   RESET ÉS ALAPOK
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--clr-primary);
}

/* =========================================
   GOMBOK (BUTTONS)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn i {
    font-size: 0.9em;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-primary-outline:hover {
    background-color: var(--clr-primary);
    color: #000;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* =========================================
   NAVIGÁCIÓ
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-title {
    font-size: 0.8rem;
    color: var(--clr-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

/* Underline effect for links */
.nav-link:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition-normal);
}

.nav-link:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* =========================================
   HERO SZCENÓ
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    /* Enyhe zoom a betöltési effekthez */
    transition: transform 1.5s ease-out;
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 7, 10, 0.9) 0%, rgba(13, 17, 23, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-dark {
    background-color: var(--clr-surface);
    border-color: rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* =========================================
   ÁLTALÁNOS SZEKCIÓK
   ========================================= */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: white;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--clr-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   SZOLGÁLTATÁSOK
   ========================================= */
.services {
    background-color: var(--clr-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--clr-surface);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--clr-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.service-content {
    padding: 2.5rem 2rem 2rem;
}

.service-content h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   RÓLUNK
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
}

.about-features i {
    font-size: 1.25rem;
    margin-top: 3px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: linear-gradient(145deg, var(--clr-surface) 0%, rgba(33, 38, 45, 0.4) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.stat-box:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--clr-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   KAPCSOLAT / CTA
   ========================================= */
.contact {
    padding: 0 0 6rem 0;
}

.contact-container {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    /* Átfedik az előző szekciót */
}

.contact-box {
    background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(13, 17, 23, 1) 100%);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.contact-box h2 {
    font-size: 2.2rem;
    color: white;
}

.contact-box p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: left;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

a.contact-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--clr-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
}

.contact-value {
    display: block;
    font-weight: 600;
    font-family: var(--font-heading);
    color: white;
    font-size: 1.1rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: #05070a;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-copyright {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMÁCIÓK / REVEAL EFFEKTEK
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.reveal-from-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-from-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-from-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* Osztályok amiket JS ad hozzá */
.in-view {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delay utilitik */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* =========================================
   RESPONSIVE DESIGN (MOBIL NÉZET)
   ========================================= */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        order: -1;
    }

    /* Stats felülre mobilon */
    .contact-container {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero szekció mobil optimalizálása */
    .hero {
        height: 100dvh;
        min-height: auto;
        padding-top: 70px;
        /* Navbar eltolás */
    }

    .hero-content {
        text-align: center;
        /* Mobilon jobb ha középre van igazítva */
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Rólunk szekció mobil optimalizálása (kilógás megszüntetése) */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .feature-desc {
        display: block;
        margin-top: 0.2rem;
    }

    .contact-box {
        padding: 2rem 1.5rem;
    }

    .contact-item {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}



/* =========================================
   LEGAL PAGES (Impresszum, ÁSZF, etc.)
   ========================================= */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    flex: 1; /* Pushes the footer to the bottom */
}

.legal-content h1 {
    margin-bottom: 2rem;
    color: var(--clr-primary);
}

.legal-content h2,
.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.legal-content p,
.legal-content ul {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 20px;
}

.legal-content strong {
    color: var(--clr-text-main);
}