body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100%;
    color: #333;
}

body {
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.full-width-img {
    width: 100%;
    display: block;
}

.header-image-container, .footer-image-container {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logo p {
    margin: 0;
    font-size: 0.8rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #f39c12;
}

/* Content Panel */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 160px);
}

.content-panel {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-links li {
    padding: 8px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: white;
    cursor: pointer;
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* Fancy Opening Times Table */
.fancy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
}

.fancy-table thead {
    background-color: #2c3e50;
    color: white;
}

.fancy-table th {
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
    border: 1px solid #444;
}

.fancy-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 0.95rem;
}

/* Alternating Row Colours */
.fancy-table tr.day-row:nth-child(even) {
    background-color: #f9f9f9;
}
.fancy-table tr.day-row:nth-child(odd) {
    background-color: #ffffff;
}

/* Block Border Styling */
.bar-block, .b-start { border-left: 3px solid #2c3e50 !important; }
.b-end { border-right: 3px solid #2c3e50 !important; }

.food-block, .f-start { border-left: 3px solid #2c3e50 !important; }
.f-end { border-right: 3px solid #2c3e50 !important; }

.fancy-table .day-name {
    font-weight: bold;
    color: #2c3e50;
    background-color: #eee;
    text-align: left;
    width: 120px;
}

.fancy-table .closed-day {
    background-color: #fff5f5;
}

.fancy-table .status-msg {
    color: #e74c3c;
    font-style: italic;
    font-weight: bold;
}

.fancy-table tr:hover:not(.closed-day) {
    background-color: #fdf2e9;
    transition: background-color 0.2s;
}

/* Note Cards */
.info-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.note-card {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid #f39c12;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.note-card h4 {
    margin-top: 0;
    color: #c0392b;
    font-size: 1rem;
}

.note-card.takeaway { border-color: #27ae60; }
.note-card.alert { border-color: #e74c3c; background: #fff5f5; }
.note-card.dogs { border-color: #2980b9; }

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    .fancy-table th, .fancy-table td {
        padding: 8px;
        font-size: 0.8rem;
    }
}

/* Striking Food Page Styling */
.food-page-wrapper {
    padding: 1rem 0;
}

.hero-banner {
    position: relative;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
    border-bottom: 4px double #2c3e50;
    text-align: center;
}

.striking-title {
    font-size: 2.5rem !important;
    font-family: 'Playfair Display', 'Georgia', serif;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 !important;
    border-bottom: none !important;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
}

.order-ribbon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #3e5249;
    color: white;
    padding: 10px 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
    border-radius: 4px;
    width: max-content;
}

.food-content-grid {
    display: flex;
    align-items: stretch;
    gap: 2.5rem;
    margin-top: 2rem;
}

.main-story, .pudding-story {
    flex: 1;
}

.story-card-alt {
    padding: 1rem;
    text-align: left;
    height: 100%;
}

.lead-para {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c3e50;
}

.sunday-badge {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    background: #fdf2e9;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #f39c12;
}

.badge-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.fancy-card {
    height: 100%;
}

.card-inner {
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    box-sizing: border-box;
}

.pudding-highlight .card-inner {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.card-tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.pudding-highlight h4 { color: white; font-size: 1.8rem; margin: 10px 0; }
.pudding-highlight .quote {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 10px;
}

/* Wide Specials Bar - Blackboard Style */
.wide-specials-bar {
    margin: 4rem 0;
    width: 100%;
}

.chalkboard-bar {
    background: #1a1a1a;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, #222, #111);
    background-size: 100% 100%, 20px 20px;
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    border: 10px solid #4e342e; /* Dark wood frame */
    box-shadow:
        inset 0 0 40px rgba(0,0,0,0.8),
        0 8px 20px rgba(0,0,0,0.4);
    font-family: 'Comic Sans MS', 'Marker Felt', cursive;
}

.chalkboard-bar p {
    margin: 0;
    font-size: 1.17em; /* Standard h3 size */
    letter-spacing: 1px;
    line-height: 1.4;
    font-weight: bold;
}

.chalk-yellow {
    color: #fff176; /* Pale chalky yellow */
    text-shadow: 1px 1px 2px rgba(255,241,118,0.4), 0 0 1px rgba(255,255,255,0.2);
    font-weight: bold;
}

.chalk-blue {
    color: #81d4fa; /* Pale chalky blue */
    text-shadow: 1px 1px 2px rgba(129,212,250,0.4), 0 0 1px rgba(255,255,255,0.2);
}

.menu-display-section {
    text-align: center;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.menu-header .line {
    height: 1px;
    background: #ddd;
    flex-grow: 1;
    max-width: 150px;
}

.menu-header h3 {
    font-size: 2.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #2c3e50;
}

.menu-frame {
    background: white;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: inline-block;
    border-radius: 8px;
}

.frame-border {
    border: 1px solid #ddd;
    padding: 5px;
}

.striking-menu-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.locally-sourced-footer {
    margin-top: 3rem;
    font-style: italic;
    font-size: 1.2rem;
    color: #2c3e50;
    text-align: center;
}

/* Bus Timetable Styling */
.bus-timetable-panel {
    background-color: #fff176 !important; /* Darkened yellow */
    margin-top: 4rem;
    padding: 3rem;
    border-radius: 50px 0 50px 0;
    box-shadow: 10px 10px 0px rgba(128, 128, 128, 0.5); /* 50% Grey shadow instead of yellow */
    text-align: center;
    display: block;
    box-sizing: border-box;
}

.bus-image-wrapper {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bus-image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.timetable-container {
    position: relative;
    padding: 40px 0;
    margin: 2rem 0;
}

.route-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background: #2c3e50;
    transform: translateY(-50%);
    z-index: 1;
}

.stops-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.stop {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.stop .dot {
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #2c3e50;
    border-radius: 50%;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.stop-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2c3e50;
}

.stop-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-family: 'Courier New', Courier, monospace;
}

.stop.highlight .dot {
    background: #880000;
    border-color: #880000;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(136, 0, 0, 0.5);
}

.stop.highlight .stop-name {
    color: #880000;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.timetable-note {
    font-style: italic;
    margin-top: 2rem;
    color: #555;
}

@media (max-width: 900px) {
    .food-content-grid {
        flex-direction: column;
    }
    .route-line {
        display: none;
    }
    .stops-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-left: 20%;
    }
    .stop {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: 20px;
    }
    .stop .dot {
        margin-bottom: 0;
    }
}

/* Custom Asymmetric Panel for Index */
/* Index Page Features */
.welcome-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 2rem;
}

.lead-text {
    font-size: 1.5rem !important;
    color: #2c3e50;
    line-height: 1.4;
    font-style: italic;
    margin-top: 1rem;
}

.index-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #fdfaf5;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e0d7c6;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #f39c12;
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: #880000;
    background: rgba(136, 0, 0, 0.05);
    padding: 10px;
    border-radius: 12px;
}

.feature-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #2c3e50;
    border-bottom: none;
    padding-bottom: 0;
}

.feature-text p {
    margin: 0;
    font-size: 1.1rem !important;
    line-height: 1.6;
    font-weight: normal !important;
}

.final-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-style: italic;
    font-size: 1.6rem;
    color: #333333;
    background-color: #81aa98;
    border-radius:20px;
}

@media (max-width: 768px) {
    .lead-text { font-size: 1.4rem !important; }
    .index-features-grid { gap: 2rem; }
}

.custom-asymmetric-panel {
    background-color: #81aa98;
    padding: 3.5rem;
    border-radius: 100px 0 40px 0;
    box-shadow: 15px 15px 0px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    color: #1a2a23;
}

.custom-asymmetric-panel h2 {
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.custom-asymmetric-panel p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.intro-subtext {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    font-style: italic;
}

.anvil-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 250px;
    height: auto;
    opacity: 0.1;
    color: #000;
    pointer-events: none;
    transform: rotate(-15deg);
    z-index: 0;
}

/* Narrative Panels */
.dual-narrative-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.narrative-panel {
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.narrative-panel p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.narrative-panel p:last-child {
    margin-bottom: 0;
}

.panel-soft-cream {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border-left: 8px solid #f39c12;
}

.panel-slate-blue {
    background-color: #2c3e50;
    color: #ecf0f1;
    border-right: 8px solid #81aa98;
}

.panel-slate-blue p {
    color: #ecf0f1;
}

@media (max-width: 900px) {
    .dual-narrative-container {
        grid-template-columns: 1fr;
    }
    .panel-soft-cream {
        border-left: none;
        border-top: 8px solid #f39c12;
    }
    .panel-slate-blue {
        border-right: none;
        border-bottom: 8px solid #81aa98;
    }
}

@media (max-width: 768px) {
    .food-content-grid {
        flex-direction: column;
    }
    .custom-asymmetric-panel {
        padding: 1.5rem;
        border-radius: 30px 0 30px 0;
    }
    .anvil-watermark {
        width: 120px;
    }
}

/* Heritage History Page Styling */
.heritage-panel {
    background-color: #768f7c; 
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 100px rgba(139, 69, 19, 0.05);
    margin: 2rem 0;
    border: 1px solid #d4c4a8;
    position: relative;
    font-family: 'Georgia', serif;
    color: #3e2723;
}

.heritage-top {
    text-align: center;
    margin-bottom: 3rem;
}

.heritage-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: #8d6e63;
    font-weight: bold;
}

.heritage-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem !important;
    margin: 10px 0 !important;
    border-bottom: none !important;
    color: #2c1e1a;
}

.heritage-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

.heritage-divider .line {
    height: 1px;
    background: #d4c4a8;
    flex-grow: 1;
    max-width: 150px;
}

.anvil-icon {
    width: 40px;
    color: #8d6e63;
}

.hosts-feature {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.hosts-frame {
    background: white;
    padding: 15px;
    border: 1px solid #d4c4a8;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: rotate(1deg);
    transition: transform 0.3s;
}

.hosts-frame:hover {
    transform: rotate(0deg);
}

.hosts-frame img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
}

.frame-label {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: #8d6e63;
    font-size: 1.1rem;
}

.heritage-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.15rem;
}

.drop-cap::first-letter {
    float: left;
    font-size: 5rem;
    line-height: 1;
    padding: 10px 15px 0 0;
    color: #880000;
    font-family: 'Playfair Display', serif;
}

.milestone-box {
    margin: 3rem 0;
    border-top: 1px solid #d4c4a8;
    border-bottom: 1px solid #d4c4a8;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.milestone {
    text-align: center;
}

.milestone .year {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #880000;
    margin-bottom: 5px;
}

.milestone p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.quote-block {
    margin: 4rem 0;
    text-align: center;
    position: relative;
}

.quote-block blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #2c1e1a;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

.quote-block cite {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8d6e63;
}

.heritage-footer {
    border-top: 1px solid #d4c4a8;
    padding-top: 2rem;
    margin-top: 4rem;
    font-style: italic;
    text-align: center;
}

.director-cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    font-style: normal;
}

@media (max-width: 768px) {
    .heritage-panel { padding: 2rem; }
    .heritage-title { font-size: 2rem !important; }
    .drop-cap::first-letter { font-size: 4rem; }
}
