/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2D3748;
}

/* Bowl 29 Color Variables */
:root {
    --bowl29-red: #E53E3E;
    --bowl29-yellow: #FFD700;
    --bowl29-green: #80cd43;
    --bowl29-blue: #3182CE;
    --bowl29-orange: #FF8C00;
    --bowl29-dark: #2D3748;
    --bowl29-light: #F7FAFC;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem;
}

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

.hidden {
    display: none;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allows wrapping if needed */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bowl29-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #4A5568;
    font-weight: 600; /* Consistent font-weight */
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--bowl29-red);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: #718096;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--bowl29-blue);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-red {
    background: var(--bowl29-red);
    color: white;
}

.btn-red:hover {
    background: #C53030;
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--bowl29-blue);
    color: white;
}

.btn-blue:hover {
    background: #276aa8;
    transform: translateY(-2px);
}

.btn-yellow {
    background: var(--bowl29-yellow);
    color: black;
}

.btn-yellow:hover {
    background: #ECC94B;
    transform: translateY(-2px);
}

.btn-green {
    background: var(--bowl29-green);
    color: black;
}

.btn-green:hover {
    background: #94ed4e;
    transform: translateY(-2px);
}

.menu-page-header .hero-buttons .btn-outline {
    background: var(--bowl29-green);
    color: white;
    border: 2px solid var(--bowl29-green);
}

.menu-page-header .hero-buttons .btn-outline:hover {
    background: white;
    color: var(--bowl29-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url("images/dish_image_b29_ramen.jpeg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .highlight {
    color: var(--bowl29-yellow);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Location Section */
.location-section {
    background: var(--bowl29-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.location-grid {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bowl29-blue);
    margin-bottom: 1.5rem;
}

.map-placeholder {
    background: #E2E8F0;
    height: 200px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #718096;
}

.current-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-day {
    font-weight: 600;
}

.schedule-location {
    font-size: 0.875rem;
    color: #718096;
}

.schedule-time {
    font-weight: 500;
    color: var(--bowl29-green);
    font-size: 0.875rem;
}

.note-box {
    background: #FEF5E7;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #744210;
}

#Schedule.display tbody tr.odd {
    background-color: #FEF5E7 !important; /* Lighter grey for odd rows */
}

#Schedule.display tbody tr.even {
    background-color: #ffffff !important; /* White for even rows */
}

#Schedule.display dataTable tbody tr.odd td {
    background-color: #FEF5E7 !important;
}

#Schedule.display dataTable tbody tr.even td {
    background-color: #ffffff !important;
}

#Schedule.dataTable tbody tr:nth-child(odd) td {
  background-color: #FEF5E7 !important;
}

#Schedule.dataTable tbody tr:nth-child(even) td {
  background-color: #ffffff !important;
}

/* Menu Section */
.menu-section {
    background: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dish-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dish-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dish-content {
    padding: 1.5rem;
}

.dish-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bowl29-red);
    margin-bottom: 0.5rem;
}

.dish-description {
    color: #718096;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dish-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bowl29-green);
}

/* About Section */
.about-section {
    background: var(--bowl29-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    /*align-items: center;*/
}

.about-content {
    align-items: start;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-images {
    /*display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;*/
    align-items: center;
}

.about-images img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: top /* Vertically centers all grid items */
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bowl29-green);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--bowl29-light);
    padding: 0rem;
    border-radius: 0.75rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bowl29-red);
    margin-bottom: 1.5rem;
}

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

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--bowl29-red);
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-facebook {
    background: #1877F2;
}

.social-instagram {
    background: #E4405F;
}

/* Footer */
footer {
    background: #2D3748;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.footer-tagline {
    color: #A0AEC0;
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #718096;
}

/* Color Utility Classes */
.text-red { color: var(--bowl29-red); }
.text-yellow { color: var(--bowl29-yellow); }
.text-green { color: var(--bowl29-green); }
.text-blue { color: var(--bowl29-blue); }
.text-orange { color: var(--bowl29-orange); }
.text-dark { color: var(--bowl29-dark); }
.text-white { color: white; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .location-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bowl29-red);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }
}



/* Dish Feature Labels */
.dish-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.dish-label {
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.label-vegetarian {
    background-color: var(--bowl29-green);
}

.label-chicken {
    background-color: #A0522D; /* Sienna */
}

.label-beef {
    background-color: #8B0000; /* DarkRed */
}

.label-pork {
    background-color: #CD5C5C; /* IndianRed */
}

.label-seafood {
    background-color: var(--bowl29-blue);
}

.label-dairy-free {
    background-color: #FF8C00; /* DarkOrange */
}

.label-gluten-free {
    background-color: #998b08; /* Yellow */
}

.label-alpha-gal {
    background-color: #800080; /* Purple */
}

.label-spicy {
    background-color: var(--bowl29-red);
}

.label-mild {
    background-color: #2F4F4F; /* DarkSlateGray */
}

.label-dessert {
    background-color: #e349a5; /* Pink */
}

/* Specific styles for menu.html */
.menu-page-header {
    padding-top: 6rem; /* Adjust for fixed header */
    background: var(--bowl29-light);
    padding-bottom: 2rem;
}

.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #718096;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--bowl29-blue);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

.specials-section {
    background: var(--bowl29-yellow);
    padding: 3rem 1rem;
    color: var(--bowl29-dark);
    text-align: center;
}

.specials-section .section-title {
    color: var(--bowl29-dark);
}

.specials-section .section-subtitle {
    color: var(--bowl29-dark);
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.special-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.special-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.special-content {
    padding: 1.5rem;
}

.special-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bowl29-red);
    margin-bottom: 0.5rem;
}

.special-description {
    color: #718096;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.special-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bowl29-green);
}

.full-menu-section {
    background: white;
}

.full-menu-section .dish-card .dish-footer {
    justify-content: flex-end; /* Align price to right */
}

.full-menu-section .dish-card .dish-price {
    margin-left: auto; /* Push price to the right */
}

/* Mobile header fix */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .nav-actions a,
    .nav-actions button {
        width: 100%;
        text-align: center;
    }
}

/* Mobile-friendly schedule table (scrollable)
@media (max-width: 600px) {
    #Schedule {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #Schedule table {
        min-width: 600px; /* Keep layout intact */
    }
}

/* Stacked mobile schedule table */
@media (max-width: 600px) {
    #Schedule thead {
        display: none;
    }

    #Schedule, 
    #Schedule tbody, 
    #Schedule tr, 
    #Schedule td {
        display: block;
        width: 100%;
    }

    #Schedule tr {
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        padding: 0.5rem;
    }

    #Schedule td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    #Schedule td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.5rem;
        width: 45%;
        font-weight: bold;
        text-align: left;
        white-space: nowrap;
    }
}

/* Catering Section Styles */
.catering-section {
    background: var(--bowl29-green);
    padding: 3rem 1rem;
    color: white;
    text-align: center;
}

.catering-section .section-title {
    color: var(--bowl29-dark);;
}

.catering-section .section-subtitle {
    color: var(--bowl29-dark);;
}

.catering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.catering-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1rem;
}

.catering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.catering-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.catering-image:hover {
    transform: scale(1.02);
}

.catering-content {
    padding: 1rem;
    width: 100%;
}

.catering-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bowl29-dark);
    margin-bottom: 0.5rem;
}

.catering-content p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pdf-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bowl29-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pdf-download-link:hover {
    color: var(--bowl29-red);
}

.pdf-download-link svg {
    width: 1.2em;
    height: 1.2em;
}

/* Modal (Image Enlargement Popup) Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80%;
    object-fit: contain;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Animations for modal */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* Responsive adjustments for modal */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.title-with-icon {
    position: relative;
    display: inline-block; /* keeps it centered by text-align */
}

.section-title {
    position: relative;
    z-index: 1; /* keep text above if needed */
}

/* position the icon to the left of the heading */
.title-icon {
    position: absolute;
    left: -22rem;       /* adjust to control horizontal offset */
    top: 50%;
    transform: translateY(-50%); /* vertically align with text */
    width: 15rem;       /* responsive size */
    height: auto;
}

/* make it adapt on smaller screens */
@media (max-width: 600px) {
    .title-icon {
        left: -35px;
        width: 28px;
    }
}



