/*!
Theme Name: Vefrit
Theme URI: https://creatif.agency
Author: Creatif Agency
Author URI: https://creatif.agency
Description: Custom development for Vefrit by Creatif Agency
Version: 1.0.0
Tested up to: 8.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vefrit
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


@import 'css/ca-style.css';
@import url('css/largescreens.css') only screen and (min-width: 1600px);
@import url('css/responsive.css') only screen and (max-width: 1200px);
@import url('css/tablet.css') only screen and (max-width: 768px);
@import url('css/mobile.css') only screen and (max-width: 520px);


/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99991;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.search-container {
    background-color: white;
    border-radius: 12px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: black;
    margin: 0;
}

.search-close {
    background: none;
    border: none;
    color: gray;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.search-close:hover {
    background-color: gray;
    color: black;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
    padding: 1rem;
    border: 1px solid black;
    font-size: 1rem;
    transition: border-color 0.15s ease;
}

.search-field:focus {
    outline: none;
    border-color: black;
}

.search-submit {
    background-color: white;
    border: 1px solid black;
    color: black;
    font-weight: 500;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background-color: black;
    color: white;
    transform: translateY(-4px);
}
/*
comments
 */
.comments-area {
    font-family: system-ui, sans-serif;
}
.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #eee;
}
.comment-avatar img {
    border-radius: 50%;
}
.comment-content {
    font-size: 0.95rem;
    line-height: 1.5;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.75rem;
}
.comment-form button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
}
.comment-form button:hover {
    background: #1e40af;
}