body {
    font-family: 'Exo 2', 'Arial Black', Gadget, sans-serif;
    color: #333333;
    background: #F5F7FA;
    min-height: 100vh;
}

.navbar-dark {
    background: linear-gradient(90deg, #ffffff, #adb2eb, #01a8c3, #27d980, #ffffff);
    position: relative;
}

.navbar-brand {
    position: relative;
    z-index: 1;
}

.logo-img {
    height: 45px;
    width: auto;
    position: relative;
    z-index: 1;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: #1E3A8A !important;
    transform: scale(1.05);
}

.nav-link i {
    font-size: 20px;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    transition: background-color 0.3s ease;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(31, 41, 55, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero {
    background: transparent;
}

.hero h1 {
    color: #1F2937;
    text-shadow: none;
    font-size: 36px;
    font-weight: 700;
}

/* Новый блок поиска билетов */
.ticket-search {
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

.ticket-search .container {
    background: transparent;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #E5E7EB;
    background: rgba(255, 255, 255, 0.9);
}

.tab-button {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #6B7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
}

.tab-button.active {
    color: #1F2937;
    background: #fff;
    border-bottom: 2px solid #10B981;
}

.tab-button:hover {
    color: #1F2937;
}

.search-form {
    background: transparent;
}

.search-form .form-control {
    border: none;
    border-radius: 8px;
    font-size: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.search-form .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-form .input-group-text {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #6B7280;
    padding: 12px;
    border-radius: 8px 0 0 8px;
}

.search-form .swap-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #D1D5DB;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, background 0.3s ease;
}

.search-form .swap-btn:hover {
    background: #F3F4F6;
    transform: rotate(180deg);
}

.search-form .btn-success {
    background: #10B981;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.search-form .btn-success:hover {
    background: #059669;
    transform: scale(0.98);
}

.search-form .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 250px;
    padding: 16px;
    position: absolute;
    z-index: 1000;
    margin-top: 4px;
    background: #fff;
}

.search-form .dropdown-menu .form-control {
    background: #fff;
    border: 1px solid #D1D5DB;
}

.search-form .dropdown-menu .btn-primary {
    background: #3B82F6;
    border: none;
    font-size: 14px;
    padding: 8px;
}

.search-form .dropdown-menu .btn-primary:hover {
    background: #2563EB;
}

/* Остальные стили */
.card {
    border: none;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
}

.card-text {
    font-size: 14px;
    font-weight: 400;
}

.btn-outline-primary {
    border-color: #3B82F6;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #3B82F6;
    color: #fff;
}

.btn-xs {
    font-size: 12px;
    padding: 4px 8px;
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    color: #1F2937;
    font-size: 20px;
    font-weight: 700;
}

footer {
    background-none: linear-gradient(90deg, #2D3748, #4A5568);
}

.footer-links {
    text-align: left;
}

.footer-links a {
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    color: #fff;
}

.footer-links a:hover {
    color: #93C5FD !important;
    transform: translateX(5px);
}

.footer-links .interpunct {
    margin-right: 8px;
    display: inline-block;
}

/* Стили для секции "Как купить билет" */
.how-to-buy .card {
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-to-buy .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.how-to-buy .card p {
    font-size: 14px;
    font-weight: 400;
    color: #4B5563;
    margin-bottom: 8px;
}

.how-to-buy .card p.fw-bold {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
}

.how-to-buy .fa-3x {
    color: #00ABFF;
}

.how-to-buy .fa-arrow-right {
    color: #E2EFFC;
    transform: scaleX(1.5);
}

/* Стили для карусели */
.photo-carousel .carousel-inner {
    overflow-x: hidden;
}

.photo-carousel .carousel-item img {
    border-radius: 10px;
    cursor: pointer;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-carousel .carousel-item img:hover {
    transform: scale(1.05);
}

.photo-carousel .carousel-control-prev,
.photo-carousel .carousel-control-next {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
}

.photo-carousel .carousel-control-prev {
    left: -50px;
}

.photo-carousel .carousel-control-next {
    right: -50px;
}

/* Модальное окно для полноэкранного просмотра */
#photoModal .modal-dialog {
    margin: auto;
    max-width: 90vw;
}

#photoModal .modal-content {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

#photoModal .modal-body img {
    border-radius: 10px;
    height: auto;
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
}

#photoModal .carousel-control-prev,
#photoModal .carousel-control-next {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
}

#photoModal .carousel-control-prev {
    left: 10px;
}

#photoModal .carousel-control-next {
    right: 10px;
}

#photoModal .btn-close {
    filter: invert(1);
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 3;
}

/* Стили для секции "Расписание" */
.schedule .card {
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.schedule .card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.schedule .sub-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-top: 16px;
    margin-bottom: 8px;
}

.schedule .list-unstyled li {
    margin-bottom: 8px;
}

.schedule .list-unstyled a {
    font-size: 14px;
    font-weight: 400;
    color: #4B5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.schedule .list-unstyled a:hover {
    color: #3B82F6;
}

/* Стили для аккордеона в мобильной версии */
.schedule .accordion-button {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.schedule .accordion-button:not(.collapsed) {
    color: #3B82F6;
    background: #F3F4F6;
}

.schedule .accordion-body {
    padding: 16px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.schedule .accordion-item {
    margin-bottom: 12px;
    border: none;
    background: none;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .navbar-brand .logo-img {
        height: 40px;
    }

    .ticket-search {
        padding: 16px;
        border-radius: 8px;
    }

    .search-tabs {
        flex-direction: row;
    }

    .tab-button {
        font-size: 14px;
        padding: 10px;
    }

    .search-form .input-group-text {
        padding: 10px;
    }

    .search-form .form-control {
        font-size: 14px;
        padding: 10px;
    }

    .search-form .swap-btn {
        width: 36px;
        height: 36px;
        margin: 10px auto;
    }

    .search-form .btn-success {
        font-size: 14px;
        padding: 10px;
    }

    .search-form .dropdown-menu {
        width: 100%;
        max-width: 300px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-links .interpunct {
        margin-right: 6px;
    }

    .how-to-buy .card {
        padding: 12px;
    }

    .how-to-buy .fa-3x {
        font-size: 2em;
    }

    .photo-carousel .carousel-control-prev,
    .photo-carousel .carousel-control-next {
        height: 50px;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 40px;
    }

    .photo-carousel .carousel-control-prev {
        bottom: 10px;
        left: 20px;
    }

    .photo-carousel .carousel-control-next {
        bottom: 10px;
        right: 20px;
    }

    #photoModal .carousel-control-prev,
    #photoModal .carousel-control-next {
        height: 40px;
        top: auto;
        transform: none;
        width: 40px;
    }

    #photoModal .carousel-control-prev {
        bottom: 20px;
        left: 10px;
    }

    #photoModal .carousel-control-next {
        bottom: 20px;
        right: 10px;
    }

    #photoModal .modal-dialog {
        max-width: 100vw;
    }

    #photoModal .modal-body img {
        max-height: 60vh;
    }

    .schedule .card {
        display: none;
    }
}

/* Десктопная адаптация */
@media (min-width: 992px) {
    .ticket-search {
        padding: 0;
    }

    .search-form .row {
        align-items: center;
    }

    .search-form .col-lg-3,
    .search-form .col-lg-2,
    .search-form .col-lg-1 {
        display: flex;
        align-items: center;
    }
}
