@import url('https://fonts.googleapis.com/css2?family=Glober:wght@400&family=Roboto:wght@400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Glober:wght@400&display=swap');

/* Bendrieji nustatymai */
body, html {
    margin: 0;
    padding: 0;
    font-family: GloberRegular, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

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

h1, h2, h3 {
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: rgba(200,200,200,.75);
}

/* Viršutinė navigacija */
.top-bar {
    background-color: #ffffff;
    padding: 10px 0;
}

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

.logo-container {
    flex: 1;
    max-width: 40%;
}

.logo-container img {
    width: 100%;
    max-height: 60px; 
    object-fit: contain; 
}

.nav-menu {
    list-style-type: none;
    display: flex;
    gap: 20px;
    flex: 2;
    justify-content: flex-end;
}

.nav-menu li {
    display: inline;
}

.nav-menu li a {
    font-size: .9484444444444444rem;
    margin-bottom: 1.7396907216494846rem;
    line-height: 1.15;
    margin-top: 0;
    font-family: GloberRegular,sans-serif;
    font-weight: 600;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    cursor: pointer;
}

.nav-menu li a:hover {
    background-color: rgba(200,200,200,.75);
    border-radius: 5px;
}

/* Hero1 sekcija */
.hero1 {
    background-image: url('https://www.ihr-news.lt/assets/background_action.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero1 img {
    height: 100%;
    object-fit: contain;
}

/* Hero sekcija */
.hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

/* Apie mus sekcija */
.about-section {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 20px;
    font-size: 36px;
}

.about-section p {
    font-size: 18px;
    color: #666;
}

/* Paslaugų sekcija */
.services-section {
    background-color: #f7f7f7;
    padding: 50px 0;
    text-align: center;
}

.services-section h2 {
    margin-bottom: 40px;
    font-size: 36px;
}

/* 2x2 gridas paslaugoms */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.service img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service p {
    font-size: 16px;
    color: #666;
}

/* Kontaktai sekcija */
.contact-section {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 20px;
    font-size: 26px;
}

.contact-section p {
    font-size: 14px;
    color: #666;
}

.contact-section strong {
    color: #333;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Planšetės */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }
}

/* Mobilieji įrenginiai */
@media (max-width: 480px) {
    .logo-container img {
        max-height: 50px;
    }

    .nav-menu {
        display: none; 
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .about-section h2 {
        font-size: 28px;
    }
    
    .about-section p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-section h2 {
        font-size: 26px;
    }

    .service h3 {
        font-size: 20px;
    }

    .contact-section h2 {
        font-size: 20px;
    }
}
