html,
body {
    font-family: Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.main-content {
    max-width: 2000px;
    margin-top: 46px;
}

.page-wrapper {
    padding-top: 100px;
}

img {
    width: 100%;
}

h1,
h2 {
    margin-top: 60px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Slider*/

.slider-container {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-bottom: 20px;

}

.mySlides {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.mySlides.visible {
    opacity: 1;
    visibility: visible;
}

.mySlides h3,
.mySlides p {}


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

}

.w3-display-bottommiddle {
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 45%;
    background: #0000007d;
}

@media (max-width: 600px) {
    .w3-display-bottommiddle {
        bottom: 20%;
        font-size: 0.9em;
    }

    .slider-container {
        height: 50vh;
    }

    .w3-display-bottommiddle {
        width: 70%;
    }

    #addTour {
        padding: 15px;
    }
}

/* Menu*/
.close-menu {
    display: none;
}


.hamburger-menu,
.close-menu {
    display: none;
    font-size: 34px;
    cursor: pointer;
}

.home-link a {
    color: #fff;
    text-decoration: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    padding: 10px;
    z-index: 30;
    position: fixed;
    width: 100%;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    position: relative;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

.home a {
    font-weight: bold;
    color: #f0f0f0;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    top: 100%;
    left: 0;
    padding: 10px;
}

.submenu li a {
    color: #000;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.right-nav-block {
    display: flex;
}


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 74%);
    z-index: 20;
}

.overlay.open {
    display: block;
}

@media (min-width: 1024px) {

    .hamburger-menu,
    .close-menu {
        display: none;
    }
}


@media (max-width: 1023px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #000;
        z-index: 30;
        padding-left: 10px;
    }

    .menu.open {
        display: flex;
    }

    .hamburger-menu {
        display: block;
    }

    .close-menu {
        display: none;
    }

}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.menu[aria-expanded="true"] {
    display: flex;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.74);
    z-index: 20;
}

.menu.open+.overlay {
    display: block;
}

/* End menu styles */

/*Search bar*/

.search-bar {
    padding: 10px;
}

.search-bar i {
    font-size: 24px;
}


.highlight {
    background-color: #ffff00;
    font-weight: bold;
}




.search-results {
    margin-top: 10px;
    padding: 0;
    height: auto;
    width: auto;
    overflow-y: auto;
    overflow: hidden;
    position: absolute;
    background: #dbdbd4;
    color: #000;
}

results-count{
    color:#000;
}

.search-results a {
    /*text-decoration: none;*/
    /*color: #ffffff;*/
    /*cursor: pointer;*/
    padding: 10px;
}

.results-count{
    padding: 10px;
}

.search-results a:hover {
    text-decoration: underline;
}

.search-submit-button {
    height: 47px;
    width: 40px;
}


/* End Search bar */

/* Style for accordion */


.accordion-wrapper {
    background: #000000;
    color: #fff;
}

.accordion-content {
    display: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.accordion-wrapper .group-title {
    font-weight: 600;
    display: block;
}

.accordion-wrapper h2 {
    margin-top: 0px;
}


.accordion-item input:checked~.accordion-content {
    max-height: 500px;
}

.accordion-content .w3-gray {
    cursor: text;
}


/* Add Tour */
#addTour {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
}

#addTour h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
}

#tourForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input form */
#tourForm input[type="text"],
#tourForm input[type="date"],
#tourForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    resize: none;
}

#tourForm textarea {
    height: 100px;
}

/*  Create button */
#tourForm button {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#tourForm button:hover {
    background-color: #555;
}

/* Adaptive */


@media (max-width: 820px) {

    .accordion-content .accordion-tour-card {
        width: 45%;
    }

    .accordion-content {

        flex-wrap: wrap;
    }
}


@media (max-width: 600px) {
    #addTour {
        padding: 15px;
    }

    #addTour h2 {
        font-size: 1.5em;
    }

    #tourForm textarea {
        height: 80px;
    }

    #addTour {
        padding: 15px;
    }

    #tourForm button {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}


@media (max-width: 682px) {

    .accordion-content {
        justify-content: center;
    }

    .accordion-content .accordion-tour-card {
        width: 70%;
    }

    .accordion-content {

        flex-wrap: wrap;
    }
}


@media (max-width: 520px) {

    .accordion-content {
        justify-content: center;
    }

    .accordion-content .accordion-tour-card {
        width: 90%;
    }

    .accordion-content {

        flex-wrap: wrap;
    }
}

@media (max-width: 490px) {

    .accordion-content .accordion-tour-card {
        width: 100%;
    }
}

/* Tour blocks*/

#band {
    max-width: 980px;
}

#tourList {
    margin-top: 20px;
}

.accordion-tour-card {
    padding: 0px !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-self: start;
    width: 29%;
}

.accordion-tour-card img {

    height: 200px;
    object-fit: cover;
}

.accordion-tour-card h3 {
    margin: 5px 0;
    font-size: 1.2em;
    color: #333;
    font-weight: 400;
}

.accordion-tour-card p {
    margin: 3px 0;
    font-size: 0.9em;
    color: #666;
}


.accordion-item .month {
    font-size: 1.1em;
    font-weight: bold;
}