/* ==========================================================================
   autolekalas.lt — Main Stylesheet (Mobile First)
   ========================================================================== */

/* ---------- CSS Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Spalvos */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --accent: #00e5ff;
    --accent-secondary: #00bfa5;
    --gradient: linear-gradient(135deg, #00e5ff, #00bfa5);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(0, 229, 255, 0.1);

    /* Šriftai */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 60px 0;
    --container-padding: 0 16px;

    /* Border radius */
    --radius: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section--alt {
    background-color: var(--bg-secondary);
}

/* ---------- Tipografija ---------- */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ---------- Mygtukai ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    min-height: 48px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 40px rgba(0, 229, 255, 0.2);
}

@media (hover: hover) {
    .btn-primary:hover::after {
        opacity: 1;
    }
}

@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
    }
}

/* ---------- Kortelės ---------- */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

@media (hover: hover) {
    .card:hover {
        border-color: rgba(0, 229, 255, 0.3);
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
    }
}

/* ---------- Utility klasės ---------- */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---------- Animacijos ---------- */
/* Turinys matomas pagal nutylėjimą — JS prideda .fade-ready klasę */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion — išjungti animacijas */
@media (prefers-reduced-motion: reduce) {
    .js-ready .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Kai nav meniu atidarytas — INSTANT išjungti backdrop-filter,
   nes jis sukuria containing block ir sulaužo position:fixed nav overlay */
.header.scrolled:has(.header__nav.active),
.header.scrolled.nav-open {
    transition: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 10, 10, 0.97);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.header__logo img,
.header__logo svg {
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .header__logo img,
    .header__logo svg {
        height: 40px;
        max-width: 220px;
    }
}

@media (min-width: 1024px) {
    .header__logo img,
    .header__logo svg {
        height: 48px;
        max-width: 280px;
    }
}

.header__nav {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
    display: flex;
    visibility: hidden;
    pointer-events: none;
}

.header__nav.active {
    visibility: visible;
    pointer-events: auto;
}

/* Nav linkai — subtili atidarymo animacija */
.header__nav a {
    opacity: 0;
    transform: translateY(10px);
}

.header__nav.active a {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header__nav.active a:nth-child(1) { transition-delay: 0.05s; }
.header__nav.active a:nth-child(2) { transition-delay: 0.1s; }
.header__nav.active a:nth-child(3) { transition-delay: 0.15s; }
.header__nav.active a:nth-child(4) { transition-delay: 0.2s; }
.header__nav.active a:nth-child(5) { transition-delay: 0.25s; }

.header__nav a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--accent);
}

.header__lang {
    display: flex;
    gap: 8px;
    z-index: 1001;
}

.header__lang a {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid transparent;
}

.header__lang a:hover {
    color: var(--accent);
}

.header__lang a.active {
    color: var(--accent);
    border-color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

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

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero__content {
    position: relative;
    z-index: 1;
    /* Apatinis tarpas rezervuoja vietą .hero__scroll rodyklei (bottom: 32px + 40px aukštis),
       kad hero turinys jos neužliptų žemuose languose. */
    padding: 0 16px 72px;
    max-width: 800px;
}

.hero__content h1 {
    margin-bottom: 1rem;
}

.hero__content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ---------- Socialinių tinklų ikonos ---------- */
.hero__social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-primary);
    transition: var(--transition);
}

.hero__social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (hover: hover) {
    .hero__social a:hover {
        background: var(--gradient);
        border-color: transparent;
        color: var(--bg-primary);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
        transform: translateY(-2px);
    }
}

.hero__social a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: scrollBounce 2s infinite;
}

/* Žemuose languose (pvz. gulsčias telefonas) slinkties rodyklei vietos nėra.
   Ji dekoratyvi (aria-hidden), tad slepiama - kitaip užliptų ant hero turinio,
   ypač jei per CMS įrašomas ilgesnis hero tekstas. */
@media (max-height: 640px) {
    .hero__scroll {
        display: none;
    }
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.hero__scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ==========================================================================
   PASLAUGOS (Services)
   ========================================================================== */
.services-section {
    padding: var(--section-padding);
}

.services-section > .container > h2 {
    text-align: center;
}

.services-section .ppf-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.ppf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 4rem;
}

.ppf-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

@media (hover: hover) {
    .ppf-card:hover {
        border-color: rgba(0, 229, 255, 0.3);
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0, 229, 255, 0.08);
    }
}

.ppf-card__image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ppf-card__content {
    padding: 24px;
}

.ppf-card__level {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 8px;
}

.ppf-card__content h3 {
    margin-bottom: 12px;
}

.ppf-card__list {
    margin-bottom: 16px;
}

.ppf-card__list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.ppf-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

.ppf-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

/* Paslaugų blokai */
.service-block {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-block h3 {
    color: var(--text-primary);
}

.service-block p {
    max-width: 800px;
}

.service-block__price {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

/* ==========================================================================
   APIE (About)
   ========================================================================== */
.about-section {
    padding: var(--section-padding);
}

.about-section .about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    white-space: pre-line;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
}

.stat-item__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.stat-item__icon svg {
    width: 100%;
    height: 100%;
}

.stat-item__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item__label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   KONTAKTAI (Contact)
   ========================================================================== */
.contact-section {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info__item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-info__item a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-info__item a:hover {
    color: var(--accent);
}

.contact-info__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-info__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.contact-info__socials a:hover {
    border-color: var(--accent);
    background: rgba(0, 229, 255, 0.1);
}

.contact-info__socials svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-info__socials a:hover svg {
    color: var(--accent);
}

/* Formos stiliai */
.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 191, 165, 0.1);
    border: 1px solid rgba(0, 191, 165, 0.3);
    color: var(--accent-secondary);
}

.form-message.error {
    display: block;
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: #ff5252;
}

/* Honeypot — paslėptas nuo botų, neištempia dokumento pločio */
.form-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Google Maps */
.contact-map {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
    flex-shrink: 0;
}

/* Navigation buttons */
.nav-buttons {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
}

.nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-btn--google {
    background: #4285F4;
    color: #fff;
}

.nav-btn--google:hover {
    background: #3367D6;
    color: #fff;
}

.nav-btn--waze {
    background: #33CCFF;
    color: #000;
}

.nav-btn--waze:hover {
    background: #22b8e6;
    color: #000;
}

.nav-btn--apple {
    background: #fff;
    color: #000;
}

.nav-btn--apple:hover {
    background: #e8e8e8;
    color: #000;
}

@media (max-width: 480px) {
    .nav-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   GALERIJA (Gallery)
   ========================================================================== */
.gallery-section {
    padding: var(--section-padding);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 1;
    transition: var(--transition);
}

@media (hover: hover) {
    .gallery-card__overlay {
        opacity: 0;
    }

    .gallery-card:hover .gallery-card__overlay {
        opacity: 1;
    }
}

.gallery-card__overlay h3 {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Album Modal (Layer 1) */
.album-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1900;
    background: var(--bg-primary);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
}

.album-modal.active {
    display: flex;
}

.album-modal__header {
    position: sticky;
    top: 0;
    z-index: 1901;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.album-modal__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    flex-shrink: 0;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.album-modal__back:hover {
    background: rgba(255, 255, 255, 0.12);
}

.album-modal__title-group {
    flex: 1;
    min-width: 0;
}

.album-modal__title-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-modal__count {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.album-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.album-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.album-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    animation: albumFadeIn 0.25s ease;
}

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

.album-modal__photo {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-secondary);
}

.album-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

@media (hover: hover) {
    .album-modal__photo:hover img {
        transform: scale(1.05);
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox__content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox__close {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    z-index: 2001;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: 16px;
}

.lightbox__nav--next {
    right: 16px;
}

/* Gallery Pagination (Load More) */
.gallery-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
}

.gallery-counter {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gallery-load-more {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    position: relative;
}

@media (hover: hover) {
    .gallery-load-more:hover {
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 229, 255, 0.1);
    }
}

.gallery-load-more.loading {
    color: transparent;
    pointer-events: none;
}

.gallery-load-more.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent);
    border-top-color: transparent;
    border-radius: 50%;
    animation: gallerySpinner 0.6s linear infinite;
}

@keyframes gallerySpinner {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__brand img,
.footer__brand svg {
    height: 36px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer__brand p {
    font-size: 0.9rem;
}

.footer__heading,
.footer__nav h4,
.footer__contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: block;
}

.footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__contact p {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__contact .email-link {
    color: #fff;
    transition: var(--transition);
}

.footer__contact .email-link:hover {
    color: var(--accent);
}

.email-link {
    word-break: break-all;
}

.footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer__privacy {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer__privacy:hover {
    color: var(--accent);
}

/* ==========================================================================
   SERVICE CTA
   ========================================================================== */
.service-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    transition: var(--transition);
}

@media (hover: hover) {
    .service-cta:hover {
        background: var(--accent);
        color: var(--bg-primary);
        transform: translateY(-1px);
    }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-section {
    padding: var(--section-padding);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 3rem;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.review-meta strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.review-meta span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
    padding: var(--section-padding);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition);
    background: none;
    border: none;
}

.faq-question span {
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item--open .faq-chevron {
    transform: rotate(180deg);
}

@media (hover: hover) {
    .faq-question:hover {
        color: var(--accent);
    }
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item--open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner.visible {
    display: flex;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-banner .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
    min-height: 40px;
}

.cookie-privacy-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.cookie-privacy-link:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   PRIVACY MODAL
   ========================================================================== */
.privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.privacy-modal.active {
    display: flex;
}

.privacy-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.privacy-modal__content {
    position: relative;
    background: var(--bg-secondary, #111);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.privacy-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.privacy-modal__header h2 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

.privacy-modal__close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    line-height: 0;
}

.privacy-modal__close:hover {
    color: var(--text-primary);
}

.privacy-modal__body {
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.privacy-modal__body h3 {
    font-size: 1rem;
    color: var(--accent);
    margin: 24px 0 8px;
}

.privacy-modal__body h3:first-of-type {
    margin-top: 16px;
}

.privacy-modal__body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.privacy-modal__updated {
    margin-top: 24px !important;
    font-size: 0.8rem !important;
    color: var(--text-muted, rgba(255,255,255,0.35)) !important;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE — Tablet (768px)
   ========================================================================== */
@media (min-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --container-padding: 0 32px;
    }

    /* Header — desktop nav: visada su fonu, kad nav linkai nesipersiklotų su hero */
    .header {
        background: rgba(10, 10, 10, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hamburger {
        display: none;
    }

    .header__nav {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        gap: 28px;
        visibility: visible;
        pointer-events: auto;
    }

    .header__nav a {
        opacity: 1;
        transform: none;
        transition: color var(--transition);
    }

    .header__nav a {
        font-size: 0.95rem;
    }

    .header__nav a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient);
        transition: var(--transition);
    }

    .header__nav a:hover::after,
    .header__nav a.active::after {
        width: 100%;
    }

    /* PPF grid */
    .ppf-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Album Modal */
    .album-modal__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 20px;
    }

    .album-modal__header {
        padding: 16px 20px;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE — Desktop (1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    :root {
        --section-padding: 100px 0;
        --container-padding: 0 40px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Album Modal */
    .album-modal__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding: 24px;
    }

    .album-modal__header {
        padding: 16px 24px;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   RESPONSIVE — Wide (1280px)
   ========================================================================== */
@media (min-width: 1280px) {
    :root {
        --container-padding: 0 48px;
    }
}
