/* 1. PAGRINDINIAI NUSTATYMAI */
:root {
    --primary-color: #e65146;
    --text-dark: #1a1a1a;
    --text-gray: #888;
    --bg-light: #ffffff;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    margin: 0; padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

/* 2. KONTEINERIS - Čia sugrąžiname tvarką */
.container {
    max-width: 800px; /* Neleidžia išsiplėsti per visą ekraną */
    margin: 0 auto;   /* Centruoja puslapį */
    padding: 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding-top: 10px;
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo-icon {
    background-color: var(--primary-color);
    color: white;
    width: 45px; height: 45px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 18px;
}

.logo-text { text-align: left; line-height: 1; }
.brand-name { display: block; font-weight: 900; font-size: 22px; }
.brand-sub { display: block; font-size: 16px; color: var(--primary-color); }

.headline {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(22px, 5vw, 38px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.video-container {
    max-width: 380px;
    margin: 0 auto 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    overflow: hidden;
}

/* 6. MYGTUKAS (CTA) */
.cta-section {
    margin-bottom: 40px;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 25px; /* Sumažinti tarpai, kad mygtukas nebūtų per aukštas */
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    border-radius: 50px;
    cursor: pointer;
    text-transform: none; /* PANAIKINA priverstines didžiąsias raides pagrindiniam tekstui */
    width: 100%;
    max-width: 550px;
    transition: var(--transition);
    display: inline-block;
    line-height: 1.2;
}

.cta-button:hover {
    background-color: #cf453a;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(230, 81, 70, 0.4);
}

.small-text {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px; /* Mažesnis šriftas papildomam tekstui */
    font-weight: 400;
    text-transform: none; /* UŽTIKRINA, kad čia bus tik mažosios raidės */
    margin-top: 5px;
    opacity: 0.9;
}

/* 7. MODALAS */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    justify-content: center; align-items: center;
}

.modal-content {
    background: white;
    width: 95%; max-width: 700px;
    height: 85vh;
    border-radius: 15px;
    position: relative;
    padding: 40px 10px 20px;
    display: flex; flex-direction: column;
}

.close-btn { position: absolute; top: 10px; right: 20px; font-size: 35px; cursor: pointer; color: #aaa; }
.calendar-embed-wrapper { flex: 1; overflow-y: auto; }

footer { padding: 30px 0; font-size: 14px; color: var(--text-gray); border-top: 1px solid #eee; }

@media (max-width: 480px) {
    .container { padding: 15px; }
    .headline { font-size: 24px; }
    .video-container { max-width: 100%; }
}