/* ============================
   GLOBAL SETTINGS
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #fcfcfc;
    color: #e0e0e0;
}

/* ============================
   HEADER
============================ */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #0f1115;
    padding: 1em 0;
    z-index: 100;
    display: flex;
    justify-content: center;
}
header .container {
    max-width: 1200px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.8em; font-weight: 700; color: #ffffff;  display: flex; align-items: center; gap: 0.5em; }
.logo-img { width: 50px; height: auto; }
.header-nav { display: flex; gap: 1.5em; }
.header-nav a { color: #e0e0e0; text-decoration: none; font-weight: 600; position: relative; }
.header-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0%; height: 2px;
    background: #ff9800;
    transition: width 0.3s;
}
.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }

/* ============================
   HERO SECTION
============================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* viso ekrano aukštis */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 50px; /* kad header neuždengtų */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pist.jpg') center/cover no-repeat;
    filter: brightness(50%);
    z-index: 0; /* turi būti už kvadrato */
}

.hero-content {
    position: relative;
    z-index: 1; /* virš fono */
    background: rgba(15,17,21,0.8);
    padding: 3em 2em;
    border-radius: 16px;
    max-width: 600px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff9800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.btn {
    padding: 1em 2.5em;
    border-radius: 50px;
    background: #ff9800;
    color: #0f1115;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn:hover {
    background: #ffb74d;
    transform: translateY(-3px);
}

/* ============================
   PASLAUGOS SECTION
============================ */
.services {
    position: relative;
    width: 100%;
    height: 100vh; /* viso ekrano aukštis */
    padding: 7em 1em 3em 1em;
    margin-top: 50px;
    text-align: center;
    background: url('../images/pist.jpg') center/cover no-repeat;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* tamsinimas fono nuotraukai */
    z-index: 0;
}
.services h2 { position: relative; z-index: 1; color: #ff9800; font-size: 2.5rem; margin-bottom: 2rem; }

.service-grid {
    position: relative; z-index: 1; /* virš fono */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2em;
    justify-items: center;
}
.card {
    background: rgba(15,17,21,0.85); /* kvadratas pats kontrastingas */
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 300px;
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 1.5em;
}
.card h3 { color: #ff9800; margin-bottom: 0.5em; }
.card p { color: #cccccc; font-size: 0.95rem; }
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}
/* ============================
   CONTACT SECTION
============================ */
.contact {
    position: relative;
    padding: 6em 1em;
    width: 100%;
    height: 100vh; /* viso ekrano aukštis */
    margin-top: 70px;
    text-align: center;
    background: url('../images/pist.jpg') center/cover no-repeat;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* tik fono tamsinimas */
    z-index: 0;
}
.contact-card {
    position: relative;
    z-index: 1; /* virš fono */
    max-width: 600px;
    margin: 0 auto;
    padding: 3em 2em;
    background: rgba(15,17,21,0.85); /* kontrastingas kvadratas, nepertemdytas filter */
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}
.contact-card h2 { font-size: 2.5rem; color: #ff9800; margin-bottom: 1rem; }
.contact-card p { font-size: 1rem; color: #e0e0e0; margin-bottom: 0.8em; }
/* ============================
   GALLERY SECTION
============================ */
.gallery {
    position: relative;
    padding: 6em 1em;
    text-align: center;
    min-height: 100vh;
    background: url('../images/pist.jpg') center/cover no-repeat; /* fonas */
}
.gallery::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* tamsinimas, kad nuotrauka nebūtų ryški */
    z-index: 0;
}

.gallery h2 {
    position: relative;
    z-index: 1;
    color: #ff9800;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* GRID NUOTRAUKOMS */
.gallery-grid {
    position: relative;
    z-index: 1; /* virš fono */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    justify-items: center;
}

/* KIEKVIENA GALERIJOS NUOTRAUKA KVADRATU */
.gallery-item {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-wrapper {
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

#lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
}

.caption {
    color: #fff;
    font-size: 1rem;
    text-align: center;
}

#lightbox .close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    color: #fff;
    cursor: pointer;
}
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* ============================
   FOOTER
============================ */
footer {
    background: #0f1115; /* tamsus fonas, kaip header */
    color: #e0e0e0;
    text-align: center;
    padding: 1.5em 1em; /* tinkamas aukštis */
    font-size: 1rem; /* ne per didelis tekstas */
    letter-spacing: 0.5px;
    margin-top: 0em;
}

/* Footer nuorodos, jei reikia */
footer a {
    color: #ff9800;
    text-decoration: none;
    font-weight: 600;
}
footer a:hover {
    text-decoration: underline;
}

/* Footer responsyvus */
@media(max-width:768px){
    footer {
        font-size: 0.85rem;
        padding: 1em 1em;
    }
}

/* ============================
   RESPONSIVE
============================ */
/* RESPONSIVE */
@media(max-width:768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .gallery-item {
        width: 150px;
        height: 150px;
    }
}