/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: white;
}

.font-poppins {
    font-family: "Poppins", sans-serif;
}
.font-inter {
    font-family: "Inter", sans-serif;
}
.font-onest {
    font-family: "Onest", sans-serif;
}

.header {
    background-color: #007BFF;
    padding: 10px 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row {
    display: flex;
    flex-wrap: nowrap;
}

.logo span {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

.nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}


.nav a:hover {
    color: #ddd;
}

.city-select .city-button {
    background-color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1em;
}

.city-button:hover {
    background-color: #f0f0f0;
}
/* city select dropdown start */

.city-select {
    position: relative;
    display: inline-block;
}

.city-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    /* border: 1px solid #ddd; */
}

.city-dropdown a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.city-dropdown a:hover {
    background-color: #f1f1f1;
}

.city-dropdown a:last-child {
    border-bottom: none;
}

/* Show the dropdown when active */
.city-dropdown.active {
    display: block;
}

.city-button {
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

/* Mobile City Select */
.city-select-mobile {
    display: none;
    width: 100%;
    padding: 10px 20px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.city-select-mobile .city-button {
    width: 100%;
    background-color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1em;
}

.city-select-mobile .city-dropdown {
    position: relative;
    background-color: white;
    min-width: 100%;
    /* border: 1px solid #ddd; */
    border-radius: 5px;
    z-index: 100;
    display: none;
}

.city-select-mobile .city-dropdown a {
    padding: 10px;
    color: #333;
    text-decoration: none;
    display: block;
    /* border-bottom: 1px solid #eee; */
}

.city-select-mobile .city-dropdown a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown when active */
.city-dropdown.active {
    display: block;
}

#cityDropdownMobile.active {
    display: block;
    margin-top: 8px;
}

/* city select dropdown end */

.logo-container {
    display: flex;
    cursor: pointer;
}

.logo-part-hover {
    position: relative;
    top: -5.8px;
    left: -9px;
}


/* Home banner section */
.camp-section {
    width: 100%;
    max-width: 1280px;
    height: 300px;
    background-image: url('/images/dallas.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    margin-top: 20px;

}

/* Overlay */
.camp-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Darker overlay for better text contrast */
    z-index: 1;
    border-radius: 15px;
}

/* Content Styles */
.camp-content {
    z-index: 2;
    text-align: center;
    color: white;
}

.camp-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 50px;
    padding: 10px 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}

.search-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    padding: 10px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
}

.search-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.button-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0.5);
}

.search-button:hover .button-icon {
    filter: brightness(1);
}


/* Category Teb buttons */
.category-buttons {
    max-width: 1280px;
    margin: auto;
    display: flex;
    gap: 10px 30px;
    padding: 20px 10px;
    align-items: center;
    justify-content: center;
}

.category-buttons button {
    padding: 8.2px 30px;
    border: none;
    border-radius: 20px;
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Inter', sans-serif;
}

.category-buttons button.active {
    background-color: #000;
    color: #fff;
}

.category-buttons button:hover {
    background-color: #ddd;
}


/* All Camp section */
.all-camps-container {
    max-width: 1280px;
    margin: auto;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 45px;
}

.all-card-grid {
    display: grid;
    grid-template-columns: repeat(4, auto); /* Keeps 4 columns */
    margin: 30px 0;
    gap: 20px;
}



/* Card Section */
.card {
    position: relative;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    font-family: 'Onest', sans-serif;
    transition: border 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card-tag-recomanded {
    position: absolute;
    right: 0; 
    background-color: rgba(0, 123, 255, 0.3);
    border: 1px solid #007BFF;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    width: fit-content;
    margin: 10px;
}

.card:hover {
    border: 1px solid #010B27;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-tag {
    position: absolute;
    background-color: rgba(0, 123, 255, 0.3);
    border: 1px solid #007BFF;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    width: fit-content;
    margin: 10px;
}

.card-image {
    background-image: url('/images/cards/1.jpeg');
    /* Replace with the actual image URL */
    background-size: cover;
    background-position: center;
    height: 190px;
}

.card-content {
    padding: 15px;
}

.card-content h2 {
    margin: 10px 0 5px;
    font-size: 17px;
    color: #010B27;
    font-family: 'Onest', sans-serif;
}

.card-content .description {
    margin: 5px 0 10px;
    font-size: 12px;
    font-weight: 300;
    padding-bottom: 10px;
    color: #010B27;
    border-bottom: 0.1px solid rgba(1, 11, 39, 0.3);
    line-height: 15.3px;
    font-family: 'Onest', sans-serif;
}

.card-info p {
    margin: 5px 0;
    font-size: 12px;
    color: #444444;
    font-weight: 300;
    line-height: 15.3px;
    font-family: 'Onest', sans-serif;
}

.card-info p strong {
    color: #010B27;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.3px;
    font-family: 'Onest', sans-serif;
}

.card-button {
    width: 100%;
    padding: 15px 21.38px;
    margin-top: 15px;
    font-size: 11.36px;
    font-weight: 600;
    line-height: 14.48px;
    background-color: white;
    color: #010B27;
    border: 1px solid #010B27;
    border-radius: 89.42px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    font-family: 'Onest', sans-serif;
}

.card-button:hover {
    background-color: #010B27;
    color: white;
}

.card-button:active {
    background-color: #010B27;
    color: white;
    opacity: 30%;
}


/* Pagination section */
.pagination {
    display: inline-block;
    max-width: 1280px;
    margin: auto;
}

.pagination a {
    color: black;
    float: left;
    padding: 12px 25px;
    text-decoration: none;
    border: 1px solid #D0D5DD;
}

.pagination a.active {
    background-color: #F9FAFB;
    /* color: white; */
    /* border: 1px solid #4CAF50; */
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination a:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.pagination a:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.next {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.container-mobile {
    display: none;
}


/* Bottom banner */
.bottom-banner-section {
    width: 100%;
    max-width: 1280px;
    height: 350px;
    background-image: url('/images/bottom_banner.jpeg');
    /* NYC skyline */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 15px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}


/* Overlay with 20% opacity */
/* Bottom banner */
.bottom-banner-section {
    width: 100%;
    max-width: 1280px;
    height: 300px;
    /* Adjusted height for a balanced look */
    background-image: url('/images/bottom_banner.jpeg');
    /* NYC skyline */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

/* Overlay */
.bottom-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Darker overlay for better text contrast */
    z-index: 1;
    border-radius: 15px;
}

/* Content Styles */
.bottom-banner-content {
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.bottom-banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.bottom-banner-content p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}

/* Input and Button Styles */
.b-banner-btn {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.subscribe_input {
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    outline: none;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.subscribe_button {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background-color: white;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.subscribe_button:hover {
    background-color: #ddd;
    color: #111;
}



/* Footer section */
footer {
    background-color: #F0F6FC;
    color: #010B27;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 20px;
}

.logo-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.logo-section p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}

h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li a {
    text-decoration: none;
    display: block;
    margin: 18px 0;
    font-size: 14px;
    transition: color 0.3s;
    color: #010B27;
}

ul li a:hover {
    font-weight: 700;
}

.contact-section p {
    font-size: 14px;
    margin: 5px 0;
}

.social-icons a {
    height: 40px;
    border-radius: 100%;
    padding: 10px;
    border: 2px solid #010B27;
    color: #010B27;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 30px;
    transition: color 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid #c7c7c7;
    padding-top: 10px;
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 500;
    color: #010B27;
    font-family: "Poppins";
    /* color: #c7c7c7; */
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    /* Ensure it is above the overlay */
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    margin: 4px;
    background-color: white;
    transition: all 0.3s;
}


/* Carousel Container */
.category-buttons-carousel {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 20px auto;
    /* overflow: hidden; */
    position: relative;
    padding: 10px;
}

/* Wrapper for the scrollable buttons */
.carousel-wrapper {
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
}

/* Hide scrollbar */
.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

/* Category buttons as a flex row */
.category-buttons {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.carousel-wrapper {
    max-width: 90%;
    margin: auto;
}

/* Individual buttons */
.category-buttons button {
    padding: 8.2px 20px;
    border: none;
    border-radius: 20px;
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
}

/* Active and hover states */
.category-buttons button.active {
    background-color: #000;
    color: #fff;
}

.category-buttons button:hover {
    background-color: #ddd;
}

/* Carousel navigation buttons */
.carousel-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    visibility: hidden;
    position: absolute;
    left: 10px;
}

.next-btn {
    visibility: hidden;
    position: absolute;
    right: 10px;
}

.logo-img {
    width: 290px;
}

.logo-img-footer {
    width: 250px;
    position: relative;
    top: -10px;
}


/* Mobile Styles */
@media (max-width: 768px) {
    #mobileNav {
        display: flex;
        flex-direction: column;
        /* gap: 5px; */
    }
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 200px;
        background-color: #007BFF;
        flex-direction: column;
        align-items: start;
        padding-top: 60px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav a {
        padding: 15px 20px;
        color: white;
        width: 100%;
        text-align: left;
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    }

    #cityDropdownMobile a {
        border: none;
    }

    #cityDropdown {
        margin-top: 8px;
        border-radius: 8px;
    }

    .nav a:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }

    .city-select {
        display: none;
    }

    /* Hamburger Menu Button */
    .hamburger-menu {
        display: flex;
    }

    /* Active menu state */
    .nav.active {
        transform: translateX(0);
    }

    /* Hamburger Menu Animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        position: relative;
        top: 4px;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        position: relative;
        top: -3px;
    }

    /* Overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s;
        visibility: hidden;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .category-buttons {
        gap: 5px;
        align-items: center;
        margin-left: 400px;
    }

    .carousel-btn {
        padding: 5px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .all-card-grid {
        grid-template-columns: auto;
        gap: 50px;
    }

    .content-container {
        padding: 0 8px;
    }

    /* Card section */

    .all-camps-container {
        padding: 30px 20px;
    }

    .card {
        max-width: 90%;
        margin: auto;
    }

    .card:hover {
        border: 1px solid #010B27;
        transform: scale(1.01);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    /* Home banner */
    .camp-content h1 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 20px;
        line-height: 1.2;
        /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25); */
    }

    /* searchbar */
    .search-bar {
        padding: 4px 20px;
    }

    .search-icon {
        width: 15px;
        height: 15px;
        margin-right: 0px;
    }

    .search-input {
        font-size: 0.7rem;
        padding: 5px;
    }

    /* pagination */
    .pg-lg {
        display: none;
    }

    .container-mobile {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px solid #D0D5DD;
    }

    .pagination a:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .pagination a:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .next {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }


    .prev-btn {
        visibility: visible;
    }
    
    .next-btn {
        visibility: visible;
    }

    .city-select-mobile {
        display: block;
    }

}