/*
Theme Name: AiAgent Child
Theme URI: 
Description: Professional Full-Width Child Theme for Source Code Lab
Author: Grok (for Villan)
Template: aiagent
Version: 1.3.0
Text Domain: aiagent-child
*/

/* =============================================
   CSS VARIABLES - Professional AI/iGaming Palette
   ============================================= */
:root {
    --primary: #0a2540;      /* Deep Navy */
    --accent: #00d4ff;       /* Electric Cyan */
    --text: #1e2937;
    --light-text: #64748b;
    --bg: #ffffff;
    --border: #e2e8f0;
}

/* 1320PX PROFESSIONAL CONTAINER */
.site {
    max-width: 1320px;
    margin: 0 auto;
    background: #fff;
}

/* Side padding */
.site-header,
.site-main,
.site-footer {
    padding-left: 40px;
    padding-right: 40px;
}

/* Base */
body {
    color: var(--text);
    font-family: 'Sora', sans-serif;
    line-height: 1.7;
    font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }

/* Site Title - Premium */
.site-title a {
    color: #7c3aed;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.site-title a:hover {
    color: var(--accent);
}

/* FULL CONTENT - NO BOX/CARD */
.post,
.page,
.entry-content {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 3rem;
}

/* Remove any default white background from main area */
.site-main {
    background: transparent;
}

/* Links & Hover */
a {
    color: var(--primary);
    transition: all 0.3s ease;
}
a:hover,
a:focus {
    color: var(--accent);
}

/* Buttons */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.2);
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: var(--accent);
    color: #0a2540;
    transform: translateY(-3px);
}

/* Navigation */
.main-navigation {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.main-navigation ul {
    display: flex;
    gap: 2rem;
}
.main-navigation a {
    font-weight: 500;
    padding: 12px 0;
    position: relative;
}
.main-navigation a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}
.main-navigation a:hover:after {
    width: 100%;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
}
input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

/* ====================== CUSTOM FOOTER ====================== */
.site-footer {
    background: #0a2540;
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

/* Hide old theme credit */
.site-info {
    display: block !important;
}

/* Custom Source Code Lab Copyright */
.site-info::before {
    content: "© 2026 Source Code Lab. All Rights Reserved\n\nhttps://sourcecodelab.co/";
    white-space: pre-line;
    display: block;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

.site-info::before a {
    color: #00d4ff;
    text-decoration: underline;
}

/* Extra polish */
img {
    border-radius: 8px;
}

/* Mobile */
@media screen and (max-width: 1320px) {
    .site-header,
    .site-main,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media screen and (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    .site-title a {
        font-size: 2.2rem;
    }
    h1 { font-size: 2.2rem; }
}