/* My Word of God - KJV Bible Keyword Search Styles */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-height: 100vh;
}

header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 3px solid #8B4513;
    margin-bottom: 30px;
    position: relative;
}

.site-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-text {
    flex: 1;
}

header h1 {
    color: #321501;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #666;
    font-size: 1.1em;
}

.home-button {
    position: absolute;
    top: 30px;
    right: 0;
    padding: 10px 20px;
    background-color: #8B4513;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #8B4513;
}

.home-button:hover {
    background-color: #654321;
    border-color: #654321;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.search-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.search-form input[type="text"]:focus {
    outline: none;
    border-color: #8B4513;
}

.search-form button {
    padding: 12px 30px;
    background-color: #8B4513;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: #654321;
}

.alphabet-nav {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
}

.alphabet-nav h2 {
    margin-bottom: 15px;
    color: #8B4513;
    text-align: center;
}

.most-viewed-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
}

.most-viewed-section h2 {
    margin-bottom: 15px;
    color: #8B4513;
    text-align: center;
}

.alphabet-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.alphabet-links a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #fff;
    color: #8B4513;
    text-decoration: none;
    border: 2px solid #8B4513;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
}

.alphabet-links a:hover {
    background-color: #8B4513;
    color: white;
}

.keyword-list {
    list-style: none;
    padding: 0;
}

.keyword-list li {
    margin-bottom: 10px;
}

.keyword-list a {
    color: #8B4513;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 12px;
    display: inline-block;
    border-left: 3px solid #8B4513;
    padding-left: 15px;
    transition: padding-left 0.2s;
}

.keyword-list a:hover {
    padding-left: 20px;
    text-decoration: underline;
}

.verse-section {
    margin-bottom: 40px;
}

.verse-section h2 {
    color: #8B4513;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B4513;
}

.strongs-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-left: 4px solid #8B4513;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.strongs-info > div {
    margin-bottom: 12px;
}

.strongs-info > div:last-child {
    margin-bottom: 0;
}

.strongs-original {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.strongs-original:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.strongs-original strong {
    color: #8B4513;
    flex-shrink: 0;
}

.original-text {
    font-family: 'Times New Roman', serif;
    font-size: 1.2em;
    color: #333;
}

.transliteration {
    color: #666;
    font-style: italic;
    margin-left: 5px;
}

.strongs-number {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.strongs-number strong {
    color: #8B4513;
    flex-shrink: 0;
}

.language {
    color: #666;
    font-weight: normal;
    font-size: 0.9em;
    margin-left: 5px;
}

.strongs-definition {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.strongs-definition strong {
    color: #8B4513;
    flex-shrink: 0;
}

.see-also-section {
    background-color: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
    font-size: 1.1em;
}

.see-also-section strong {
    color: #8B4513;
    margin-right: 8px;
}

.see-also-section a {
    color: #8B4513;
    text-decoration: underline;
    transition: color 0.3s;
}

.see-also-section a:hover {
    color: #654321;
}

.verse-item {
    background-color: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
}

.verse-reference {
    font-weight: bold;
    color: #8B4513;
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.verse-text {
    margin-bottom: 15px;
    color: #333;
}

.verse-text-content {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.verse-text strong {
    color: #8B4513;
    flex-shrink: 0;
}

.verse-nkjv {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #333;
}

.verse-nkjv-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.verse-nkjv strong {
    color: #8B4513;
    flex-shrink: 0;
}

.verse-niv {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #333;
}

.verse-niv-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.verse-niv strong {
    color: #8B4513;
    flex-shrink: 0;
}

.verse-translation {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #333;
}

.verse-translation-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.verse-translation strong {
    color: #8B4513;
    flex-shrink: 0;
}

.copy-btn {
    background-color: #8B4513;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
}

.copy-btn:hover {
    background-color: #654321;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.copied {
    background-color: #28a745;
}

.copy-icon {
    font-size: 0.9em;
    display: inline-block;
}

.tweet-btn {
    background-color: #1DA1F2;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: 10px;
    font-family: inherit;
}

.tweet-btn:hover {
    background-color: #0d8bd9;
    transform: scale(1.05);
}

.tweet-btn:active {
    transform: scale(0.95);
}

.tweet-icon {
    font-size: 0.9em;
    display: inline-block;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2em;
}

.top-navigation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.back-link {
    display: inline-block;
    color: #8B4513;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #8B4513;
    border-radius: 4px;
    transition: all 0.3s;
}

.back-link:hover {
    background-color: #8B4513;
    color: white;
}

.keyword-nav-btn {
    display: inline-block;
    color: #8B4513;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #8B4513;
    border-radius: 4px;
    transition: all 0.3s;
}

.keyword-nav-btn:hover {
    background-color: #8B4513;
    color: white;
}


.search-results {
    margin-top: 30px;
}

.search-results h2 {
    color: #8B4513;
    margin-bottom: 20px;
}

.content-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
    border-left: 4px solid #8B4513;
}

.content-section h2 {
    color: #8B4513;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8B4513;
}

.content-section h3 {
    color: #654321;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-section a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s;
}

.content-section a:hover {
    color: #654321;
    text-decoration: underline;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    border-top: 3px solid #8B4513;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card h3 {
    color: #8B4513;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.card p {
    margin-bottom: 0;
    color: #555;
}

footer {
    margin-top: 60px;
    padding: 30px 20px;
    background-color: #f5f5f5;
    border-top: 3px solid #8B4513;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #8B4513;
    text-decoration: none;
    font-size: 1em;
    padding: 8px 15px;
    border: 1px solid #8B4513;
    border-radius: 4px;
    transition: all 0.3s;
}

.footer-links a:hover {
    background-color: #8B4513;
    color: white;
}

.footer-copyright {
    color: #666;
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-copyright p {
    margin: 5px 0;
}

.footer-copyright a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-copyright a:hover {
    color: #654321;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .home-button {
        position: static;
        margin-top: 15px;
        align-self: flex-start;
    }
    
    header {
        flex-wrap: wrap;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .alphabet-links {
        gap: 5px;
    }
    
    .alphabet-links a {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 0.9em;
    }
    
    footer {
        padding: 20px 15px;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .footer-copyright {
        font-size: 0.85em;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
.card {
    padding: 15px;
    }
}

.description-section {
    text-align: center;
    padding: 0px;
    padding-bottom: 20px;
    color: #666;
}

.bottom-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}
