/*
Theme Name: VidasaStudio
Theme URI: https://vidasasl.com
Author: VidasaStudio
Author URI: https://vidasasl.com
Description: Full-width AI Image Generator theme for VidasaStudio. Works with the VidasaStudio plugin.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vidasastudio-theme
Tags: full-width, custom-background, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* Theme base reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; min-height: 100vh; background: #f8f8fa; font-family: "DM Sans", system-ui, sans-serif; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ============================================================
   VIDASASTUDIO THEME - LAYOUT & COMPONENTS
   ============================================================ */

/* HEADER */
.vs-site-header {
    background: var(--vs-header-bg, #ffffff);
    border-bottom: 1px solid #e4e4ee;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 58px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.vs-header-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.vs-header-brand { flex-shrink: 0; }
.vs-menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.vs-menu-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--vs-accent, #6c47ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}
.vs-site-title {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--vs-header-text, #18181e);
    text-decoration: none;
}
.vs-site-title span { color: var(--vs-accent, #6c47ff); }

/* NAV MENU */
.vs-main-nav { flex: 1; display: flex; justify-content: center; }
.vs-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.vs-nav-menu li a {
    display: block;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--vs-header-text, #52525e);
    text-decoration: none;
    transition: all .18s;
    font-weight: 500;
}
.vs-nav-menu li a:hover,
.vs-nav-menu li.current-menu-item a {
    color: var(--vs-accent, #6c47ff);
    background: #f5f3ff;
}
.vs-nav-menu li.current-menu-item a { font-weight: 600; }

/* HEADER ACTIONS */
.vs-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.vs-hdr-user {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f8f8fa;
    border: 1px solid #e4e4ee;
    border-radius: 20px;
}
.vs-hdr-av {
    width: 24px;
    height: 24px;
    background: var(--vs-accent, #6c47ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.vs-hdr-name { font-size: 12px; font-weight: 500; color: #18181e; }
.vs-hdr-plan {
    font-size: 10px;
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 700;
}
.vs-hdr-plan.pro { background: #ede9ff; color: #6c47ff; }
.vs-hdr-plan.free { background: #f0f0f4; color: #9898a8; }
.vs-hdr-btn {
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.vs-hdr-btn-outline {
    border: 1px solid #e4e4ee;
    background: #f8f8fa;
    color: #52525e;
}
.vs-hdr-btn-outline:hover { border-color: var(--vs-accent,#6c47ff); color: var(--vs-accent,#6c47ff); }
.vs-hdr-btn-primary {
    background: var(--vs-accent, #6c47ff);
    color: #fff;
}
.vs-hdr-btn-primary:hover { opacity: .88; transform: translateY(-1px); }

/* MOBILE TOGGLE */
.vs-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.vs-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #18181e;
    border-radius: 2px;
    transition: all .2s;
}

/* PAGE WRAPPER */
.vs-page { width: 100%; min-height: calc(100vh - 58px); }

/* MAIN CONTENT */
.vs-main-content { width: 100%; }
.vs-main-fullwidth { width: 100%; max-width: 100%; padding: 0; margin: 0; }
.vs-content-wrap { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.vs-page-article { width: 100%; }
.vs-page-content { width: 100%; }

/* Make sure plugin content is full width */
.vs-page-content #vs-wrap,
.vs-page-content > div { width: 100% !important; max-width: 100% !important; }

/* ARTICLE STYLES */
.vs-entry-title { font-family: 'Syne',sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 12px; color: #18181e; }
.vs-entry-meta { font-size: 13px; color: #9898a8; margin-bottom: 20px; }
.vs-entry-content { font-size: 15px; line-height: 1.8; color: #333; }
.vs-entry-content p { margin-bottom: 16px; }
.vs-post-thumb { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.vs-post-thumb img { width: 100%; display: block; }
.vs-article { background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }

/* FOOTER */
.vs-site-footer {
    background: #0d0d14;
    color: #f2f2f8;
    margin-top: auto;
}
.vs-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.vs-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.vs-footer-logo-icon {
    width: 30px;
    height: 30px;
    background: #6c47ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}
.vs-footer-logo-text { font-family: 'Syne',sans-serif; font-size: 16px; font-weight: 700; }
.vs-footer-tagline { font-size: 13px; color: #9898b8; line-height: 1.6; }
.vs-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vs-footer-menu li a { font-size: 13px; color: #9898b8; text-decoration: none; transition: color .2s; }
.vs-footer-menu li a:hover { color: #6c47ff; }
.vs-footer-bottom {
    border-top: 1px solid #22223a;
    padding: 16px 24px;
}
.vs-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.vs-footer-bottom p { font-size: 12px; color: #555568; }
.vs-footer-bottom-links { display: flex; gap: 16px; }
.vs-footer-bottom-links a { font-size: 12px; color: #555568; text-decoration: none; }
.vs-footer-bottom-links a:hover { color: #6c47ff; }
.footer-widget-title { font-size: 13px; font-weight: 700; color: #f2f2f8; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.footer-widget { font-size: 13px; color: #9898b8; }

/* MOBILE */
@media(max-width: 768px){
    .vs-header-inner { padding: 0 14px; }
    .vs-main-nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e4e4ee; z-index: 999; padding: 12px; }
    .vs-main-nav.open { display: block; }
    .vs-nav-menu { flex-direction: column; align-items: flex-start; }
    .vs-mobile-toggle { display: flex; }
    .vs-hdr-user { display: none; }
    .vs-footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .vs-footer-bottom-inner { flex-direction: column; text-align: center; }
    .vs-content-wrap { padding: 20px 14px; }
}
@media(max-width: 480px){
    .vs-hdr-btn { font-size: 11px; padding: 5px 10px; }
    .vs-entry-title { font-size: 22px; }
}
