body {
    font-family: 'Caveat', serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* Navbar styles */
.site-header {
    background-color: #007BFF;
    padding: 100px 0;
}

/* Hero Slide */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat', serif;
    color: white;
    transition: opacity 1s ease-in-out;
}

/* Carousel fade effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    position: relative;
    z-index: 1;
}

/* Carousel inner fix to avoid white flash */
.carousel-inner {
    background-color: black;
}

/* Caption fade animation */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0px;
    border-radius: 0px;
    animation: fadeIn 2s ease-in-out;
    font-family: 'Caveat', serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Arrow styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    background-size: 60% 60%;
}

/* Main sections */
main section {
    padding: 0px 20px;
    max-width: 1200px;
    margin: auto;
    font-family: 'Caveat',serif;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-family: 'Caveat', serif;
}

/* Room card list */
.room-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-family: 'Caveat', serif;
    justify-content: center;
}

.room-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    /* ensures scaled image stays inside */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 300px;
    /* fixed height */
    text-align: center;
    position: relative;
    font-family: 'Caveat', serif;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.room-card img {
    width: 100%;
    height: 200px;
    /* fixed height */
    object-fit: cover;
    /* maintains image aspect ratio */
    transition: transform 0.4s ease;
}

.room-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.room-card img:hover {
    transform: scale(1.05);
}



.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(50px);
    /* initially pushed down */
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
    /* animates to normal position */
}

.photo-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

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


/* Footer */
footer {
    background-color: #222;
    font-family: 'Caveat', serif;
    color: white;
    text-align: center;
    padding: 20px 0;
}


.photo-card {
    width: 300px;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    position: relative;
    transition: all 0.8s ease-out;
}

.photo-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.photo-card img {
    width: 100%;
    display: block;
}



.caption {
    padding: 15px;
    background-color: #fff;
}

.services {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    font-family: 'Caveat', serif;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s ease;
}

.services.visible {
    transform: translateY(0);
    opacity: 1;
}


.amenities {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.amenities.visible {
    opacity: 1;
    transform: translateY(0);
}

.amenities h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    margin-top: 10;
    padding: 0;
    color: #2c3e50;
}

.amenities ul {
    list-style: none;
    padding: 0;
}

.amenities li {
    font-size: 1.2rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2c3e50;
    /* add this line */
}


.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    /*background: white;*/
    padding: 15px;
    display: none;
    z-index: 9999;
    animation: fadeIn 0.8s ease, blink 1.5s infinite;
}

.popup img {
    width: 50px;
    margin: 0 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.popup img:hover {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.custom-dropdown {
    display: none;
    list-style: none;
    padding-left: 35px;
    margin-top: 10px;
}

.custom-dropdown li a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: black;
    font-family: 'Caveat', serif;
}

.custom-dropdown li a:hover {
    color: rgb(178, 155, 98);
}

#facilities {
    font-family: 'Caveat', serif;
}

.facility-box {
    background-color: #f9f6f0;
    transition: transform 0.3s ease;
}

.facility-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}