/* ===== AAJ KA SUVICHAR - MAIN STYLESHEET ===== */
/* Lightweight, Modern, Responsive - SINGLE SOURCE OF TRUTH */

/* ---------- CSS RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- VARIABLES ---------- */
:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary: #EC4899;
    --gradient: linear-gradient(135deg, #8B5CF6, #EC4899);
    --gradient-soft: linear-gradient(145deg, #FDF4FF, #F5F3FF);
    --bg: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-soft: #4B5563;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 25px -5px rgba(139,92,246,0.08);
    --shadow-lg: 0 20px 40px -15px rgba(139,92,246,0.15);
    --radius: 32px;
    --radius-md: 24px;
    --radius-sm: 16px;
}

/* ---------- BASE STYLES ---------- */
body {
    font-family: 'Tiro Devanagari Hindi', 'Mangal', 'Arial', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- HEADER - NO STICKY ---------- */
.site-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    width: 100%;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}
/* ---------- ACTIVE NAVIGATION ---------- */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links a.active::after {
        bottom: -2px;
        height: 2px;
    }
}

/* ---------- HERO SECTION ---------- */
.hero {
    margin: 40px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-grid::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 300px;
    color: rgba(139,92,246,0.03);
    font-family: serif;
    pointer-events: none;
}

.today-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-quote {
    font-size: 2.8rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-quote span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-soft);
    margin-bottom: 30px;
    font-style: italic;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* ---------- BUTTONS ---------- */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 20px -8px rgba(139,92,246,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -8px rgba(139,92,246,0.6);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ---------- IMAGE FRAME ---------- */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* ---------- QUOTES GRID ---------- */
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.quote-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
}

.quote-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-quote {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 500;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
    margin-top: auto;
}

.card-link:hover {
    gap: 10px;
    color: var(--secondary);
}

/* ---------- TOPICS CLOUD ---------- */
.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 50px;
}

.topic-tag {
    background: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-soft);
    border: 1px solid var(--border);
    transition: all 0.3s;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.topic-tag:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 30px 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-soft);
    text-decoration: none;
}

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

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    background: white;
    color: var(--text-dark);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---------- FOOTER - COMPLETE ---------- */
.site-footer {
    background: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-soft);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-soft);
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact span {
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ---------- LAZY LOADING & IMAGE OPTIMIZATION ---------- */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-image.loaded {
    opacity: 1;
}

.lazy-image:not(.loaded) {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.image-placeholder {
    background: #f3f4f6;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

/* ---------- UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-2 { margin-top: 20px; }
.mt-4 { margin-top: 40px; }
.mt-6 { margin-top: 60px; }
.mb-2 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 40px; }
.mb-6 { margin-bottom: 60px; }
.p-2 { padding: 20px; }
.p-4 { padding: 40px; }
.hidden { display: none; }
.w-100 { width: 100%; }

/* ---------- RESPONSIVE DESIGN - MOBILE FIRST ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        grid-row: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-quote {
        font-size: 2.3rem;
    }
    
    .image-frame {
        transform: none;
        max-width: 400px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Header - Mobile Optimized */
    .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        display: flex !important;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 5px 0;
    }
    
    /* Hero */
    .hero-grid {
        padding: 30px 20px;
    }
    
    .hero-quote {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Quotes Grid */
    .quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
    }
    
    /* Topics */
    .topics-cloud {
        justify-content: center;
    }
    
    .topic-tag {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 40px 0 20px;
        border-radius: 30px 30px 0 0;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links li {
        display: inline-block;
        margin: 0 10px 10px;
    }
    
    .footer-links a {
        display: inline-flex;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .breadcrumb {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Small Mobile */
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    .hero {
        margin: 20px 0 60px;
    }
    
    .hero-quote {
        font-size: 1.5rem;
    }
    
    .today-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .quote-card {
        padding: 25px;
    }
    
    .card-quote {
        font-size: 1.2rem;
    }
    
    .topic-tag {
        padding: 7px 16px;
        font-size: 0.85rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 15px;
    }
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .site-header,
    .hero-image,
    .btn,
    .site-footer,
    .topics-cloud,
    .pagination {
        display: none;
    }
    
    .hero-grid {
        box-shadow: none;
        border: 1px solid #ddd;
        padding: 20px;
    }
    
    .hero-quote {
        font-size: 1.8rem;
    }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-grid,
.quote-card,
.topic-tag {
    animation: fadeInUp 0.5s ease-out;
}