/*
Theme Name: Glaswasser Child
Theme URI: https://glaswasserwirbler.de
Description: Gold & Black Design für Glaswasser Blog
Version: 1.1
Author: Michael Wewerka
Author URI: https://glaswasserwirbler.de
Template: oceanwp
Text Domain: glasswasser-child
Domain Path: /languages
*/

/* =============================================
   VARIABLEN UND RESET
============================================= */
:root {
    --bg:          #050505;
    --gold:        #c9a84c;
    --text:        #f0ece0;
    --gold-faint:  rgba(201, 168, 76, 0.05);
    --gold-border: rgba(201, 168, 76, 0.2);
}

* {
    box-sizing: border-box;
}

/* =============================================
   BODY & BASIS
============================================= */
body {
    background-color: var(--bg) !important;
    color: var(--text) !important;
    font-family: 'Lora', serif;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif !important;
    color: var(--gold) !important;
    font-weight: 400;
    line-height: 1.3;
}

a {
    color: var(--gold) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e0d4b8 !important;
    text-decoration: underline;
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
.site-header {
    background-color: var(--bg) !important;
    border-bottom: 2px solid var(--gold-border) !important;
    padding: 20px 0 !important;
}

.navbar {
    background-color: var(--bg) !important;
}

.navbar a {
    color: var(--text) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--gold) !important;
}

.site-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: var(--gold) !important;
    font-size: 2rem !important;
}

/* =============================================
   INHALT & SEITEN
============================================= */
.site-content {
    background-color: var(--bg);
    padding: 40px 20px !important;
}

/* Blog Beiträge */
.post,
article {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(201, 168, 76, 0.03) 100%);
    border-left: 4px solid var(--gold);
    border: 1px solid var(--gold-border);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.post:hover,
article:hover {
    border-left-color: var(--gold);
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.1);
    transform: translateY(-2px);
}

.post-title,
article h2 {
    color: var(--gold) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 2.2rem !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid var(--gold-border);
    padding-bottom: 15px;
}

.post-meta,
.meta {
    color: rgba(240, 236, 224, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.post-meta a,
.meta a {
    color: var(--gold) !important;
}

.post-content,
.entry-content {
    color: var(--text) !important;
    font-size: 1.05rem;
    line-height: 1.9;
}

/* =============================================
   SIDEBAR
============================================= */
.sidebar,
.widget-area {
    background-color: rgba(201, 168, 76, 0.05);
    padding: 30px;
    border: 1px solid var(--gold-border);
    border-radius: 6px;
}

.widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gold-border);
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title,
.sidebar h3 {
    font-family: 'Cormorant Garamond', serif !important;
    color: var(--gold) !important;
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gold-border);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--gold) !important;
}

/* =============================================
   BUTTONS
============================================= */
.btn,
button,
input[type="submit"],
input[type="button"],
.button {
    background-color: var(--gold) !important;
    color: var(--bg) !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 6px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(201, 168, 76, 0.2);
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover {
    background-color: #e0d4b8 !important;
    color: var(--bg) !important;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    background-color: var(--bg) !important;
    color: var(--text) !important;
    border-top: 2px solid var(--gold-border) !important;
    padding: 40px 20px !important;
    margin-top: 60px;
}

.site-footer a {
    color: var(--gold) !important;
}

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

/* =============================================
   FORMULARE
============================================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    background-color: rgba(201, 168, 76, 0.05) !important;
    color: var(--text) !important;
    border: 1px solid var(--gold-border) !important;
    padding: 12px;
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--gold) !important;
    outline: none;
    background-color: rgba(201, 168, 76, 0.1) !important;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .post,
    article {
        padding: 30px;
    }

    .post-title,
    article h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1, h2, h3 {
        font-size: 1.6rem;
    }

    .post,
    article {
        padding: 20px;
        margin-bottom: 25px;
    }

    .site-content {
        padding: 20px 10px !important;
    }

    .sidebar,
    .widget-area {
        padding: 20px;
        margin-top: 30px;
    }
}
/* =============================================
   BILDER - RESPONSIVE & OPTIMIERT
============================================= */
img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.post img,
article img {
    max-width: 100% !important;
    height: auto !important;
    margin: 20px 0;
    border-radius: 6px;
}

.wp-post-image {
    max-height: 400px !important;
    object-fit: contain !important;
}