﻿
/*=========DESKTOP============ */

/* BENDRI MYGTUKAI */
.btn-primary {
    display: inline-block;
    background-color: #0071eb;
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background-color: #005bbd;
}


.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 20px;
    height: 20px;
}

.arrow-icon::after {
    content: "❯";
    font-size: 20px;
    font-weight: 200;
    opacity: 0.9;
}

.arrow-icon-back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 20px;
    height: 20px;
}

.arrow-icon-back::after {
    content: "❮";
    font-size: 20px;
    font-weight: 200;
    opacity: 0.9;
    color: #ffffff;
}

hr {
    border: none;
    border-top: 1px solid #dcdcdc;
    margin: 10px 0;
}


/*---------------------------- BLOKAS: TOP ---------------------------------*/

.block-top {
    display: flex;
    flex-direction: column; /* vienas stulpelis */
    align-items: center;    /* centruoja VISĄ turinį horizontaliai */
    justify-content: center;
	position: relative;
    text-align: center;     /* centruoja tekstą viduje */
    gap: 40px;
    padding: 80px 20px 100px 20px;
    background-color: #003DA4;
	box-sizing: border-box !important;
}

.back-link-wrapper {
    position: absolute;
    top: 100px;      /* 20px nuo viršaus */
    left: 40px;     /* 40px nuo kairio krašto */
    display: flex;
    justify-content: flex-start;
    width: auto;    /* svarbu – kad neužimtų 100% */
    z-index: 9999;   /* visada ant viršaus */
}

.back-link {
    display: flex;
    padding: 20px 40px;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight:600;
    letter-spacing: 0.8px;
}

.block-top-text {
    display: flex;
    flex-direction: column;
    align-items: center;    /* centruoja H3 ir p kaip grupę */
    text-align: center;
	width: 80%;
 	margin: 40px auto;
    color: #ffffff;
    gap: 10px;
}
.block-top-text-long {
    display: flex;
    flex-direction: column;
    align-items: center;    /* centruoja H3 ir p kaip grupę */
    text-align: center;
	width: 60%;
 	margin: 40px auto;
    color: #ffffff;
    gap: 10px;
}

.block-top-text, .block-top-text-long h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0px;
}

.block-top-text, .block-top-text-long p {
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 10px;
}

/*--------------------------------------MYGTUKAS PURF-ROGE------------------------- */

.route-switch {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 420px;
    min-width: 380px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 2px; /* svarbu – balta juostelė aplink */
    border: 1px solid #d0d7e2;
    overflow: hidden;
}

/* SLANKIOJANTIS MĖLYNAS FONAS */
.switch-bg {
    position: absolute;
    top: 4px;  /* svarbu, turi sutapti su padding – balta juostel? aplink */
    left: 4px;
	width: calc(50% - 4px); /* mažesnis, kad likt? balta juosta */
	height: calc(100% - 8px);
    background: #041E42;
    border-radius: 8px;
    transition: transform 0.25s ease;
    z-index: 1;

}

/* MYGTUKAI */
.switch-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    color: #041E42;
    transition: color 0.25s ease;
    text-decoration:none;
	white-space: nowrap;
}

/* AKTYVUS MYGTUKAS */
.switch-btn.active {
    color: #fff;
}

/* JEI AKTYVUS ANTRAS MYGTUKAS → perstumti mėlyną į dešinę */
.switch-btn:nth-of-type(2).active ~ .switch-bg {
    transform: translateX(100%);
}

/* JEI AKTYVUS PIRMAS MYGTUKAS → mėlynas kairėje */
.switch-btn:nth-of-type(1).active ~ .switch-bg {
    transform: translateX(0%);
}

/* MENIU BLOKAI */
.route-content {
    display: none;
}

.route-content.active {
    display: block;
}

/*---------------------------------- BLOKAS - KAINU KORTELES------------------------------- */

/* KORTELĖ */
.lp-card {
    width: 60%;
    margin: -120px auto;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    padding: 0 30px 0px 30px;
    display: flex;
    gap: 40px;
    position: relative;
}

/* KAIRYS BLOKAS */
.lp-left {
    width: 55%;
    position: relative;
    padding: 10px 20px 30px 20px; /* vieta linijai */
}

.lp-left h3 {
    font-size: 24px;
    font-weight: 600;      /* plonesnis, bet ne plonas */
    letter-spacing: 1.2px; /* tarpai tarp raidžių */
    margin-bottom: 18px;
    color: #000;
}

.lp-left p {
    font-size: 16px;
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.35;
}

.lp-check-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background: #E8B92B; /* geltona */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 200;
    color: #000; /* juoda varnelė */
    margin-right: 12px;
}

/* VERTIKALI LINJA */
.lp-left::after {
    content: "";
    position: absolute;
    top: 10px;      /* atitraukimas nuo viršaus */
    bottom: 10px;   /* atitraukimas nuo apačios */
    right: 0;       /* linija už kairio bloko */
    width: 1px;
    background: #dcdcdc;
}

/* DEŠINYS BLOKAS */
.lp-right {
    width: 45%;
    display: flex;
    flex-direction: column;
	justify-content: space-between; /* stumia mygtuką į apačią */
    padding: 0 10px 30px 10px;        /* svarbu: nuimame viršutinį padding */
}

/* GELTONA JUOSTA */
.lp-yellow {
    background: #E8B92B;
    padding: 4px 20px;     /* siauresnė juosta */
	border-radius: 0 0 6px 6px;   
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 18px -10px;    /* svarbu: jokių tarpų viršuje */
    align-self: flex-start;
    width:auto;
}

/* MAŽI TEKSTAI */
.lp-small {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    margin-left:50%;
    text-align:right;
}

.lp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.lp-row .lp-small2 {
    font-size: 14px;
    color: #444;
    width:20%;
}

.lp-row .lp-price {
    font-size: 36px;
    font-weight: 700;
    white-space: nowrap;
}

/* MYGTUKAS */
.lp-btn {
    background: #003DA4;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
	display: flex; 
	justify-content: center;
    text-align:center;
    width: 80%;
	margin-top: auto; /* garantuoja, kad bus apačioje */
}

.lp-btn:hover {
    background: #002a52;
}

/*--------------------------------- BLOKAS: 1 stulpelis -------------------------*/

.block-one {
    display: flex;
    justify-content: center;   /* centruoja VISĄ bloką */
    align-items: flex-start;
    width: 80%;
    margin: 0 auto;     /* CENTRUOJA BLOKĄ */
    padding-top:140px;
}

.block-one-text {
    align-items: center;
    width: 100%;
    text-align: left;   /* TEKSTAS KAIRĖJE */
    
}
 
.block-one-text h2 {
    font-size: 24px;
    font-weight: 700;
}

.block-one-text p {
    font-size: 16x;
}

.block-one-image img {
    width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}


/* GELTONŲ TAŠKELIŲ MENIU */

.yellow-dot-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yellow-dot-menu li {
    align-items: center;
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.35;
	display: block;
    column-count: 1;
    width: 100%;
}

.yellow-dot-menu li a {
	white-space:nowrap;
}


/* geltonas apskritimas */
.yellow-dot-menu li::before {
    content: "";
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    background: #E8B92B;
    border-radius: 50%;
    margin-right: 12px;
    display: inline-block;
    position: relative;
}

/*--------------------------------- AKARDIONAS -------------------------*/

.accordion {
    width: 80%;
    margin: 0 auto;
    font-family: inherit;
   	padding:20px 0 80px 0;
}

/* HEADER */
.acc-header {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3px; /* tarpai tarp raidžių */
    color: #003B71;
}

/* PILKAS APSKRITIMAS SU RODYKLE */
.acc-icon {
    width: 26px;
    height: 26px;
    background: #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;     /* centras vertikaliai */
    justify-content: center; /* centras horizontaliai */
    position: relative;
}

/* RODYKLĖ VIDUJE */
.acc-icon::before {
    content: "";
    width: 6px;              /* šiek tiek didesnė, kad proporcija būtų graži */
    height: 6px;
    border-right: 1.8px solid #003B71;
    border-bottom: 1.8px solid #003B71;
 	transform: rotate(45deg) translateY(-1px); /* OPTINIS CENTRAVIMAS */
    transition: transform 0.25s ease;
    display: block;          /* svarbu: leidžia tiksliai centruoti */
}

/* APSIVERTUSI RODYKLĖ */
.acc-item.active .acc-icon::before {
transform: rotate(-135deg) translateY(-1px); /* kompensacija į kitą pusę */
}

/* CONTENT */
.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-left: 0;
}

.acc-item.active .acc-content {
    max-height: 800px;
    padding-bottom: 12px;
}

.acc-header .acc-title {
	text-align:left;
}


.acc-content p {
    margin: 6px 0;
    font-size: 16px;
    color: #333;
}



.ticket-wrapper {
    position: relative;
    width: 100%;
    margin: 0 0 40px 0;
    z-index: 20;}

/* KONTEINERIS */
.ticket-cards {
    display: flex;
    justify-content: center;
  	align-items: flex-end; /* svarbiausia dalis */
    gap: 32px;
    padding: 20px 0;
    transform: translateY(-92px); /* kortelės pakyla ant antro bloko*/
}

/* KORTELĖ */
.ticket-card {
    background: #ffffff;
    width: 300px; 
    padding: 4px 20px 50px 20px; 
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    overflow: hidden;
	height: auto;
}

/* HOVER — tik border */
.ticket-card:hover {
    border-color: #999; 
    box-shadow: 0 6px 24px rgba(0,0,0,0.12); 
}

/* PAVADINIMAS SU PLONA LINIJĄ APAČIOJE */
.ticket-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 14px;
    position: relative;
}

.ticket-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #dcdcdc;
}

/* TEKSTAI */

.ticket-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1px;
    width: 100%;
}

/* Kairysis tekstas */
.ticket-middle p {
    font-size: 15px;
    color: #444;
    margin: 0;
    text-align: left;
    padding-right:40px;
}

/* Dešinysis blokas (label + price) */
.price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;
}

/* Mažos raidės virš kainos */
.price-label {
    font-size: 14px;
    color: #444;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

/* Kaina — palieku tavo originalų stilių */
.price {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin: 0;
	white-space: nowrap;
}

/* GELTONA JUOSTA APAČIOJE */
.ticket-card .note {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background:#E8B92B; 
    padding: 6px 0;
    font-size: 15px;
    color: #000;
    font-weight: 400;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.15);
}


/*---------------------------- TICKET STRUKTŪRA LINIJOMIS ---------------------------------*/

/* PRADINIS BLOKAS (2 stulpeliai) */
.ticket-master-row {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 40px;
    padding: 200px 100px;
    align-items: flex-start;
    margin-top:-120px;
    margin-bottom:60px;
}

/* 1 stulpelis – stambus pavadinimas */
.tm-title {
    font-size: 28px;
    font-weight: 700;
	display: flex;
    flex-direction: column;
    gap: 6px; /* tarpas tarp pavadinimo ir aprašymo */}
    
.tm-title .tm-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}    

/* 2 stulpelis – blokų konteineris */
.ticket-block {
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    gap: 32px;
    align-items: stretch; /* svarbiausia */
}

/* VIDINIS BLOKAS (3 stulpeliai) */
.ticket-block {
    display: grid;
    grid-template-columns: 4fr 1.5fr auto;
    gap: 32px;
	position: relative;
	padding: 40px 0 ;
}


.ticket-block::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 1.5px;
     background: #c5c9d0; /* tamsesnė, ryškesnė */
         opacity: 0.5;
}

/* 1 stulpelis – pavadinimas + aprašymas */
.tb-info strong {
    font-size: 24px;
}
.tb-info p {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.5;
}

/* 2 stulpelis – mažas tekstas + kaina */
.tb-details,
.tb-details-non {
    position: relative;      /* rodyklė centruojama pagal šį bloką */
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 48px;     /* vieta rodyklei dešinėje */
}

/* geltonas tag */
.ticket-block[data-tag]::after {
    content: attr(data-tag);
    position: absolute;
    top:0px; /* prilipęs prie linijos apačios */
    right: 0;
    background: #E8B92B;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tb-details::before {
    content: attr(data-tag); /* tekstas iš HTML */
    position: absolute;
    top: -40px;               /* prilipina prie linijos */
    right: 0;
    background:#E8B92B; 
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}


.tb-details::before,
.tb-details-non::before {
    content: none !important;
}


.small-note {
    font-size: 13px;
	margin-left: 0 !important;
	text-align: left;
}

.big-price {
    font-size: 20px;
    font-weight: 700;
	margin-left: 0 !important;
	text-align: left;
}

/* RODYKLĖ  */
.tb-arrow {
    position: absolute;
    right: 0;
    top: 50%;                /* centras pagal kainos bloką */
    transform: translateY(-50%);
    transform: translateX(100%);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}









/*============MOBILE CSS (≤ 768px)==================== */

@media (max-width: 768px) {

.lp-card,
.ticket-block,
.block-one,
.block-two,
.ticket-cards {
    width: 100%;
    box-sizing: border-box;
}

.block-top {
    display: flex;
    flex-direction: column; /* vienas stulpelis */
    align-items: center;    /* centruoja VISĄ turinį horizontaliai */
    justify-content: center;
    text-align: center;     /* centruoja tekstą viduje */
    gap: 40px;
    padding: 80px 40px 60px 40px;
    background-color: #003DA4;
}

.block-top-text, .block-top-text-long  {
	width: 100%;
    max-width: 100%; 
 	margin: 0px auto;
}



.block-top-text, .block-top-text-long h1 {
    font-size: 30px;
}


.back-link-wrapper {
    position: absolute;
    top: 100px;      /* nuo viršaus */
    left: 30px;      /* nuo kairio krašto */
    display: flex;
    justify-content: flex-start;
    width: auto;    /* svarbu – kad neužimtų 100% */
    z-index: 9999;   /* visada ant viršaus */
}

.back-link {
    padding: 0px;
    font-size:16px;
    font-weight:400;
}

    /* BLOKAS 1-stulpelis */
    .block-one {
        flex-direction: column;
        text-align: center;
        padding: 20px 0px 20px 20px;
        gap: 24px;
    }

    .block-one-text {
        max-width: 90%;
        margin:0 auto;
        order: 1;
    }

    .block-one-image {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .block-one-image img {
        width: 100%;
        max-width: 420px;
        border-radius: 8px;
    }


    /* BLOKAS 2-stulpeliai */
    .block-two {
        flex-direction: column;
        text-align: center;
        padding: 0px 20px 0px 20px;
        gap: 20px;
    	margin-bottom:10px;
    }

    .block-two-text,
    .block-two-image {
        max-width: 90%;
        margin:0 auto;
    }
    
.block-two-text p {
    margin-bottom: 0px;
}

    .block-two-image img {
        width: 100%;
        max-width: 420px;
        border-radius: 8px;
    }


    /* KORTELĖS – viena po kitos */
    .ticket-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 30px 0 0 0;
        transform: none;
    }

    .ticket-card {
        width: 90%;
        max-width: 360px;
    }
/*---------------------------------- BLOKAS - KAINU KORTELES------------------------------- */

    /* KORTELĖ – 1 stulpelis */
    .lp-card {
        flex-direction: column;
    	display: flex;
    	align-items: center;    
        width: 100%;
		box-sizing: border-box !important;
		padding-bottom:20px;
        gap: 20px;
        margin: -80px 0px 0 0px;
    }

    /* KAIRYS BLOKAS – pilnas plotis */
    .lp-left {
        width: 100%;
		box-sizing: border-box !important;
        padding: 5px 0 20px 0;
        position: relative;
    }
.lp-left h3 {
    font-size: 20px;
}

.lp-left p {
    font-size: 16px;
}

.lp-check-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    background: #E8B92B; /* geltona */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 200;
    color: #000; /* juoda varnelė */
    margin-right: 12px;
}
    

    /* VERTIKALI LINJA → HORIZONTAL */
    .lp-left::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        width: 100%;
        background: #dcdcdc;
        top: auto;          /* išjungiam vertikalų */
    }

    /* DEŠINYS BLOKAS – pilnas plotis */
    .lp-right {
        width: 100%;
        padding: 10px 0 0 0;
    }

    /* GELTONA JUOSTA – pilnas plotis mobile */
    .lp-yellow {
        margin: -30px 0 18px 0;
        width: auto;
        border-radius: 0 0 6px 6px;
    	font-size: 12px;
    }

    /* MAŽAS TEKSTAS – į kairę */
    .lp-small {
        margin-left: 0;
        text-align: right;
    	margin-bottom: 0px;
    }

    /* KAINOS EILUTĖ – 1 stulpelis */
.lp-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* kaina į dešinę */
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
    .lp-row .lp-small2 {
        width: auto;
        text-align: left;

    }

    /* MYGTUKAS – pilnas plotis */
.lp-btn {
    width: 90%;
    margin: 0 auto; /* centruoja mygtuką */
    display: block; /* kad margin auto veiktų stabiliai */
}

/*---------------------------- TICKET STRUKTŪRA LINIJOMIS mobile ---------------------------------*/

    .ticket-master-row {
        grid-template-columns: 1fr;
        margin-top:-40px;
        padding: 40px;
        gap: 20px;
    	margin-bottom:20px;
    }

    .ticket-block {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
        position: relative;
    }

    .ticket-block::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1.5px;
        background: #c5c9d0;
        opacity: 0.5;
    }

    /* GELTONAS TAG PRIRIŠTAS PRIE BLOKO */
    .ticket-block[data-tag]::after {
        content: attr(data-tag);
        position: absolute;
        top: 0px;
        right: 0;
        background: #E8B92B;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }

    /* IŠJUNGIAM SENĄ TAG’Ą */
    .tb-details::before,
    .tb-details-non::before {
        content: none !important;
    }

    .tb-details,
    .tb-details-non {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: relative;
        padding-right: 45px;
    }

    .small-note {
        font-size: 14px;
        margin: 0;
    }

    .big-price {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
    }

    .tb-arrow {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tb-info {
    	padding-right:90px;
    }


    .tb-info strong {
        font-size: 20px;
    }
    .tb-info p {
        font-size: 15px;
        margin-top: 6px;
    }

/*--------------------------------------MYGTUKAS PURF-ROGE------------------------- */

    .route-switch {
        max-width: 330px;
        min-width: 300px;
        padding: 3px;
        border-radius: 10px;
    }

    .switch-bg {
        top: 3px;
        left: 3px;
        width: calc(50% - 3px);
        height: calc(100% - 6px);
        border-radius: 6px;
    }

    .switch-btn {
        padding: 8px 0;
        font-size: 12px;
    }

}

/*--------------------------------- AKARDIONAS -------------------------*/


/* HEADER */
.acc-header {
    font-size: 16px;
    letter-spacing: 0.2px; /* tarpai tarp raidžių */
}

