/*
 * Fusion Core Theme - Additional Styles
 * Additional styles for the Fusion Core theme
 */

/* Site Layout & Grid */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin: 40px 0;
}

.primary-content {
    grid-column: 1;
}

.widget-area {
    grid-column: 2;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 1rem;
    color: #222;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

/* Site Header */
.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.custom-logo-link img {
    max-height: 80px;
    width: auto;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #3498db;
}

/* Footer Widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    padding: 0 15px;
}

.site-info {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    color: #999;
    font-size: 0.875rem;
}

/* Posts */
.post-thumbnail {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

.entry-meta {
    margin-bottom: 15px;
    color: #999;
    font-size: 0.875rem;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.875rem;
    color: #999;
}

.entry-footer span {
    margin-right: 15px;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

.comment-list .children {
    margin-left: 40px;
}

.comment-form {
    margin-top: 30px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.widget-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: #333;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* Pagination */
.posts-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.posts-navigation a {
    text-decoration: none;
    color: #3498db;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid #3498db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.posts-navigation a:hover {
    background: #3498db;
    color: white;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.search-form button {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #2980b9;
}

/* Sticky Header */
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2980b9;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-navigation {
        margin-top: 20px;
        width: 100%;
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }
}
