/* Global Styles */

* {
    font-family: 'Unbounded', sans-serif;
}

*:focus{
    box-shadow: none !important;
    outline: none !important;
    box-shadow: none !important;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--text-color-white);
    cursor: pointer;
}

a:hover {
    opacity: 0.7;
}


p {
    margin-bottom: 0;
}

.text-ld-color{
    color: black
}

.centered{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-new-line{
    flex-basis: 100%;
    height: 0;
}

button{
    border: none;
    background-color: var(--primary-color);
    color: var(--text-color-white);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

button:hover{
    filter: brightness(0.9);
}


/* MODULES */

.accordion-button:not(.collapsed){
    background-color: inherit !important;
}

.accordion-button::after{
    margin-left: 0;
}

.accordion *:focus{
    box-shadow: none !important;
    background-color: inherit !important;
}

.flatpickr-mobile{
    color: var(--text-color);
}

.flatpickr-mobile::placeholder{
    color: var(--text-color);
}

div.login_tg{
	display: inline-block;
	position: relative;
	height: max-content;
	padding: 1rem 2rem;
	margin-bottom: 1rem;
	border: 4px solid white;
	border-radius: 10px;
	text-align: center;
	width: 90%;
}
div.login_tg > *{
	display: block;
	color: var(--text-color-white);
	margin: 0 auto;
}

/* Navigation */
.navbar {
    background: var(--primary-color) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 48px;
}

.nav-link, .navbar-brand, .navbar-toggler {
    color: #fff !important;
}

.nav-link.active {
    color: #fff !important;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Hero Section */
.hero-section {
    background: url('/static/images/home.png');
    background-size: cover;
    background-position: left;
    color: #fff;
    padding: 100px 0 60px 0;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-section-content {
    background: rgba(34, 34, 34, 0.75);
    border-radius: 18px;
    display: inline-block;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    margin-top: 2rem;
    backdrop-filter: blur(2px);
}

.hero-section-content a {
    width: 250px;
    height: 70px;
}

/* Buttons */
.btn-main {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: .9em;
    font-weight: 600;
}

.btn-main:hover {
    background: var(--secondary-color);
    color: #fff;
}

.btn-outline-main {
    border: 2px solid var(--secondary-color);
    color: var(--text-color-white);
    background: var(--secondary-color);
    padding: .9em;
    font-weight: 600;
}

.btn-outline-main:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Features Section */
.feature-card {
    background-color: var(--gray-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(162,15,67,0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    color: black;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Routes Section */
.routes-section h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.route-card {
    background: var(--background-color);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--secondary-color);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    color: var(--text-color);
    height: 100%;
    position: relative;
    cursor: pointer;
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-card .when{
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--primary-color);
    color: var(--text-color-white);
    padding: 20px 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px var(--secondary-color);
    
}

.route-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.route-card h4 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.route-card .price{
    background-color: var(--primary-color);
    color: var(--text-color-white);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 2.5rem 0 1rem 0;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }

    .hero-section-content a {
        width: 80%;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }

    .hero-section-content {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .feature-card, .route-card {
    animation: fadeIn 1s ease-out;
}

.faq-section h2 {
    font-weight: 700;
}

/* Info Cards Section */
.info-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.info-card:not(:has(.info-card-bg)){
    background-color: #ddd;
}

.info-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: blur(3px);
}

.info-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 180px;
}
.info-card-content h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--primary-color);
}
.info-card-icon {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.info-text{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    margin-bottom: 0;
    color: white;
}


/* --- Discounts section --- */
.discounts .row{
    background-color: var(--gray-color);
}


.discounts .discount-text{
    position: relative;
    color: black;
}


.discounts .discount{
    position: absolute;
    top: -10px;
    right: 10px;
}

.discounts .discount span{
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 10px;
    color: white;
}


/* --- Top Bar Styles --- */
.top-bar {
    background: var(--secondary-color);
    color: var(--text-color);
    font-size: 1rem;
    padding: 0.5rem 0;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.5rem;
}
.top-bar-link {
    color: var(--text-color-white);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: color 0.2s;
    font-size: 1.08rem;
}
.top-bar-link:hover {
    opacity: 0.8;
}
.insta-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}
.insta-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: row;
        gap: 1.2rem;
        justify-content: center;
        align-items: center;
    }
    .top-bar {
        font-size: 0.98rem;
        padding: 0.5rem 0;
    }

    .rotation-mobile-90{
        transform: rotate(90deg);
    }
}

/* --- Modern FAQ Styles --- */
.modern-faq .accordion-item {
    border: none;
    box-shadow: 0 2px 16px rgba(160,15,67,0.3);
    margin-bottom: 18px;
    transition: box-shadow 0.3s;
    border-radius: 5px;
}
.modern-faq .accordion-item.active {
    box-shadow: 0 4px 24px rgba(160,15,67,0.15);
}
.modern-faq .accordion-button {
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s;
    border-radius: 5px;
    /* background-color: var(--gray-color) !important; */

}
.modern-faq .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    border-bottom: 1px #000 dashed;
}
.modern-faq .accordion-body {
    padding: 1.2rem 1.5rem 1.5rem 3.2rem;
    font-size: 1.05rem;
}

.modern-faq .faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.1rem;
    background: none !important;
}
.modern-faq .accordion-button::after {
    display: none;
}
.modern-faq .arrow {
    margin-left: auto;
    transition: transform 0.3s;
}
.modern-faq .accordion-button[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}



.news-item{
    padding: 10px;
    margin-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
}




/* --- Stats Section Styles --- */
.stats-section {
    background: none;
}
.stat-card {
    background: var(--gray-color);
    border-radius: 8px;
    padding: 2.2rem 2rem 1.5rem 2rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: none;
    transition: box-shadow 0.2s;
    height: 100%;
    color: black;
}
.stat-value {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1.25rem;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: black;
}
@media (max-width: 768px) {
    .stat-card {
        padding: 1.2rem 1rem 1rem 1rem;
        min-height: 100px;
        align-items: center;
        text-align: center;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .modern-faq .faq-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
        font-size: 0.9rem;
    }
    .modern-faq .faq-icon svg {
        width: 16px;
        height: 16px;
    }
    .modern-faq .accordion-button {
        gap: 0.6rem;
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}

/* USER STYLES */

.user-discount{
    /* background-color: var(--primary-color); */
    color: white;
}


.user-discount-code{
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    background-color: var(--gray-color);
}



/* SCROLL ANIMATED */

@keyframes scrollAnimateLeft {
    from { 
        opacity: 0; 
        transform: translate3d(-200px, 0, 0); 
    }
    to { 
        opacity: 1;
        transform: none;
    }
}


@keyframes scrollAnimateRight {
    from { opacity: 0; transform: translate3d(200px, 0, 0); }
    to { opacity: 1; transform: none; }
}

.scrolingAnimationLeft{
    animation: none;
    opacity: 0;
}

.activeView > .scrolingAnimationLeft{
    animation: scrollAnimateLeft 2s ease-in-out;
    opacity: 1;
}

.scrolingAnimationRight{
    animation: none;
    opacity: 0;
}

.activeView > .scrolingAnimationRight{
    animation: scrollAnimateRight 2s ease-in-out;
    opacity: 1;
}


@keyframes scaleAnimation{
    from{
        transform: scale(0);
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scaleAnimation{
    animation: none;
    opacity: 0;
    transform: scale(0);
}

.activeView > .scaleAnimation{
    animation: scaleAnimation 2s ease-in-out; 
    opacity: 1; 
    transform: scale(1); 
}