/* Reset and Base Styles */
:root {
    --header-bg: #fff6e0;
    --footer-gold: #d4af37;
    --text-color: #000000;
    --warm-neutral: #f5f5f0;
    --accent-color: #8b4513;
    --max-width: 1200px;
}

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

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Palatino', serif;
    margin-bottom: 1rem;
}

/* Header Styles */
.main-header {
    background-color: var(--header-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-color: var(--warm-neutral);
    padding: 4rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-style: italic;
}

.quote-source {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn.primary {
    background-color: var(--accent-color);
    color: white;
}

.btn.secondary {
    background-color: var(--footer-gold);
    color: var(--text-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* App Features Section */
.app-features {
    padding: 4rem 1rem;
    background-color: white;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.feature-block {
    padding: 2rem;
    background-color: var(--warm-neutral);
    border-radius: 8px;
}

.feature-block h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Highlights Section */
.highlights {
    background: #f6f6f6;
    padding: 4rem 0 4rem 0;
}

.highlights-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.highlights h2 {
    font-size: 2rem;
    font-family: 'Georgia', serif;
    margin-bottom: 2rem;
    color: #222;
    letter-spacing: 0.5px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.highlight-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    transform: translateY(-4px) scale(1.01);
}

.highlight-thumb {
    width: 100%;
    height: 160px;
    background: #e0e0e0 url('https://placehold.co/600x400?text=Image') center center/cover no-repeat;
    border-bottom: 1px solid #f0f0f0;
}

.highlight-content {
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.highlight-content h3 {
    margin: 0.2rem 0 0.7rem 0;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.3;
}

.highlight-content h3 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.highlight-content h3 a:hover {
    color: var(--accent-color);
}

.highlight-content p {
    margin: 0 0 0.7rem 0;
    line-height: 1.6;
    font-size: 1rem;
    color: #555;
    flex: 1;
}

.read-more {
    display: inline-block;
    margin-top: 0.2rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    transition: color 0.2s;
}

.read-more:hover {
    color: #5c2e0d;
}

@media (max-width: 900px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.main-footer {
    background-color: var(--footer-gold);
    padding: 3rem 1rem 1rem;
    color: var(--text-color);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* DeenQuiz Section */
.deenquiz {
    background-color: var(--warm-neutral);
    padding: 4rem 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.quiz-content {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quiz-features {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.quiz-features h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.quiz-features ul {
    list-style: none;
    padding-left: 0;
}

.quiz-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.quiz-features li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

.quiz-info {
    margin: 2rem 0;
}

.quiz-info h3 {
    color: var(--accent-color);
    margin: 1.5rem 0 0.8rem;
}

.quiz-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .quiz-features {
        padding: 1.5rem;
    }
}

/* Article Page Styles */
.article-content {
    padding: 4rem 1rem;
    background-color: white;
}

.article-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    line-height: 1.3;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    background-color: var(--warm-neutral);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body ul li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body blockquote {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
}

/* Ayah Banner Styles */
.ayah-banner {
    width: 100%;
    background: #f9f6e7;
    border-bottom: 1px solid #e5e0c7;
    padding: 2.5rem 0 2rem 0;
    margin-bottom: 2.5rem;
}
.ayah-banner-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}
.ayah-banner blockquote {
    font-family: 'Georgia', serif;
    font-size: 1.35rem;
    color: #5c4a1c;
    font-style: italic;
    margin: 0;
    line-height: 1.7;
    background: none;
    border: none;
}
.ayah-source {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: #b49c4d;
    font-style: normal;
    letter-spacing: 0.5px;
}

/* Article Feed Styles */
.article-feed {
    background: #f6f6f6;
    padding: 0 0 4rem 0;
}
.feed-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.article-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    padding: 1.5rem 1.5rem 1.5rem 1rem;
    gap: 1.5rem;
    min-height: 140px;
}
.article-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    transform: translateY(-2px) scale(1.01);
}
.article-thumb {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    background: #e0e0e0;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 1rem;
}
.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-category {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    font-weight: 500;
}
.article-title {
    font-size: 1.18rem;
    font-weight: bold;
    color: #222;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    font-family: 'Georgia', serif;
    transition: color 0.2s;
}
.article-card:hover .article-title {
    color: var(--accent-color, #8b4513);
}
.article-excerpt {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .ayah-banner-content {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    .feed-container {
        padding: 0 0.5rem;
        gap: 1.2rem;
    }
    .article-card {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.8rem;
        min-height: unset;
    }
    .article-thumb {
        width: 100%;
        height: 160px;
        margin-right: 0;
        margin-bottom: 0.7rem;
    }
    .article-title {
        font-size: 1.05rem;
    }
}

/* Modern Base Styles */
html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background: #faf9f6;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}
a {
    color: var(--accent-color, #8b4513);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #5c2e0d;
    text-decoration: underline;
} 