/**
 * Modern refresh: typography, spacing, cards, buttons.
 * Loaded after style.css; remove the <link> to revert.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --navy: #1d3961;
    --navy-dark: #152a48;
    --amber: #fcb326;
    --amber-light: #ffc75a;
    --ink: #1f2430;
    --muted: #5b6372;
    --line: #e6e8ec;
    --surface: #f6f7f9;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-hover: 0 2px 4px rgba(16, 24, 40, .06), 0 16px 40px rgba(16, 24, 40, .14);
    --nav-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: inherit;
    color: inherit;
    line-height: 1.25;
    letter-spacing: -.01em;
}

h1, h2, h3 {
    font-weight: 700;
    text-transform: none;
}

h1, .h1 { font-size: 40px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 18px; }

p { margin-bottom: 1.1em; }

a { transition: color .2s ease; }

img { border-radius: var(--radius-sm); }

.container { max-width: 1200px; }

/* fixed navbar offset (theme sets 65px margin) */
body.navbar-is-fixed-top { margin-top: var(--nav-h); padding-top: 0; }

/* ---------- Buttons ---------- */
.btn {
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    border-radius: 999px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary,
.btn-primary:focus {
    background-color: var(--amber);
    color: var(--ink);
    box-shadow: 0 6px 16px rgba(252, 179, 38, .35);
}

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--amber-light);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(252, 179, 38, .45);
}

.content-section .btn { margin-top: 32px; }

/* ---------- Navbar ---------- */
.navbar-default {
    background-color: rgba(29, 57, 97, .97);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .12);
    min-height: var(--nav-h);
}

.navbar-default .logo.navbar-btn { margin: 0; }
.logo img { height: 32px; margin: 22px 0; border-radius: 0; }

.navbar-toggle { margin-top: 21px; border-color: rgba(255, 255, 255, .3) !important; }

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding: 28px 18px;
        line-height: 20px;
    }
}

.navbar-default .navbar-nav > li > a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    position: relative;
}

.navbar-default .navbar-nav > li > a:hover { text-decoration: none; }

/* active item: amber underline instead of a filled block */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background: transparent;
}

@media (min-width: 768px) {
    .navbar-default .navbar-nav > li > a::after {
        content: '';
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 18px;
        height: 2px;
        background: var(--amber);
        transform: scaleX(0);
        transition: transform .25s ease;
    }
    .navbar-default .navbar-nav > li > a:hover::after,
    .navbar-default .navbar-nav > .active > a::after,
    .navbar-default .navbar-nav > .open > a::after {
        transform: scaleX(1);
    }
}

.dropdown-menu {
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    padding: 8px;
    margin-top: 0 !important;
    min-width: 260px;
}

.dropdown-menu > li > a {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu > li > a:hover { background: var(--surface); color: var(--navy); }

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
    background-color: var(--amber);
    color: var(--ink);
}

@media (max-width: 767px) {
    .navbar-default .navbar-collapse { background: var(--navy-dark); }
    .navbar-default .navbar-nav > .active > a { color: var(--amber) !important; }
    .dropdown-menu { box-shadow: none; }
}

/* ---------- Hero carousel ---------- */
#myCarousel { margin-top: 0; }

#myCarousel img { border-radius: 0; }

.carousel-caption {
    background: rgba(15, 25, 45, .55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 28px 36px 24px;
    text-shadow: none;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3 { margin-top: 0; }

.carousel-caption p { font-size: 15px; line-height: 1.6; margin-bottom: 0; }

.carousel-indicators li { width: 10px; height: 10px; margin: 0 4px; border-width: 2px; }
.carousel-indicators .active { width: 28px; height: 10px; margin: 0 4px; border-radius: 6px; background: var(--amber); border-color: var(--amber); }

/* ---------- Sections ---------- */
.content-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

@media (max-width: 767px) {
    .content-section { padding-top: 56px; padding-bottom: 56px; }
    h1, .h1 { font-size: 30px; }
    h2, .h2 { font-size: 24px; }
}

.gray-bg { background: var(--surface); }
.brown-bg { background: #eef0f3; }

/* section headings with a short accent bar */
.content-section.text-center > .container > .row:first-child h2 {
    margin: 0 0 48px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 26px;
}

.content-section.text-center > .container > .row:first-child h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: var(--amber);
}

/* ---------- Home: product cards ---------- */
#services .col-md-4 { margin-bottom: 24px; }

.service-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 44px 24px 32px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-item img { border-radius: 0; height: 72px; width: auto; }

.service-item h4 { margin: 24px 0 0; font-size: 18px; font-weight: 600; }

.service-item h4 a:hover { color: var(--navy); }

@media (min-width: 992px) {
    #services .row:nth-child(2) > .col-md-12 { display: flex; }
    #services .col-md-4 { float: none; display: flex; flex-direction: column; }
}

/* ---------- Home: promo ---------- */
#akcija .container { display: flex; flex-wrap: wrap; align-items: center; }

#akcija img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }

#akcija h3 { font-size: 30px; line-height: 1.25; margin: 24px 0 16px; text-transform: none; }

#akcija p { font-size: 17px; opacity: .9; }

#akcija p a {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

#akcija p a:hover { background: #fff; color: var(--navy) !important; }

@media (min-width: 992px) {
    #akcija .col-md-6:last-child { padding-left: 48px; text-align: left; }
    #akcija h3 { margin-top: 0; }
}

/* ---------- Home: contact ---------- */
#contact .col-md-4 { margin-bottom: 16px; }

.contact-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 20px;
    font-size: 16px;
}

.contact-item svg { color: var(--navy); }

.contact-item span { font-size: 16px; font-weight: 500; }

.contact-item a:hover { color: var(--navy); }

@media (min-width: 992px) {
    #contact .row:nth-child(2) > .col-md-12 { display: flex; }
    #contact .col-md-4 { float: none; display: flex; flex-direction: column; }
    .contact-item { flex: 1; display: flex; align-items: center; justify-content: center; }
}

/* ---------- Inner pages ---------- */
.main-container.content-section { padding-top: 64px; padding-bottom: 96px; }

.page-header {
    border-bottom: 0;
    margin: 0 0 36px;
    padding: 0;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.page-header::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 18px;
    border-radius: 4px;
    background: var(--amber);
}

.region-content .field--name-body h2 { font-size: 26px; margin-top: 56px; margin-bottom: 18px; }
.region-content .field--name-body h3 { font-size: 21px; margin-top: 40px; margin-bottom: 14px; }
.region-content .field--name-body > h2:first-child { margin-top: 32px; }

.region-content .field--name-body img { margin: 8px 0 16px; box-shadow: var(--shadow); }

.region-content ol,
.region-content ul { padding-left: 1.4em; margin-bottom: 1.4em; }

.region-content li { margin-bottom: .55em; }
.region-content li::marker { color: var(--navy); font-weight: 700; }

.region-content table { margin: 16px 0 28px; }
.region-content td { padding: 4px 24px 4px 0; vertical-align: top; }

article.produktas .field--name-field-p-pagr-foto { margin-right: 32px; margin-bottom: 32px; }
article.produktas .field--name-field-p-pagr-foto img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* category sub-navigation box on product pages */
#block-mainnavigation {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px 14px;
    margin-bottom: 40px;
}

#block-mainnavigation ul li.dropdown a.dropdown {
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--navy);
    margin-bottom: 10px;
}

#block-mainnavigation li { margin-bottom: 8px; font-size: 15px; }

#block-mainnavigation ul { margin-bottom: 0; padding-left: 0; }

#block-mainnavigation li::marker { content: none; }

#block-mainnavigation a.is-active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--amber); }

#block-mainnavigation a:hover { text-decoration: none; color: var(--navy); }

@media (max-width: 767px) {
    #block-mainnavigation ul li.dropdown { width: 100%; margin-bottom: 12px; }
}

/* product list cards */
.view .produktas {
    position: relative;
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}

.view .produktas:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.view .produktas .content img {
    border-radius: 0;
    width: 100%;
    transition: transform .6s ease;
}

.view .produktas:hover .content img { transform: scale(1.05); }

.view .produktas .field--name-field-p-pagr-foto img:hover { opacity: 1; }

.view .produktas .field--name-field-p-pagr-foto { float: none; margin: 0; }

.view .produktas .field--name-field-p-pagr-foto img { box-shadow: none; }

.view .produktas .content .field--item > a { display: block; overflow: hidden; }

.view .produktas .content .field--item > a::after {
    content: '';
    position: absolute;
    inset: 40% 0 0 0;
    background: linear-gradient(to bottom, rgba(10, 20, 40, 0), rgba(10, 20, 40, .8));
    pointer-events: none;
}

.view .produktas h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 24px 28px;
    z-index: 2;
    font-size: 22px;
    pointer-events: none;
}

.view .produktas h2 a {
    background: none;
    color: #fff;
    pointer-events: auto;
}

.view .produktas h2 a span::after {
    content: ' →';
    color: var(--amber);
    display: inline-block;
    transition: transform .25s ease;
}

.view .produktas:hover h2 a span::after { transform: translateX(6px); }

/* ---------- Footer ---------- */
.footer {
    background: #141a24;
    border-top: 0;
    padding: 32px 0;
}

.footer p { margin: 0; font-size: 13px; letter-spacing: .04em; color: #8b93a3; }

@media (max-width: 767px) {
    .copy, .solution { float: none; margin: 6px 0 !important; }
}

/* ---------- Cookie banner ---------- */
.cc_banner-wrapper .cc_banner {
    font-family: inherit !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    width: auto !important;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px !important;
    border-radius: var(--radius);
    background: #fff !important;
    box-shadow: var(--shadow-hover);
    color: var(--muted) !important;
}

.cc_banner .cc_message { font-size: 14px !important; line-height: 1.5 !important; }

.cc_banner .cc_more_info { color: var(--navy) !important; font-weight: 600; }

.cc_banner .cc_btn {
    border-radius: 999px !important;
    background: var(--amber) !important;
    color: var(--ink) !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    padding: 10px 26px !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 24px !important;
}

@media (min-width: 600px) {
    .cc_banner.cc_container { display: flex; align-items: center; flex-direction: row-reverse; justify-content: space-between; }
}

/* ---------- Small screens ---------- */
@media (max-width: 599px) {
    .btn { white-space: normal; max-width: 100%; padding: 12px 24px; line-height: 1.4; }
    .cc_banner .cc_btn { float: none !important; display: block !important; margin: 12px 0 0 !important; text-align: center; }
    .cc_banner-wrapper .cc_banner { padding: 14px 18px !important; }
    .cc_banner.cc_container { display: flex; flex-direction: column-reverse; }
}
