* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

:root {
    --header-height: 120px;
    --bg-color: #f3f1eb;
    --card-bg-white: #ffffffb0;
    --card-bg-tan: #e6e2d3b0;
    --text-color: #333;
    --menu-bg: #fffffff6;
    --link-color: rgb(0, 0, 0);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-hover: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    color: var(--text-color);
}

#main-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    padding: 0 2rem;
    height: var(--header-height);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-pay-container {
    position: absolute;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    z-index: 1002;
}

.header-pay-btn {
    background-color: var(--link-color);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.header-pay-btn:hover {
    background-color: #000000ac;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.header-pay-btn i {
    font-size: 1.1rem;
}

.pay-by-phone {
    margin: 0;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-color);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.header-hours-status {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.header-hours-status .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -2px; /* Fine-tune for perfect centering with caps */
}

.header-hours-status.status-open .status-dot {
    background-color: #4CAF50; /* Green Dot */
}

.header-hours-status.status-closed .status-dot {
    background-color: #F44336; /* Red Dot */
}

.header-hours-status.status-warning .status-dot {
    background-color: #FF9800; /* Orange Dot */
}

.header-hours-status .status-text {
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.header-hours-status .detail-text {
    color: #444;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#cards-view {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sidebar Menu */
.menu-container {
    position: absolute;
    left: 2rem;
    z-index: 1001;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 10px;
}

.side-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background-color: var(--menu-bg);
    box-shadow: 2px 0 5px var(--shadow-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    padding-top: 1rem;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-menu a:hover {
    background-color: #f9f9f9;
}

.menu-heading {
    padding: 1.75rem 1.5rem 0.5rem;
    color: #999;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}

.side-menu a.sub-link {
    padding: 0.6rem 1.5rem 0.6rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.logo-image {
    height: 100px;
    width: auto;
    display: block;
}

#main-header>a {
    display: flex;
    align-items: center;
}

/* Cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.card {
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow-color);
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px var(--shadow-color-hover);
}

.card-white {
    background-color: var(--card-bg-white);
}

.card-icon {
    font-size: 3rem;
    color: var(--link-color);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Content Sections (About, FAQ) */
.content-section {
    padding: 3rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.section-container {
    max-width: 800px;
    width: 100%;
}

.content-section h2 {
    color: var(--link-color);
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.alt-bg {
    background-color: #e9e7e1;
    /* Slightly darker than main bg */
}

.about-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* FAQ Styles */
.faq-item {
    background: white;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.faq-question i {
    color: var(--link-color);
    font-size: 1.2rem;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    padding-left: 30px;
    /* Indent to align with text of question */
}

/* Footer Styles */
#main-footer {
    background-color: #333;
    color: white;
    padding: 3rem 1.5rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #555;
}

.footer-info h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.5rem;
}

.footer-info a {
    color: #fff;
    /* Keep footer links white */
    text-decoration: none;
}

.footer-info .time-light {
    font-weight: 300;
    opacity: 0.9;
}

.footer-info .hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-info .hours-row {
    display: flex;
}

.footer-info .day-label {
    font-weight: bold;
    display: inline-block;
    width: 50px;
}

.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 0;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--link-color);
}

/* Responsive */
@media (max-width: 600px) {
    #main-header {
        position: fixed;
        width: 100%;
        height: 100px;
        padding: 0 1rem;
        justify-content: space-between;
        /* Change alignment for mobile */
    }

    body {
        padding-top: 100px;
    }

    .logo-image {
        height: 60px;
        /* Smaller logo */
        margin-left: 40px;
        /* Make space for hamburger */
    }

    .menu-container {
        left: 1rem;
    }

    .header-pay-container {
        position: static;
        gap: 0.15rem;
    }

    .header-pay-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 160px;
    }

    .header-pay-btn .btn-text {
        display: inline;
    }

    .header-pay-btn i {
        margin: 0;
    }

    .pay-by-phone {
        font-size: 0.6rem;
    }

    #main-content {
        padding: 1rem;
    }

    .card {
        max-width: 100%;
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .card-icon {
        margin-bottom: 0;
        font-size: 2rem;
    }

    .card-content {
        display: flex;
        flex-direction: column;
    }

    .side-menu {
        width: 100%;
    }
}

/* Page Specific Styles */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--link-color);
    text-decoration: none;
}

.breadcrumb span {
    color: #333;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    color: var(--link-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3rem;
    padding-top: 1rem;
}

.info-block p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 2rem 0;
}

.text-link {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

.bullet-list {
    padding-left: 20px;
    line-height: 1.6;
}

.bullet-list li {
    margin-bottom: 0.5rem;
}

.alert-box {
    padding: 1rem;
    border-radius: 8px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.alert-box.danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-box i {
    font-size: 1.5rem;
}

.alert-box p {
    margin: 0;
    color: inherit;
}

/* Business Hours Status */
.hours-status {
    font-weight: bold;
    margin-bottom: 0.8rem !important;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
}

.status-open {
    color: #4caf50; /* Green */
}

.status-closed {
    color: #f44336; /* Red */
}

.status-warning {
    color: #ff9800; /* Orange */
}