/*
Theme Name: Fasulyeden
Theme URI: https://fasulyeden.com
Author: Fasulyeden Team
Author URI: https://fasulyeden.com
Description: Fasulyeden.com icin brutalist/fanzin estetiginde ozel WordPress temasi. Mecmuanin Sokak Cocuklari.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fasulyeden
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --paper-color: #f4f1ea;
    --ink-color: #1a1a1a;
    --accent-color: #6b8caf;
    --secondary-accent: #545049;
    --highlight-color: #fce83a;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    background-color: var(--paper-color);
    color: var(--ink-color);
    font-family: 'Courier Prime', monospace;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   Brutalist Components
   ========================================================================== */

.brutalist-border {
    border: 2px solid var(--ink-color);
    box-shadow: 3px 3px 0px var(--ink-color);
    transition: all 0.2s ease;
    background: white;
}

.brutalist-border:hover {
    box-shadow: 3px 3px 0px var(--accent-color);
}

/* Hover Lift Animation */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0px var(--ink-color) !important;
}

/* Combined Effect */
.brutalist-border.hover-lift:hover {
    box-shadow: 6px 6px 0px var(--accent-color) !important;
}

/* ==========================================================================
   Image Effects
   ========================================================================== */

.grain-image {
    filter: grayscale(100%) contrast(120%);
    mix-blend-mode: multiply;
    transition: filter 0.3s;
}

.grain-image:hover {
    filter: grayscale(0%) contrast(100%);
}

/* ==========================================================================
   Ticker Animation
   ========================================================================== */

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Prose Styles (Single Post Content)
   ========================================================================== */

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.prose h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid black;
    display: inline-block;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    font-style: italic;
    background: rgba(0,0,0,0.05);
    padding: 1rem;
    margin: 1.5rem 0;
}

/* ==========================================================================
   WordPress Specific Overrides
   ========================================================================== */

/* Widget title styling */
.widget-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid black;
    display: inline-block;
    background: black;
    color: white;
    padding: 0 0.5rem;
}

/* Comment styling */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    border-bottom: 1px dashed #d1d5db;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Navigation pagination */
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: bold;
}

.nav-links a {
    border: 2px solid var(--ink-color);
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

.nav-links a:hover {
    background: var(--ink-color);
    color: white;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    background: var(--ink-color);
    color: white;
    padding: 0.5rem 1rem;
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}
