:root {
    --red: #d32323;
    --dark: #1c1c1c;
    --grey: #f5f5f5;
    --text: #2d2d2d;
    --card: #ffffff;
    --muted: #6b6b6b;
}

* {
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    margin: 0;
    background: var(--grey);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #ececec;
    padding: 1rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 1rem;
}

header .logo {
    color: var(--red);
    font-weight: 700;
    font-size: 1.4rem;
}

header .logo a {
    color: var(--red);
    text-decoration: none;
}

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

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--red);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s;
}

/* Hero */
.hero {
    padding: 5rem 5vw 4rem;
    background: linear-gradient(135deg, rgba(5,5,5,0.4), rgba(5,5,5,0.7)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1400&q=60') center/cover;
    color: #fff;
    text-align: center;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
}

.hero p {
    max-width: 52rem;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Container Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 5vw;
    display: flex;
    gap: 2rem;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.main-content.full-width {
    max-width: 100%;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-head h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.restaurant-count {
    color: var(--muted);
    font-size: .95rem;
}

/* Restaurant Grid */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Feature cards (restaurants) */
.feature-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.feature-card .card-media {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--red);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.feature-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.feature-card .badge {
    width: fit-content;
    background: #ffe5e5;
    color: var(--red);
    border-radius: 999px;
    padding: .15rem .85rem;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .5rem;
}

.feature-card h3 {
    margin: .25rem 0;
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 600;
}

.feature-card .meta {
    color: var(--muted);
    margin: 0;
    font-size: .95rem;
}

.feature-card .btn {
    margin-top: .5rem;
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: .6rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: block;
}

.feature-card .btn:hover {
    background: #b01e1e;
}

/* Pills */
.pill {
    display: inline-flex;
    flex-direction: column;
    gap: .2rem;
    background: #fff;
    border-radius: 16px;
    padding: .9rem 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pill strong {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.pill span {
    font-size: .85rem;
    color: var(--muted);
}

.pill-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* Category Grid (for neighbourhoods/cuisines pages) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background: var(--card);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
    text-decoration: none;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.category-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: .5rem;
    color: var(--dark);
    font-weight: 600;
}

.category-card span {
    color: var(--muted);
    font-size: .95rem;
}

/* Sidebar */
.sidebar-section {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

.neighbourhood-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.neighbourhood-list li {
    margin-bottom: 0.5rem;
}

.neighbourhood-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
}

.neighbourhood-list a:hover {
    color: var(--red);
}

.neighbourhood-list .count {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 3rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

.pagination .page-nav,
.pagination .page-num {
    padding: .5rem 1rem;
    text-decoration: none;
    color: var(--dark);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.pagination .page-nav:hover,
.pagination .page-num:hover {
    background: var(--grey);
}

.pagination .page-num.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.pagination .page-nav.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.page-ellipsis {
    padding: .5rem;
    color: var(--muted);
}

/* About Section */
.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background: #fff;
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-text h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.about-text p {
    margin: 0 0 1.5rem;
    line-height: 1.7;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-text a {
    color: var(--red);
    text-decoration: none;
}

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

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 3rem 5vw;
    margin-top: 4rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 1;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

footer p {
    margin: 0 0 .5rem;
    color: #ccc;
}

footer strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-muted {
    color: #888;
    font-size: .9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #ececec;
        display: none;
        padding: 1rem 5vw;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .hero {
        padding: 3rem 5vw 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 2rem 5vw;
        gap: 1rem;
    }
    
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
    
    .pill-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .section-head {
        flex-direction: column;
        gap: .5rem;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}





