/**
 * Custom Header Desktop CSS - Stefan Schulz Blog
 * Nur für Screens > 768px
 */

/* CSS Variables - Design System */
:root {
    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 48px;
    --grid-gap: 32px;
    --grid-gap-large: 60px;

    /* Text Colors */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #555;
    --color-text-tertiary: #767676;
    --color-text-muted: #666;
    --color-text-light: #333;

    /* Brand Colors */
    --color-accent: #ff6600;
    --color-accent-hover: #e55a00;
    --color-accent-gold: #ff6600;
    --color-accent-gold-hover: #e55a00;

    /* Backgrounds */
    --color-bg-page: #f8f7f5;
    --color-bg-card: #ffffff;
    --color-bg-header: #ffffff;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;

    /* Typography */
    --font-size-base: 1rem;
    --font-size-md: 1.0625rem;
    --font-size-lg: 1.25rem;
    --font-family-serif: 'Iowan Old Style', 'Apple Garamond', Baskerville, 'Times New Roman', 'Droid Serif', Times, 'Source Serif Pro', serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';

    /* Container */
    --container-max-width: 1400px;
    --container-inner-max-width: 1300px;
    --container-padding: 32px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-full: 50%;
}

/* Hide mobile-only elements on desktop */
.hamburger-menu,
.mobile-menu-content {
    display: none !important;
}

/* Header Container */
header,
header.ss-custom-header {
    position: relative;
    max-width: var(--container-inner-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--container-padding) var(--space-xl) var(--container-padding);
    box-sizing: border-box;
}

.header-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
}

.header-title-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
}

.header-profile-image {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.header-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.header-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin: 0 0 2px 0;
    line-height: 1;
}

.header-title h1 a {
    color: inherit;
    text-decoration: none;
}

.header-tagline {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Social Links */
.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.social-links li {
    margin: 0;
}

.social-links a {
    display: block;
    width: 22px;
    height: 22px;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links svg {
    width: 100%;
    height: 100%;
    fill: #A4A4A4;
}

/* Header Right Container - stacks contact and social vertically */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
}

/* Header Contact */
.header-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.header-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.header-contact a:hover {
    color: var(--color-accent-gold);
}

.header-contact span {
    color: var(--color-text-muted);
}

/* Header Social Links */
.header-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-social li {
    margin: 0;
    padding: 0;
}

.header-social a {
    display: block;
    width: 20px;
    height: 20px;
}

.header-social svg {
    width: 100%;
    height: 100%;
    fill: var(--color-text-muted);
    transition: fill 0.2s;
}

.header-social a:hover svg {
    fill: var(--color-accent-gold);
}

/* Header Line Container */
.header-line-container {
    position: sticky;
    top: 0;
    background: var(--color-bg-page);
    z-index: 100;
    max-width: var(--container-inner-max-width);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.header-line {
    position: absolute;
    top: 50%;
    left: var(--container-padding);
    right: var(--container-padding);
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

/* Header Navigation */
.header-nav {
    position: relative;
    z-index: 1;
    background: var(--color-bg-page);
    padding: 0 var(--space-md);
    display: flex;
    gap: var(--space-xl);
}

.header-nav a {
    font-size: 0.875rem;
    color: var(--color-text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    transition: color 0.2s;
}

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

.header-nav a.active {
    color: var(--color-accent-gold);
}

/* Hide WordPress Theme Header - Force hide */
.wp-block-template-part[class*="header"],
.site-header,
header.wp-block-group {
    display: none !important;
}

/* Show only our custom header */
header.ss-custom-header {
    display: block !important;
}
