/*
Theme Name: Felipe Velzani
Theme URI: https://felipevelzani.com
Author: Felipe Velzani
Author URI: https://felipevelzani.com
Description: A simple personal portfolio theme
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: felipevelzani
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.logo-text,
.section-title h2,
.hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
}

body {
    line-height: 1.6;
    color: #e8e4dc;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #3a3a3a;
    position: fixed;
    width: 100%;
    z-index: 90;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 90;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #f5f1eb;
    letter-spacing: -0.5px;
}

.mobile-menu-toggle {
    display: none;
}

.overlay {
    display: none;
}

.overlay.show {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 95;
}

nav {
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: #a8a19a;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d4b860;
}

.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #242424 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #f5f1eb;
    padding: 160px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #f5f1eb;
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #c9a227 0%, #d4b860 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: #c9a227;
    color: #1a1a1a;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #d4b860;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    display: block;
    width: 100%;
    background: #c9a227;
    color: #1a1a1a;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-align: center;
}

.btn-secondary:hover {
    background: #d4b860;
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #f5f1eb;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c9a227 0%, #d4b860 100%);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #d4cfc6;
}

.about-text strong {
    color: #d4b860;
    font-weight: 600;
}

.highlight-text {
    font-weight: 600;
    color: #d4b860;
    text-decoration: none;
}

.highlight-text:hover {
    color: #e0c878;
    text-decoration: underline;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-image-round {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 320px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.values-section {
    background: #212121;
}

.current-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.current-work-grid .value-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.current-work-grid .value-card .btn-secondary {
    margin-top: auto;
}

.value-card {
    text-align: center;
    padding: 32px 40px;
    background: #282828;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.value-card p {
    color: #d4cfc6;
    line-height: 1.7;
    margin-bottom: 15px;
}

.current-work-grid .velzani-work-copy p {
    font-size: 0.9375rem;
}

.logo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.experience-card {
    padding: 30px;
    background: #282828;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.experience-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c9a227 0%, #d4b860 100%);
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.experience-icon-container .material-icons {
    font-size: 28px;
}

.experience-card h3 {
    margin-bottom: 12px;
    color: #f5f1eb;
    font-size: 18px;
    font-weight: 600;
}

.experience-card p {
    color: #d4cfc6;
    line-height: 1.7;
    font-size: 15px;
}

#contact {
    background: #212121;
}

.social-links {
    text-align: center;
    padding: 20px 0 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c9a227;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #d4b860;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.social-icon svg {
    width: 28px;
    height: 28px;
    fill: #1a1a1a;
}

footer {
    background: #141414;
    border-top: 1px solid #3a3a3a;
    color: #a8a19a;
    padding: 30px 0;
    text-align: center;
}

.copyright {
    color: #8a847c;
    font-size: 14px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Archive */
.blog-archive {
    padding: 160px 0 80px;
    min-height: 60vh;
}

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

.posts-list li {
    border-bottom: 1px solid #3a3a3a;
    padding: 20px 0;
}

.posts-list a {
    color: #e8e4dc;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.posts-list a:hover {
    color: #d4b860;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: #282828;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #a8a19a;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
    background: #c9a227;
    border-color: #c9a227;
    color: #1a1a1a;
}

/* Single Post */
.single-post-section {
    padding: 160px 0 80px;
}

.single-post-section .section-title {
    margin-bottom: 40px;
}

.single-post-section .section-title h2 {
    font-size: 32px;
}

.single-post-section .post-meta {
    margin-top: 15px;
}

.single-post-section article {
    max-width: 800px;
    margin: 0 auto;
}

.post-meta {
    color: #8a847c;
    font-size: 14px;
}

.post-meta a {
    color: #d4b860;
    text-decoration: none;
}

.post-meta a:hover {
    text-decoration: underline;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    color: #d4cfc6;
    font-size: 17px;
    line-height: 1.8;
}

.post-content h2, .post-content h3, .post-content h4 {
    color: #f5f1eb;
    margin: 40px 0 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content a {
    color: #d4b860;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content blockquote {
    border-left: 4px solid #c9a227;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #a8a19a;
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    padding: 24px;
    background: #282828;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
}

.author-bio-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 600;
    color: #f5f1eb;
    margin-bottom: 6px;
}

.author-bio-text {
    font-size: 14px;
    color: #a8a19a;
    line-height: 1.6;
    margin: 0;
}

.author-bio-text a {
    color: #d4b860;
    text-decoration: none;
}

.author-bio-text a:hover {
    color: #e0c878;
    text-decoration: underline;
}

/* Comments */
.comments-section {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid #3a3a3a;
}

.comments-area {
    max-width: 100%;
}

.comments-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a8a19a;
    margin: 0 0 1.25rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Hide the "says:" label WordPress adds */
.comment-author .says {
    display: none;
}

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

.comment-list .comment {
    padding: 0;
    margin: 0 0 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0;
}

.comment-body {
    padding: 1rem 1.25rem;
    background: #1e1e1e;
    border-radius: 8px;
}

/* Kept for legacy threaded comments if any exist */
.comment-list .children {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Comment meta: author · date on one line */
.comment-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0.6rem;
    padding: 14px;
    font-size: 0.8125rem;
    color: #9a948c;
}

.comment-author {
    display: inline;
}

.comment-meta .comment-author .fn,
.comment-meta .comment-author .fn a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f5f1eb;
    text-decoration: none;
    font-style: normal;
}

.comment-meta .comment-author .fn a:hover {
    color: #d4b860;
}

.comment-metadata {
    display: inline;
    font-size: 0.8125rem;
    color: #6b6560;
}

.comment-metadata::before {
    content: "·";
    margin: 0 0.5rem;
    color: #4a4a4a;
}

.comment-metadata a {
    color: #6b6560;
}

.comment-metadata a:hover {
    color: #d4b860;
}

.comment-metadata .edit-link::before {
    content: "·";
    margin: 0 0.35rem;
    color: #4a4a4a;
}

.comment-metadata .edit-link {
    margin-left: 0;
}

.comment-content {
    color: #c4beb4;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.comment-content p {
    margin: 0 0 0.5rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-awaiting-moderation {
    display: block;
    margin-top: 0.4rem;
    font-style: italic;
    font-size: 0.8125rem;
    color: #8a847c;
}

/* Reply links are disabled via PHP; hide any remnants */
.reply {
    display: none;
}

.comments-area a {
    color: #d4b860;
    text-decoration: none;
}

.comments-area a:hover {
    color: #e0c878;
}

.comment-navigation {
    margin: 1.25rem 0 1.5rem;
    padding: 0.6rem 0;
    border-top: 1px solid #2e2e2e;
    border-bottom: 1px solid #2e2e2e;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.no-comments {
    color: #8a847c;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

/* Reply form */
.comment-respond {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f1eb;
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.comment-reply-title small {
    display: inline;
    margin-left: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 400;
}

.comment-reply-title small a {
    color: #8a847c;
}

.comment-reply-title small a:hover {
    color: #d4b860;
}

.logged-in-as {
    font-size: 0.8125rem;
    color: #8a847c;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.logged-in-as a {
    color: #d4b860;
}

.comment-notes,
.comment-form .comment-notes,
.comment-form .required-field-message {
    font-size: 0.8125rem;
    color: #6b6560;
    margin: 0 0 1rem;
}

.comment-form label {
    display: block;
    color: #a8a19a;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url,
.comment-form .comment-form-comment {
    margin-bottom: 0.85rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    background: #161616;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e8e4dc;
    font-size: 0.9375rem;
    font-family: inherit;
    line-height: 1.5;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #c9a227;
    flex-shrink: 0;
    cursor: pointer;
}

.comment-form .comment-form-cookies-consent label {
    display: inline;
    margin-bottom: 0;
    font-size: 0.8125rem;
    color: #8a847c;
    cursor: pointer;
}

.comment-form .form-submit {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.comment-form .submit {
    background: #c9a227;
    color: #1a1a1a;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.comment-form .submit:hover {
    background: #d4b860;
}

.comment-form .submit:focus-visible {
    outline: 2px solid #e0c878;
    outline-offset: 2px;
}


/* Fallback if any avatar markup slips through */
.comments-area img.avatar {
    display: none !important;
}

/* Pingbacks / trackbacks */
.comment-list .pingback .comment-body,
.comment-list .trackback .comment-body {
    background: #1a1a1a;
}

/* 404 Page */
.error-404 {
    padding: 160px 0 80px;
    min-height: 60vh;
    text-align: center;
}

.error-404 h1 {
    font-size: 120px;
    color: #c9a227;
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 32px;
    color: #f5f1eb;
    margin-bottom: 20px;
}

.error-404 p {
    color: #a8a19a;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .current-work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        z-index: 110;
    }
    
    .mobile-menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #f5f1eb;
        border-radius: 3px;
        transition: .25s ease-in-out;
    }
    
    .mobile-menu-toggle span:nth-child(1) { top: 0; }
    .mobile-menu-toggle span:nth-child(2),
    .mobile-menu-toggle span:nth-child(3) { top: 9px; }
    .mobile-menu-toggle span:nth-child(4) { top: 18px; }
    
    .mobile-menu-toggle.open span:nth-child(1),
    .mobile-menu-toggle.open span:nth-child(4) {
        top: 9px;
        width: 0%;
        left: 50%;
    }
    
    .mobile-menu-toggle.open span:nth-child(2) {
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #212121;
        border-left: 1px solid #3a3a3a;
        transition: right 0.3s ease;
        z-index: 100;
        padding: 80px 30px 30px;
    }
    
    nav.open {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid #3a3a3a;
    }
    
    nav ul li a {
        padding: 15px 0;
        display: block;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .profile-image-round {
        max-width: 240px;
    }
    
    .blog-archive,
    .single-post-section,
    .error-404 {
        padding: 120px 0 60px;
    }
    
    .single-post-section .section-title h2 {
        font-size: 24px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .comments-section {
        margin-top: 40px;
        padding-top: 32px;
    }
    
    .comment-body {
        padding: 0.85rem 1rem;
    }
    
    .comment-meta {
        gap: 0.3rem;
    }
    
    .comment-respond {
        padding: 1.15rem;
    }
    
    .error-404 h1 {
        font-size: 80px;
    }
}

body.menu-open {
    overflow: hidden;
}
