:root {
    --primary: #cfa16d;
    --dark: #1f2937;
    --light: #fefae0;
    --gray: #6b7280;
    --orange: #ebc6a2
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
}


/* Sections */
section {
    padding: 5rem 10%;
}


.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 3rem 0;
}



/*New styles*/

/*strip page default margins*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}

body {
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/*Main*/
main {
    padding: 20px;
    background-color: #f5f5f5; /* Light background for the main content area */
    min-height: 500px; /* Ensures the main area has a minimum height */
    margin-top: 100px; /* Adds space below the fixed header */
}

.main-row {
    display: flex;
    flex-wrap: wrap; /* Allows the columns to stack on smaller screens */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 10px; /* Adds space below the main content */
    margin: 0 auto; /* Centers the row horizontally */
    gap: 20px; /* Adds space between the columns */
    margin-top: 10px; /* Adds space above the main content */
}


/* Main Container styling */
.contact-container {
    flex: auto; /* Takes up the remaining space in the row */
}

.contact-container .tripadvisor {
    width:150px;
    height: 25px;
}

    .contact-container .google {
        width: 150px;
        height: 50px;
    }


/* Footer */
footer {
    margin-top: 10px; /* Pushes the footer away from the page content */
    background-color: var(--gray); /* Dark background for the bottom text bar */
    width: 100%;
    box-sizing: border-box; /* Ensures padding and border are included in the width */
}

/* Map Container styling */
.map-container,
.contact-container,
.facebook-container {
    flex: 1 1 33%;
}

/* Makes the map scale perfectly to the edges of the screen */
.footer-map {
    width: 100%;
    height: 100%; /* Adjust height as needed to fit the page style */
    border: 0;
    display: block;
}

/* Bottom copyright bar styling */
.footer-copyright {
    background-color: var(--dark);
    text-align: center;
    padding: 20px;
    width: 100%;
    clear: both;
}

    .footer-copyright p {
        color: #aad;
        font-size: 0.9rem;
        margin: 0;
    }
    .terms{
        text-decoration: none;
        color: var(--light)
    }

/* Sets up the side-by-side layout */
.footer-row {
    display: flex;
    flex-wrap: wrap; /* Allows the columns to stack on smaller screens */
    width: 100%;
    max-width: 1200px;
    margin-bottom: 2px; /* Adds space below the main content */
    margin: 0 auto; /* Centers the row horizontally */
    gap: 5px; /* Adds space between the columns */
}


/*Styling the logo*/
.logo2 {
    width: 180px;
    height: 110px;
    display: block;
    margin-left: 0;
    margin-right: auto;
}

/*Styling the header*/
header {
    background-color: var(--primary);
    border-radius: 0.5%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for depth */
    position: fixed; /* Keeps the header fixed at the top */
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Ensures the header stays above other content */
}

.header-row {
    color: #fff; /* Light text color for contrast */
    text-align: right;
    display: flex;
    flex-wrap: wrap; /* Allows the header content to wrap on smaller screens */
    align-items: center;
    font-size: 1.2rem;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto; /* Centers the header content horizontally */
    width: 100%;
}


/*style plea-donate*/
.find-us {
    font-size: 1.05rem;
    font-weight: bold;
    color: black;
}

.footer-oscr {
    width: 95%;
    height: 180px;
    border: 0;
    display: block;
}

/*add nav to target the navigation links*/
.nav-container nav {
    display: flex;
    gap: 0px; /* Adds space between the navigation links */
    align-items: center;
}

    .nav-container nav a {
        text-decoration: none;
        color: #fff;
        display: inline-block;
        padding: 40px 15px; /* Adds padding around the links */
        border-right: 1px solid var(--orange); /* Adds a right border to each link */
        transition: transform 0.2s ease-in-out;
    }

        .nav-container nav a:hover {
            background-color: var(--orange); /*background colouron hover */
            transform: scale(1.02); /* 105% bigger on hover */
        }

        .nav-container nav a:last-child {
            border-right: none;
        }


/*Style the homepage*/

.welcome-container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url('house.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 90vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    text-align: center;
}

    .welcome-container h1 {
        color: #fff;
        font-size: 3rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .welcome-container p {
        color: #fff;
        font-size: 1.5rem;
        text-align: center;
        max-width: 800px; /* Limits the width of the paragraph for better readability */
        margin-bottom: 40px;
    }

    .welcome-container .button-book {
        background-color: var(--primary);
        color: #fff;
        padding: 15px 30px;
        text-decoration: none;
        font-size: 1.2rem;
        border-radius: 5px;
        transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    }

    .welcome-container .button-rooms {
        background-color: var(--primary);
        color: #fff;
        padding: 15px 30px;
        text-decoration: none;
        font-size: 1.2rem;
        border-radius: 5px;
        transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    }



.contact-container {
    background-color: lightgray;
    height:350px;
    width: 100%;
   
}


.facebook-container {
    background-color: lightgray;
    height: 350px;
    width: 100%;
}
.join-button {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    height: 70px;
    width: 100%;
}
.map-container {
    background-color: lightgray;
    height: 350px;
    width: 100%;
}

/*Styling breakfast*/
.breakfast-detail {
 
    margin-top: 50px;
}

/*Styling views*/
.view-detail {
    margin-top: 50px;
}

.pay-container {
    width: 100%;
    margin-top: 25px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    margin: 20px 0;
}

.pay-header {
    margin-top: 25px;
}

/*No toggle on large screens*/
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content:space-between;
    width: 30px;
    height: 21px;
}

.hamburger-btn .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    transition:all 0.3s ease;
}

#menuLinks {
    display: flex;
    list-style:none;
    width: 100%;
}
    #menuLinks li {
        border-right: 1px solid var(--orange); /* Adds a right border to each link */
    }

    #menuLinks li:last-child {
        border-right: none;
    }


/*Toggle on mobile screens*/

@media screen and (max-width: 768px) {
    .navbar .hamburger-btn {
        display: flex;
    }

    /* Hide menu by default on mobile */
    .navbar #menuLinks {
        display: none;        
    }

    /* Show menu when clicked */
    .navbar #menuLinks.active {
        display: flex;
        flex-direction:column;
        max-height:90vh;
        overflow-y:auto; /*allows vertival scrolling*/
        gap: 5px;
        
    }
    .navbar #menuLinks li {
        padding: 5px 0; /*reduces top/bottom padding*/
        border-right: none; /* Adds a right border to each link */
    }

}
.about {
    margin-top:25px;
    border-radius: 5px;
    background-color: lightgray;
    box-shadow: 0 4px 6px rgba(30, 87, 138, 1.00);
    padding: 10px 20px;
    font-size:1.1rem;
}
.about .about-title {
    font-size:1.3rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 25px;
    border-radius: 5px;
    background-color: lightgray;
    box-shadow: 0 4px 6px rgba(30, 87, 138, 1.00);
    padding: 10px 20px;
}
    .contact-grid .contact-grid-title {
        font-size: 1.3rem;
    }

.contact-map iframe {
    width: 100%;
    max-width: 100%;
}

/*for rooms, views and breakfast*/
.row-arrange {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 10px; /* Adds space below the main content */
    margin: 0 auto; /* Centers the row horizontally */
    margin-top: 10px;
}

/*rooms*/


.room-text {
    flex: 0 1 50%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}
.room-photo, .calendar-container {
    padding: 20px;

}
.room-photo img {
    width: 100%;
    height: auto;
    object-fit:cover;
    display: block;
}

/*prevent calendar overflow*/
.calendar-container iframe {
    width: 100%;
    max-width: 100%;
}


.breakfast-photo {
    padding: 20px;
}

.breakfast-photo img {
    width: 100%;
    height: 500px;
    display: block;
}

.view-photo {
    padding: 20px;
}

.view-photo img {
    width: 100%;
    height: 500px;
    display: block;
}

.calendar-container .booking-conditions {
    border-radius: 5px;
    background-color: lightgray;
    box-shadow: 0 4px 6px rgba(255, 87, 51, 1.00);
    padding: 10px 20px;
}
/*Security of sensitive data*/
.reverse-text {
    unicode-bidi: bidi-override;
    direction: rtl;

}

.room-bookcard {
    border-radius: 5px;
    background-color: lightgray;
    box-shadow: 0 4px 6px rgba(255, 87, 51, 1.00);
    padding: 10px 20px;
    margin-bottom: 10px;
}


/*host contact*/
.host-contact {
    width: 100%;
}
    
.host-form {
min-width: 100%;
width: 100%;
border: 0;
}


.button-host {
    background-color: rgba(255, 87, 51, 0.70);
    color: #fff;
    padding: 13px 40px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
