/* Blog Page Styles */

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-logo {
    height: 40px;
    width: auto;
    transition: transform 0.2s;
}

.blog-logo:hover {
    transform: scale(1.05);
}

.blog-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.blog-title {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 20px rgba(199, 26, 26, 0.5);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: #c71a1a;
}

.blog-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: #c71a1a;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blog-card-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: #ccc;
    font-family: 'Varela Round', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #c71a1a;
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    background-color: #c71a1a;
    box-shadow: 0 0 15px rgba(199, 26, 26, 0.5);
}

/* Button on Landing Page */
.blogs-link-btn {
    display: inline-block;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blogs-link-btn:hover {
    color: #c71a1a;
    border-bottom-color: #c71a1a;
}

@media screen and (max-width: 767px) {
    .blog-title {
        font-size: 36px;
    }

    .blog-header {
        padding: 15px 20px;
    }
}