/* Blog Section Styles */
.blog-container {
    padding: 40px 20px;
    max-width: 1200px;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #4A3C32;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.blog-date {
    font-size: 0.85rem;
    color: #FFAB40;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-post-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: #4A3C32;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #FFAB40;
}

/* Global Layout */
body {
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #f8f9fa;
    color: #333;
}

main {
    flex: 1;
    padding-top: 80px; /* Header space */
}

/* Header & Navbar */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4A3C32;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #FFAB40;
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: #eee;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.lang-btn:hover {
    background: #ddd;
}

/* Hero Section */
.hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff 0%, #f1f1f1 100%);
    border-radius: 20px;
    margin-bottom: 40px;
}

/* Info Grid */
.useful-info-section {
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: #FFAB40;
    margin-bottom: 20px;
}

/* Additional Verses Grid */
.additional-verses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.verse-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #FFAB40;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.verse-card h3 { margin-top: 0; font-size: 1.2rem; }
.verse-card .ref { font-weight: bold; color: #888; font-size: 0.9rem; }

/* Existing Buttons Overwrite */
.primary-btn {
    background-color: #FFAB40;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,171,64,0.3);
}

.secondary-btn {
    background-color: #4A3C32;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .additional-verses-grid { grid-template-columns: 1fr; }
}

/* Footer (Overwrite) */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav {
    margin-top: 10px;
}

.footer-nav a {
    color: #FBE9E7;
    text-decoration: none;
    margin: 0 15px; /* Increase spacing */
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
    color: #FFAB40; /* Highlight color */
}

@media (max-width: 768px) {
    .footer-nav a {
        display: inline-block;
        margin: 5px 10px;
    }
}

/* Spiritual Insight Section Styles */
.spiritual-insight-section {
    margin-top: 60px;
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #e0dedc;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.spiritual-insight-section:hover {
    transform: translateY(-5px);
}

body.dark-mode .spiritual-insight-section {
    background-color: #3a2f2b;
    border-color: #5d544f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.spiritual-insight-section h2 {
    color: #4e342e;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.spiritual-insight-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #ffab40;
    border-radius: 2px;
}

body.dark-mode .spiritual-insight-section h2 {
    color: #fbe9e7;
}

.spiritual-insight-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5d544f;
    margin-bottom: 20px;
}

body.dark-mode .spiritual-insight-section p {
    color: #ded7c8;
}

.spiritual-insight-section h3 {
    color: #4e342e;
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 20px;
}

body.dark-mode .spiritual-insight-section h3 {
    color: #fbe9e7;
}

.spiritual-insight-section ul {
    list-style: none;
    padding: 0;
}

.spiritual-insight-section ul li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.spiritual-insight-section ul li::before {
    content: '•';
    color: #ffab40;
    font-weight: bold;
    position: absolute;
    left: 0;
}

body.dark-mode {
    background-color: #4A3C32; /* 따뜻한 느낌의 어두운 갈색 배경 */
    color: #FBE9E7; /* 밝은 크림색 텍스트 */
}

.container {
    text-align: center;
    background-color: #FFFFFF; /* 컨테이너 배경을 흰색으로 유지 */
    padding: 30px;
    border-radius: 12px; /* 더 둥근 모서리 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* 더 부드러운 그림자 */
    max-width: 1000px;
    width: 90%;
    margin: 20px auto;
}

body.dark-mode .container {
    background-color: #3A2F2B; /* 다크 모드 컨테이너 배경: 따뜻한 어두운 갈색 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    color: #4E342E; /* 따뜻한 어두운 갈색 */
    margin-bottom: 30px;
}

body.dark-mode h1 {
    color: #FBE9E7; /* 밝은 크림색 */
}

.main-content-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.verse-text-section {
    flex: 1;
    text-align: left;
    padding: 20px;
    background-color: #FFF8E1; /* 밝은 크림색 배경 */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

body.dark-mode .verse-text-section {
    background-color: #3D4035; /* 어두운 올리브색 배경 */
}

/* empty-space-section to balance layout */
.empty-space-section {
    flex: 1;
    padding: 15px;
}

#verse-text {
    font-size: 1.3rem;
    font-weight: normal;
    color: #4E342E;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.6;
}

body.dark-mode #verse-text {
    color: #FBE9E7;
}

#verse-reference {
    font-size: 1rem;
    color: #8D6E63;
    font-weight: bold;
}

body.dark-mode #verse-reference {
    color: #C0B7B1;
}

.button-container {
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px;
}

/* Common Button Styles */
#new-verse-btn, #theme-toggle-btn,
.test-start-button, .test-page-link-button,
.additional-verse-btn,
.test-step button, .result-box button {
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid #B07C6F; /* 따뜻한 테라코타 테두리 */
    border-radius: 8px; /* 더 둥근 모서리 */
    background-color: #FFAB40; /* 따뜻한 주황색 버튼 */
    color: white; /* 흰색 텍스트 */
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-top: 0; /* Align with other buttons in button-container */
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#new-verse-btn:hover, #theme-toggle-btn:hover,
.test-start-button:hover, .test-page-link-button:hover,
.additional-verse-btn:hover,
.test-step button:hover, .result-box button:hover {
    background-color: #FF9800; /* 호버 시 더 진한 주황색 */
    border-color: #9C675C;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body.dark-mode #new-verse-btn, body.dark-mode #theme-toggle-btn,
body.dark-mode .test-start-button, body.dark-mode .test-page-link-button,
body.dark-mode .additional-verse-btn,
body.dark-mode .test-step button, body.dark-mode .result-box button {
    background-color: #D4AF37; /* 다크 모드: 따뜻한 금색 */
    color: #4A3C32; /* 어두운 갈색 텍스트 */
    border-color: #C0B7B1; /* 밝은 회색 테두리 */
}

body.dark-mode #new-verse-btn:hover, body.dark-mode #theme-toggle-btn:hover,
body.dark-mode .test-start-button:hover, body.dark-mode .test-page-link-button:hover,
body.dark-mode .additional-verse-btn:hover,
body.dark-mode .test-step button:hover, body.dark-mode .result-box button:hover {
    background-color: #C19A00; /* 호버 시 더 진한 금색 */
    border-color: #A0938C;
}


/* Disqus Thread */
#disqus_thread {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #E0DEDC; /* 따뜻한 밝은 회색 테두리 */
    border-radius: 10px; /* 둥근 모서리 */
    background-color: #FDF7E4; /* 따뜻한 베이지 배경 */
    min-height: 200px;
    text-align: left;
}

body.dark-mode #disqus_thread {
    border-color: #5D544F; /* 어두운 회색 테두리 */
    background-color: #3A2F2B; /* 어두운 갈색 배경 */
}

/* Contact Form Styles */
.contact-form-section {
    margin-top: 40px;
    padding: 25px;
    border: 1px solid #DED7C8; /* 따뜻한 밝은 테두리 */
    border-radius: 12px;
    background-color: #FFF8E1; /* 밝은 크림색 배경 */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

body.dark-mode .contact-form-section {
    background-color: #3A2F2B; /* 다크 모드 배경 */
    border-color: #5D544F;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #4E342E; /* 따뜻한 어두운 갈색 제목 */
    font-size: 1.5rem;
}

body.dark-mode .contact-form-section h2 {
    color: #FBE9E7; /* 밝은 크림색 */
}

.contact-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #5D544F; /* 따뜻한 중간 갈색 레이블 */
    font-size: 0.95rem;
}

body.dark-mode .contact-form label {
    color: #DED7C8; /* 밝은 베이지색 레이블 */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #B07C6F; /* 따뜻한 테라코타 테두리 */
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    background-color: #FFF8E1; /* 아주 밝은 크림색 입력 배경 */
    color: #4E342E;
}

body.dark-mode .contact-form input[type="text"],
body.dark-mode .contact-form input[type="email"],
body.dark-mode .contact-form input[type="tel"],
body.dark-mode .contact-form textarea {
    background-color: #4A3C32; /* 다크 모드 입력 배경 */
    border-color: #9C675C;
    color: #FBE9E7;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: #FFAB40; /* 포커스 시 따뜻한 주황색 테두리 */
    outline: none;
    box-shadow: 0 0 5px rgba(255, 171, 64, 0.5); /* 따뜻한 그림자 */
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-btn {
    background-color: #FFAB40; /* 따뜻한 주황색 제출 버튼 */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .submit-btn:hover {
    background-color: #FF9800; /* 호버 시 더 진한 주황색 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body.dark-mode .contact-form .submit-btn {
    background-color: #D4AF37; /* 다크 모드: 따뜻한 금색 */
    color: #4A3C32; /* 어두운 갈색 텍스트 */
}

body.dark-mode .contact-form .submit-btn:hover {
    background-color: #C19A00; /* 호버 시 더 진한 금색 */
    border-color: #A0938C;
}

/* Footer Styles */
footer {
    background-color: #4A3C32; /* 따뜻한 어두운 갈색 */
    color: #FBE9E7; /* 밝은 크림색 */
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
}

body.dark-mode footer {
    background-color: #3A2F2B; /* 다크 모드: 더 어두운 갈색 */
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-nav a {
    color: #FBE9E7; /* 밝은 크림색 */
    text-decoration: none;
    margin: 0 10px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* Styles for About Page (about.html) */
.site-purpose {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #4E342E; /* 따뜻한 어두운 갈색 */
}

body.dark-mode .site-purpose {
    color: #C0B7B1; /* 따뜻한 밝은 회색 */
}

.verse-section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #E0DEDC; /* 따뜻한 밝은 회색 테두리 */
    border-radius: 10px; /* 둥근 모서리 */
    background-color: #FFF8E1; /* 밝은 크림색 배경 */
}

body.dark-mode .verse-section {
    border-color: #5D544F; /* 어두운 회색 테두리 */
    background-color: #3A2F2B; /* 어두운 갈색 배경 */
}

.verse-section h2 {
    font-size: 1.8rem;
    color: #4E342E; /* 따뜻한 어두운 갈색 */
    margin-bottom: 25px;
}

body.dark-mode .verse-section h2 {
    color: #FBE9E7; /* 밝은 크림색 */
}

.verse-item {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #D4AF37; /* 따뜻한 금색 */
    background-color: #FFF8E1; /* 밝은 크림색 배경 */
    border-radius: 6px;
}

body.dark-mode .verse-item {
    border-left-color: #B07C6F; /* 따뜻한 테라코타 */
    background-color: #4A3C32; /* 어두운 갈색 배경 */
}

.verse-item:last-child {
    margin-bottom: 0;
}

.verse-item .verse-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: #4E342E; /* 따뜻한 어두운 갈색 */
    margin-bottom: 10px;
}

body.dark-mode .verse-item .verse-text {
    color: #FBE9E7; /* 밝은 크림색 */
}

.verse-item .verse-reference {
    font-size: 0.95rem;
    font-weight: bold;
    color: #8D6E63; /* 따뜻한 중간 갈색 */
    text-align: right;
}

body.dark-mode .verse-item .verse-reference {
    color: #C0B7B1; /* 따뜻한 밝은 회색 */
}

/* Styles for additional verse sections on index.html */
.additional-verse-section {
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #E0DEDC; /* 따뜻한 밝은 회색 테두리 */
    border-radius: 10px; /* 둥근 모서리 */
    background-color: #FDF7E4; /* 따뜻한 베이지 배경 */
}

body.dark-mode .additional-verse-section {
    border-color: #5D544F; /* 어두운 회색 테두리 */
    background-color: #3A2F2B; /* 어두운 갈색 배경 */
}

.additional-verse-heading {
    font-size: 1.8rem;
    color: #4E342E; /* 따뜻한 어두운 갈색 */
    margin-bottom: 25px;
}

body.dark-mode .additional-verse-heading {
    color: #FBE9E7; /* 밝은 크림색 */
}

.additional-verse-item {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #D4AF37; /* 따뜻한 금색 */
    background-color: #FFF8E1; /* 밝은 크림색 배경 */
    border-radius: 6px;
}

body.dark-mode .additional-verse-item {
    border-left-color: #B07C6F; /* 따뜻한 테라코타 */
    background-color: #4A3C32; /* 어두운 갈색 배경 */
}

.additional-verse-item .verse-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: #4E342E; /* 따뜻한 어두운 갈색 */
    margin-bottom: 10px;
}

body.dark-mode .additional-verse-item .verse-text {
    color: #FBE9E7; /* 밝은 크림색 */
}

.additional-verse-item .verse-reference {
    font-size: 0.95rem;
    font-weight: bold;
    color: #8D6E63; /* 따뜻한 중간 갈색 */
    text-align: right;
}

body.dark-mode .additional-verse-item .verse-reference {
    color: #C0B7B1; /* 따뜻한 밝은 회색 */
}

.additional-verse-btn {
    padding: 12px 25px; /* Use common button styles */
    margin-top: 15px;
}

body.dark-mode .result-box button:hover {
    background-color: #C19A00; /* 호버 시 더 진한 금색 */
    border-color: #A0938C;
}

/* Styles for Faith Checkup Page (faith-checkup.html) */
.test-page-container h1 {
    margin-bottom: 25px;
}

.card {
    background-color: #FFF8E1; /* 밝은 크림색 배경 */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid #E0DEDC; /* 따뜻한 밝은 회색 테두리 */
}

body.dark-mode .card {
    background-color: #3A2F2B; /* 어두운 갈색 배경 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #5D544F;
}

.card h2 {
    color: #4E342E;
    font-size: 2rem;
    margin-bottom: 20px;
}

body.dark-mode .card h2 {
    color: #FBE9E7;
}

.question {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E0DEDC; /* 따뜻한 밝은 회색 구분선 */
    text-align: left;
}

body.dark-mode .question {
    border-color: #5D544F;
}

.question h4 {
    margin-bottom: 15px;
    color: #4E342E;
    font-size: 1.2rem;
}

body.dark-mode .question h4 {
    color: #FBE9E7;
}

.question label {
    display: inline-flex; /* Align radio/checkbox with text */
    align-items: center;
    margin-right: 20px;
    color: #4E342E;
    font-size: 1rem;
}

body.dark-mode .question label {
    color: #FBE9E7;
}

.question input[type="radio"],
.question input[type="range"] {
    margin-right: 8px;
    accent-color: #FFAB40; /* 따뜻한 주황색 액센트 */
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

#surveyArea button[type="submit"],
#resultArea button {
    width: 100%;
    padding: 15px;
    background-color: #FFAB40; /* 따뜻한 주황색 */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#surveyArea button[type="submit"]:hover,
#resultArea button:hover {
    background-color: #FF9800; /* 호버 시 더 진한 주황색 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body.dark-mode #surveyArea button[type="submit"],
body.dark-mode #resultArea button {
    background-color: #D4AF37; /* 다크 모드: 따뜻한 금색 */
    color: #4A3C32;
}

body.dark-mode #surveyArea button[type="submit"]:hover,
body.dark-mode #resultArea button:hover {
    background-color: #C19A00;
}

#resultArea {
    margin-top: 20px;
}

#faithChart {
    background-color: rgba(255, 255, 255, 0.8); /* 차트 배경 투명도 */
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

body.dark-mode #faithChart {
    background-color: rgba(58, 47, 43, 0.8);
}

#typeDescription {
    margin-top: 25px;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    color: #4E342E;
}

body.dark-mode #typeDescription {
    color: #FBE9E7;
}

.result-box { /* From faith-test.js for summary display */
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #E0DEDC;
    border-radius: 12px;
    background-color: #FFF8E1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: left;
}

body.dark-mode .result-box {
    border-color: #5D544F;
    background-color: #3A2F2B;
}

.result-box h3 {
    color: #4E342E;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

body.dark-mode .result-box h3 {
    color: #FBE9E7;
}

.result-box p {
    white-space: pre-wrap;
    background-color: #FDF7E4; /* Light background for text */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E0DEDC;
    color: #4E342E;
    font-size: 1rem;
}

body.dark-mode .result-box p {
    background-color: #4A3C32;
    border-color: #6E5B53;
    color: #FBE9E7;
}

.result-box button {
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-content-layout {
        flex-direction: column;
        align-items: center;
    }

    .verse-text-section,
    .empty-space-section {
        flex: none;
        width: 90%;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .contact-form-section {
        padding: 15px;
    }

    footer {
        padding: 15px 0;
    }

    .footer-nav a {
        display: block;
        margin: 5px 0;
    }
}
