/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1f2937;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #374151;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Main Content Layout */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 1rem;
}

/* Article Styles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.article-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
}

.article-card h3 {
    margin-bottom: 0.75rem;
}

.article-card h3 a {
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: #2563eb;
}

.read-more {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.widget h3 {
    color: #1f2937;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.offers-list,
.featured-articles,
.related-articles,
.guide-list,
.help-links,
.quick-links {
    list-style: none;
}

.offers-list li,
.featured-articles li,
.related-articles li,
.guide-list li,
.help-links li,
.quick-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.offers-list li:last-child,
.featured-articles li:last-child,
.related-articles li:last-child,
.guide-list li:last-child,
.help-links li:last-child,
.quick-links li:last-child {
    border-bottom: none;
}

.offers-list a,
.featured-articles a,
.related-articles a,
.guide-list a,
.help-links a,
.quick-links a {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.offers-list a:hover,
.featured-articles a:hover,
.related-articles a:hover,
.guide-list a:hover,
.help-links a:hover,
.quick-links a:hover {
    color: #2563eb;
}

/* Promo Widget */
.promo-widget {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.promo-widget h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.promo-widget p {
    color: rgba(255, 255, 255, 0.9);
}

.promo-widget a {
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Offers Page Styles */
.offers-categories {
    margin-top: 2rem;
}

.category-section {
    margin-bottom: 3rem;
}

.category-section h2 {
    color: #1f2937;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.offer-card.premium {
    border-left: 4px solid #7c3aed;
}

.offer-card.major {
    border-left: 4px solid #2563eb;
}

.offer-card.discount {
    border-left: 4px solid #dc2626;
}

.offer-card.specialist {
    border-left: 4px solid #059669;
}

.offer-card.convenience {
    border-left: 4px solid #ea580c;
}

.offer-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.highlight {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Tips Section */
.tips-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Article Content Styles */
.article-content {
    max-width: none;
}

.article-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.publish-date,
.category {
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 20px;
}

.article-intro {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #2563eb;
}

.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-section ol,
.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section ol li,
.content-section ul li {
    margin-bottom: 0.5rem;
}

.tips-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.tips-box h3 {
    color: #15803d;
    margin-bottom: 1rem;
}

.tips-box ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.tips-box li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.25rem;
}

.tips-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #15803d;
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-section .cta-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
}

/* Contact Form Styles */
.contact-form-section {
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Contact Info Styles */
.contact-info-section {
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-method {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.contact-method h3 {
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.contact-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 6px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
}

/* FAQ Styles */
.faq-section {
    margin-bottom: 2rem;
}

.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.feedback-section {
    margin-bottom: 2rem;
}

.feedback-topics h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.feedback-topics ul {
    margin-left: 1.5rem;
}

.response-section {
    margin-bottom: 2rem;
}

.response-times {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.response-item {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #0ea5e9;
}

.response-item h3 {
    color: #0c4a6e;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tips-list h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.tips-list ul {
    margin-left: 1.5rem;
}

/* Footer Styles */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

/* About Page Styles */
.about-intro {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #0ea5e9;
}

.intro-text {
    font-size: 1.125rem;
    color: #0f172a;
    line-height: 1.7;
}

.about-content {
    margin-top: 2rem;
}

.mission-section,
.what-we-do-section,
.coverage-section,
.why-choose-section,
.commitment-section {
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.supermarket-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.category h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.category ul {
    list-style: none;
    padding: 0;
}

.category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.category li:last-child {
    border-bottom: none;
}

.benefits-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #059669;
}

.benefit h3 {
    color: #059669;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-section {
        padding: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .supermarket-categories {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-section {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 1.5rem;
    }
    
    .article-card {
        padding: 1rem;
    }
    
    .widget {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
}