/* ─────────────────────────────────────────────────────────────
   BALTIJOS KONSERVAI - MAIN STYLESHEET
   Fontai: Lora (serif for headings), Inter (sans-serif for body)
   ───────────────────────────────────────────────────────────── */


/* ── Animations ── */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}


/* ── Global Reset ── */

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

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    overflow-x: hidden;
}


/* ── Hero Section ── */

.bk-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Background Image */

.bk-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bk-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Dark Overlay */

.bk-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 13, 24, 0.75) 0%, rgba(4, 47, 70, 0.65) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}


/* Content */

.bk-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 120px 24px 80px;
}


/* ── Badge ── */

.bk-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    margin-bottom: 2rem;
    animation: fadeUp 0.6s ease 0.1s both;
}

.bk-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5ee8d0;
    animation: pulse-dot 2s ease-in-out infinite;
}

.bk-badge-text {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}


/* ── Titles (H1, H2 etc.) ── */

.bk-title,
h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Lora', serif;
}

.bk-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 0.92;
    color: #ffffff;
    margin: 0 0 0.3em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
    animation: fadeUp 0.7s ease 0.25s both;
}

.bk-title-shimmer {
    background: linear-gradient(135deg, #ffffff 0%, #05aee4 58%, #ffffff 85%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s linear infinite;
}

.bk-title-sub {
    display: block;
    font-weight: 500;
    font-size: 0.65em;
    color: rgba(255, 255, 255, 0.95);
}


/* ── Description (small text) ── */

.bk-desc,
p,
.text-body,
.font-body {
    font-family: 'Inter', sans-serif;
}

.bk-desc {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    animation: fadeUp 0.7s ease 0.4s both;
}


/* ── Buttons ── */

.bk-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 3rem;
}

 .bk-btn-primary {
        padding: 14px 36px !important;
        border-radius: 40px !important;
        background: linear-gradient(135deg, #05aee4, #008bc2) !important;
        color: white !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        display: inline-block !important;
        transition: all 0.3s ease !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 4px 15px rgba(5, 174, 228, 0.3) !important;
    }

.bk-btn-primary:hover {
        background: linear-gradient(135deg, #26c8f8, #05aee4) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(5, 174, 228, 0.4) !important;
}

.bk-btn-ghost {
    padding: 14px 36px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}


/* ── Stats ── */

.bk-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease 0.7s both;
}

.bk-stat {
    text-align: center;
}

.bk-stat-n {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.bk-stat-l {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.05em;
    margin-top: 5px;
}

.bk-stat-div {
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    align-self: stretch;
    margin: 4px 0;
}


/* ── Bottom Wave ── */

.bk-bottom-wave {
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 11;
    margin-top: auto;
}


/* ── Product Cards ── */

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}


/* Badge variants */

.badge-green,
.badge-navy,
.badge-teal,
.badge-gold {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.badge-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-navy {
    background: rgba(3, 13, 24, 0.15);
    color: #042f46;
    border: 1px solid rgba(3, 13, 24, 0.2);
}

.badge-teal {
        background: rgba(5, 174, 228, 0.15) !important;
        color: #000000 !important;
        border: 1px solid rgba(5, 174, 228, 0.3) !important;
}

.badge-gold {
    background: rgba(201, 168, 76, 0.15);
    color: #c9a84c;
    border: 1px solid rgba(201, 168, 76, 0.3);
}


/* Ocean Button */

.btn-ocean {
    background: linear-gradient(135deg, #05aee4, #008bc2) !important;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

/* Ghost Button */
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}


/* Cards and steps */

.why-card,
.process-step {
    transition: all 0.3s ease;
}

.why-card:hover,
.process-step:hover {
    transform: translateY(-3px);
}


/* Card headings */

.why-card h3,
.process-step h3,
.product-card h3 {
    font-family: 'Lora', serif;
}


/* Card text */

.why-card p,
.process-step p,
.product-card p {
    font-family: 'Inter', sans-serif;
}


/* Reveal animation */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}


/* ── CTA Band ── */

.cta-band {
    background: linear-gradient(135deg, #042f46, #065273);
}


/* Section headings */

section h2 {
    font-family: 'Lora', serif;
}


/* ─────────────────────────────────────────────────────────────
   MOBILE RESPONSIVE STYLES
   Optimizacija telefonams (iki 768px) ir planšetėms (768px - 1024px)
   ───────────────────────────────────────────────────────────── */


/* ── Mobile (iki 768px) ── */

@media (max-width: 768px) {
    /* Hero section */
    .bk-hero {
        min-height: 90vh;
    }
    .bk-content {
        padding: 100px 20px 60px;
    }
    .bk-badge {
        padding: 6px 18px;
        gap: 8px;
        margin-bottom: 1.5rem;
    }
    .bk-badge-text {
        font-size: 8px;
        letter-spacing: 0.1em;
    }
    .bk-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        line-height: 1;
        margin-bottom: 0.5rem;
    }
    .bk-title-sub {
        font-size: 0.55em;
    }
    .bk-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 8px;
    }
    /* Buttons mobile */
    .bk-btns {
        gap: 12px;
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .bk-btn-primary,
    .bk-btn-ghost {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    /* Stats mobile */
    .bk-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .bk-stat-n {
        font-size: 1.6rem;
    }
    .bk-stat-l {
        font-size: 0.6rem;
    }
    .bk-stat-div {
        display: none;
        /* Paslepiame separatorius ant mobilių */
    }
    /* Section padding */
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    section.py-24 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    /* Product cards */
    .product-card {
        margin-bottom: 1rem;
    }
    .product-card .p-6 {
        padding: 1.25rem;
    }
    .product-card h3 {
        font-size: 1.25rem;
    }
    .product-card p {
        font-size: 0.8rem;
    }
    /* Why us cards */
    .why-card,
    .process-step {
        padding: 1.25rem;
    }
    .why-card h3,
    .process-step h3 {
        font-size: 1.125rem;
    }
    .why-card p,
    .process-step p {
        font-size: 0.8rem;
    }
    /* Process step numbers */
    .process-step .w-20.h-20 {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    /* News section */
    .rounded-2xl.p-7 {
        padding: 1.25rem;
    }
    .font-mono.text-5xl {
        font-size: 2.5rem;
    }
    /* Location section */
    [style*="height:420px"] {
        height: 280px !important;
    }
    .grid-cols-1.sm\:grid-cols-2 {
        gap: 0.75rem;
    }
    .bg-white.rounded-xl.p-5 {
        padding: 1rem;
    }
    /* Heritage section */
    .flex.flex-col.lg\:flex-row {
        gap: 2rem;
    }
    .flex-1 .font-display.text-4xl {
        font-size: 2rem;
    }
    .rounded-2xl.overflow-hidden {
        max-width: 100%;
    }
    /* CTA section */
    .cta-band {
        padding: 2.5rem 1rem;
    }
    .cta-band h2 {
        font-size: 1.75rem;
    }
    .cta-band p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .cta-band .flex {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .cta-band .btn-ocean,
    .cta-band .btn-ghost {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    /* Wave SVG */
    .bk-bottom-wave svg,
    [style*="line-height:0"] svg {
        height: 40px;
    }
    /* Headings general */
    h2.font-display.text-4xl,
    .text-4xl.sm\:text-5xl {
        font-size: 1.75rem !important;
    }
    .text-4xl.sm\:text-5xl.lg\:text-6xl {
        font-size: 1.75rem !important;
    }
    /* Badge inline */
    .inline-block.px-4.py-1.5 {
        padding: 4px 12px;
        font-size: 0.65rem;
    }
    /* Icons row */
    .w-12.h-12 {
        width: 44px;
        height: 44px;
    }
    .w-10.h-10 {
        width: 36px;
        height: 36px;
    }
    /* Map iframe */
    iframe {
        height: 250px;
    }
}


/* ── Tablet (768px - 1024px) ── */

@media (min-width: 768px) and (max-width: 1024px) {
    .bk-content {
        padding: 100px 32px 60px;
    }
    .bk-title {
        font-size: clamp(3rem, 8vw, 5rem);
    }
    section.py-24 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    .grid-cols-1.md\:grid-cols-3 {
        gap: 1.5rem;
    }
    .product-card .p-6 {
        padding: 1.25rem;
    }
    h2.font-display.text-4xl.sm\:text-5xl.lg\:text-6xl {
        font-size: 2.5rem !important;
    }
    .bk-stats {
        gap: 1.8rem;
    }
}


/* ── Small mobile (iki 480px) ── */

@media (max-width: 480px) {
    .bk-badge {
        padding: 4px 14px;
    }
    .bk-badge-text {
        font-size: 7px;
    }
    .bk-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .bk-desc {
        font-size: 0.8rem;
    }
    .bk-stat-n {
        font-size: 1.3rem;
    }
    .bk-stat-l {
        font-size: 0.55rem;
    }
    .product-card .relative.h-56 {
        height: 180px;
    }
    .badge-green,
    .badge-navy,
    .badge-teal,
    .badge-gold {
        font-size: 7px;
        padding: 3px 8px;
    }
    .btn-ocean,
    .btn-ghost {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .cta-band h2 {
        font-size: 1.5rem;
    }
    .grid.grid-cols-1.sm\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    .flex.flex-wrap.gap-4 {
        gap: 0.75rem;
    }
    /* Stats row on mobile - make horizontal scroll or wrap better */
    .bk-stats {
        gap: 1rem;
    }
}


/* ── Fix for landscape orientation on mobile ── */

@media (max-width: 768px) and (orientation: landscape) {
    .bk-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    .bk-content {
        padding: 60px 20px 40px;
    }
    .bk-stats {
        margin-top: 1rem;
    }
}


/* ── Touch optimizations ── */

@media (hover: none) and (pointer: coarse) {
    .bk-btn-primary:hover,
    .bk-btn-ghost:hover,
    .btn-ocean:hover,
    .btn-ghost:hover,
    .product-card:hover,
    .why-card:hover,
    .process-step:hover {
        transform: none;
    }
    /* Larger touch targets */
    .bk-btn-primary,
    .bk-btn-ghost,
    .btn-ocean,
    .btn-ghost,
    a[href] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}