:root {
    --bg-main: #ffffff;
    --bg-gray: #f3f4f6;
    --text-main: #000000;
    --text-muted: #555555;
    --font-stack: 'Montserrat';
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-stack), sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* --- NAVIGACIJA --- */
.navBar {
    padding: 20px 5vw;
    background-color: var(--bg-main);
}
.navTop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.navLogo {
    height: 75px;
}
/* --- HEADER SEKCIJA --- */
.header {
    width: 100%;
    background-color: var(--bg-gray);
}
.heroImage {
    width: 100%;
    height: auto; /* Nuotrauka pati diktuoja savo natūralų aukštį */
    display: block;
}

/* --- PRODUKTŲ KATEGORIJOS IR SLIDER --- */
.sectionProducts {
    padding: 4rem 5vw;
}
.productCategory {
    margin-bottom: 4rem;
}
.productCategory:last-child {
    margin-bottom: 0;
}
.categoryTitle {
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    border-bottom: 2px solid var(--text-main);
    display: block;
    width: fit-content;
    padding-bottom: 5px;
}
/* --- LIGHTBOX (Nuotraukų padidinimas) --- */
.productCard img {
    cursor: pointer;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.closeWrapper {
    width: 90vw;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}
.closeLightbox {
    background: none;
    border: none;
    color: #fff;
    font-size: 3.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 0.5;
}
.lightboxContent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    width: 100%;
}
.lightboxBtn {
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.3s;
}
.lightboxBtn:hover {
    color: #aaa;
}
#lightboxImg {
    max-width: 75vw;
    max-height: 75vh;
    object-fit: contain;
}
/* Slider išdėstymas ir mygtukai */
.sliderWrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2vw;
}
.sliderBtn {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
    padding: 0;
    display: flex;
}
.sliderBtn:hover {
    color: var(--text-main);
}
/* SliderTrack stilius (paslėpta scrollbar juosta) */
.sliderViewport {
    overflow: hidden;
    min-width: 0;
    width: 100%;
}
.sliderTrack {
    display: flex;
    gap: 20px;
    padding-bottom: 1rem;
    will-change: transform;
}
.productCard {
    flex: 0 0 80%; /* Mobile first: kortelė užima 80% ekrano pločio */
    text-align: center;
}
.productCard img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 1rem;
    background-color: #eaeaea;
}
.productCard h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}
.productCard p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}
/* --- KONTAKTŲ SEKCIJA --- */
.sectionContact {
    background-color: var(--bg-gray);
    padding: 4rem 5vw;
    display: flex;
    justify-content: center;
}
.contactWrapper {
    display: flex;
    flex-direction: column; /* Mobile first */
    text-align: center;
    width: 100%;
    max-width: 900px;
    gap: 30px;
}
.contactInfo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.contactInfo p {
    max-width: 300px;
    margin: 0 auto;
}
.regForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.formRow {
    display: flex;
    flex-direction: column; /* Mobile first: inputai vienas po kitu */
    gap: 15px;
}
.regForm input,
.regForm textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-family: var(--font-stack), sans-serif;
    font-size: 0.95rem;
    outline: none;
}
.regForm input:focus,
.regForm textarea:focus {
    border-color: #888;
}
.regForm textarea {
    resize: vertical;
}
.btn.blackButton {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}
.btn.blackButton:hover {
    background-color: #333;
}
/* --- FOOTER --- */
footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 5vw 1.5rem 5vw;
}
.footerContent {
    display: flex;
    flex-direction: column; /* Mobile first */
    text-align: center;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 20px;
}
.circleIcon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.circleIcon svg {
    display: block;
}
.footerLogo {
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.footerContacts {
    display: flex;
    justify-content: center;
}
.contactTextGroup {
    text-align: center; /* Centruota mobiliajame web puslapyje */
    font-size: 0.85rem;
    line-height: 1.4;
}
.contactTextGroup p {
    margin: 4px 0;
}
.phoneContact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.footerBottom {
    display: flex;
    justify-content: center;
    font-size: 0.75rem;
    color: #888;
}
.footerLeft {
    display: none;
}
/* --- FORMOS PRANEŠIMAS --- */
.formMessage {
    display: none; /* Paslėpta, kol nebus iškviesta per JS */
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
}
.formMessage.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.formMessage.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* --- SLAPUKAI (COOKIES) --- */
.cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-gray);
    padding: 0.8rem 5vw;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}
.cookieBanner.show {
    display: flex;
    justify-content: center;
}
.cookieContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
}
.cookieContent h2 {
    margin: 0 2vw 0 0;
    font-size: 1.1rem;
    white-space: nowrap;
}
.cookieContent p {
    margin: 0;
    font-size: 0.85rem;
}
.cookieActions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.cookieCheckbox {
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cookieBtn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: auto;
}
/* =========================================
   MEDIA QUERIES (DESKTOP/TABLET UP)
   ========================================= */
@media (min-width: 768px) {
    .productCard {
        flex: 0 0 calc(25% - 15px);
    }
    .contactWrapper {
        flex-direction: row; /* Desktop: eilutė */
        text-align: left;
        gap: 50px;
    }
    .contactInfo {
        flex: 1;
    }
    .contactInfo p {
        margin: 0;
    }
    .contactFormContainer {
        flex: 1.5;
    }
    .formRow {
        flex-direction: row; /* Desktop: vardas/pavardė vienoje eilėje */
    }
    .contactTextGroup {
        text-align: left;
    }
    .phoneContact {
        justify-content: flex-start;
    }
    .footerBottom {
        justify-content: space-between;
    }
    .footerContent {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .footerLeft {
        display: block; /* Kompiuteryje šis blokas atsiranda */
        flex: 1;
    }
    .footerLogo {
        flex: 1;
        margin: 0 auto;
    }
    .footerContacts {
        flex: 1;
        justify-content: flex-end;
    }
    .cookieContent {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .cookieActions {
        flex-direction: row;
    }
}