@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: Inter;
    font-size: 16px;
}

body {
    background: #F9F9F7;
}


.nvbr-toggler{
    outline: none;
    border: none;
}
.flags{
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
}

a {
    color: var(--bs-black);
    text-decoration: none;
}
.logo {
    width: 90px !important;
    height: 40px !important;
}

.h-60 {
    height: 60px;
}
.list-style-none {
    list-style: none;
}

header {
    height: 60px;
}
.background-size-cover {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}


.search-change {
    z-index: 99;
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: height 0.3s ease-in-out,
        opacity 0.3s ease-in-out,
        visibility 0.3s linear;
}

.search-change.active {
    height: 65vh;
    opacity: 1;
    visibility: visible;
}

.outline-none {
    outline: none;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--bs-warning);
    color: var(--bs-black);
}

.heading-img-set-height {
    z-index: -1;
    height: calc(80vh - 60px);
}

.background-size-cover {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
}

.heading-text {
    color: var(--bs-white);
}

.z-index-1 {
    z-index: 1;
}

.aspect-ratio-11 {
    aspect-ratio: 1/1;
}

.aspect-ratio-21 {
    aspect-ratio: 2/1;
}

.aspect-ratio-12 {
    aspect-ratio: 1/1.3;
}

#dateInput {
    width: 20px !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.placeholder-black::placeholder {
    color: var(--bs-black) !important;
}

.mt--1 {
    margin-top: -1px !important;
}

.mobile-menu-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-container.active {
    transform: translateX(0);
}

.mobile-menu ul {
    flex-direction: column;
    gap: 15px;
    padding: 0;
}

.mobile-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-icon {
    margin-left: auto;
}

@media (max-width: 993px) {
    .desktop-menu {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }

    .mobile-menu-container {
        display: block;
    }

    nav ul {
        gap: 2rem;
    }
}
.no-scroll {
    overflow: hidden;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("../sources/icons/menu-burger.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    color: #333;
}

@media (min-width: 993px) {
    .mobile-menu-close {
        display: none;
    }
}




/* Footer Styles */
footer {
    background-color: #f3f2f8;
    padding: 3rem 0;
    margin-top: 3rem;
    width: 100%;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 50%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #333;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #ffc107;
}

.footer-contact-item {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-button:hover {
    background-color: #e9ecef;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.img, .img-rotated{
    width: 50%;
    border-radius: 30px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.img-rotated{
    position: absolute;
    left: 15%;
    translate: 0% 60%;
    transform: rotate(-20deg);
    border: 5px solid white;
}



/* Responsive Styles */
@media (max-width: 992px) {
    .footer-column {
        flex: 0 0 calc(50% - 1.5rem);
    }

    .footer-contact {
        flex: 0 0 calc(50% - 1.5rem);
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .footer-column {
        flex: 0 0 100%;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .social-button {
        width: 36px;
        height: 36px;
    }

    .img{
        width: 70% !important;
    }
    .img-rotated{
        width: 70% !important;
    }
     .travels .cards-main p {
        font-size: 12px !important;
        line-height: normal;
    }

    .travels .cards-main h5 {
        font-size: 16px;
    }

}

.flex-direction-col{
    flex-direction: column;
}



.cards-main {
    overflow: hidden;
}

.cards-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(10, 10, 10, 0.3) 50%,
            rgba(5, 5, 5, 0.7) 80%,
            var(--bs-black) 100%);

}

.cards-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    padding: 15px 20px 10px 20px;
}

.booking-tour{
    background-color: #E170070f;
}




/* G A L L E R Y */

.custom-gallery-container * {
    box-sizing: border-box;
}

.custom-gallery-container {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

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

.custom-gallery-header h2 {
    margin: 0;
}

.custom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.custom-gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.custom-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Модальное окно */
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.custom-modal-content {
    max-width: 60%;
    max-height: 80%;
    border-radius: 8px;
    overflow: hidden;
}

.custom-modal img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.custom-close,
.custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 35px;
    z-index: 10001;
}

.custom-close {
    top: 20px;
    right: 20px;
    transform: none;
}

.custom-prev {
    left: 20px;
}

.custom-next {
    right: 20px;
}


.slider-nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.1s ease-in-out;
    background: var(--bs-warning);
}

.slider-nav:disabled {
    opacity: 0.5;
    background: #F3F2F8;
    cursor: not-allowed;
}

.slider-nav:hover:not(:disabled) {
    filter: contrast(0.9);
}


