/* Custom Styling for Hindi Sahitya Platform */

:root {
    --primary-color: #4f46e5;
    --primary-light: #818cf8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --dark-bg: #111827;
}

body {
    background-color: #f3f4f6 !important;
    font-family: 'Mukta', sans-serif;
    color: #1f2937;
}

.custom-navbar {
    background: linear-gradient(135deg, var(--primary-color), #4338ca) !important;
}

.hindi-title {
    font-family: 'Hind', sans-serif;
    letter-spacing: -0.02em;
}

.hindi-text {
    font-family: 'Mukta', sans-serif;
}

.hindi-content {
    font-family: 'Mukta', sans-serif;
    font-size: 1.35rem; /* Slightly larger for easier reading */
    line-height: 2 !important;
    color: #374151 !important;
}

.hindi-content-small {
    font-family: 'Mukta', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.hero-glass {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}
.hero-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, rgba(255,255,255,0) 60%);
    z-index: 0;
}
.hero-glass > div {
    position: relative;
    z-index: 1;
}

.reading-pane {
    background: #fff;
    background-image: linear-gradient(#f9fafb 1px, transparent 1px);
    background-size: 100% 2.7rem; /* matches reading line height roughly */
}

.content-title {
    color: #111827;
    position: relative;
    display: inline-block;
}
.content-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Landing Page Specific Styles */

/* Hero Section */
.hero-premium {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-radius: 1.5rem;
    padding: 6rem 2rem;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.hero-premium .glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.hero-premium h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--primary-color), #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(79, 70, 229, 0.1);
}

/* Card Grids */
.story-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    height: 100%;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.story-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .card-img-top {
    transform: scale(1.05);
}

.story-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 2rem;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Section Headings */
.section-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--success-color));
    border-radius: 4px;
}

/* About Section */
.about-section {
    background: #fff;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #ec4899);
}

/* Newsletter */
.newsletter-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.newsletter-box::after {
    content: '\f0e0';
    font-family: "FontAwesome";
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 15rem;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
}

.newsletter-box .form-control {
    border-radius: 2rem 0 0 2rem;
    padding: 1rem 1.5rem;
    border: none;
}

.newsletter-box .btn {
    border-radius: 0 2rem 2rem 0;
    padding: 1rem 2rem;
}
