/*
Theme Name: Metin's Toolkit
Theme URI: https://metins-webdesign.de
Description: Modern, schnell und flexibel - perfekt für Affiliate & Deal-Portale
Author: Metin Celik
Author URI: https://metins-webdesign.de
Version: 1.0.0
License: GPL v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: metins-toolkit
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
*/

:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --secondary: #64748b;
    --accent: #f97316;
    --bg: #ffffff;
    --text: #1e293b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* Header */
header.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .wrapper {
        grid-template-columns: 1fr 300px;
    }
}

/* Content */
main {
    flex: 1;
}

.entry-content {
    line-height: 1.8;
    margin: 2rem 0;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Product Box (für Affiliate Produkte) */
.product-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background: #f8fafc;
    transition: box-shadow 0.3s;
}

.product-box:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.product-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.3s;
}

.product-button:hover {
    background: var(--primary-dark);
}

/* Widgets */
.widget {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Footer */
footer.site-footer {
    background: #1e293b;
    color: #e2e8f0;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-header {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: auto;
    }
}
