/* ══════════════════════════════════════════════════════════════
   Florial – Grid Builder frontend turinio stiliai
   Pridėti PO pagrindinio style.css failo
   Spalvos: žalia (#2F492F) ir oranžinė (#FF6840)
   ══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────
   Bendrieji Grid Builder container nustatymai
   ───────────────────────────────────────── */

.page-content .container {
    max-width: 1200px;
    padding: 0 calc(12px + 20*(100vw - 320px)/1600) calc(20px + 16*(100vw - 320px)/1600);
}

.page-content .row {
    margin-bottom: calc(8px + 8*(100vw - 320px)/1600);
}

.page-content .row:last-child {
    margin-bottom: 0;
}


/* ─────────────────────────────────────────
   APIE MUS — Hero sekcija
   ───────────────────────────────────────── */

.gb-about-hero-title {
    font-size: calc(22px + 10*(100vw - 320px)/1600) !important;
    font-weight: 700 !important;
    color: #2F492F !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    text-transform: none !important;
    padding-top: 0 !important;
}

.gb-about-hero-subtitle {
    font-size: calc(14px + 2*(100vw - 320px)/1600);
    color: #4a5568;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto calc(20px + 20*(100vw - 320px)/1600);
    text-align: center;
}


/* ─────────────────────────────────────────
   APIE MUS — Emocijų kortelės (dvi šalia)
   ───────────────────────────────────────── */

.gb-about-emotion-card {
    background: #f7faf7;
    border-radius: 12px;
    padding: calc(20px + 10*(100vw - 320px)/1600);
    margin-bottom: calc(8px + 4*(100vw - 320px)/1600);
    border: 1px solid rgba(47, 73, 47, 0.08);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.gb-about-emotion-card:hover {
    box-shadow: 0 8px 24px rgba(47, 73, 47, 0.08);
    border-color: rgba(47, 73, 47, 0.15);
}

.gb-about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2F492F 0%, #3a5c3a 100%);
    margin-bottom: 14px;
}

.gb-about-icon i {
    font-size: 18px;
    color: #fff;
}

.gb-about-emotion-card h3 {
    font-size: calc(16px + 2*(100vw - 320px)/1600);
    font-weight: 600;
    color: #2F492F;
    margin-bottom: 8px;
}

.gb-about-emotion-card p {
    font-size: calc(13px + 1*(100vw - 320px)/1600);
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 0;
}


/* ─────────────────────────────────────────
   APIE MUS — Sekcijos antraštė
   ───────────────────────────────────────── */

.gb-about-section-title {
    font-size: calc(20px + 6*(100vw - 320px)/1600);
    font-weight: 700;
    color: #2F492F;
    text-align: center;
    margin-bottom: 8px;
    padding-top: calc(16px + 16*(100vw - 320px)/1600);
}

.gb-about-section-desc {
    font-size: calc(13px + 1*(100vw - 320px)/1600);
    color: #64748b;
    text-align: center;
    max-width: 560px;
    margin: 0 auto calc(16px + 16*(100vw - 320px)/1600);
    line-height: 1.6;
}


/* ─────────────────────────────────────────
   APIE MUS — Paslaugų kortelės
   ───────────────────────────────────────── */

.gb-service-card {
    background: #fff;
    border: 1px solid #eef1ee;
    border-radius: 12px;
    padding: calc(20px + 8*(100vw - 320px)/1600);
    margin-bottom: calc(8px + 4*(100vw - 320px)/1600);
    text-align: center;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.gb-service-card:hover {
    box-shadow: 0 8px 28px rgba(47, 73, 47, 0.09);
    border-color: rgba(47, 73, 47, 0.15);
    transform: translateY(-2px);
}

.gb-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2F492F 0%, #3a5c3a 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.gb-service-icon i {
    font-size: 20px;
    color: #fff;
}

.gb-service-card h4 {
    font-size: calc(14px + 2*(100vw - 320px)/1600);
    font-weight: 600;
    color: #2F492F;
    margin-bottom: 8px;
}

.gb-service-card p {
    font-size: calc(13px + 1*(100vw - 320px)/1600);
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}


/* ─────────────────────────────────────────
   APIE MUS — Closing citata
   ───────────────────────────────────────── */

.gb-about-closing {
    text-align: center;
    padding: calc(24px + 16*(100vw - 320px)/1600) 0;
    margin-top: calc(8px + 8*(100vw - 320px)/1600);
    border-top: 1px solid #eef1ee;
}

.gb-closing-leaf {
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.gb-closing-leaf i {
    font-size: 24px;
    color: #2F492F;
}


/* ─────────────────────────────────────────
   KONTAKTAI — Socialiniai tinklai
   ───────────────────────────────────────── */

.gb-contact-social h6 {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 12px;
}

.gb-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.gb-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f7faf7;
    border: 1px solid rgba(47, 73, 47, 0.1);
    color: #2F492F;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.gb-social-btn:hover {
    background: #2F492F;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.gb-closing-text {
    font-size: calc(16px + 4*(100vw - 320px)/1600);
    font-weight: 500;
    color: #2F492F;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}


/* ─────────────────────────────────────────
   BENDRIEJI — Grid Builder tipografija
   ───────────────────────────────────────── */

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #222;
    font-weight: 600;
}

.page-content p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 15px;
}

.page-content a {
    color: #2F492F;
    text-decoration: none;
    transition: color 0.15s ease;
}

.page-content a:hover {
    color: #FF6840;
}


/* ─────────────────────────────────────────
   BENDRIEJI — Kortelės, alert'ai, kt.
   ───────────────────────────────────────── */

.page-content .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.page-content .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.page-content .card-body {
    padding: 1.5rem;
}

.page-content .alert {
    border-radius: 8px;
    border: none;
    padding: 1.25rem 1.5rem;
}

.page-content .btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.page-content .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-content .btn-primary {
    background: #2F492F;
    border-color: #2F492F;
}

.page-content .btn-primary:hover {
    background: #3a5c3a;
    border-color: #3a5c3a;
}

.page-content .img-fluid {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.page-content .ratio {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.page-content hr {
    border-color: #eef1ee;
    opacity: 0.6;
}

.page-content .blockquote {
    border-left: 4px solid #2F492F;
    padding-left: 1.5rem;
    font-style: italic;
    color: #4a5568;
}

.page-content pre {
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.6;
}


/* ─────────────────────────────────────────
   TEISINIAI PUSLAPIAI — antraštė ir turinys
   ───────────────────────────────────────── */

.gb-page-title {
    font-size: calc(22px + 10*(100vw - 320px)/1600) !important;
    font-weight: 700 !important;
    color: #2F492F !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    text-transform: none !important;
    padding-top: 0 !important;
}

.gb-page-subtitle {
    font-size: calc(14px + 1*(100vw - 320px)/1600);
    color: #64748b;
    line-height: 1.7;
    max-width: 760px;
    margin-bottom: calc(16px + 12*(100vw - 320px)/1600);
}

.gb-legal-content {
    max-width: 100%;
}

.gb-legal-heading {
    font-size: calc(15px + 2*(100vw - 320px)/1600) !important;
    font-weight: 600 !important;
    color: #2F492F !important;
    margin-top: calc(16px + 8*(100vw - 320px)/1600) !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px;
    border-bottom: 1px solid #eef1ee;
    text-transform: none !important;
}

.gb-legal-content .gb-legal-heading:first-child {
    margin-top: 0 !important;
}

.gb-legal-text {
    margin-bottom: 4px;
}

.gb-legal-text p {
    font-size: calc(13px + 1*(100vw - 320px)/1600);
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 8px;
}

.gb-legal-text p:last-child {
    margin-bottom: 0;
}

.gb-legal-text strong {
    color: #2F492F;
    font-weight: 600;
}


/* ─────────────────────────────────────────
   Responsive koregavimai
   ───────────────────────────────────────── */

@media (max-width: 767px) {
    .page-content .container {
        padding: 20px 16px;
    }

    .gb-about-hero-title {
        font-size: 22px;
        padding-top: 8px;
    }

    .gb-about-hero-subtitle {
        font-size: 14px;
    }

    .gb-about-emotion-card {
        padding: 18px;
        margin-bottom: 12px;
    }

    .gb-service-card {
        padding: 18px;
    }

    .gb-about-section-title {
        padding-top: 16px;
    }

    .gb-about-closing {
        padding: 24px 0;
    }

    .gb-closing-text {
        font-size: 16px;
    }

    .gb-page-title {
        font-size: 22px !important;
    }

    .gb-legal-heading {
        font-size: 16px !important;
        margin-top: 16px !important;
    }
}
