/*
Theme Name: Vocens Hello
Theme URI: https://vocens.cloud/themes/vocens-hello
Author: VOC
Author URI: https://vocens.cloud
Description: Modern, minimal ve hızlı WordPress teması. Elementor uyumlu, Block editor destekli, SEO optimize edilmiş.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vocens-hello
Tags: one-column, two-columns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, block-patterns, rtl-language-support, threaded-comments, translation-ready, elementor, page-builder
*/

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --vh-primary: #f7374f;
    --vh-primary-dark: #d32d42;
    --vh-text-dark: #1f2937;
    --vh-text-gray: #6b7280;
    --vh-text-light: #9ca3af;
    --vh-bg-light: #f9fafb;
    --vh-bg-white: #ffffff;
    --vh-border: #e5e7eb;
    --vh-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --vh-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --vh-radius: 8px;
    --vh-radius-lg: 16px;
    --vh-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --vh-max-width: 1200px;
    --vh-content-width: 800px;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--vh-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--vh-text-dark);
    background: var(--vh-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5em;
}

a {
    color: var(--vh-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--vh-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 60px 20px;
}

.container {
    max-width: var(--vh-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    max-width: var(--vh-content-width);
    margin: 0 auto;
}

/* Header */
.site-header {
    background: var(--vh-bg-white);
    border-bottom: 1px solid var(--vh-border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--vh-text-dark);
}

.site-title a:hover {
    color: var(--vh-primary);
}

.site-description {
    margin: 0;
    color: var(--vh-text-gray);
    font-size: 0.875rem;
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: var(--vh-text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 0;
    display: block;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vh-primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* Posts */
.post {
    background: var(--vh-bg-white);
    border-radius: var(--vh-radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--vh-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.post:hover {
    box-shadow: var(--vh-shadow-lg);
    transform: translateY(-2px);
}

.post-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.entry-title a {
    color: var(--vh-text-dark);
}

.entry-title a:hover {
    color: var(--vh-primary);
}

.entry-meta {
    display: flex;
    gap: 20px;
    color: var(--vh-text-gray);
    font-size: 0.875rem;
}

.entry-meta a {
    color: var(--vh-text-gray);
}

.entry-meta a:hover {
    color: var(--vh-primary);
}

.entry-content {
    color: var(--vh-text-dark);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vh-primary);
    color: var(--vh-bg-white);
    padding: 10px 20px;
    border-radius: var(--vh-radius);
    font-weight: 500;
    font-size: 0.875rem;
    margin-top: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.read-more:hover {
    background: var(--vh-primary-dark);
    color: var(--vh-bg-white);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--vh-bg-white);
    border-top: 1px solid var(--vh-border);
    padding: 40px 0;
    text-align: center;
    color: var(--vh-text-gray);
    font-size: 0.875rem;
}

.site-footer a {
    color: var(--vh-primary);
}

/* Elementor Full Width */
.elementor-page .site-content {
    padding: 0;
}

.elementor-page .content-area,
.elementor-page .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

.elementor-section.elementor-section-stretched {
    width: 100%;
    max-width: 100%;
}

.elementor-template-full-width .site-content {
    padding: 0;
}

.elementor-template-canvas .site {
    display: block;
}

body.elementor-page .site-main {
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 1.25rem;
    }
}

/* WordPress Required */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.5em;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.sticky {
    border-left: 4px solid var(--vh-primary);
}
