/*
Theme Name: Gintoxic Theme
Author: Dein Name
Description: Hybrid-Layout: Header breit (Logo/Nav getrennt), Content zentriert.
Version: 2.1
*/

/* 1. SCHRIFTARTEN */
@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/myriad-pro-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 2. CI-VARIABLEN */
:root {
    --primary-color: #000000;
    --secondary-color: #888888;
    --accent-color: #e4317c;
    --text-main: #BBBBBB;
	--text-accent: #e4317c;
    --main-font: 'Myriad Pro', sans-serif;
}

/* 3. GLOBALER RESET */
* { box-sizing: border-box; }

body {
    background-color: var(--primary-color);
    color: var(--text-main);
    font-family: var(--main-font);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* Zentriert alles, was DIREKT im Body liegt (Header, Main, Footer) */
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* 4. HEADER (Volle Breite, Logo links, Navi rechts) */
header {
    width: 100%;
    padding: 20px 5%;
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #111;
    display: flex;
    justify-content: center; /* Zentriert den inneren Container */
}

.header-container {
    width: 100%;
    max-width: 1400px; /* Maximale Breite für den Header-Inhalt */
    display: flex;
    justify-content: space-between; /* Logo LINKS, Navi RECHTS */
    align-items: center;
}

.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--accent-color); }

/* 5. MAIN CONTENT (Radikal zentriert & lesefreundlich schmal) */
main {
    width: 100%;
    max-width: 800px; /* Begrenzt die Textbreite für die Zentrierung */
    padding: 60px 20px;
    text-align: center; /* Zentriert den Textfluss */
}

/* Erzwingt Zentrierung für alle Elemente im Content */
main h1, main h3, main p, main ul, main ol {
	color: var(--text-main);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

main h2 a {
    color: var(--text-accent) !important;
    text-decoration: none;
}

p {
	color: var(--text-main);
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h1.wp-block-heading {
	color: var(--text-main);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h2.wp-block-heading {
	color: var(--text-accent);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* 6. FOOTER (Zentriert) */
footer {
    width: 100%;
    padding: 40px 20px;
    border-top: 1px solid #111;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icons a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-icons a:hover { color: var(--accent-color); transform: scale(1.1); }

/* 7. BACK TO TOP BUTTON */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(228, 49, 124, 0.4);
}
