/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #faf9f8;
    color: #1e293b;
    line-height: 1.6;
    padding-top: 0;
}

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

/* ===== STICKY NAVIGATION ===== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.sticky-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #4f46e5;
    transition: transform 0.2s;
}
.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #4f46e5;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 5px;
    margin-left: 15px;
}
.search-form input {
    padding: 8px 12px;
    border-radius: 40px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    width: 200px;
}
.search-form button {
    background: #4f46e5;
    border: none;
    border-radius: 40px;
    padding: 0 12px;
    cursor: pointer;
    color: white;
}

/* Mobile menu */
.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1e293b;
}

/* ===== HERO SECTION ===== */
.hero {
    background: url('assets/hero-bg.jpg') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 80px 20px;
}
.hero .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 24px;
}
.hero-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}
.hero h1 {
    font-size: 3rem;
    display: inline-block;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 16px;
    opacity: 0.9;
}
.hero-btn {
    margin-top: 24px;
    display: inline-block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: #4f46e5;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #4338ca;
    transform: scale(1.03);
}
.btn-outline {
    background: #e2e8f0;
    color: #1e293b;
}
.btn-outline:hover {
    background: #cbd5e1;
}
.btn-small {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}
.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
    transition: transform 0.3s;
}
.card:hover .card-image {
    transform: scale(1.02);
}
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* ===== DAILY HIGHLIGHT ===== */
.daily-highlight {
    text-align: center;
    background: rgba(255,255,255,0.9);
    margin: 40px 0;
}
.highlight-badge {
    color: #4f46e5;
    font-weight: 700;
    letter-spacing: 1px;
}
.highlight-verse {
    font-size: 1.4rem;
    font-style: italic;
    margin: 16px 0;
}
.highlight-divider {
    margin: 20px 0;
    border: none;
    border-top: 2px solid #e2e8f0;
}
.highlight-prayer {
    margin-top: 10px;
}
.prayer-icon {
    font-size: 2rem;
    display: block;
}
.highlight-prayer h3 {
    color: #4f46e5;
    margin: 4px 0 12px;
}
.highlight-prayer p {
    font-size: 1.05rem;
}

/* ===== GRID & CATEGORIES ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.category-section {
    margin-bottom: 40px;
}
.category-title {
    text-transform: capitalize;
    margin-bottom: 16px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== STORY OF THE DAY ===== */
.story-day-widget {
    margin: 50px 0 30px;
}
.story-day-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 30px;
    border-radius: 28px;
    border: 1px solid #fbbf24;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.story-day-badge {
    display: inline-block;
    background: #4f46e5;
    color: white;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    margin-bottom: 12px;
}
.story-day-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin: 12px 0;
}
.story-day-excerpt {
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
}
.story-day-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* ===== SHARE BUTTONS ===== */
.share-buttons-small {
    display: flex;
    gap: 8px;
}
.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.2s;
}
.share-icon:hover {
    transform: scale(1.1);
}
.share-icon.fb { background: transparent; }
.share-icon.tw { background: transparent; }
.share-icon.wa { background: transparent; }
.share-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ===== RELATED STORIES ===== */
.related-stories {
    margin: 50px 0 30px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.related-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.related-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}
.related-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.related-card p {
    font-size: 0.85rem;
    color: #64748b;
}
.btn-small {
    display: inline-block;
    background: #e2e8f0;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #4f46e5;
    margin-top: 8px;
}
.btn-small:hover {
    background: #cbd5e1;
}

/* ===== SUBSCRIPTION ===== */
.subscribe-section {
    margin: 60px 0 40px;
}
.subscribe-card {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 48px 32px;
    border-radius: 32px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 30px -10px rgba(79,70,229,0.3);
}
.subscribe-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.subscribe-card p {
    margin-bottom: 24px;
    opacity: 0.9;
}
.subscribe-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.subscribe-group input,
.subscribe-select {
    padding: 14px 20px;
    border-radius: 60px;
    border: none;
    font-size: 1rem;
}
.subscribe-group input {
    width: 280px;
}
.subscribe-select {
    background: white;
    cursor: pointer;
}
.subscribe-group button {
    background: #1e293b;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}
.subscribe-group button:hover {
    transform: scale(1.02);
    background: #0f172a;
}
.subscribe-message {
    margin-top: 16px;
    font-size: 0.9rem;
}
.subscribe-note {
    font-size: 0.8rem;
    margin-top: 12px;
    opacity: 0.8;
}
.subscribe-unsubscribe {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 20px 20px;
    margin-top: 80px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.footer-column h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-column a:hover {
    color: #a78bfa;
    text-decoration: underline;
}
.footer-logo {
    max-width: 220px;
    height: auto;
}
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s;
}
.social-icons a:hover {
    background: rgba(255,255,255,0.2);
}
.footer-email {
    margin-top: 15px;
}
.footer-email a {
    color: #cbd5e1;
    text-decoration: none;
}
.footer-email a:hover {
    color: #a78bfa;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
}
.bible-version-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 8px;
}
.back-to-top {
    text-align: center;
    margin-top: 20px;
}
.back-to-top a {
    color: #a78bfa;
    text-decoration: none;
}

/* ===== ICONS ===== */
.icon-sm {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.icon-md {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px 0 30px;
    flex-wrap: wrap;
}
.page-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.2s;
}
.page-btn:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
}
.page-btn.active {
    background: #4f46e5;
    color: white;
    cursor: default;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .grid { gap: 20px; }
}

@media (max-width: 768px) {
    body { font-size: 14px; }
    .container { padding: 0 16px; }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    .nav-links.active { left: 0; }
    .menu-icon { display: block; }
    .search-form { margin: 15px 0; width: 100%; }
    .search-form input { flex: 1; }
    
    .hero { min-height: 350px; }
    .hero-overlay { padding: 40px 20px; }
    .hero .container { padding: 25px 20px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-icon { width: 40px; height: 40px; }
    
    .grid { grid-template-columns: 1fr; gap: 20px; }
    .card { padding: 18px; }
    .card-image { height: 160px; }
    .card h3 { font-size: 1.1rem; }
    
    .daily-highlight { padding: 20px; }
    .highlight-verse { font-size: 1.1rem; }
    
    .subscribe-card { padding: 32px 20px; }
    .subscribe-card h3 { font-size: 1.4rem; }
    .subscribe-group input { width: 100%; }
    .subscribe-select { width: 100%; }
    .subscribe-group button { width: 100%; }
    
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .story-day-actions { flex-direction: column; align-items: flex-start; }
    
    .page-btn { padding: 6px 12px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .hero { min-height: 280px; }
    .hero-overlay { padding: 30px 16px; }
    .hero .container { padding: 20px 16px; }
    .hero h1 { font-size: 1.6rem; }
    
    .related-grid { grid-template-columns: 1fr; }
    .subscribe-group { flex-direction: column; }
    .subscribe-group input { width: 100%; }
    .subscribe-select { width: 100%; }
    
    .pagination { gap: 6px; }
    .page-btn { padding: 4px 10px; font-size: 0.75rem; }
}

/*icons*/
/* ===== ICONS ===== */
.icon-sm {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.icon-md {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.hero-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    object-fit: contain;
}

/* ===== SHARE ICONS ===== */
.share-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ===== RESPONSIVE ICONS ===== */
@media (max-width: 768px) {
    .hero-icon {
        width: 38px;
        height: 38px;
    }
    .icon-md {
        width: 24px;
        height: 24px;
    }
    .share-icon {
        width: 36px;
        height: 36px;
    }
    .share-icon img {
        width: 18px;
        height: 18px;
    }
    .social-icons a {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .hero-icon {
        width: 30px;
        height: 30px;
    }
    .icon-sm {
        width: 16px;
        height: 16px;
    }
    .icon-md {
        width: 20px;
        height: 20px;
    }
    .share-icon {
        width: 32px;
        height: 32px;
    }
    .share-icon img {
        width: 16px;
        height: 16px;
    }
    .social-icons a {
        width: 34px;
        height: 34px;
    }
}