/* Blog Page Styles */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/blog-header.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Blog Filter */
.blog-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.blog-filter button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.blog-filter button:hover {
    background-color: var(--primary-dark);
}

/* Blog Layout */
.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 5rem 5%;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-info {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.blog-category {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    padding: 0 1rem;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.blog-card p {
    padding: 0 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    margin: 0 1rem 1rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-light);
    font-family: var(--font-heading);
    font-weight: 700;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 0.5rem;
}

.sidebar-widget a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-widget a:hover {
    color: var(--primary);
}

.popular


/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background-color: black;
    border-radius: 10px;
    overflow: hidden;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}

.close-video:hover {
    color: var(--primary);
}

.video-modal video {
    width: 100%;
    display: block;
}

/* Play Button Enhancements */
.play-button {
    cursor: pointer;
    z-index: 2;
}

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

/* Responsive Video Modal */
@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95%;
    }
}

