/* -----------------------------
   Bendrieji nustatymai
------------------------------*/
body {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    background: #0a0a0a;
    color: #f0f0f0;
    overflow-x: hidden;
}

/* -----------------------------
   Header / Navigacija
------------------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

header .logo {
    font-size: 28px;
    font-weight: 700;
    color: #a054ff;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

header .logo:hover {
    color: #c591ff;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 25px;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #a054ff;
}

/* -----------------------------
   Hero sekcija
------------------------------*/
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.85) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
}

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

.hero-content p {
    font-size: 22px;
    color: #c9c7c7;
    margin: 0;
}

.hero-content h3 {
    font-weight: 400;
    color: #aaa;
    margin-top: 10px;
}

/* -----------------------------
   Produktų sekcijos
------------------------------*/
.product {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 10%;
    gap: 60px;
    border-bottom: 1px solid #1a1a1a;
}

.product.reverse {
    flex-direction: row-reverse;
    background: #0f0f0f;
}

.product-img {
    width: 45%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(160, 84, 255, 0.25);
    transition: transform 0.4s ease;
}

.product:hover .product-img {
    transform: scale(1.03);
}

.product-info {
    width: 50%;
}

.product-info h2 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 10px;
}

.price {
    color: #a054ff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-info p {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.product-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-info li {
    padding: 6px 0;
    font-size: 16px;
    color: #bcbcbc;
    border-left: 3px solid #a054ff;
    padding-left: 10px;
}

/* -----------------------------
   Techninė lentelė
------------------------------*/
.specs {
    text-align: center;
    padding: 100px 5%;
    background: #121212;
}

.specs h2 {
    font-size: 34px;
    margin-bottom: 30px;
}

.specs table {
    width: 100%;
    border-collapse: collapse;
    color: #d0d0d0;
    font-size: 16px;
    border-radius: 10px;
    overflow: hidden;
}

.specs th, .specs td {
    padding: 12px 15px;
    border-bottom: 1px solid #2b2b2b;
}

.specs th {
    background: #1a1a1a;
    color: #a054ff;
    font-weight: 600;
}

.specs tr:hover {
    background: rgba(160, 84, 255, 0.05);
}

/* -----------------------------
   Santrauka (Summary)
------------------------------*/
.summary {
    text-align: center;
    padding: 120px 10%;
    background: #0a0a0a;
}

.summary h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.summary p {
    font-size: 20px;
    color: #ccc;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}

/* -----------------------------
   Galerija
------------------------------*/
.gallery {
    text-align: center;
    padding: 90px 0;
    background: #0a0a0a;
}

.gallery h2 {
    font-size: 34px;
    margin-bottom: 25px;
}

.gallery-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.gallery-wrap img {
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(160, 84, 255, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-wrap img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(160, 84, 255, 0.45);
}

/* -----------------------------
   Footer
------------------------------*/
footer {
    text-align: center;
    padding: 40px 0;
    background: #000;
    font-size: 14px;
    color: #777;
}

/* -----------------------------
   Animacijos
------------------------------*/
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------
   Responsyvus dizainas
------------------------------*/
@media (max-width: 950px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
    }

    nav a {
        margin: 8px 15px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .product {
        flex-direction: column;
        padding: 100px 8%;
        gap: 30px;
    }

    .product.reverse {
        flex-direction: column;
    }

    .product-img {
        width: 100%;
    }

    .product-info {
        width: 100%;
        text-align: center;
    }

    .product-info ul {
        display: inline-block;
        text-align: left;
    }

    .gallery-wrap img {
        width: 90%;
        max-width: 350px;
    }
}
