/**
 * Gig Template Styles
 *
 * Custom styles for the Gigiau gig page template
 *
 * @package Gigiau_Gig_Page
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    padding: 20px 0;
    margin-bottom: 40px;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-size: 28px;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    background: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .content-area {
        padding: 20px;
    }
}

.category-badge {
    background: #0073aa;
    color: white;
    padding: 5px 15px;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 3px;
    font-size: 14px;
}

.entry-title {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.entry-meta {
    color: #666;
    margin: 15px 0 30px;
    font-size: 14px;
}

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

.post-thumbnail {
    margin: 10px 0;
    min-width: 50%;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.tags-links {
    margin-bottom: 10px;
}

.post-navigation {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e1e1e1;
}

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

.nav-subtitle {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: bold;
}

#comments {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e1e1e1;
}

.image_and_text {
    display:flex;
    justify-content:space-around;
    align-items: center;
}

/* Image Lightbox Styles */
.post-thumbnail {
    cursor: pointer;
    position: relative;
}

.post-thumbnail img {
    transition: transform 0.2s ease;
}

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

.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox img {
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
