/* Blog Modal Styles */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    padding: 40px 25px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #f0f0f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-close:hover {
    background: #e0e0e0;
    transform: scale(1.1);
    color: #ff0000;
}

#modalImage {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

#modalTitle {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

#modalText {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Blog Post Preview */
.blog-post {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.blog-post h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.preview-text {
    color: #666;
    margin-bottom: 15px;
}

.read-more-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #0056b3;
}

/* Video Blog Posts */
.blog-post video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
}

.blog-post .btn-primary {
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
}

/* Blog Section Header */
.blog h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.blog > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
} 