:root {
    --text-dark: #1f2937;
    --bg-color: #f8fafc;
    --border-color: #e5e7eb;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}

body {
    color: var(--text-dark);
}

/* Utility */

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    margin: 0 auto;
    max-width: 600px;
}

.shadow-lg {
    box-shadow: var(--card-shadow) !important;
}

.page-banner {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0;
    color: #fff;
    text-align: center;
    margin-top: 65px;
}

.page-banner:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgb(0 0 0 / 48%), rgb(0 0 0 / 72%));
}

.page-banner .page-banner-img {
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1
}

.page-banner .page-banner-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-banner .page-banner-description {
    margin: 0 auto;
    max-width: 600px;
}

/* Navigation */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
}

.navbar .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    background: white;
}

/* Hero Section */

#hero.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / .5), rgb(0 0 0 / .4), transparent);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenBurns 10s ease-in-out infinite;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 950px;
    margin: 0 auto;
    padding: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-gradient {
    background: linear-gradient(to right, #facc15, #FF5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0 auto 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-form {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: left;
    color: var(--text-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-form .search-group:has(+.search-group) .search-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.hero-form .search-group + .search-group .search-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.hero-form .search-group + .search-group .search-input:not(:focus) {
    border-left: none;
}

.hero-form .search-label {
    font-weight: 500 !important;
    margin-bottom: 0.5rem;
}

.hero-form .search-input {
    width: 100%;
    padding-left: 2.25rem;
    padding-right: 0.75rem;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    white-space: nowrap;
}

.hero-form .search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.hero-form .search-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
}

.hero-form .counter-btn {
    width: 30px;
    height: 30px;
}

.hero-form .search-btn {
    width: 100%;
    height: 45px;
    min-width: 8.25rem;
}

/* Cities Section */

.city-card {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.city-image {
    aspect-ratio: 3 / 2;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: conver;
}

.city-info {
    padding: 1.5rem;
}

.city-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.city-description,
.city-listings {
    color: var(--secondary);
    font-size: 0.9rem;
}

.city-cta {
    margin-top: 5rem;
    padding: 4rem 0.75rem;
    color: white;
    text-align: center;
    background: linear-gradient(rgb(0 0 0 / 10%), rgb(0 0 0 / 40%)), url(https://images.unsplash.com/photo-1516281717304-181e285c6e58?q=80&w=1170&auto=format&fit=crop);
    background-size: cover;
    background-position: center;
    box-shadow: var(--card-shadow);
}

.city-cta p {
    max-width: 520px;
}

/* Accommodations Section */

#accommodations.section {
    background-color: white;
}

.accommodation-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accommodation-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.accommodation-thumbnail {
    height: 250px;
    position: relative;
}

.accommodation-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accommodation-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-light);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.accommodation-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
    color: var(--secondary);
    font-size: 0.9rem;

}

.accommodation-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.accommodation-description {
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 36px;
    overflow: hidden;
}

.amenities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.facilities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.facility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background-color: #f5f5f5;
    color: #666;
    font-size: 0.75rem;
    line-height: normal;
}

/* Why Choose Us Section */

.benefit-card {
    height: 100%;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    background-color: white;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-description {
    color: var(--secondary);
    line-height: 1.6;
}

/* CTA Section */

#cta.section {
    color: white;
    text-align: center;
    background: linear-gradient(rgb(0 0 0 / 40%), rgb(0 0 0 / 73%)), url(https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=1170&auto=format&fit=crop);
    background-size: cover;
    background-position: center;
}

.cta-content {
    max-width: 730px;
}

.cta-content h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Contact Section */

.contact-icon {
    background: var(--primary);
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.35rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    color: var(--text-dark);
    box-shadow: var(--card-shadow);
}

.contact-form .form-control {
    height: auto;
    padding: 0.65rem 1rem;
    border-color: var(--border-color);
    background-color: inherit;
}

.contact-form .form-control:hover,
.contact-form .form-control:focus {
    border-color: var(--primary-light);
}

/* Footer */

#footer {
    background-color: #0c1515;
    color: white;
}

.footer-top {
    padding: 60px 8px 34px;
}

.footer-top h4 {
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-top h4:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
}

.footer-top .row {
    row-gap: 1.5rem;
}

.footer-top .dropdown-menu {
    background: white;
}

.footer-top .footer-links {
    list-style: none;
    padding: 0;
}

.footer-top .footer-links li {
    margin-bottom: 10px;
}

.footer-top .footer-links a {
    color: #e1e1e1;
    transition: all 0.3s ease;
}

.footer-top .footer-links a:hover {
    color: white;
    text-decoration: none;
    margin-left: 5px;
}

.footer-top .contact-info {
    list-style: none;
    padding: 0;
}

.footer-top .contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-top .contact-info .fas {
    width: 15px;
    text-align: center;
}

.footer-bottom {
    padding: 26px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-bottom .footer-legal a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

/* Intersection Observer for animations */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Date Range Picker */

.daterangepicker {
    font-family: inherit;
    border-radius: 1rem;
    border-color: var(--border-color);
    box-shadow: var(--card-shadow);
    left: 50% !important;
    transform: translateX(-50%);
}

.daterangepicker td.in-range {
    background-color: var(--primary-softer);
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--primary);
}

.daterangepicker td.active.today {
    background-color: var(--primary-light);
    color: white;
}

.daterangepicker .calendar-table th {
    font-weight: 500;
}

/* Heading */

.wrapper {
    padding: 65px 12px;
    min-height: 70vh;
}

.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.heading .heading-box {
    width: 55%;
}

.heading h2 {
    font-weight: 700;
    font-size: 55px;
    margin-bottom: 0;
}

.heading p {
    margin-bottom: 0;
}

.heading span {
    color: var(--primary);
}

.header-banner {
    margin-top: 66px;
}

/* Login and Register Pages */
.login-page,
.register-page {
    background: none;
    height: auto;
    min-height: calc(100vh - 95px);
}

.login-box,
.register-box {
    width: 100%;
    max-width: 770px;
    padding: 1rem 1.5rem;
}


.login-box .card,
.register-box .card {
    border: none;
    box-shadow: var(--card-shadow);
}

.login-box .card-body {
    padding: 2.75rem;
    width: 100%;
    max-width: 364px;
}

.login-box .card-image {
    width: 100%;
    max-width: 364px;
    height: auto;
    object-fit: cover;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)), url(https://images.unsplash.com/photo-1575386768550-59e930607cf5?q=80&w=1332&auto=format&fit=crop);
    background-size: cover;
    background-position: center;
}

.login-box [type='submit'] {
    height: 42px;
}

/* Animations */

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section .g-2 {
        --gutter-x: 1.5rem;
        --gutter-y: 1.5rem;
    }

    .hero-content {
        padding: 4rem 1rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 1.75rem;
    }

    .hero-stats .stat-label {
        font-size: 0.8em;
    }

    .hero-form {
        padding: 1.5rem;
    }

    .city-cta {
        margin-top: 3.5rem;
    }

    .footer-top {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .daterangepicker .drp-selected {
        display: none;
    }

    .login-box .card-image {
        display: none;
    }
}


@media (max-width: 1024px) {
    .section {
        padding: 3rem 0;
    }

    .heading .heading-box {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 46px 12px;
    }

    .heading h2 {
        font-size: 27px;
    }
}

@media (max-width: 576px) {
    .header-banner {
        font-size: min(1rem, 2.5vw);
    }
}