:root {
    --primary: #3a3d3c;
    --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%;
}

.bg-light {
    background: #fafafa;
}


/* Room Details */
.room-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-grid {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

    .photo-grid:hover {
        transform: translateY(-5px);
    }

    .photo-grid img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .photo-grid h3 {
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .photo-grid p {
        padding: 0 1.5rem 1.5rem;
        color: var(--gray);
    }

.room-detail {
    margin-bottom: 4rem;
}

    .room-detail h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 1.5rem;
}

    .photo-grid img {
        width: 100%;
        height: 200px;
        object-fit: cover; /* This crops images perfectly so they are all the same size */
        border-radius: 6px;
        transition: transform 0.3s ease;
        cursor: pointer;
    }

        .photo-grid img:hover {
            transform: scale(1.03); /* Subtle zoom effect when hovering */
        }

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

/* Form */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
    }

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn, .btn-dark {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-dark {
    background: var(--dark);
    color: white;
    width: 100%;
    border: none;
    font-size: 1rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

#confirmation-msg {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    background: #d1fae5;
    color: #065f46;
    text-align: center;
}


@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

/* Lightbox Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Sits on top of everything */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark backdrop */
}

/* The Image itself */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 4px;
    animation: zoom 0.3s; /* Smooth entry */
}

@keyframes zoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #ccc;
    padding: 10px;
    font-size: 1.2rem;
}

/* Next & Previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

    .prev:hover, .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

#owner-intro {
    padding: 4rem 10%;
    background-color: #fff;
}

.owner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.owner-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* Makes the photo a circle */
    object-fit: cover;
    border: 4px solid var(--primary); /* Adds a nice colored ring around your photo */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.owner-text span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: bold;
}

.owner-text h2 {
    text-align: left; /* Overrides the global centered H2 */
    margin: 0.5rem 0 1rem 0;
    font-size: 2rem;
}

.owner-text p {
    color: var(--gray);
    font-style: italic;
    line-height: 1.8;
}

/* Make it look good on mobile */
@media (max-width: 768px) {
    .owner-container {
        flex-direction: column;
        text-align: center;
    }

    .owner-text h2 {
        text-align: center;
    }
}

.signature {
    font-family: 'Dancing Script', cursive; /* Use the Google Font */
    font-size: 2.2rem;
    color: var(--primary);
    margin-top: 1rem;
    /* This adds a slight tilt to make it look more like real writing */
    transform: rotate(-2deg);
    display: inline-block;
}



/*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 */
}




/* 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: 120px;
    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%;
    padding: 5px 20px; /* Adds padding inside the header */
}


.footer-donate {
    width: 95%;
    height: 250px;
    border: 0;
    display: block;
}
/*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: 45px 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 {
    width: 100%;
    min-height: 90vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}
.welcome-container .video-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1; /* Keeps the video behind all other content */
    overflow: hidden;
}

.welcome-container .background-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.welcome-container .tagline {
    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-quote {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    display: block;
    margin: auto;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    background-color: rgba(255, 165, 0, 0.90);
}



/* Shared layout for all three bottom cards */
.contact-container,
.facebook-container,
.map-container {
    background-color: lightgray;
    min-height: 350px;
    flex: 1 1 300px; /* Flexibly grows/shrinks, defaults to ~300px */
    max-width: 100%;
    box-sizing: border-box;
}

/* Facebook iframe scaling */
.facebook-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.service-detail .button-quote {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    display: block;
    margin: auto;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    background-color: rgba(255, 165, 0, 0.90);
    margin-top: 10px;
}

/*for services and fleet*/
.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;
}

/*Fleet*/

.fleet-title {
    flex: 0 1 50%;
    margin-top: 30px;
}

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

    
.fleet-photo {
    display: flex;
    width: 100%;
    min-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .fleet-photo::-webkit-scrollbar {
        display: none;
    }

    .fleet-photo img {
        width: 100%;
        min-width: 100%;
        height: 75vh;
        display: block;
        flex-shrink: 0;
        scroll-snap-align: start;
        object-fit: cover;
    }

/*Service*/

.service-title {
    flex: 0 1 50%;
    margin-top: 25px;
}

.service-container {
    padding: 20px;
}

.scroll-buttons {
    position:relative;
}
.service-photo {
    display: flex;
    width: 100%;
    min-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.service-photo::-webkit-scrollbar {
    display:none;
}

.service-photo img {
    width: 100%;
    min-width:100%;
    height: 450px;
    display: block;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    /*hide buttons*/
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.2s ease;
}

/*show the buttons*/
.scroll-buttons:hover .nav-btn {
    opacity: 1;
    pointer-events: auto;
}

/*using js: (.scroll-buttons.show-arrows .nav-btn {
    opacity: 1;
    pointer-events: auto;
})*/

.nav-btn:hover {
    background-color: rgba(255, 153, 0, 0.9);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.service-container .button-quote {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    display: block;
   
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    background-color: rgba(255, 165, 0, 0.90);
    margin-top: 10px;
}


/*host contact*/
.host-contact {
    width: 100%;
}

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

.contact-info .button-quote {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    display: block;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
    background-color: rgba(255, 165, 0, 0.90);
    margin-top: 10px;
}

.reverse-text {
    unicode-bidi:bidi-override;
    direction:rtl;
}

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


/*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%;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    gap:15px;
}

#menuLinks li {
    list-style: none;
    border-right: 1px solid var(--orange); /* Adds a right border to each link */
    padding-right: 15px; /* Adds padding to the right of each link */
}

#menuLinks li:last-child {
    border-right: none;
    padding-right: 0; /* Removes padding from the last link */
}


/*Toggle on mobile screens*/

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

    /* Hide menu by default on mobile */
    #menuLinks {
        display: none;
        flex-direction: column;
        width:100%;
        max-height: 90vh;
        overflow-y: auto; /*allows vertival scrolling*/
        gap: 10px;
    }

    /* Show menu when clicked */
    #menuLinks.active {
        display: flex;
        
    }

    #menuLinks li {
        padding: 5px 0; /*reduces top/bottom padding*/
        border-right: none; /* Adds a right border to each link */
        padding-right: 0; /* Removes padding from the last link */
    }
}

/*facebook fallback*/
/* Default (Mobile): Hide iFrame, Show Button */
#fb-iframe {
    display: none;
}

.fb-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 0;
}

.fb-fallback a {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: #1877f2; /* Facebook Blue */
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    box-sizing: border-box;
}


/* Desktop Screens (768px and wider): Show iFrame, Hide Button */
@media (min-width: 768px) {
    #fb-iframe {
        display: block;
        width: 100%;
    }

    .fb-fallback {
        display: none;
    }
}

.facebook-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px; /* Adds breathing room inside the grey card */
    box-sizing: border-box;
}