/* ========================================
   CHILLI RECHARGE NEWS PAGE STYLES
   ======================================== */

/* CSS Variables */
:root {
    --chilli-primary: #19365f;
    --chilli-accent: #fbc213;
    --chilli-white: #ffffff;
    --chilli-light-gray: #f8f9fa;
    --chilli-dark-gray: #6c757d;
    --chilli-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --chilli-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --chilli-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   HERO SECTION
   ======================================== */

.chilli-hero {
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    background-size: cover;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.chilli-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.chilli-breadcrumb {
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chilli-breadcrumb a {
    color: var(--chilli-accent);
    text-decoration: none;
    transition: var(--chilli-transition);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.chilli-breadcrumb a:hover {
    color: var(--chilli-white);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.chilli-hero h1 {
    font-size: clamp(4rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--chilli-white);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    position: relative;
}

.chilli-meta {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.chilli-category {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chilli-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.4);
}

.chilli-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chilli-date::before {
    content: '📅';
    font-size: 1.2rem;
}

/* ========================================
   CONTENT SECTION
   ======================================== */

.chilli-content {background: var(--chilli-white);
    position: relative;
}

.chilli-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.chilli-article {
    margin-bottom: 0rem;
    text-align: left;
    position: relative;
    background: #ffffff;
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.chilli-article h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--chilli-primary);
    margin-bottom: 2rem;
    line-height: 1.3;
    position: relative;
    letter-spacing: -0.01em;
    text-align: center;
}

.chilli-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.8rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.chilli-article p:last-child {
    margin-bottom: 0;
}

/* Image Section */
.chilli-image-section {
    margin: 4rem 0;
}

.chilli-image-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--chilli-shadow);
}

.chilli-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--chilli-transition);
}

.chilli-image-container:hover img {
    transform: scale(1.02);
}

/* CTA Section */
.chilli-cta-section {
    padding: 2rem 0;
    text-align: center;
    color: var(--chilli-primary);
    margin-top: 3rem;
}

.chilli-cta-section h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--chilli-primary);
}

.chilli-cta-section p {
    font-size: 1.1rem;
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RELATED NEWS SECTION
   ======================================== */

.chilli-related-news {
    padding: 80px 0;
    background: var(--chilli-white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--chilli-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-news-item {
    background: var(--chilli-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--chilli-shadow);
    transition: var(--chilli-transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-news-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--chilli-shadow-hover);
}

.related-news-image {
    height: 250px;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--chilli-transition);
}

.related-news-item:hover .related-news-image img {
    transform: scale(1.05);
}

.related-news-content {
    padding: 1.5rem;
}

.related-news-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--chilli-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-news-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */

.chilli-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--chilli-primary) 0%, #2c5282 100%);
    position: relative;
    overflow: hidden;
}

.chilli-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grain)"/></svg>');
    opacity: 0.3;
}

.chilli-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.chilli-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--chilli-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chilli-cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.chilli-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.chilli-cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--chilli-transition);
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.chilli-cta-buttons .btn-primary {
    background: var(--chilli-accent);
    color: var(--chilli-primary);
    border: 2px solid var(--chilli-accent);
}

.chilli-cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--chilli-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 194, 19, 0.3);
}

.chilli-cta-buttons .btn-outline {
    background: transparent;
    color: var(--chilli-white);
    border: 2px solid var(--chilli-white);
}

.chilli-cta-buttons .btn-outline:hover {
    background: var(--chilli-white);
    color: var(--chilli-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1536px) {
    .chilli-hero h1 {
        font-size: clamp(3.5rem, 8vw, 3.5rem);
    }
}

@media (max-width: 1280px) {
    .chilli-hero h1 {
        font-size: clamp(3rem, 8vw, 3rem);
    }
}

@media (max-width: 1024px) {
    .chilli-hero h1 {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
    
    .chilli-article h2 {
        font-size: 2.2rem;
    }
    
    .chilli-image-container img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .chilli-hero {
        padding: 100px 0 60px;
    }
    
    .chilli-hero h1 {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .chilli-meta {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .chilli-content {}
    
    .chilli-article {
        padding: 2rem 0;
        margin-bottom: 2.5rem;
    }
    
    .chilli-article h2 {
        font-size: 1.8rem;
    }
    
    .chilli-article p {
        font-size: 1rem;
    }
    
    .chilli-image-container img {
        height: 300px;
    }
    
    .chilli-cta-section {
        padding: 1.5rem 0;
        margin-top: 2.5rem;
    }
    
    .chilli-cta-section h3 {
        font-size: 1.8rem;
    }
    
    .chilli-cta-section p {
        font-size: 1rem;
    }
    
    .chilli-cta-content h2 {
        font-size: 2rem;
    }
    
    .chilli-cta-content p {
        font-size: 1.1rem;
    }
    
    .chilli-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .chilli-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .chilli-hero h1 {
        font-size: clamp(1.8rem, 8vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .chilli-hero {
        padding: 80px 0 50px;
    }
    
    .chilli-hero h1 {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .chilli-article {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    .chilli-article h2 {
        font-size: 1.6rem;
    }
    
    .chilli-article p {
        font-size: 0.95rem;
    }
    
    .chilli-image-container img {
        height: 250px;
    }
    
    .chilli-cta-section {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .chilli-cta-section h3 {
        font-size: 1.5rem;
    }
    
    .chilli-cta-section p {
        font-size: 0.95rem;
    }
    
    .chilli-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chilli-image-container img {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.related-news-item:focus {
    outline: 2px solid var(--chilli-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .chilli-cta-section {
        border: 3px solid var(--chilli-primary);
    }
}

@media (max-width: 360px) {
    .chilli-hero h1 {
        font-size: clamp(1.2rem, 8vw, 1.2rem);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .chilli-image-container img,
    .related-news-item,
    .chilli-cta-buttons .btn {
        transition: none;
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
