/**
 * MSW Core CMS
 *
 * @package    MSW_Core_CMS
 * @author     Andreas Schlaupitz
 * @version    1.0
 * @date       19.07.2026
 * @note       Strict standalone system. BSI IT-Grundschutz compliant.
 */

/* Local Font Imports */
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); }

/* General */
:root { --color-primary: #ff7f5d; --color-secondary: #473d52; --color-default: #212529; --color-background: #fff; }
body { font-family: "Open Sans", sans-serif; color: var(--color-default); background-color: var(--color-background); }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: #ff9f83; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: "Raleway", sans-serif; }

/* Header & Navigation */
.header { transition: all 0.5s; z-index: 997; padding: 20px 0; }
.header .logo h1 { font-size: 28px; margin: 0; font-weight: 600; letter-spacing: 1px; color: var(--color-secondary); }
.navbar { padding: 0; }
.navbar ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
.navbar li { position: relative; }
.navbar a, .navbar a:focus { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 10px 30px; font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 500; color: var(--color-secondary); white-space: nowrap; transition: 0.3s; }
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a { color: var(--color-primary); }

/* Hero Section */
#hero { width: 100%; height: 100vh; background: url("../img/hero-bg.jpg") top center; background-size: cover; position: relative; }
#hero:before { content: ""; background: rgba(21, 5, 23, 0.8); position: absolute; bottom: 0; top: 0; left: 0; right: 0; }

/* Sections General */
section { padding: 60px 0; overflow: hidden; }
.section-title { text-align: center; padding-bottom: 30px; }
.section-title h2 { font-size: 32px; font-weight: bold; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 20px; position: relative; color: var(--color-secondary); }
.section-title h2::after { content: ''; position: absolute; display: block; width: 50px; height: 3px; background: var(--color-primary); bottom: 0; left: calc(50% - 25px); }

/* Footer */
#footer { background: #fefefe; padding: 0 0 30px 0; color: #444444; font-size: 14px; }
#footer .footer-top { padding: 60px 0 30px 0; background: #f9f9f9; }
#footer .copyright { text-align: center; float: left; }
#footer .credits { float: right; text-align: center; font-size: 13px; }

/* Admin Styles */
.admin-nav { background: var(--color-secondary); }
.button, .btn { background: var(--color-primary); border: 0; padding: 10px 24px; color: #fff; transition: 0.4s; border-radius: 4px; }
.button:hover, .btn:hover { background: #ff9f83; }
.card { background: #fff; padding: 1.5rem; border: 1px solid #eee; border-radius: 5px; margin-bottom: 2rem; box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06); }
body.admin-body { background: #f4f6f9; }
.admin-body .container { background: #fff; padding-top: 2rem; padding-bottom: 2rem; border-radius: 5px; box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06); }
.status-pill { padding: 3px 8px; border-radius: 10px; font-size: 0.8em; font-weight: bold; text-transform: uppercase; }
.status-published { background-color: #d4edda; color: #155724; }
.status-draft { background-color: #fff3cd; color: #856404; }
