/* Vinz Ideas Custom Styles */

/* Navbar Enhancements */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E31D23 !important;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #E31D23 !important;
}

.navbar-nav .nav-link.active {
    color: #E31D23 !important;
    border-bottom: 3px solid #E31D23;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #f9f9f9;
    color: #E31D23 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(227, 29, 35, 0.8), rgba(0, 0, 0, 0.6)), url('..../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Search Form */
.search-form {
    display: flex;
    margin-top: 1rem;
}

.search-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.search-form button {
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
}

/* Post Cards */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #E31D23;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Pagination */
.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #E31D23;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #E31D23;
    color: white;
    border-color: #E31D23;
}

.pagination .current {
    background-color: #E31D23;
    color: white;
    border-color: #E31D23;
}

/* Tags */
.tag-cloud {
    margin: 1rem 0;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    background-color: #f9f9f9;
    color: #E31D23;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #E31D23;
}

.tag-cloud a:hover {
    background-color: #E31D23;
    color: white;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #eee;
}

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

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-left: 4px solid #E31D23;
    border-radius: 4px;
}

.comment-reply-link {
    color: #E31D23;
    font-size: 0.9rem;
}

/* Forms */
.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #E31D23;
    box-shadow: 0 0 0 0.2rem rgba(227, 29, 35, 0.25);
}

/* Responsive Images */
.wp-caption {
    margin: 1.5rem 0;
    text-align: center;
}

.wp-caption img {
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
        margin-bottom: 2rem;
    }

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

    .navbar-brand {
        font-size: 1.25rem;
    }

    .entry-content {
        font-size: 1rem;
    }
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Print Styles */
@media print {
    .navbar,
    .sidebar,
    .footer,
    .comments-area {
        display: none !important;
    }

    body {
        background: white;
    }

    .entry-content {
        color: black;
    }
}
