/* --- PAGRINDINIAI STILIAI --- */
:root {
    --artea-primary: #004A80;
    --artea-secondary: #007ACC;
    --artea-highlight: #FDB813;
    --text-light: #f8f9fa;
    --text-dark: #2c3e50; /* Tamsesnis, neutralesnis tekstas */
    --background-body: #f4f7f9; /* Labai šviesiai pilkas bendras fonas */
    --background-card: #ffffff;
    --border-light: #e2e8f0;
    --font-main: 'Montserrat', sans-serif;
    --font-headings: 'Playfair Display', serif;
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.08);
    --border-radius-card: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--background-body);
    overflow-x: hidden; /* Svarbu, kad nebūtų horizontalaus scroll */
}

/* Konteineris visam turiniui, ne paralaksui */
.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* --- ĮŽANGINĖ SEKCIJA (HERO) --- */
.hero-section {
    min-height: 90vh; /* Beveik per visą ekraną */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0d1a26; /* Tamsus fonas */
    color: var(--text-light);
    padding: 40px 20px;
    position: relative; /* Dėl fono elementų, jei bus */
    overflow: hidden; /* Kad fono elementai neišeitų */
}
/* Jei norite fono SVG ar vaizdo hero sekcijai */
.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.1; /* Padaryti foną subtilų */
}
.hero-background svg { width: 100%; height: 100%; object-fit: cover; }

.hero-content {
    position: relative; /* Kad būtų virš fono */
    z-index: 1;
    max-width: 750px;
    animation: fadeInFromBottom 1s ease-out 0.3s backwards;
}
.main-title {
    font-family: var(--font-headings);
    font-size: clamp(2.5em, 6vw, 3.8em); /* Adaptyvus dydis */
    margin-bottom: 0.4em;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.main-title .artea-highlight { color: var(--artea-highlight); }
.subtitle {
    font-size: clamp(1em, 2.5vw, 1.25em);
    margin-bottom: 1.8em;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    font-size: 1.05em;
    font-weight: 600; /* Storesnis */
    color: var(--text-dark);
    background-color: var(--artea-highlight);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.cta-button:hover {
    background-color: #ffca28; /* Šviesesnė geltona */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.cta-button svg { width: 18px; height: 18px; fill: currentColor; margin-left: 8px; }

.scroll-indicator {
    position: absolute; /* Hero sekcijos apačioje */
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    text-align: center;
    font-size: 0.8em;
    animation: bounceIndicator 2s infinite ease-in-out;
    z-index: 1;
}
.scroll-indicator span { display: block; margin-bottom: 4px;}
.scroll-indicator svg { width: 22px; height: 22px; fill: currentColor; }


/* --- TURINIO SALŲ KONTEINERIS --- */
.islands-container {
    padding: 50px 20px; /* Tarpai aplink salų bloką */
    max-width: 960px; /* Maksimalus plotis saloms */
    margin: 0 auto; /* Centruoti */
}

/* --- BENDRI SALŲ STILIAI (KORTELĖS) --- */
.content-island {
    background-color: var(--background-card);
    padding: 35px clamp(20px, 5vw, 45px); /* Adaptyvus padding */
    margin-bottom: 40px; /* Tarpas tarp salų */
    box-shadow: var(--shadow-card);
    border-radius: var(--border-radius-card);
    opacity: 0; /* Pradžioje nematomos */
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    position: relative; /* Dėl fono formų viduje, jei reikia */
    overflow: hidden; /* Kad fono formos neišeitų */
}
.content-island.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.island-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}
.island-icon {
    width: 45px; height: 45px;
    background-color: var(--artea-secondary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}
.island-icon svg { width: 24px; height: 24px; fill: currentColor; }

.island-header h2 {
    font-family: var(--font-headings);
    font-size: clamp(1.8em, 4vw, 2.4em);
    color: var(--artea-primary);
    line-height: 1.25;
}
.island-header h2 .artea-highlight { color: var(--artea-highlight); }

.island-description p {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #4a5568; /* Švelnesnė pilka */
}
.skill-highlight {
    margin-top: 25px;
    font-size: 0.95em;
    color: var(--artea-secondary);
    font-weight: 500;
    padding: 10px 15px;
    background-color: #eef2ff; /* Šviesiai mėlynas fonas */
    border-left: 3px solid var(--artea-secondary);
    border-radius: 0 4px 4px 0;
}
.skill-highlight strong { color: var(--artea-primary); }

/* Interaktyvūs elementai - supaprastinti */
.interactive-element { margin-top: 20px; }
.interactive-element h3 {
    font-size: 1.2em;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}
/* Pavyzdys mygtukams interaktyviuose elementuose */
.interactive-element button, .interactive-element .btn-like {
    background-color: var(--artea-secondary);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: background-color 0.2s ease;
}
.interactive-element button:hover, .interactive-element .btn-like:hover {
    background-color: var(--artea-primary);
}
/* Flipper supaprastinimas */
.content-flipper {
    background-color: #f9fafb;
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
}
.flipper-back { display: none; /* Rodomas su JS */ margin-top: 15px; border-top: 1px dashed var(--border-light); padding-top: 15px;}
.flipper.flipped .flipper-front { /* Galima paslėpti, jei norima tik back rodyti */ }
.flipper.flipped .flipper-back { display: block; }


/* --- FINALINĖ SEKCIJA --- */
.final-section {
    background-color: #e0eafc; /* Šviesus, šiltas fonas */
    padding: 50px 20px;
    text-align: center;
    margin-top: 30px; /* Atstumas nuo paskutinės salos */
}
.final-content {
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInFromBottom 1s ease-out 0.3s backwards;
}
.treasure-icon svg { width: 70px; height: 70px; fill: var(--artea-highlight); margin-bottom: 15px;}
.final-content h2 {
    font-family: var(--font-headings);
    font-size: clamp(2.2em, 5vw, 3em);
    color: var(--artea-primary);
    margin-bottom: 0.5em;
}
.final-content p { font-size: 1.1em; margin-bottom: 20px; color: #374151; }
.final-summary ul {
    list-style: none;
    padding: 0;
    margin: 25px auto;
    display: inline-block;
    text-align: left;
}
.final-summary li {
    font-size: 1.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.check-icon {
    color: var(--artea-secondary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.3em;
    line-height: 1;
}
.final-cta-buttons { margin-top: 30px; }
.final-cta-buttons .cta-button { margin: 8px; }
.secondary-cta {
    background-color: transparent;
    color: var(--artea-primary);
    border: 2px solid var(--artea-primary);
}
.secondary-cta:hover {
    background-color: var(--artea-primary);
    color: var(--text-light);
}

/* --- ANIMACIJOS --- */
@keyframes fadeInFromBottom {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIndicator {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.hidden { display: none !important; }

/* --- RESPONSIVE PATOBULINIMAI --- */
@media (max-width: 768px) {
    .island-header { flex-direction: column; align-items: flex-start; text-align: left;}
    .island-icon { margin-right: 0; margin-bottom: 15px; }
    .final-cta-buttons .cta-button { display: block; width: 100%; max-width: 300px; margin-left:auto; margin-right:auto;}
}