/*
Theme Name: Welche Mixer Elite
Theme URI: https://welche-mixer.de/
Description: Ein Premium Biohacking & Wellness WordPress Theme für Hochleistungsmixer.
Author: Welche-Mixer
Author URI: https://welche-mixer.de/
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: welche-mixer
*/

:root {
    --forest-green: #1A3C34;
    --gold: #D4AF37;
    --mint-cloud: #F7F9F8;
    --white: #FFFFFF;
    --text-color: #333333;
    --light-text: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* Icon System */
.icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

.icon-primary {
    color: var(--forest-green);
}

.icon-secondary {
    color: var(--gold);
}

.icon-white {
    color: var(--white);
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 5vw, 4rem);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--gold);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
}

.logo .site-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-green);
    letter-spacing: -1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--gold);
}

/* Menu Toggle (Burger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--forest-green);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero,
.hero-section {
    background: linear-gradient(rgba(26, 60, 52, 0.8), rgba(26, 60, 52, 0.8)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 100px 0;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--forest-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--forest-green);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: #b8962d;
    transform: scale(1.05);
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: var(--mint-cloud);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--forest-green);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 220px;
    background-size: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 15px;
    color: var(--forest-green);
}

.card-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.read-more {
    text-decoration: none;
    color: var(--gold);
    font-weight: 700;
}

/* Lead Magnet */
.lead-magnet {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--forest-green), #2a5a4e);
    text-align: center;
    color: var(--white);
}

.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.magnet-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.capture-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0 15px;
}

.capture-form input {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    width: 300px;
    font-size: 1rem;
}

.small {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Footer */
.main-footer {
    background-color: #111;
    color: rgba(255, 255, 255, 0.6);
    padding: 50px 0;
    text-align: center;
}

.footer-nav {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--gold);
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    font-size: 0.85rem;
    color: var(--light-text);
    line-height: 1.5;
    background-color: var(--mint-cloud);
    padding: 30px;
    border-radius: 15px;
    margin-top: 60px;
    border: 1px solid #e0e0e0;
}

.affiliate-disclosure p {
    margin-bottom: 10px;
}

.affiliate-disclosure p:last-child {
    margin-bottom: 0;
}

/* Responsive Optimization */

/* Tablets and small desktops */
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .post-title,
    .page-title,
    .archive-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 30px;
    }

    .main-nav.active ul {
        right: 0;
    }

    .hero,
    .hero-section {
        padding: 50px 15px 60px 15px;
        min-height: 500px;
        /* Ensure there is enough vertical space for the image */
        text-align: center;
        background-position: center !important;
        background-size: cover !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
    }

    .hero-content {
        margin: auto;
        background: rgba(255, 255, 255, 0.85);
        /* Light glass box for better contrast instead of dark */
        padding: 30px 20px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .hero h1 {
        font-size: 2.2rem;
        color: var(--forest-green);
        /* Dark text on light glass box */
        margin-bottom: 15px;
    }

    .hero p {
        color: var(--text-color);
        font-weight: 500;
    }

    .hero-btns {
        justify-content: center;
    }

    .header-cta {
        display: none;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .capture-form {
        flex-direction: column;
        gap: 15px;
    }

    .capture-form input {
        width: 100%;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
    }

    .logo .site-name {
        font-size: 1.1rem;
    }
}