/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(58, 46, 40, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.dark-theme header {
    background-color: #1c1c1c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="evening"] header {
    background-color: #1c1c1c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 15px rgba(58, 46, 40, 0.15);
}

.dark-theme header.scrolled {
    background-color: #1c1c1c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="evening"] header.scrolled {
    background-color: #1c1c1c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    height: 50px;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 4px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.dark-theme .mobile-menu-btn span {
    background-color: var(--text-light);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important; /* Force display on mobile */
        position: relative;
        z-index: 1010;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        visibility: visible !important;
        opacity: 1 !important;
        width: 44px;
        height: 44px;
        padding: 0.75rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    [data-theme="evening"] .mobile-menu-btn:hover,
    .dark-theme .mobile-menu-btn:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .mobile-menu-btn span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        margin: 4px auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        background-color: var(--primary-color) !important;
    }
    
    .dark-theme .mobile-menu-btn span {
        background-color: var(--text-light) !important;
    }
    
    [data-theme="evening"] .mobile-menu-btn span {
        background-color: var(--text-light) !important;
    }

    .header-inner {
        padding: 0.75rem var(--spacing-md);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--background-light);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem var(--spacing-md) var(--spacing-md);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        display: flex !important; /* Ensure it's always flex */
    }
    
    .dark-theme .main-nav {
        background-color: var(--background-dark);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .main-nav.active {
        right: 0; /* Slide in when active */
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-md);
        margin-top: 1rem;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        opacity: 1;
        display: block;
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 44px;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
        color: var(--text-primary);
        font-weight: 500;
        transition: all 0.3s ease;
        background-color: transparent;
        opacity: 1;
    }
    
    .nav-menu a:hover {
        background-color: rgba(177, 122, 80, 0.1);
    }
    
    .nav-menu a.active {
        background-color: rgba(177, 122, 80, 0.15);
        color: var(--primary-color);
        font-weight: 600;
        box-shadow: none;
        padding: 0.75rem 1.25rem;
    }
    
    .dark-theme .nav-menu a {
        color: var(--text-primary);
    }
    
    .dark-theme .nav-menu a:hover {
        background-color: rgba(214, 166, 80, 0.1);
    }
    
    .dark-theme .nav-menu a.active {
        background-color: rgba(214, 166, 80, 0.15);
        color: var(--accent-gold);
        box-shadow: none;
    }
    
    /* Ensure consistency when scrolled */
    header.scrolled .nav-menu a.active {
        background-color: rgba(177, 122, 80, 0.15);
        color: var(--primary-color);
        box-shadow: none;
        padding: 0.75rem 1.25rem;
    }
    
    .dark-theme header.scrolled .nav-menu a.active {
        background-color: rgba(214, 166, 80, 0.15);
        color: var(--accent-gold) !important;
        box-shadow: none;
        padding: 0.75rem 1.25rem;
    }
    
    [data-theme="evening"] header.scrolled .nav-menu a.active {
        background-color: rgba(214, 166, 80, 0.15);
        color: var(--accent-gold) !important;
        box-shadow: none;
        padding: 0.75rem 1.25rem;
    }
    
    /* Menu open overlay */
    .menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    .dark-theme .menu-open::before {
        background-color: rgba(0, 0, 0, 0.7);
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
        width: 100%;
        position: relative;
    }
    
    .footer-section:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -1.25rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Section Headers */
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
        width: 100%;
        text-align: center;
        padding-bottom: 0.5rem;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background-color: var(--accent-gold);
    }
    
    .footer-description {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto 1.5rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.95);
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem auto 0;
        gap: 1.2rem;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .footer-links a {
        font-size: 1.05rem;
        padding: 0.5rem 0;
        text-align: center;
        width: 100%;
        max-width: 200px;
        display: block;
        color: rgba(255, 255, 255, 0.95);
        transition: color 0.3s ease;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .footer-contact li {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        max-width: 280px;
        padding: 0.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact li a {
        font-size: 1.05rem;
        gap: 0.8rem;
        justify-content: center;
        align-items: center;
        color: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: row;
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .footer-contact .contact-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
        text-align: center;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-contact .location-city {
        font-weight: 600;
        color: var(--accent-gold);
        margin-right: 0.3rem;
        white-space: nowrap;
    }
    
    .footer-contact li i {
        font-size: 1.2rem;
        color: var(--accent-gold);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        margin-right: 0.5rem;
    }
    
    /* Location Links */
    .location-links {
        margin-top: 1.2rem;
        gap: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    
    .location-link {
        font-size: 1.05rem;
        gap: 0.8rem;
        justify-content: flex-start;
        align-items: center;
        color: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: row;
        text-align: left;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .location-link:last-child {
        border-bottom: none;
    }
    
    .location-link i {
        color: var(--accent-gold);
        font-size: 1.1rem;
        min-width: 24px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 0.5rem;
    }
    
    .location-link .location-city {
        font-weight: 600;
        color: var(--accent-gold);
        margin-right: 0.3rem;
        white-space: nowrap;
    }
    
    .location-link span:not(.location-city) {
        color: rgba(255, 255, 255, 0.95);
        flex: 1;
    }
    
    /* Quick Links Section */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .footer-links a {
        font-size: 1.05rem;
        padding: 0.5rem 0;
        text-align: center;
        width: 100%;
        max-width: 200px;
        display: block;
        color: rgba(255, 255, 255, 0.95);
        transition: color 0.3s ease;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section:not(:last-child)::after {
        bottom: -1rem;
        width: 90%;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a,
    .footer-contact li a,
    .location-link {
        font-size: 1rem;
        padding: 0.4rem 0;
    }
    
    .footer-contact li,
    .location-links {
        max-width: 260px;
    }
    
    .footer-contact li i {
        font-size: 1.1rem;
        width: 22px;
        height: 22px;
    }
    
    .location-link i {
        font-size: 1rem;
        min-width: 22px;
    }
    
    .footer-contact .contact-info {
        font-size: 0.95rem;
    }
    
    .location-link .location-city {
        font-size: 0.95rem;
    }
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.nav-menu li {
    position: relative;
    display: flex;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    position: relative;
    transition: all 300ms ease;
    border-radius: var(--border-radius-md);
    letter-spacing: 0.02em;
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* Add a subtle hover effect */
.nav-menu a:hover {
    background-color: rgba(177, 122, 80, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.dark-theme .nav-menu a {
    color: var(--text-light);
}

.dark-theme .nav-menu a:hover,
[data-theme="evening"] .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
}

.nav-menu a.active {
    background-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 2px 8px rgba(177, 122, 80, 0.3);
    padding: 0.85rem 2rem;
}

.dark-theme .nav-menu a.active,
[data-theme="evening"] .nav-menu a.active {
    background-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure text visibility when scrolling */
header.scrolled .nav-menu a {
    color: var(--text-dark);
}

.dark-theme header.scrolled .nav-menu a {
    color: var(--text-light);
}

/* Add specific styling for active links when scrolled in dark mode */
.dark-theme header.scrolled .nav-menu a.active {
    background-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0.85rem 2rem;
}

[data-theme="evening"] header.scrolled .nav-menu a.active {
    background-color: var(--primary-color);
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0.85rem 2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/heroes/hero-bagel-sandwich.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    color: var(--text-light);
    padding: 0 var(--spacing-md);
    box-shadow: inset 0 -15px 15px -15px rgba(0, 0, 0, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 8L8 9L9 9L9 8L8 8Z' fill='white' fill-opacity='0.15'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 var(--spacing-md);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-family: var(--font-family-heading);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* About Section */
.about-section {
    padding: 40px 0 50px;
    background: #FFF8F0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: #B17A50;
    font-weight: 700;
    font-size: 2.3rem;
    margin-bottom: 1.8rem;
    letter-spacing: 0.01em;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #D9A650, #B17A50);
    border-radius: 2px;
    margin-top: 0.3rem;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    height: 100%;
}

.about-quote {
    position: relative;
    background: #FFF3E0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(217,166,80,0.07);
    margin: 0;
    padding: 1.2rem 1.2rem 1.2rem 2.2rem;
    text-align: left;
    max-width: 600px;
}

.about-quote::before {
    content: '\201C';
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #D9A650;
    opacity: 0.18;
    pointer-events: none;
}

.about-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #B17A50;
    margin: 0;
    background: none;
    text-shadow: none;
    line-height: 1.5;
}

.story-timeline {
    margin: 0;
    padding: 0;
}

.timeline-item {
    margin: 0;
    padding: 0;
}

.timeline-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.timeline-item p {
    font-family: 'Poppins', sans-serif;
    color: #3A2E28;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

.timeline-item p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1.3;
}

.community-focus {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: #FFF3E0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(217,166,80,0.07);
    width: 100%;
    max-width: 600px;
}

.community-focus h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left;
}

.community-focus p {
    font-family: 'Poppins', sans-serif;
    color: #3A2E28;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.about-image {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 100%;
}

.about-staff-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(217,166,80,0.10);
    background: #fff;
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-staff-image:hover {
    transform: scale(1.025);
    box-shadow: 0 8px 32px rgba(217,166,80,0.13);
}

@media (max-width: 900px) {
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .about-text {
        gap: 0;
    }
    
    .about-quote {
        order: 1;
        margin-bottom: 0;
        max-width: 100%;
    }
    
    .about-image {
        order: 2;
        margin: 1rem auto;
        max-width: 85%;
        justify-content: center;
        top: 0;
    }
    
    .story-timeline {
        order: 3;
        flex-grow: 0;
        margin-bottom: 0.5rem;
    }
    
    .community-focus {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        order: 4;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 30px 0 40px;
    }
    
    .about-text {
        gap: 0;
    }
    
    .about-quote {
        padding: 1.1rem 1rem 1rem 2rem;
        margin-bottom: 0;
    }
    
    .about-image {
        margin: 0.75rem auto;
    }
    
    .story-timeline {
        margin: 0;
    }
    
    .timeline-item {
        margin-bottom: 0.5rem;
    }
    
    .timeline-item h3 {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }
    
    .timeline-item p:last-child {
        line-height: 1.3;
    }
    
    .community-focus {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        padding: 1.2rem;
    }
}

/* Menu Section */
.menu-section {
    padding: var(--section-spacing-desktop) 0;
    background-color: var(--background-light);
    position: relative;
    box-shadow: inset 0 -5px 10px -5px rgba(0, 0, 0, 0.03);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.menu-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.05);
}

.menu-item-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    background-color: var(--background-card);
    position: relative;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
    display: block;
    will-change: transform;
    transform-origin: center;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.05);
}

.menu-item-info {
    padding: var(--spacing-sm);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-item-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.3;
}

/* Coffee Section */
.coffee-section {
    padding: var(--section-spacing-desktop) 0;
    background-color: #fcf7f1;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L12 8L17 10L12 12L10 17L8 12L3 10L8 8Z' fill='%23d9a650' fill-opacity='0.05'/%3E%3C/svg%3E");
    position: relative;
    box-shadow: inset 0 -5px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-spacing-desktop) 0 var(--spacing-md) 0;
    background-color: var(--background-alt);
    position: relative;
    box-shadow: inset 0 -5px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--primary-color);
}

/* Locations Section */
.locations-section {
    padding: var(--spacing-lg) 0 var(--section-spacing-desktop) 0;
    background-color: #fcf7f1;
}

.branch-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #5A4A3D;
    font-weight: 500;
}

.branch-address i {
    color: var(--primary-color);
}

.hours-dropdown {
    margin-bottom: 1rem;
    width: 100%;
}

.hours-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(177, 122, 80, 0.05);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #A8754C;
    font-weight: 600;
}

.hours-toggle:hover {
    background: rgba(177, 122, 80, 0.1);
}

.hours-toggle span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.hours-toggle[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.dark-theme .hours-toggle {
    background: rgba(214, 166, 80, 0.1);
    color: var(--accent-gold);
}

.dark-theme .hours-toggle:hover {
    background: rgba(214, 166, 80, 0.15);
}

.hours-content {
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-md);
    margin-top: 0.5rem;
}

.dark-theme .hours-content {
    background: rgba(0, 0, 0, 0.2);
}

.hours-content.show {
    display: block;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    line-height: 1.5;
    min-height: 2.2rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
    color: #4B4B4B;
    text-align: left;
    flex: 1 1 50%;
    padding-right: 0.5rem;
    white-space: nowrap;
}

.time {
    font-weight: 500;
    color: var(--primary-color);
    text-align: right;
    flex: 1 1 50%;
    padding-left: 0.5rem;
    white-space: nowrap;
}

/* Closed status styling */
.hours-row .time.closed,
.hours-row .time:has(span.closed),
.hours-row .time:contains("Closed") {
    color: #5A5A5A;
    opacity: 0.85;
}

.dark-theme .hours-row .time.closed,
.dark-theme .hours-row .time:has(span.closed),
.dark-theme .hours-row .time:contains("Closed") {
    color: rgba(255, 255, 255, 0.85);
}

/* Dark theme styles for hours */
.dark-theme .day {
    color: rgba(255, 255, 255, 0.9);
}

.dark-theme .branch-address {
    color: rgba(255, 255, 255, 0.9);
}

.dark-theme .hours-row {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Contact Section */
.contact-section {
    padding: var(--section-spacing-desktop) 0;
    background-color: var(--background-light);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: transparent;
    padding: 0;
}

.contact-form {
    background-color: var(--background-card);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 25px rgba(58, 46, 40, 0.08);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(58, 46, 40, 0.12);
    border-color: var(--border-distinct);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

/* Footer
---------------------------------------------------- */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 15px 15px -15px rgba(0, 0, 0, 0.1);
}

.dark-theme footer {
    background-color: var(--surface-base);
    color: var(--text-secondary);
    box-shadow: none;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section {
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dark-theme .footer-section h3 {
    color: var(--text-primary);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-gold);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-theme .footer-section h3::after {
    background-color: var(--primary-color);
    opacity: 0.8;
}

.footer-logo {
    margin-bottom: 1rem;
    max-width: 150px;
    filter: brightness(1.1);
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-description {
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 1;
    color: rgba(255, 255, 255, 0.95);
    max-width: 320px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 300ms ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.footer-contact li a {
    width: auto;
    max-width: none;
}

.footer-section:nth-child(4) {
    min-width: 270px;
}

.location-link {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Table style for hours */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    max-width: 100%;
}

.hours-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 8px 6px;
    font-size: 0.95rem;
    white-space: nowrap;
    line-height: 1.5;
    overflow: visible;
    text-overflow: clip;
}

.hours-table td:first-child {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    width: auto;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    padding-left: 6px;
}

.hours-table td:last-child {
    font-weight: 500;
    color: var(--accent-gold);
    text-align: right;
    width: auto;
    padding-right: 12px;
}

@media (min-width: 992px) {
    .footer-section:nth-child(3) {
        padding-left: var(--spacing-md);
    }

    .footer-section:nth-child(4) {
        padding-left: var(--spacing-md);
        min-width: 280px;
    }
    
    .footer-content {
        gap: 1rem;
    }
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.95);
    background-color: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 1.2rem;
    white-space: nowrap;
    overflow-x: auto;
    font-size: 1rem;
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.7;
}

.copyright, .footer-credit {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-credit i {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin: 0 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dark-theme .footer-bottom {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.dark-theme .footer-credit i {
    color: var(--accent-gold);
}

.dark-theme .copyright, 
.dark-theme .footer-credit {
    color: var(--text-secondary);
    opacity: 1;
}

@media (max-width: 700px) {
    .footer-bottom-content {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        gap: 0.7rem;
    }
}

@media (max-width: 480px) {
    .footer-bottom-content {
        font-size: 0.92rem;
        gap: 0.5rem;
        padding: 0 0.2rem;
    }
}
    
.footer-bottom-content > * {
    white-space: nowrap;
}

/* Hours Container */
.hours-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 720px;
}

.hours-group {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hours-group:hover {
    border-color: rgba(0,0,0,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.city-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
    padding-left: 2px;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: none;
}

.dark-theme .city-label {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hours-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0.25rem;
}

.footer-section .hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    line-height: 1.5;
    min-height: 2.2rem;
}

.footer-section .hours-row:last-child {
    border-bottom: none;
}

.footer-section .day {
    font-weight: 500;
    color: #E0E0E0 !important;
    text-align: left;
    flex: 1 1 50%;
    padding-right: 0.5rem;
    white-space: nowrap;
}

.footer-section .time {
    font-weight: 500;
    color: var(--accent-gold);
    text-align: right;
    flex: 1 1 50%;
    padding-left: 0.5rem;
    white-space: nowrap;
}

/* Closed status styling for footer */
.footer-section .hours-row .time.closed,
.footer-section .hours-row .time:has(span.closed),
.footer-section .hours-row .time:contains("Closed") {
    color: #D6D3D1 !important;
    opacity: 0.85;
}

/* Contact Section Alignment */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer-contact li i {
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact .contact-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.footer-contact .location-city {
  margin-right: 0.25em;
  font-weight: 500;
  white-space: nowrap;
}

.footer-contact .tel-number {
  margin-left: 0.15em;
  font-weight: 500;
  color: var(--accent-gold);
  white-space: nowrap;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.95);
  transition: color 0.2s;
  width: 100%;
  justify-content: flex-start;
}

/* Section Headers Consistency */
.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  width: 100%;
  text-align: center;
  padding-bottom: 0.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: var(--text-light);
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

/* Location Links Refinement */
.location-links {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.location-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255,255,255,0.95);
  transition: color 0.2s;
  padding: 0.1rem 0;
}

.location-link i {
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .footer-contact li {
    justify-content: center;
  }
  
  .footer-contact a {
    justify-content: center;
  }
  
  .footer-contact .contact-info {
    justify-content: center;
  }
  
  .location-link {
    justify-content: center;
  }
  
  .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-contact {
    gap: 0.8rem;
  }
  
  .footer-contact li {
    font-size: 0.95rem;
  }
  
  .footer-contact li i {
    font-size: 1rem;
    min-width: 18px;
  }
  
  .location-link {
    font-size: 0.95rem;
  }
  
  .location-link i {
    font-size: 1rem;
    min-width: 18px;
  }
  
  .footer-section h3 {
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
  }
}

@media (max-width: 580px) {
  .footer-bottom {
    padding: 1rem 0 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.08);
  }
  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 0.5rem;
    white-space: normal;
  }
  .footer-bottom-content > * {
    margin-block: 0.3rem;
    width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .footer-divider {
    display: none !important;
  }
  .copyright, .footer-credit {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 0 0.5rem;
  }
  .footer-credit a {
    color: var(--accent-gold);
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
  }
  .footer-credit a:hover, .footer-credit a:active {
    color: #fff;
    text-decoration: underline;
  }
  .footer-credit i {
    color: var(--accent-gold);
  }
  
  /* Improve footer contact section for small screens */
  .footer-contact li a {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  
  .footer-contact .contact-info {
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    text-align: center;
  }
  
  .location-links {
    text-align: center;
  }
  
  .location-link {
    justify-content: center;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-links a {
    text-align: center;
    justify-content: center;
  }
}

/* --- About Alfresco Section Refined --- */
.about-alfresco-bg {
  background: linear-gradient(120deg, #f9f6f1 0%, #fdf7ef 100%);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.about-alfresco-title {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
  position: relative;
  text-align: left;
}
.about-alfresco-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-color));
  border-radius: 2px;
  margin-top: 0.4rem;
}
.about-alfresco-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-alfresco-left {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.about-alfresco-quote {
  position: relative;
  background: #fff8f0;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(58,46,40,0.10);
  padding: 2.2rem 2rem 1.7rem 2.7rem;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 0.5rem;
}
.about-alfresco-quote-icon {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-size: 2.2rem;
  color: var(--accent-gold);
  opacity: 0.18;
  pointer-events: none;
}
.about-alfresco-quote blockquote {
  margin: 0;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  z-index: 1;
  position: relative;
}
.about-alfresco-body {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}
.about-alfresco-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.about-alfresco-section p {
  font-family: 'Open Sans', 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.7rem;
  line-height: 1.7;
  text-align: left;
}
.about-alfresco-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(58,46,40,0.10);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin-top: 1.2rem;
  text-align: center;
  max-width: 420px;
}
.about-alfresco-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-alfresco-card p {
  font-family: 'Open Sans', 'Inter', Arial, sans-serif;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 340px;
}
.about-alfresco-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-alfresco-image {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(58,46,40,0.13);
  overflow: hidden;
  padding: 0.5rem;
  max-width: 480px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #f3e7d7;
}
.about-alfresco-image img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .about-alfresco-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-alfresco-right {
    margin-top: 1.5rem;
    justify-content: flex-start;
  }
  .about-alfresco-image {
    max-width: 100%;
  }
  .about-alfresco-card {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .about-alfresco-bg {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .about-alfresco-title {
    font-size: 1.5rem;
  }
  .about-alfresco-quote {
    padding: 1.1rem 1rem 1rem 2.2rem;
    font-size: 1.1rem;
    min-height: unset;
  }
  .about-alfresco-body {
    gap: 1rem;
  }
  .about-alfresco-section h3 {
    font-size: 1rem;
  }
  .about-alfresco-section p {
    font-size: 0.98rem;
  }
  .about-alfresco-left {
    gap: 1.2rem;
  }
  .about-alfresco-card {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    font-size: 0.98rem;
    max-width: 100%;
  }
}
/* --- End About Alfresco Section Refined --- */

/* --- About Section Dark Mode Improvements --- */
.dark-theme .about-section {
    background: #2a2420;
}
.dark-theme .section-title {
    color: #FFD699;
}
.dark-theme .section-title::after {
    background: linear-gradient(90deg, #FFD699, #B17A50);
}
.dark-theme .about-quote {
    background: #3a2e28;
    box-shadow: 0 2px 12px rgba(217,166,80,0.10);
}
.dark-theme .about-quote::before {
    color: #FFD699;
}
.dark-theme .about-quote blockquote {
    color: #FFD699;
}
.dark-theme .timeline-item h3 {
    color: #FFD699;
}
.dark-theme .timeline-item p {
    color: #f5e9d8;
}
.dark-theme .community-focus {
    background: #3a2e28;
    box-shadow: 0 2px 12px rgba(217,166,80,0.10);
}
.dark-theme .community-focus h3 {
    color: #FFD699;
}
.dark-theme .community-focus p {
    color: #f5e9d8;
}
.dark-theme .about-staff-image {
    background: #3a2e28;
    box-shadow: 0 4px 20px rgba(217,166,80,0.18);
}
/* --- End About Section Dark Mode Improvements --- */

/* Media Queries for Section Spacing */
@media (max-width: 992px) {
    .menu-section {
        padding: var(--section-spacing-tablet) 0;
    }
    
    .coffee-section {
        padding: var(--section-spacing-tablet) 0;
    }
    
    .gallery-section {
        padding: var(--section-spacing-tablet) 0 var(--spacing-md) 0;
    }
    
    .locations-section {
        padding: var(--spacing-md) 0 var(--section-spacing-tablet) 0;
    }
    
    .contact-section {
        padding: var(--section-spacing-tablet) 0;
    }
}

@media (max-width: 480px) {
    .menu-section {
        padding: var(--section-spacing-mobile) 0;
    }
    
    .coffee-section {
        padding: var(--section-spacing-mobile) 0;
    }
    
    .gallery-section {
        padding: var(--section-spacing-mobile) 0 var(--spacing-md) 0;
    }
    
    .locations-section {
        padding: var(--spacing-md) 0 var(--section-spacing-mobile) 0;
    }
    
    .contact-section {
        padding: var(--section-spacing-mobile) 0;
    }
} 

/* Dark theme styles for hours */
.dark-theme .day {
    color: rgba(255, 255, 255, 0.9);
}

.dark-theme .hours-row {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hours-content {
    display: none;
    padding: 0.5rem 0;
}

.hours-content.show {
    display: block;
}

/* Footer hours styling */
.footer-section .day {
    color: #E0E0E0 !important;
}

.footer-section .time.closed {
    color: #D6D3D1 !important;
    opacity: 0.85;
}

/* Footer hours table specific styling */
.footer-section .hours-table td:first-child {
    color: #E0E0E0 !important;
}

.footer-section .hours-row .day {
    color: #E0E0E0 !important;
}

/* Branch Cards - Hours Dropdown */
.branch-card .hours-content .day {
    color: #4B4B4B !important;
}

.branch-card .hours-content .time.closed {
    color: #5A5A5A !important;
}

/* Footer Hours Section */
.hours-group .day {
    color: #E0E0E0 !important;
}

.hours-group .time.closed {
    color: #D6D3D1 !important;
} 

/* Dark theme styles for branch cards day names and closed status */
[data-theme="evening"] .branch-card .hours-content .day,
.dark-theme .branch-card .hours-content .day {
    color: #D4D4D4 !important;
}

[data-theme="evening"] .branch-card .hours-content .time.closed,
.dark-theme .branch-card .hours-content .time.closed {
    color: #FF6D60 !important;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
        width: 100%;
        position: relative;
    }
    
    .footer-section:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -1.25rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Section Headers */
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
        width: 100%;
        text-align: center;
        padding-bottom: 0.5rem;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background-color: var(--accent-gold);
    }
    
    /* Contact Section */
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .footer-contact li {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        max-width: 280px;
        padding: 0.5rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact li a {
        font-size: 1.05rem;
        gap: 0.8rem;
        justify-content: center;
        align-items: center;
        color: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: row;
        text-align: center;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .footer-contact .contact-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
        text-align: center;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-contact .location-city {
        font-weight: 600;
        color: var(--accent-gold);
        margin-right: 0.3rem;
        white-space: nowrap;
    }
    
    .footer-contact li i {
        font-size: 1.2rem;
        color: var(--accent-gold);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        margin-right: 0.5rem;
    }
    
    /* Location Links */
    .location-links {
        margin-top: 1.2rem;
        gap: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
    
    .location-link {
        font-size: 1.05rem;
        gap: 0.8rem;
        justify-content: flex-start;
        align-items: center;
        color: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: row;
        text-align: left;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .location-link:last-child {
        border-bottom: none;
    }
    
    .location-link i {
        color: var(--accent-gold);
        font-size: 1.1rem;
        min-width: 24px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 0.5rem;
    }
    
    .location-link .location-city {
        font-weight: 600;
        color: var(--accent-gold);
        margin-right: 0.3rem;
        white-space: nowrap;
    }
    
    .location-link span:not(.location-city) {
        color: rgba(255, 255, 255, 0.95);
        flex: 1;
    }
    
    /* Quick Links Section */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    
    .footer-links a {
        font-size: 1.05rem;
        padding: 0.5rem 0;
        text-align: center;
        width: 100%;
        max-width: 200px;
        display: block;
        color: rgba(255, 255, 255, 0.95);
        transition: color 0.3s ease;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section:not(:last-child)::after {
        bottom: -1rem;
        width: 90%;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-links a,
    .footer-contact li a,
    .location-link {
        font-size: 1rem;
        padding: 0.4rem 0;
    }
    
    .footer-contact li,
    .location-links {
        max-width: 260px;
    }
    
    .footer-contact li i {
        font-size: 1.1rem;
        width: 22px;
        height: 22px;
    }
    
    .location-link i {
        font-size: 1rem;
        min-width: 22px;
    }
    
    .footer-contact .contact-info {
        font-size: 0.95rem;
    }
    
    .location-link .location-city {
        font-size: 0.95rem;
    }
} 

/* Contact Section Mobile Refinements */
@media (max-width: 768px) {
  .footer-contact li {
    justify-content: center;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.4rem 0;
    width: 100%;
    max-width: 300px;
  }
  
  .footer-contact li a {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }
  
  .footer-contact .contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
  }
  
  .footer-contact .location-city {
    margin-right: 0.25rem;
    font-weight: 500;
    white-space: nowrap;
  }
  
  .footer-contact .tel-number {
    margin-left: 0.15rem;
    font-weight: 500;
    white-space: nowrap;
  }
  
  .footer-contact li i {
    font-size: 1.1rem;
    min-width: 20px;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-contact li {
    max-width: 280px;
    padding: 0.35rem 0;
  }
  
  .footer-contact li a {
    font-size: 0.95rem;
    padding: 0.35rem 0.4rem;
  }
  
  .footer-contact li i {
    font-size: 1rem;
    min-width: 18px;
  }
  
  .footer-contact .contact-info {
    font-size: 0.95rem;
  }
  
  .footer-contact .location-city {
    font-size: 0.95rem;
  }
  
  .footer-contact .tel-number {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .footer-contact li {
    max-width: 260px;
  }
  
  .footer-contact li a {
    font-size: 0.9rem;
    padding: 0.3rem 0.35rem;
  }
  
  .footer-contact li i {
    font-size: 0.95rem;
    min-width: 16px;
  }
  
  .footer-contact .contact-info {
    font-size: 0.9rem;
  }
}