/* Bendri stiliai */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Juodas fonas */
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px; /* Kvadratų dydis */
    z-index: -1;
}

/* Header stiliai */
header {
    background-color: rgba(0, 0, 0, 0.8); /* Juodas pusiau permatomas fonas */
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}



    /* Socialinės medijos ikonėlių stiliai */
    .social-media img {
        width: 32px; /* Nustatykite norimą plotį */
        height: 32px; /* Nustatykite norimą aukštį */
        margin: 0 10px; /* Tarpas tarp ikonėlių */
        transition: transform 0.3s ease; /* Švelnus transformacijos efektas */
    }

    .social-media img:hover {
        transform: scale(1.2); /* Padidina ikonėlę užvedus pelę */
    }


/* Fono tinklelis su kvadratais */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px; /* Kvadratų dydis */
    z-index: -1;
}

/* Header stiliai */
header {
    background-color: rgba(0, 0, 0, 0.8); /* Juodas pusiau permatomas fonas */
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 40px; /* Logo ikonos aukštis */
    width: 40px; /* Logo ikonos plotis */
    animation: fadeIn 2s ease-in-out;
}

nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff8c42; /* Oranžinė spalva hover metu */
}

/* Hero sekcija */
.hero {
    background: url('logotipas.png') no-repeat center center/cover;
    padding: 150px 0;
    text-align: center;
    animation: slideIn 1.5s ease-in-out;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* Tarpas tarp mygtukų */
    flex-wrap: wrap; /* Jei mygtukai netilps vienoje eilutėje, jie persidės į naują eilutę */
}

.hero-button {
    padding: 15px 30px;
    font-size: 1rem;
    background-color: #ff8c42; /* Oranžinė spalva */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Pašaliname pabraukimą nuorodoms */
    display: inline-block; /* Kad mygtukas būtų tinkamo dydžio */
}

.hero-button:hover {
    background-color: #e67e3a; /* Tamsesnė oranžinė spalva */
}

/* Footer stiliai */
footer {
    background-color: rgba(0, 0, 0, 0.8); /* Juodas pusiau permatomas fonas */
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    color: #fff;
}

footer p {
    margin: 0;
}

/* Animacijos */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}