/* ==========================================================================
   LUCIA AIR - Master Stylesheet (With Mobile & Scroll Fixes)
   ========================================================================== */

:root {
    --primary-blue: #0A2540;
    --primary-blue-rgb: 10, 37, 64;
    --accent-yellow: #FFD200;
    --accent-yellow-hover: #E6BD00;
    --sky-blue: #F0F4F8;
    --text-dark: #2D3748;
    --text-light: #F7FAFC;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Strict Layout Rules to Prevent Horizontal Scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--sky-blue);
    line-height: 1.6;
}

/* Language Toggle Logic */
body.lang-en .lang-hu { display: none !important; }
body.lang-hu .lang-en { display: none !important; }

/* ==========================================================================
   Navigation Bar (Glassmorphic & Mobile Menu Support)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(var(--primary-blue-rgb), 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    max-width: 100%;
    transition: var(--transition);
}

/* Mobile Menu Toggle Button (Default Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
    transition: var(--transition);
    outline: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-yellow);
}

/* Responsive Styles for Navigation Under 992px */
@media (max-width: 992px) {
    .nav-container {
        position: relative; /* Anchors the absolute menu button below */
    }

    .mobile-menu-toggle {
        display: block; /* Visible on tablet & phone */
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%); /* Centers vertically with the logo */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 280px;
        height: 100vh;
        background: rgba(var(--primary-blue-rgb), 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1050;
    }

    .nav-links.mobile-active {
        right: 0 !important; /* Slide-in sidebar */
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 1.05rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Language Selector Dropdown */
.lang-selector {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-yellow);
}

.lang-selector option {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

/* ==========================================================================
   Modern Sky Banner (Exact 10% dark blue tint)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-color: var(--primary-blue); /* Solid deep blue base */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: 80px;
    width: 100%;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9; /* 90% opacity lets exactly 10% of primary blue background bleed through */
    z-index: 1;
}

/* Animated Floating Clouds */
.sky-animations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    filter: blur(15px);
    animation: drift linear infinite;
}

.cloud-1 { width: 300px; height: 100px; top: 15%; left: -350px; animation-duration: 45s; }
.cloud-2 { width: 200px; height: 70px; top: 40%; left: -250px; animation-duration: 30s; animation-delay: 10s; }
.cloud-3 { width: 400px; height: 130px; top: 60%; left: -450px; animation-duration: 60s; animation-delay: 5s; }

@keyframes drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 500px)); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.65); /* Rich reading contrast */
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   Buttons, Inputs & Layout Structures
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(255, 210, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 210, 0, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 15px auto 0;
    border-radius: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2 { 
        grid-template-columns: 1fr; 
    }
}

.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.1);
}

footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 50px 20px;
    text-align: center;
    border-top: 5px solid var(--accent-yellow);
    width: 100%;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-socials a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--accent-yellow);
}