
/* CSS Variables */
:root {
    --primary-font: 'Pacifico', sans-serif;
    --secondary-font: 'Onest', sans-serif;
    --primary-color: #B5552C; /* Chocolate Brown */
    --secondary-color: #FFFFFF; /* White */
}

/* Fixing cross-browser issue in Safari and Firefox for 'Event Type' dropdown */
select {
    background-color: white; /* normal background */
    color: #B5552C; /* text color */
    -webkit-appearance: none; /* Safari/Chrome */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* standard */
}

/* General body styling */
body {
    background-color: #fcf6f2; /* Light brown background */
}

/* #region Bootstrap Navbar styles */

/* Bootstrap navbar styling */
.navbar {
    background-color: rgba(155, 57, 15, 0.6) !important; /* Semi-transparent background */
    -webkit-backdrop-filter: blur(10px); /* Blur effect for Safari */
    backdrop-filter: blur(10px); /* Blur effect */
    position: fixed; /* keeps the navbar to the top */
    z-index: 10; /* ensures the navbar is above other content */
    width: 100%; /* Full width */
    text-shadow: 2px 2px 1px rgba(116, 62, 44, 1);/* Drop shadow for text*/
}

/* Bootstrap navbar styling for the Booking Page & About Page*/
.navbar-booking,
.navbar-about {
    position: sticky; /* Keeps the navbar at the top */
    top: 0; /* Sticks to the top */
}

/* Change the border of the navbar toggler to white */
.navbar-toggler {
    border-color: white !important;
    border-width: 3px !important;
}

/* Change the color of navbar hamburger icon to white */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='butt' stroke-miterlimit='10' stroke-width='3' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Navbar links customization */
.navbar a {
    color: var(--secondary-color) !important;

    font-family: var(--secondary-font);
    font-weight: 600; /* bold text */
    font-size: 1.2rem;
}

/* Active nav link with custom underline */
.navbar .nav-link.active {
    position: relative; /* Position relative for pseudo-element */
    display: inline-block; /* Ensure the element is inline-block */
}

.nav-text {
    position: relative; /* Establish positioning context for pseudo-element */
    display: inline-block; /* shrink to text width */
}

/* Active nav link underline */
.nav-link.active .nav-text::after {
    content: ''; /* Create empty pseudo-element for underline */
    position: absolute; /* Position underline relative to .nav-text */
    bottom: 0; /* Place underline at the bottom of the text */
    left: 0; /* Align underline to the left edge */
    width: 100%; /* matches text width */
    height: 3px; /* Set underline thickness */
    background-color: var(--secondary-color);
}

/* #endregion */

#body-max-width {
    max-width: 1800px; /* Maximum width for large screens */
    margin: 0 auto; /* Center the content */
}

.hero {
    background: url('../images/brunch3-500px.webp') center/cover no-repeat;
    min-height: 400px;
    max-width: 1800px;
    margin: 0 auto;
}


/* Hero section text styling */
.hero h1 {
    font-family: var(--primary-font);
    text-shadow: 5px 5px 1px rgba(116, 62, 44, 1);
    color: var(--secondary-color);
    font-size: 5rem;
}

/* Tagline */
#tagline {
    font-family: var(--primary-font);
    color: var(--primary-color);
}

/* Main content boxes style*/
.text-box,
.text-box2 {
    background-color: var(--primary-color);
}

.text-box3 {
    background-color: var(--secondary-color);
}

.text-box3 h2 {
    font-size: 1rem;
}

/* Text in boxes */
.breakfast-text,
.get-fuzzy-text {
    font-family: var(--primary-font);
    font-size: 1.8rem;
    color: var(--secondary-color);
    gap: 1rem;
}

/* Contact Section */
.contact {
    color: var(--primary-color);
}

.contact h1 {
    color: var(--primary-color);
    font-family: var(--primary-font);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}


/* #region Button styling */

.btn-lg {
    display: inline-block; /* Make the button a block element */
    font-family: var(--secondary-font);
    font-weight: 700;

    background-color: var(--secondary-color);
    color: var(--primary-color);

    border: none; /* Remove default border */
    border-radius: 0; /* No rounded corners */
}

a.btn-lg {
    text-decoration: none; /* Remove underline from links */
}

.btn-lg:hover {
    background-color: var(--secondary-color);
    font-family: var(--secondary-font);
    color: var(--primary-color);
    -webkit-box-shadow: 5px 5px 2px 2px #9b390f; /* Add shadow on hover for Safari */
    box-shadow: 5px 5px 2px 2px #9b390f; /* Add shadow on hover */
}

/* #endregion */


/* Main image object fit helper, ensure images scale and crop to fully cover their container */
.object-fit-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

/* Social media section */

.social-media a {
    color: var(--primary-color);
}

/* Social media icon hover effect */
.social-media a i:hover {
    color: var(--secondary-color);
}

/* #region Booking form styling */
.booking-form-header h1,
.booking-confirmation .thank-you {
    font-family: var(--primary-font);
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.booking-form-header h2 {
    font-family: var(--secondary-font);
    font-weight: 600;
    color: var(--primary-color);
}

.booking-form-header p,
.booking-confirmation p {
    font-family: var(--secondary-font);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
}

.booking-form-fields {
    font-family: var(--secondary-font);
    color: var(--primary-color);
    font-weight: 500;
}

/* Booking form input styling */
input,
textarea,
select {
    font-family: var(--secondary-font);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 5px 10px;
    border-radius: 3px;
    height: 100%;
    width: 100%;
}

#phone::-webkit-input-placeholder {
    color: var(--primary-color); /* Change placeholder color for Chrome, Safari, newer Opera, Edge */
    opacity: 0.7;
}

#phone::-moz-placeholder {
    color: var(--primary-color); /* Change placeholder color for Firefox */
    opacity: 0.7;
}

#phone:-ms-input-placeholder {
    color: var(--primary-color); /* Change placeholder color Internet Explorer */
    opacity: 0.7;
}

#phone::-ms-input-placeholder {
    color: var(--primary-color); /* Change placeholder color for Edge (Legacy, pre-Chromium) */
    opacity: 0.7;
}

#message::-webkit-input-placeholder {
    color: var(--primary-color); /* Change placeholder color for Chrome, Safari, newer Opera, Edge */
    opacity: 0.7;
}

#message::-moz-placeholder {
    color: var(--primary-color); /* Change placeholder color for Firefox */
    opacity: 0.7;
}

#message:-ms-input-placeholder {
    color: var(--primary-color); /* Change placeholder color Internet Explorer */
    opacity: 0.7;
}

#message::-ms-input-placeholder {
    color: var(--primary-color); /* Change placeholder color for Edge (Legacy, pre-Chromium) */
    opacity: 0.7;
}

/* Booking form button styling */
.submit-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    height: 100%;
    font-size: 1rem;
}

/* Autofill input styling */
input:-webkit-autofill {
    -webkit-text-fill-color: var(--primary-color); /* Change text color of the autofill */
}

/* Thank you return button styling */
a.return-home {
    text-decoration: none;
    font-size: 1rem;
}

/* #endregion */

/* About Section Styles */
.about-title>h1 {
    font-family: var(--primary-font);
    color: var(--primary-color);
}

/* Custom images positioning helper */
.custom-position img {
    -o-object-position: 0% 30%;
    object-position: 0% 30%;
}

.custom-position-2 img {
    -o-object-position: 40% 35%;
    object-position: 40% 35%;
}

.custom-position-3 img {
    -o-object-position: 0% 50%;
    object-position: 0% 50%;
}

.about-text {
    font-family: var(--secondary-font);
    color: var(--primary-color);
}

/* Responsive design for different screen sizes */

/* Mobile devices small screens to large */
@media (min-width: 375px) and (max-width: 576px) {

    .hero h1 {
        font-size: 6rem;
    }

    .text-box {
        padding: 2rem;
    }

    .submit-button {

        font-size: 1rem;
    }

}

/* Large mobile to tablets */
@media (min-width: 576px) and (max-width:768px) {

    .hero {
        background: url('../images/brunch3-900px.webp') center/cover no-repeat;
        height: 50vh;
    }

    .h1-about {
        font-size: 1rem;
    }

    .about-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        margin-top: 0;
        aspect-ratio: auto; /* let it grow naturally on mobile */
    }

}

/* Tablets and small laptops */
@media (min-width: 768px) and (max-width:992px) {

    .hero {
        background: url('../images/brunch3-900px.webp') center/cover no-repeat;
        height: 50vh;
    }

    .hero h1 {
        font-size: 7rem;
    }

    .breakfast-text,
    .get-fuzzy-text {
        font-size: 1.8rem;
    }

    .booking-form-header h3 {
        font-size: 1.2rem;
    }

    .submit-button {

        font-size: 1rem;
    }

    .about-text {
        font-size: 0.75rem;
    }
}

/*large laptops to extra large laptops */
@media (min-width: 992px) and (max-width: 1400px) {

    .hero {
        background: url('../images/brunch3-1400px.webp') center/cover no-repeat;
        height: 50vh;
    }

    .navbar a {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 10rem;
    }

    #tagline p {
        font-size: 3rem;
    }

    .breakfast-text {
        font-size: 2.8rem;
        line-height: 5rem;
    }

    .get-fuzzy-text {
        font-size: 2.8rem;
        line-height: 5rem;
    }

    .btn-lg {
        font-size: 2rem;
    }

    .text-box3 h1 {
        font-size: 2.3rem;
        margin-bottom: 3rem;
    }

    .text-box3 h2 {
        font-size: 1.5rem;
    }

    .text-box3 p {
        margin-bottom: 3rem;
        font-size: 1.3rem;
    }

    .contact {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .booking-confirmation .thank-you {
        font-size: 4rem;
    }

    .booking-confirmation p {
        font-size: 1.5rem;
    }

    a.return-home {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 1rem;
    }
}

/* Extra large laptops */
@media (min-width: 1400px) {

    .hero {
        background: url('../images/brunch3-1400px.webp') center/cover no-repeat;
        height: 50vh;
    }

    .navbar a {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 13rem;
    }

    #tagline p {
        font-size: 4rem;
    }

    .breakfast-text,
    .get-fuzzy-text {
        font-size: 3.8rem;
        line-height: 6rem;
    }

    .btn-lg {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .text-box3 h1 {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .text-box3 h2 {
        font-size: 1.8rem;
    }

    .text-box3 p {
        margin-bottom: 3rem;
    }

    .contact {
        font-size: 1.8rem;
    }

    /* Booking Form Section */
    .booking-form-header h1 {
        font-size: 3.2rem;
    }

    .booking-form-header p {
        font-size: 1.5rem;
    }

    .booking-confirmation .thank-you {
        font-size: 5rem;
    }

    .booking-confirmation p {
        font-size: 1.7rem;
    }

    .submit-button {
        font-size: 1rem;
    }

    a.return-home {
        font-size: 1.7rem;
    }

    .about-text {
        font-size: 1.5rem;
    }

}