@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-blue: #1a4789;
    --accent-red: #d32f2f;
    --text-dark: #111;
    --text-grey: #555;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
}

/* Global Reset for Sizing */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll on body */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-blue);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Top Bar --- */
.top-bar {
    background: #000;
    color: #fff;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Branding Header --- */
.main-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    margin: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
}

.brand-logo-img {
    height: 80px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* --- Navigation --- */
.main-nav {
    border-bottom: 2px solid var(--text-dark);
    padding: 10px 0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 5px 10px;
}

.nav-link.active {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

/* --- News Ticker --- */
.news-ticker {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    /* Removing side padding */
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background: var(--accent-red);
    padding: 2px 10px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-left: 5%;
    margin-right: 15px;
    border-radius: 2px;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    /* Ensures label stays on top */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 20s linear infinite;
    position: relative;
    z-index: 1;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* --- Layout Grid --- */
.wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    /* Main content vs Sidebar */
    gap: 40px;
}

/* --- Hero Section --- */
.hero-news {
    margin-bottom: 40px;
}

.hero-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero-card:hover .hero-img {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.category-tag {
    background: var(--primary-blue);
    color: white;
    padding: 4px 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
}

/* --- Section Design --- */
.section-header {
    border-left: 5px solid var(--accent-red);
    padding-left: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* --- News Grid (City News) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 15px;
}

/* --- Horizontal List (Food) --- */
.food-list {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    /* Default desktop: Horizontal scroll if needed or just flex */
    overflow-x: auto;
}

.food-card {
    min-width: 250px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
}

.food-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.food-info {
    padding: 15px;
}

/* --- Sidebar --- */
.sticky-sidebar {
    position: sticky;
    top: 80px;
    width: 100%;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.widget-title {
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    /* Crucial for padding inside 100% width */
}

.social-btn i {
    margin-right: 10px;
    width: 20px;
}

.btn-whatsapp {
    background: #25d366;
}

.btn-instagram {
    background: #e1306c;
}

.btn-facebook {
    background: #1877f2;
}

/* --- Footer --- */
.main-footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-nav a {
    color: #aaa;
    margin: 0 10px;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .wrapper {
        grid-template-columns: 1fr;
        padding: 0 15px;
        margin-top: 20px;
        gap: 30px;
    }

    .brand-logo {
        font-size: 2.2rem;
    }

    .brand-tagline {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .top-bar {
        font-size: 0.75rem;
        padding: 8px 15px;
    }

    /* Stack Navigation / Horizontal Scroll */
    .nav-container {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        /* smooth scrolling on iOS */
        gap: 15px;
        padding: 0 15px;
        scrollbar-width: none;
        /* Firefox */
    }

    .nav-container::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 5px 8px;
    }

    /* Hero Adjustments */
    .hero-img {
        height: 250px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    /* Grid Stacking */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-img {
        height: 180px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    /* Food List: Stack on Mobile (User Request: "dont want horizontal scroll") */
    .food-list {
        flex-direction: column;
        overflow-x: hidden;
    }

    .food-card {
        min-width: 100%;
    }

    /* Section Headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        border-left: 3px solid var(--accent-red);
    }

    .view-all {
        font-size: 0.8rem;
    }

    /* Ticker */
    .ticker-content {
        font-size: 0.8rem;
        animation-duration: 10s;
        /* Faster on mobile */
    }

    /* Sidebar goes to bottom */
    .sticky-sidebar {
        position: static;
    }

    .sidebar-widget {
        margin-bottom: 20px;
        padding: 15px;
    }

    /* Footer */
    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .main-footer {
        padding: 30px 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.8rem;
    }
}