/* Font Imports */
@font-face {
    font-family: 'Photograph Signature';
    src: url(assets/fonts/photograph_signature-webfont.woff2) format('woff2'),
        url(assets/fonts/photograph_signature-webfont.woff) format('woff');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Futura", sans-serif;
    src: url(assets/fonts/futura-condensedlight-webfont.woff2) format('woff2'),
        url(assets/fonts/futura-condensedlight-webfont.woff) format('woff');
    font-style: normal;
    font-weight: 300;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 1vw;
    /* Adjusts with screen width */
}

html,
body {
    font-family: "Futura", sans-serif;
    line-height: 1.5;
}

/* Scrollbar container */
::-webkit-scrollbar {
    width: 10px;
    /* Width of the vertical scrollbar */
    height: 10px;
    /* Height of the horizontal scrollbar */
}

/* Track */
::-webkit-scrollbar-track {
    background: #ffffff;
    /* Light gray background */
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #33E28C;
    /* Darker gray */
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #33E28C;
    /* Even darker gray */
}

/* For Firefox */
html {
    scrollbar-width: thin;
    /* Thin scrollbar */
    scrollbar-color: #33E28C #ffffff;
    /* Handle and track colors */
}

/* MAP BUTTON */
.vertical-tab {
    position: fixed;
    top: 40%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 1000;
}

.tab-button {
    position: relative;
    /* Required for pseudo-element positioning */
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    padding: 15px;
    width: 200px;
    /* Wider for a premium look */
    height: 50px;
    background: #71c9ff;
    /* Initial background color */
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
    /* Rounded corners */
    transform: rotate(-90deg);
    transform-origin: right center;
    transition: color 0.5s ease;
    /* Smooth text color transition */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    overflow: hidden;
    /* To prevent pseudo-element overflow */
}

/* Pseudo-element for hover effect */
.tab-button:before {
    content: "";
    /* Creates an empty pseudo-element */
    position: absolute;
    bottom: 100%;
    /* Initially places the pseudo-element below the button */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(230, 157, 191);
    /* Initial background color */
    transition: bottom 0.5s ease, background 0.5s ease;
    /* Smooth transition for position and background color */
    z-index: -1;
    /* Ensures the pseudo-element is below the text */
}

/* Hover effect for the pseudo-element */
.tab-button:hover:before {
    bottom: 0;
    /* Moves the pseudo-element up to cover the button */
    background: #5de9c6;
    /* Changes the background color to teal */
}

.tab-button:hover {
    color: #ffffff;
    /* Optional: Keep text white */
}

.tab-icon {
    margin-right: 0px;
    width: 29px;
    /* Slightly larger for visibility */
    height: 29px;
}

/* Location Modal container styling */
.location-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Dim background */
    z-index: 1000;
}

/* Modal content styling */
.modal-content {
    display: flex;
    position: relative;
    max-width: 900px;
    width: 90%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.4s ease-in-out;
}

/* Text Container Style */
.text-container {
    width: 450px;
}

/* Close button styling */
.close-button {
    position: absolute;
    top: -8px;
    right: 13px;
    font-size: 36px;
    color: #444;
    cursor: pointer;
}

.close-button:hover {
    background: linear-gradient(180deg, #33E28C 19%, #4F94D9 82%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modal headings */
.modal-content h2 {
    font-size: 24px;
    margin-bottom: 10px;

    background: linear-gradient(180deg, #33E28C 19%, #4F94D9 82%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-content h3 {
    font-size: 20px;
    margin: 20px 0 10px;

    background: linear-gradient(180deg, #33E28C 19%, #4F94D9 82%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Paragraph and contact details styling */
.modal-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-details p {
    margin: 5px 0;
}

/* Button styling */
.book-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #71c9ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background: #44b0f3;
}

/* Map container styling */
.map-container {
    margin-top: 22px;
    width: 400px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

/* INQUIRY MODAL STYLES */
.inquiry-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Dim background */
    z-index: 1001;
}

.inquiry-modal-content {
    display: flex;
    position: relative;
    max-width: 500px;
    width: 90%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.4s ease-in-out;
}

.inquiry-modal-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #0066cc;
}

form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 3px;
}

label {
    font-size: 1rem;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

input:focus,
textarea:focus {
    border-color: #0066cc;
    outline: none;
}

.submit-btn {
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #5de9c6;
    color: #444;
}

.submit-btn:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.priv-policy {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 0 3px 0;
}

#agree-text {
    font-size: 13px;
}

.priv-policy #agree {
    width: 12px;
    margin: 0 10px 2px 2px;
}

/* Sidebar Navigation */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 4;
}

.sidenav a {
    padding: 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #4E544D;
    display: block;
    transition: 0.3s;
}

.sidenav #SB-Rooms,
#SB-Cottage,
#SB-Tour,
#SB-Pavilion,
#SB-Pool {
    font-size: 25px;
    padding: 0px 32px;
}

.sidenav #SB-Gallery,
#SB-About,
#SB-Contact,
#SB-Location,
#SB-Home {
    font-size: 16px;
    padding: 0px 34px;
    font-weight: bold;
}

.sidenav #SB-Gallery {
    margin-top: 10px;
}

.sidenav #SB-Rooms {
    margin-top: 10px;
}

.sidenav a:hover {
    color: #71c9ff;
}

.sidenav .close-button {
    position: absolute;
    top: 15px;
    right: 5px;
    font-size: 38px;
}


/* Top Navigation Bar */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.nav-bar.scrolled {
    background-color: #4E544D;
}

/* Hamburger Menu Div Styling */
.hamburger-menu div {
    width: 40px;
    height: 2.5px;
    background-color: #f8f8f8;
    margin: 7px 0;
    display: flex;
    align-items: center;
}

/* Menu Button Container */
.menu-button {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-content: center;
    gap: 17px;
    margin: 22px 0px 20px 60px;
    position: relative;
    /* Added for positioning pseudo-elements inside if needed */
}

/* Text Color Change on Hover for Menu Button */
.menu-button p {
    color: #f8f8f8;
}

/* Navigation Book Button Styling */
.book-button {
    text-decoration: none;
    color: #f8f8f8;
    border: 1px solid #f8f8f8;
    padding: 8px 40px;
    margin: 22px 60px 20px 0px;
    position: relative;
    /* Added for pseudo-element positioning */
    transition: 0.3s;
}

/* Hover Effect for Book Button */
.book-button:hover {
    color: #4E544D;
}

/* Pseudo-element for Book Button */
.book-button:before {
    content: "";
    /* Creates an empty pseudo-element (no text) */
    position: absolute;
    /* Position it absolutely inside the button */
    top: 0;
    /* Position it at the top edge of the button */
    left: 0;
    /* Position it at the left edge of the button */
    width: 0%;
    /* Initially, the pseudo-element has no width, so it's invisible */
    height: 100%;
    /* The pseudo-element will cover the full height of the button */
    background: #71c9ff;
    /* The initial background color of the pseudo-element */
    transition: width 0.5s ease, background 0.5s ease;
    /* Smooth transition for width change and background color change */
    z-index: -1;
    /* Ensures the pseudo-element stays behind the text (so text is visible) */
}

/* Hover Effect for the Book Button's Pseudo-element */
.book-button:hover:before {
    width: 100%;
    /* On hover, expand the pseudo-element to cover the full width of the button */
    background: #f8f8f8;
    /* Change the background color to match the text */
}

/*Flex Layout */
.flex-layout-one {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 40px;
}

.flex-layout-two {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    text-align: right;
    margin-top: 40px;
}

.content-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    max-width: 450px;
}


/* Footer Styling */
.footer {
    padding: 10px 20px;
    color: black;
}

.footer-container {
    display: flex;
    flex-direction: column-reverse;
    margin: 30px 50px;
    flex-wrap: wrap;
    /* Allow content to wrap on smaller screens */
}

/*Contact*/
.contact {
    margin-bottom: 20px;
    line-height: 25px;
    font-size: 1rem;
    display: flex;
    flex-direction: column;

}

.contact img {
    height: 30px;
}

.contact a {
    text-decoration: none;
    color: black;
}

.contact h3 {
    margin-bottom: 14px;
}

.contact h3,
.contact strong {
    font-weight: 530;
}

/*Quick Links*/
.quick-links {
    padding-top: 20px;
}

.quick-links ul {
    list-style-type: none;
    padding: 0;
    font-size: 1rem;
}

.quick-links li {
    display: inline;
}

.quick-links a {
    text-decoration: none;
    color: #000000;
    transition: 0.3s;
    margin-right: 10px;
}

.quick-links a:hover {
    color: #71c9ff
}

.quick-links hr {
    color: black;
}

/*Copyright*/
.copyright {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    font-size: .9rem;
}

.copyright a {
    text-decoration: none;
    color: #000000;
    transition: 0.3s;

}

.copyright a:hover {
    color: #71c9ff
}

.inquire-footer {
    display: flex;
    align-items: flex-start;
}

.inquire-footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.inquire-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
}

.inquire-footer-left h1 {
    font-family: "Photograph Signature", sans-serif;
    font-weight: 400;
    font-size: 8rem;
}

.inquire-footer-left p {
    font-size: 2rem;
    font-weight: 700;
    margin-top: -30px;
}

.inquire-footer-right p {
    font-size: 2rem;
    width: 85%;
}

.inquire-footer-right a {
    text-decoration: none;
    color: black;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    background-color: #71c9ff;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}

.inquire-footer-right .arrow {
    width: 100px;
}

.inquire-footer-right a:hover {
    color: black;
    background-color: #5de9c6;
}

/* Gallery Footer */
.gallery-footer {
    margin: 50px 0;
    text-align: center;
}

/* Flexbox Gallery */
.gallery-footer-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping of items to the next row */
    gap: 15px;
    /* Adds space between items */
    justify-content: center;
    /* Centers the items in the container */
}

.gallery-footer-container .gallery-item {
    flex: 1 1 calc(33.333% - 15px);
    /* Each item takes 1/3 of the row, minus the gap */
    box-sizing: border-box;
    /* Ensures padding and border are included in width/height */
    max-width: calc(33.333% - 15px);
    /* Prevents items from growing beyond 1/3 */
}

.gallery-footer-container .gallery-item img {
    width: 100%;
    height: 700px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-footer-container .gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Fade Transition */
/* Fade In Effect for Content */
.fade-in-one {
    transform: translateY(40%);
    opacity: 0;
    transition: transform 0.9s ease-out, opacity 0.9s ease-out;
}

/* Fade In Effect for Image */
.fade-in-two {
    opacity: 0;
    /* Initially invisible */
    transform: translateY(50px);
    /* Start off-screen */
    transition: transform 0.9s ease-out, opacity 0.9s ease-out;
}

/* When elements are in view */
.fade-in-one.visible,
.fade-in-two.visible {
    transform: translateY(0);
    /* Slide in */
    opacity: 1;
    /* Fade in */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Laptop Large*/
@media screen and (max-width: 1440px) {
    .gallery-footer-container .gallery-item img {
        height: 600px;
    }

    .inquire-footer-left h1 {
        font-size: 7.8rem;
    }
}

/*Laptop*/
@media screen and (max-width: 1024px) {
    .nav-bar.scrolled {
        padding: 0px;
    }

    .menu-button {
        gap: 10px;
    }

    .book-button {
        padding: 6px 31px;
    }

    label {
        font-size: 1.5rem;
    }

    /*Footer*/
    .gallery-footer-container .gallery-item img {
        height: 500px;
    }

    .contact img {
        height: 25px;
    }
}

/*Tablet*/
@media screen and (max-width: 768px) {

    /*Header*/
    .nav-bar.scrolled {
        padding: 0px;
    }

    .menu-button {
        margin: 15px 0px 15px 45px;
    }

    .book-button {
        padding: 5px 30px;
        margin: 15px 45px 15px 0px
    }

    .tab-button {
        align-items: center;
        padding: 15px;
        width: 180px;
        height: 40px;
        font-size: 18px;
    }

    .tab-icon {
        width: 24px;
        height: 24px;
    }

    label {
        font-size: 2.5rem;
    }

    /*Footer*/
    .gallery-footer-container .gallery-item img {
        height: 400px;
    }

    .inquire-footer-left p {
        margin-top: -10px;
    }

    .inquire-footer-right {
        max-width: 60%;
    }

    .inquire-footer-right p {
        margin-left: 20px;
        margin-top: 15px;
    }

    .inquire-footer-right a {
        padding: 6px;
        margin-left: 20px;
    }

    .quick-links {
        padding-top: 10px;
    }

    .contact {
        margin-bottom: 15px;
        line-height: 20px;
    }

    .contact h3 {
        margin-bottom: 5px;
        font-weight: 600;
    }

    .copyright {
        margin-top: 0px;
    }

    .contact img {
        height: 20px;
    }
}

/*Mobile Large*/
@media screen and (max-width: 425px) {

    /*Header*/
    .nav-bar.scrolled {
        padding: 15px;
    }

    .nav-text {
        display: none;
    }

    .menu-button {
        margin: 0px 0px 0px 30px;
    }

    .menu-button p {
        font-size: 15px;
        display: none;
    }

    .hamburger-menu div {
        width: 30px;
        height: 1.5px;
        margin: 7px 0px;
    }

    .book-button {
        padding: 0px 20px;
        margin: 0;
        font-size: 15px
    }

    .tab-button {
        align-items: center;
        padding: 10px;
        width: 140px;
        height: 30px;
        font-size: 15px;
        border-bottom-left-radius: 0px;
    }

    .tab-icon {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        flex-direction: column;
        max-height: 70vh;
        overflow-y: scroll;
    }

    .text-container {
        width: 340px;
    }

    .map-container {
        margin-top: 18px;
        width: 345px;
    }

    .priv-policy #agree {
        width: 11px;
        margin: 0px 3px 0px 0px;
    }

    #agree-text {
        font-size: 11px;
    }

    label {
        font-size: 3.5rem;
    }

    /*Footer*/
    .footer-container {
        margin: 20px 0px;
    }

    .gallery-footer-container .gallery-item img {
        height: 200px;
    }

    .inquire-footer-left p {
        margin-top: -9px;
    }

    .inquire-footer-right {
        max-width: 60%;
    }

    .inquire-footer-right p {
        margin-left: 20px;
        margin-top: 15px;
    }

    .inquire-footer-right a {
        padding: 5px;
        margin-left: 18px;
    }

    .quick-links {
        padding-top: 10px;
    }

    .quick-links ul {
        font-size: 9px;
    }

    .contact {
        margin-bottom: 15px;
        line-height: 20px;
        font-size: 10px;
    }

    .contact h3 {
        margin-bottom: 5px;
        font-weight: 600;
    }

    .copyright {
        font-size: 9px;
    }

    .contact img {
        height: 15px;
    }
}

/*Mobile Medium*/
@media screen and (max-width: 375px) {

    /*Header*/
    .nav-bar.scrolled {
        padding: 10px;
    }

    .menu-button {
        margin: 0px 0px 0px 30px;
    }

    .menu-button p {
        font-size: 15px;
        display: none;
    }

    .hamburger-menu div {
        width: 30px;
        height: 1.5px;
        margin: 7px 0px;
    }

    .book-button {
        padding: 0px 20px;
        margin: 0;
        font-size: 15px
    }

    .tab-button {
        align-items: center;
        padding: 10px;
        width: 140px;
        height: 30px;
        font-size: 15px;
        border-bottom-left-radius: 0px;
    }

    .tab-icon {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        flex-direction: column;
    }

    .text-container {
        width: 300px;
    }

    .map-container {
        margin-top: 18px;
        width: 300px;
    }

    .priv-policy #agree {
        width: 10px;
        margin: 0px 1px 0px 0px;
    }

    #agree-text {
        font-size: 9px;
    }

    /*Footer*/
    .footer-container {
        margin: 5px 0px;
    }

    .gallery-footer-container .gallery-item img {
        height: 200px;
    }

    .inquire-footer-left p {
        margin-top: -8px;
    }

    .inquire-footer-right {
        max-width: 60%;
    }

    .inquire-footer-right p {
        margin-left: 20px;
        margin-top: 15px;
    }

    .inquire-footer-right a {
        padding: 5px;
        font-size: 8px;
        margin-left: 18px;
        border-radius: 2px;
    }

    .quick-links {
        padding-top: 10px;
    }

    .contact {
        margin-bottom: 10px;
        line-height: 10px;
        font-size: 10px;
    }

    .contact h3 {
        margin-bottom: 5px;
        font-weight: 600;
    }

    .copyright {
        font-size: 9px;
    }
}

/*Mobile Small*/
@media screen and (max-width: 320px) {

    /*Header*/
    .nav-bar.scrolled {
        padding: 5px;

        .menu-button {
            margin: 5px 0px 0px 20px;
        }

        .book-button {
            margin: 5px 20px 0px 10px;
        }
    }

    .menu-button {
        margin: 0;
    }

    .menu-button p {
        font-size: 15px;
        display: none;
    }

    .hamburger-menu div {
        width: 30px;
        height: 1.5px;
        margin: 7px 0px;
    }

    .book-button {
        padding: 0px 20px;
        margin: 10px 20px 0px 10px;
        font-size: 15px
    }

    .tab-button {
        align-items: center;
        padding: 10px;
        width: 140px;
        height: 30px;
        font-size: 15px;
        border-bottom-left-radius: 0px;
    }

    .tab-icon {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        flex-direction: column;
    }

    .text-container {
        width: 300px;
    }

    .map-container {
        margin-top: 18px;
        width: 300px;
    }

    .priv-policy #agree {
        width: 10px;
        margin: 0px 1px 0px 0px;
    }

    #agree-text {
        font-size: 9px;
    }

    /*Footer*/
    .footer-container {
        margin: 5px 0px;
    }

    .gallery-footer-container .gallery-item img {
        height: 200px;
    }

    .inquire-footer-left p {
        margin-top: -8px;
    }

    .inquire-footer-right {
        max-width: 60%;
    }

    .inquire-footer-right p {
        margin-left: 20px;
        margin-top: 15px;
    }

    .inquire-footer-right a {
        padding: 5px;
        margin-left: 18px;
        border-radius: 2px;
    }

    .quick-links {
        padding-top: 10px;
    }

    .contact {
        margin-bottom: 10px;
        line-height: 10px;
        font-size: 10px;
    }

    .contact h3 {
        margin-bottom: 5px;
        font-weight: 600;
    }

    .copyright {
        font-size: 9px;
    }
}