/**
 * Custom styles for Interplay Theme
 */

/* Additional Customizations for the theme */
.entry-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.entry-meta {
    margin-bottom: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

.post-thumbnail {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
}

.post-thumbnail img {
    width: 100%;
    transition: transform 0.3s ease;
}

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

article {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

article:last-child {
    border-bottom: none;
}

.no-results {
    text-align: center;
    padding: 50px 0;
}

.posts-navigation,
.post-navigation {
    margin: 30px 0;
}

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

.nav-previous,
.nav-next {
    max-width: 48%;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    padding: 10px 15px;
    background: rgba(0, 51, 102, 0.7);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: rgba(0, 51, 102, 1);
}

/* Comments */
.comments-area {
    margin-top: 40px;
}

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

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author .avatar {
    margin-right: 15px;
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.8em;
    opacity: 0.7;
    margin-bottom: 15px;
}

.comment-content {
    margin-bottom: 10px;
}

.reply {
    text-align: right;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    background: rgba(0, 51, 102, 0.9);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: rgba(0, 51, 102, 1);
}

/* Contact form */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
}

.wpcf7-form input[type="submit"] {
    background: rgba(0, 51, 102, 0.9);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background: rgba(0, 51, 102, 1);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.widget-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.widget ul {
    padding-left: 20px;
}

.widget li {
    margin-bottom: 10px;
}
