/* 1. PAGRINDINIAI NUSTATYMAI */
:root {
    --primary: #1a365d;      /* Solidžiai mėlyna (Pasitikėjimas) */
    --accent: #e67e22;       /* Sporto oranžinė (Veiksmas) */
    --text: #2d3748;         /* Tamsiai pilka tekstui */
    --light-bg: #f8fafc;     /* Labai šviesus fonas */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* 2. NAVIGACIJA - PATAISYTA */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Leidžia meniu persikelti į kitą eilutę telefone */
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary) !important; /* Priverstinai naudojam tamsią spalvą */
    font-weight: 700;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
}

nav a:hover {
    background-color: rgba(26, 54, 93, 0.05);
    color: var(--accent) !important;
}


/* 3. HERO SEKCIJA */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 4. MYGTUKAI */
.btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 28px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(26, 54, 93, 0.2);
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(230, 126, 34, 0.3);
}

/* 5. PASLAUGŲ IKONOS */
.problems {
    padding: 100px 0;
}

.problems h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.icon-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #edf2f7;
}

.icon-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.custom-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.icon-item p {
    font-weight: 700;
    font-size: 1.1rem;
}

/* 6. ATSILIEPIMAI */
.reviews {
    background: var(--light-bg);
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary);
}

.stars {
    color: #f1c40f;
    margin: 10px 0;
}

/* 7. GALERIJA */
.gallery {
    padding: 20px 0; /* Padidiname tarpus viršuje ir apačioje */
    background-color: var(--light-bg);
    overflow: hidden; /* Užtikrina, kad turinys neišlįstų */
    clear: both;     /* Saugiklis, kad jokie elementai neužliptų */
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 8. FOOTERIS */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 80px 0px 40px;
    
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 9. MODALINIAI LANGAI (Patobulinti) */
.modal-content {
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-img {
    border-radius: 15px;
    width: 150px;
}

/* 10. MOBILUS PRITAIKYMAS */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-image {
        order: -1;
    }
    .nav-container {
        flex-direction: column; /* Logotipas viršuje, nuorodos apačioje */
        text-align: center;
        gap: 15px;
    }

    nav {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }

    nav a {
        margin: 0 10px;
        font-size: 0.85rem;
        padding: 5px;
    }
}

/* KUKIŲ BANNERIS */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 15px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}
.app-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}