/* Modernus meniu dizainas */
h1, h2, h3 {
    font-family: 'Hammersmith One', sans-serif;
    font-size: 40px !important;
    
}
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333333;
}
.red {
    color: #dc0000;
}

.main-nav a.active {
    color: #dc0000;
    font-weight: 700;
    border-bottom: 2px solid #dc0000;
}

.menu-bar {
    display: flex;
    justify-content: center; /* viskas centre */
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 5rem; /* ✅ Šitas sukuria tarpelį tarp logotipo ir meniu */
}

.logo img {
    height: 70px;
    width: auto;
}

.company-name {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: left;
    color: #111;
}

.menu-toggle {
    display: none;
    background: none;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem; /* sumažintas nuo 3rem ar 2.5rem */
}

.main-nav a {
    font-family: 'Hammersmith One', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a:hover::before {
    transform: scaleX(1);
}

.main-nav a:hover {
    color: #dc0000;
    text-shadow: 0 0 5px rgba(200, 0, 0, 0.3);
}

/* Kalbos dropdown */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #333333;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

.lang-menu a {
    display: block;
    padding: 0.4rem 0.8rem;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.95rem;
}

.lang-menu a:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .main-nav.open {
        display: flex;
    }

    .menu-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav a {
        padding: 0.5rem 0;
    }

    .logo {
        justify-content: space-between;
        width: 100%;
    }

    .lang-menu {
        right: auto;
        left: 0;
    }
}

/* === Animacijos === */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.fade-in-up.loaded {
    animation: fadeSlideIn 0.8s forwards ease-out;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Footeris neredaguoti */
footer {
    background: #f9f9f9; /* optional: gražus fonas */
    padding: 1rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.footer-left, .footer-right {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333;
}

.footer-right {
    text-align: right;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-right {
        text-align: center;
    }
}




