/*
Theme Name: Edgvio
Theme URI: https://edgvio.com
Author: Edgvio
Author URI: https://edgvio.com
Description: A custom WordPress theme for Edgvio Creative & Digital Agency.
Version: 1.0.0
Text Domain: edgvio
*/

:root {
    --color-primary-dark: #27312E;
    --color-accent: #D4EE71;
    --color-background: #EEEDDE;
    --font-heading: 'Baloo 2', display, sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-primary-dark);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    background-color: var(--color-background);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.site-branding .custom-logo {
    height: 40px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-weight: 500;
    font-size: 1rem;
}

.main-navigation a:hover {
    color: #acc553;
    /* Darker accent for hover on light bg */
}

.header-actions .btn-cta {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-actions .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Toggle (Minimal implementation) */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        /* simple hide for V1 */
    }
}

/* Content */
.site-main {
    min-height: 50vh;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 4rem 2rem 1rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h3 {
    color: #fff;
    /* Ensuring visibility on dark bg */
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    margin-bottom: 10px;
}

.newsletter-form button {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    opacity: 0.7;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-header {
        padding: 1rem;
    }
}

/* ------------------------------------------------------------------------- *
 *  404 Error Page
 * ------------------------------------------------------------------------- */
.error-404 {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.error-404 .page-title {
    font-size: 4rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.error-404 .page-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ------------------------------------------------------------------------- *
 *  Comments
 * ------------------------------------------------------------------------- */
.comments-area {
    margin-top: 4rem;
    border-top: 1px solid rgba(39, 49, 46, 0.1);
    padding-top: 3rem;
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-meta {
    grid-column: 2;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

.comment-content {
    grid-column: 2;
}

.comment-reply-link {
    grid-column: 2;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-list .children {
    padding-left: 3rem;
    list-style: none;
}

/* Comment Form */
.comment-respond {
    margin-top: 3rem;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--color-primary-dark);
    box-shadow: 0 0 0 3px rgba(39, 49, 46, 0.1);
}

.form-submit .submit {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form-submit .submit:hover {
    transform: translateY(-2px);
}

/* ------------------------------------------------------------------------- *
 *  Widgets & Sidebar
 * ------------------------------------------------------------------------- */
.widget {
    margin-bottom: 3rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget a:hover {
    color: #8da42f;
    /* Darker accent */
}

/* Search Results */
.search-results .page-title {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2rem;
}