* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    padding-top: 80px; /* Paliekam vietos fiksuotam header */
    overflow-x: hidden; /* Kad nebūtų horizontal scroll */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #fff;
    height: 80px;
}

.galerija {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.logo {
    text-decoration: none;
    color: #000;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.renginiai {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    background: #000;
    padding: 10px 20px;
    letter-spacing: 1px;
}

.mobile-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu::before,
.mobile-menu::after,
.mobile-menu span {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
    left: 0;
}

.mobile-menu::before { top: 0; transform-origin: center; }
.mobile-menu span { top: 50%; transform: translateY(-50%); }
.mobile-menu::after { bottom: 0; transform-origin: center; }

/* Aktyvaus (išskleisto) mobilaus meniu stiliai */
.header.active {
    position: fixed; top: 0; left: 0; width: 100%; height: auto;
    background: #fff; flex-direction: column; align-items: center;
    padding: 60px 20px 20px 20px; z-index: 1000;
}
.header.active .mobile-menu::before { transform: translateY(11px) rotate(45deg); }
.header.active .mobile-menu span { opacity: 0; }
.header.active .mobile-menu::after { transform: translateY(-11px) rotate(-45deg); }
.header.active .logo { margin-bottom: 20px; order: -1; }
.header.active .mobile-menu { position: absolute; top: 19px; right: 20px; z-index: 1001; }
.header.active .galerija,
.header.active .renginiai {
    display: block; width: 100%; text-align: center; padding: 15px 0;
    margin: 10px 0; color: #000; border-radius: 0;
}
.header.active .renginiai { background: #000; color: #fff; }

/* Bendri teksto elementai */
p, li {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300; line-height: 1.6; font-size: 16px; margin: 10px 0;
}

/* Hero section (index.html) */
.hero {
    height: 600px; width: 100%; background-image: url('../img/hero-bg.jpg');
    background-size: cover; background-position: center; display: flex;
    flex-direction: column; justify-content: center; align-items: center;
    text-align: center; position: relative; padding: 0 40px; border-bottom: 5px solid #fff;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero h1 {
    font-size: 120px; margin-bottom: 30px; text-transform: uppercase;
    letter-spacing: 2px; position: relative; z-index: 2; color: #fff;
}
.hero p {
    max-width: 900px; font-size: 18px; line-height: 1.7; letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif; position: relative; z-index: 2; color: #eee;
}

/* Services section (index.html) */
.services-container { display: flex; min-height: 100vh; background: #000; }
.paslaugos {
    width: 50%; padding: 80px; border-right: 5px solid #fff;
    display: flex; flex-direction: column;
}
.paslaugos h2 { font-size: 2.5rem; margin-bottom: 30px; text-align: center; }
.service-item {
    border-bottom: 2px solid #fff; padding: 20px 0; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; text-transform: uppercase;
    letter-spacing: 1px; font-size: 18px; transition: background-color 0.2s ease;
}
.service-item:hover { background-color: #111; }
.service-item:after { content: '+'; font-size: 24px; transition: transform 0.3s ease; }
.service-item.active:after { content: '−'; transform: rotate(180deg); }
.service-content { display: none; padding: 20px 0 30px 0; line-height: 1.6; border-bottom: 1px dashed #555; }
.service-item + .service-item { margin-top: 10px; }
.service-content ul { padding-left: 20px; margin-bottom: 15px; }
.service-content li { list-style-type: disc; margin-left: 10px; color: #ccc; }
.service-content p { font-family: 'Montserrat', sans-serif; font-size: 16px; margin-bottom: 15px; color: #ddd; }
.komplekto-kaina, .aiksteles-kaina, .papildomi-soviniai { font-size: 17px; margin: 15px 0; color: #eee; }
.komplekto-kaina span, .aiksteles-kaina span, .papildomi-soviniai span { font-weight: bold; color: #fff; }
.image-section { width: 50%; background-image: url('../img/services-bg.jpg'); background-size: cover; background-position: center; min-height: 100vh; }
.contact-btn {
    text-decoration: none; color: #000; text-transform: uppercase; background: #fff;
    padding: 15px 30px; letter-spacing: 1px; margin-top: auto; font-size: 20px;
    transition: all 0.3s ease; display: block; width: fit-content; margin-left: auto;
    margin-right: auto; border-radius: 0;
}
.contact-btn:hover { background-color: #ccc; color: #000; }

/* === Gallery section (galerija.php) === */
.gallery-container {
    padding: 80px 40px 40px;
    background: #000;
    min-height: calc(100vh - 80px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 2px solid #fff;
    cursor: pointer;
    background-color: #1a1a1a;
    aspect-ratio: 3 / 4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Paliekam tik šitą eilutę filtrui */
    /* transition: filter 0.4s ease-in-out; <<< Nebereikia perėjimo */
}
/* Taisyklė .gallery-item:hover img { ... } IŠTRINTA */


/* === Events section/Calendar (komentarai) === */
/* Palieku užkomentuotas senas taisykles */
/* ... */


/* === Media Queries === */
@media (max-width: 768px) {
    body { padding-top: 60px; }
    .header { height: 60px; padding: 10px 20px; }
    .galerija, .renginiai { display: none; }
    .mobile-menu { display: block; }
    body.menu-open { overflow: hidden; }

    .hero { height: 400px; padding: 0 20px; }
    .hero h1 { font-size: 60px; }
    .hero p { display: block !important; font-size: 16px; max-width: 90%; }

    .services-container { flex-direction: column; }
    .paslaugos { width: 100%; padding: 40px 20px; border-right: none; border-bottom: 5px solid #fff; }
    .paslaugos h2 { font-size: 2rem; margin-bottom: 20px; }
    .service-item { font-size: 16px; padding: 15px 0; }
    .service-content p, .service-content li { font-size: 14px; }
    .komplekto-kaina, .aiksteles-kaina, .papildomi-soviniai { font-size: 15px; }
    .contact-btn { font-size: 18px; padding: 12px 25px; margin-top: 30px; margin-bottom: 30px; }
    .image-section { width: 100%; height: 350px; min-height: unset; }

    .gallery-container {
        padding-top: 30px; padding-left: 15px; padding-right: 15px;
        padding-bottom: 30px; min-height: calc(100vh - 60px);
    }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
}

@media (max-width: 576px) {
    .hero { height: 350px; }
    .hero h1 { font-size: 48px; }
    .hero p { font-size: 15px; }

    .gallery-container { padding-left: 10px; padding-right: 10px; padding-top: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-item { border-width: 1px; }
}