.navbar-logo {
    position: absolute;
    left: 1rem;
    top: 0;
    transition: all 0.3s ease;
    height: 120px;
    z-index: 1051;
}
.navbar.scrolled .navbar-logo {
    position: static;
    height: 56px;
    transition: all 0.3s ease;
}
.navbar {
    position: fixed; /* Change to fixed instead of sticky */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}

/* Add these new styles for nav links */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.8rem;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d62828;
    transition: width 0.3s ease;
    opacity: 0;
}

.navbar .nav-link:hover::after {
    width: 100%;
    opacity: 1;
}

.navbar.scrolled .nav-link::after {
    background-color: #d62828;
}

/* Ensure order button doesn't get the hover effect */
.navbar .nav-order-btn::after {
    display: none;
}

.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar .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, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-brand {
    padding: 0 !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;  /* Changed from left: 0 */
        width: 240px;  /* Set fixed width */
        background: rgba(0,0,0,0.8);
        padding: 0.5rem 1rem 0 1rem;
        border-radius: 1rem;
        margin-top: 0.5rem;
        margin-right: 0.5rem;  /* Align with toggle button */
    }

    .navbar .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .navbar.scrolled .navbar-collapse {
        background: rgba(0,0,0,0.9);
    }

    .navbar-logo {
        height: 100px; /* Slightly smaller logo on mobile */
    }

    .navbar.scrolled .navbar-logo {
        height: 48px;
    }

    .navbar .navbar-toggler {
        margin-right: 1rem;
    }

    /* Add separation between nav items */
    .navbar-nav .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Add these new styles */
    .navbar .nav-link {
        padding: 0.75rem 1rem;
        text-align: left;
        border-radius: 0.5rem;
    }

    .navbar-nav .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar .nav-order-btn {
        margin: 0.75rem 1rem;
        width: calc(100% - 2rem);  /* Account for padding */
    }
}

.btn-elwoods {
    background-color: #d62828;
    border-color: #d62828;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.btn-elwoods:hover, .btn-elwoods:focus {
    background-color: #bc2424;
    border-color: #bc2424;
    color: #fff;
}

.navbar .nav-order-btn {
    margin-left: 1rem;
}

@media (max-width: 991.98px) {
    .navbar .nav-order-btn {
        margin: 0.5rem 0;
        width: 100%;
    }
}

section h2 {
    font-family: 'Pacifico', cursive;
    margin-bottom: 1.5rem;
}

section h2:not(.text-white) {
    color: #0d6efd;
}

.mini-hero-section {
    position: relative;
    background: url('/img/oyster_background.jpg') center center/cover no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 80px; /* for navbar */
}
.mini-hero-overlay {
    background: rgba(0,0,0,0.45);
    position: absolute;
    inset: 0;
    z-index: 1;
}
.mini-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}
.mini-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.mini-hero-content .lead {
    color: #f8f9fa;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.content-section {
    padding-top: 2rem;
}

/* Homepage styles */
.hero-section {
    padding-top: 80px; /* Add padding to prevent content from hiding under navbar */
    position: relative;
    background: url('/img/oyster_background.jpg') center center/cover no-repeat;
    min-height: 820px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.hero-overlay {
    background: rgba(0,0,0,0.45);
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-content {
    position: relative;
    padding-bottom: 1.5rem;
    z-index: 2;
    width: 100%;
}
.split-card {
    position: relative;
    border-radius: 1rem;
    padding: 2rem 0 0 0;
    margin: 0;
    height: 100%;
    display: flex;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.split-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    z-index: 1;
}

.split-card:hover::before {
    transform: scale(1.03);
}

#restaurant.split-card::before {
    background-image: url('/img/restaurant-home.jpg');
}

#catering.split-card::before {
    background-image: url('/img/catering-home.jpg');
}

#catering h2 {
    color: #198754 !important;
}

.split-card-content {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.65);
    padding: 1.25rem;
    width: 100%;
    backdrop-filter: blur(5px);
}

.split-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    /* Make the link cover the card but not affect appearance */
    background: transparent;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 1rem;
}

.split-card .header-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.split-card .fa-stack {
    margin-bottom: 0; /* Remove bottom margin */
    margin-right: 0.4rem;
    font-size: 1.4rem; /* Make icon smaller */
    flex-shrink: 0;
}

.split-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0; /* Remove bottom margin */
    flex-grow: 2;
}

.split-card p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #222;
}

.split-card .btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: transform 0.2s ease;
}

/* Hide the blurb text on mobile devices */
@media (max-width: 767px) {
  .split-card .blurb {
    display: none !important;
  }
}

.footer {
    background: #222;
    color: #fff;
    padding: 2rem 0 1rem 0;
}
.footer a {
    color: #fff;
    text-decoration: underline;
}
.footer .social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.2s;
}
.footer .social-icons a:hover {
    color: #0d6efd;
}
.gallery-grid {
    column-count: 2;
    column-gap: 1rem;
}
@media (min-width: 768px) {
    .gallery-grid { column-count: 3; }
}
@media (min-width: 1200px) {
    .gallery-grid { column-count: 4; }
}
.gallery-img-wrap {
    display: block;
    margin-bottom: 1rem;
    break-inside: avoid;
}
.gallery-img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.gallery-img-wrap:hover .gallery-img {
    transform: scale(1.02);
}

section.body {
    padding: 3rem 0 2rem 0;
}

section.body h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

section.body img {
  max-width: 100%;
  height: auto;
}

/* Limit width of single-column .container only inside the main content area */
section.body > .container:not(:has(.row > [class*="col-"])) {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* Page-specific styles */
.menu-category {
    margin-bottom: 2.5rem;
}
.menu-category h2 {
    font-family: 'Pacifico', cursive;
    color: #0d6efd;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid #e9ecef;
}
.menu-item:last-child {
    border-bottom: none;
}
.menu-item-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #222;
}
.menu-item-desc {
    color: #555;
    font-size: 0.98rem;
    margin-top: 0.2rem;
}
.menu-item-price {
    font-weight: 500;
    color: #0d6efd;
    font-size: 1.1rem;
    margin-left: 1.5rem;
    white-space: nowrap;
}
.menu-highlight {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #0d6efd;
    font-weight: 500;
    text-align: center;
}

/* Contact page specific styles */
.contact-info {
    margin-bottom: 2rem;
}

.contact-info i {
    color: #0d6efd;
    width: 24px;
    margin-right: 8px;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

#map {
    height: 300px;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.sidebar-gallery {
    margin-bottom: 2rem;
}

.sidebar-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-gallery .gallery-item {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-gallery .gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

.sidebar-signup {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-signup h3 {
    font-family: 'Pacifico', cursive;
    color: #0d6efd;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.alert .position-absolute,
.alert [class*="fa-"].position-absolute {
    z-index: 0 !important;
    pointer-events: none;
}

.alert > *:not(.position-absolute):not([class*="fa-"].position-absolute) {
    position: relative;
    z-index: 1;
}

blockquote p {
    font-family: 'Georgia', serif; 
    font-size: 1.1rem;
}