body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f4ed;
    line-height: 1.6;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

:root {
    --primary-color: #8B4513; /* SaddleBrown */
    --secondary-color: #D2B48C; /* Tan */
    --accent-color: #B8860B; /* DarkGoldenrod */
    --light-brown: #F5DEB3; /* Wheat */
    --text-dark: #333;
    --text-light: #fff;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #c09e73;
    border-color: #c09e73;
    color: var(--text-dark);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.offcanvas-title {
    color: var(--text-light);
}

.offcanvas-body .nav-link {
    color: var(--text-dark) !important;
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-color) !important;
}

.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('media/uploads/coffee-shop-interior-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    padding-top: 70px; /* Adjust for fixed navbar */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: 4.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.75rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

section {
    padding: 80px 0;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.icon-large {
    font-size: 3rem;
    color: var(--accent-color);
}

.icon-xl {
    font-size: 4rem;
    color: var(--accent-color);
}

.bg-light-brown {
    background-color: var(--light-brown);
}

.advantage-card {
    background-color: var(--text-light);
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.menu-item-card {
    background-color: var(--text-light);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.menu-item-card .card-img-top {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.menu-item-card .card-body {
    padding: 20px;
}

.menu-item-card .price {
    color: var(--primary-color);
    font-weight: 700;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 10px 20px;
}

.preparation-step {
    background-color: var(--text-light);
    border: 1px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preparation-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review-card {
    background-color: var(--text-light);
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.avatar-small {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.star-rating .bi-star-fill, .bi-star-half {
    color: var(--accent-color);
}

.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.footer-link {
    color: var(--light-brown);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-light);
}

/* Cart Modal Styles */
#cart-items-container .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

#cart-items-container .cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#cart-items-container .item-details {
    flex-grow: 1;
}

#cart-items-container .item-quantity {
    display: flex;
    align-items: center;
}

#cart-items-container .item-quantity button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
}

#cart-items-container .item-quantity span {
    margin: 0 10px;
    font-weight: 600;
}

#cart-items-container .item-price {
    margin-left: 20px;
    min-width: 70px;
    text-align: right;
}

#cart-items-container .remove-item {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .navbar-brand .site-name {
        font-size: 2.2rem;
    }
    .hero-section h1 {
        font-size: 4.5rem;
    }
    .hero-section p {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .navbar-brand .site-name {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 3.8rem;
    }
    .hero-section p {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .carousel-item img {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .navbar-brand .site-name {
        font-size: 1.25rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    .hero-section {
        padding-top: 56px;
    }
    .carousel-item img {
        height: 300px;
    }
    .carousel-caption {
        display: none !important;
    }
    .icon-large {
        font-size: 2.5rem;
    }
    .icon-xl {
        font-size: 3.5rem;
    }
    .offcanvas-body .navbar-nav {
        flex-direction: column;
    }
    .offcanvas-body .nav-item .btn {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .navbar-collapse {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 1101px) {
    .navbar-collapse {
        display: flex !important;
    }
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
}
/*
 * Stock styles for common HTML elements within the .rightsCloudWrap container.
 * These styles provide basic typography, spacing, and readability.
 */

.rightsCloudWrap {
    /* Padding for the main content area */
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    /* You might want to add padding-bottom as well if needed */
    /* padding-bottom: 30px; */
}

/* Heading 1 styles */
.rightsCloudWrap h1 {
    font-size: 28px; /* Moderate size for H1 */
    font-weight: 700; /* Bold */
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #333; /* Example color, adjust as needed */
}

/* Heading 2 styles */
.rightsCloudWrap h2 {
    font-size: 24px; /* Moderate size for H2 */
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #333; /* Example color, adjust as needed */
}

/* Heading 3 styles */
.rightsCloudWrap h3 {
    font-size: 20px; /* Moderate size for H3 */
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333; /* Example color, adjust as needed */
}

/* Heading 4 styles */
.rightsCloudWrap h4 {
    font-size: 18px; /* Moderate size for H4 */
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #333; /* Example color, adjust as needed */
}

/* Heading 5 styles */
.rightsCloudWrap h5 {
    font-size: 16px; /* Standard body text size, but bold */
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 6px;
    line-height: 1.6;
    color: #333; /* Example color, adjust as needed */
}

/* Paragraph styles */
.rightsCloudWrap p {
    font-size: 16px; /* Standard body text size */
    margin-bottom: 1em; /* Spacing between paragraphs */
    line-height: 1.6; /* For readability */
    color: #555; /* Example text color, adjust as needed */
}

/* Unordered list styles */
.rightsCloudWrap ul {
    list-style-type: disc; /* Default bullet points */
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 25px; /* Indentation for bullets */
    color: #555; /* Example text color, adjust as needed */
}

/* List item styles */
.rightsCloudWrap li {
    font-size: 16px; /* Standard list item text size */
    margin-bottom: 0.5em; /* Spacing between list items */
    line-height: 1.6;
    color: #555; /* Example text color, adjust as needed */
}
main {
    overflow: hidden;
}
.offcanvas {
   height: 100vh !important;
   max-height: 100vh !important;
}
