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

body {
    font-family: 'Montserrat', sans-serif;
}

.hotel-page {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    color: #333;
}

/* Ensure the background image covers the area responsively */
.hotel-image {
    position: absolute;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(131, 131, 131, 0) 70%, rgb(0, 0, 0) 100%), 
    url('https://res.cloudinary.com/dga2mpvuf/image/upload/v1732610512/IMG_8994_fbxyle.jpg');
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Adjust text and container width for responsiveness */
.article {
    font-size: 1rem;
    position: relative;
    text-align: justify;
    color: rgb(2, 71, 2);
    font-size: 1.2rem;
    max-width: 900px;
    margin: 5% auto;
    line-height: 1.4;
    padding: 0 20px; /* Add padding for smaller screens */
    animation-duration: 0.8s;
    animation-name: fadeScaleUp;
    animation-iteration-count: 1; /* Only plays once */
    animation-timing-function: ease-in-out; /* Smooth easing */
    animation-fill-mode: forwards; /* Keep final state */
    opacity: 0; /* Start invisible */
}

.segment{
    margin-left: 2rem;
}

/* Define the fade-in and scale-up keyframes */
@keyframes fadeScaleUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.key-features {
    margin: 10px 0;
    padding-left: 2%; 
}

.key-features h4{
    margin: 0;
    padding-left: 0; 
}

/* Media Queries for smaller screens */

/* Tablets and large phones */
@media (max-width: 1024px) {
    .article {
        font-size: 1.5rem; 
        line-height: 1.5; 
        padding: 0 15px; /* Reduce padding for medium screens */

    }
}

/* Smartphones and small tablets */
@media (max-width: 768px) {
    .article {
        font-size: 1rem; /* Adjust text size */
        padding: 2%; /* Reduce padding for smaller screens */
    }
    .article{
        margin-left: 1.2em;
        margin-right: 1.2em;
    }
}

/* Very small devices like older phones */
@media (max-width: 480px) {
    .article {
        font-size: 0.98rem; /* Smaller font for tiny devices */
        line-height: 1.6; /* Increase line height for readability */
        padding: 0 5px; /* Minimal padding */
    }
    .article{
        margin-left: 1em;
        margin-right: 1em;
    }
    .article img{
        margin: 0;
    }
}

/* Photo Gallery Container */
.photo-gallery {
    position: relative;
    max-width: 900px;
    margin: 20px auto;
    overflow: hidden; /* Ensure the slider doesn't overflow */
}

.photo-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual Photos */
.photo {
    min-width: 100%; /* Each photo takes full width of the container */
    transition: transform 0.5s ease-in-out;
}

.photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .photo-slider {
        width: 200%; /* Allow for multiple photos to be displayed */
    }

    .photo {
        min-width: 50%; /* Two photos per view on larger screens */
    }
}

@media (min-width: 1024px) {
    .photo-slider {
        width: 300%; /* Allow for three photos to be displayed */
    }

    .photo {
        min-width: 33.33%; /* Three photos per view on larger screens */
    }
}



  /* hotellist */

  .hotellist {
    padding: 1.5em;
    margin: 5%;
}

table {
    border: 1px #a39485 solid;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
    width: 100%;
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
}

th {
    text-align: left;
}

thead {
    font-weight: bold;
    color: #fff;
    background: #73685d;
}

td, th {
    padding: 1em 0.5em;
    vertical-align: middle;
}

td {
    border-bottom: 1px solid rgba(0,0,0,.1);
    background: #fff;
}

/* Styling for the website and location links */
.website-link, .location-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #7e6651;
    font-size: 0.9em;
}

.website-link i, .location-link i {
    margin-right: 0.5em;
}

/* On small screens, show icons only */
@media only screen and (max-width: 768px) {
    .website-text, .location-text {
        display: none; /* Hide text on small screens */
    }

    .website-link i, .location-link i {
        margin-right: 0; /* Adjust margin for icons */
    }
}

@media only screen and (max-width: 480px) {
    table {
        font-size: 0.8em;
    }
    
    td, th {
        padding: 0.5em;
    }

    .website-link i, .location-link i {
        font-size: 1.2em; /* Increase icon size for mobile */
    }
}
/* Styling for the "Choose your stay" link */
.stay-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.2em;
    color: #5aad22;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.stay-link i {
    margin-right: 8px; /* Space between icon and text */
}

.stay-link:hover {
    color: #3b5132;
    text-decoration: underline;
}

a{
    text-decoration: none;
    color: #333;
}

a:hover{
    text-decoration: underline;
}
