/* ============================================================
   HORIZON MAGAZINE THEME - Split Screen Magazine Layout
   Bold, editorial design with diagonal split hero
   ============================================================ */

[data-theme="horizon"] body {
    background: var(--color-background);
    font-family: "Work Sans", "Inter", "Segoe UI", system-ui, sans-serif;
}

/* Enhanced header with bold colors */
[data-theme="horizon"] .site-header {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    border-bottom: 4px solid var(--color-primary);
    box-shadow: 0 10px 40px rgba(26, 35, 50, 0.2);
}

[data-theme="horizon"] .site-header__bar {
    background: rgba(0, 217, 255, 0.1);
    border-bottom: 2px solid rgba(0, 217, 255, 0.3);
}

[data-theme="horizon"] .site-header__bar-content {
    color: var(--color-text-inverse);
}

[data-theme="horizon"] .site-header__bar-content a {
    color: var(--color-primary);
    font-weight: 700;
}

[data-theme="horizon"] .site-header__bar-content a:hover {
    color: var(--color-accent);
}

/* Bold navigation */
[data-theme="horizon"] .site-nav__list a {
    color: var(--color-text-inverse);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
}

[data-theme="horizon"] .site-nav__list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transition: left 0.4s ease;
    z-index: -1;
}

[data-theme="horizon"] .site-nav__list a:hover,
[data-theme="horizon"] .site-nav__list a:focus {
    color: #1a2332;
    background: transparent;
}

[data-theme="horizon"] .site-nav__list a:hover::before,
[data-theme="horizon"] .site-nav__list a:focus::before {
    left: 0;
}

/* Magazine-style content sections */
[data-theme="horizon"] .section {
    padding: 4rem 0;
    position: relative;
}

[data-theme="horizon"] .section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

[data-theme="horizon"] .section-title::before {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    margin-bottom: 1.5rem;
}

/* Welcome section with split layout */
[data-theme="horizon"] #section-welcome {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 50%, #1a2332 100%);
    color: var(--color-text-inverse);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

[data-theme="horizon"] #section-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.95) 0%, rgba(255, 176, 32, 0.85) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

[data-theme="horizon"] #section-welcome .row {
    position: relative;
    z-index: 1;
}

[data-theme="horizon"] #section-welcome h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* Card styles with magazine aesthetic */
[data-theme="horizon"] .job-card,
[data-theme="horizon"] .media-card {
    background: var(--color-surface);
    border: none;
    border-left: 6px solid transparent;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

[data-theme="horizon"] .job-card::after,
[data-theme="horizon"] .media-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

[data-theme="horizon"] .job-card:hover,
[data-theme="horizon"] .media-card:hover {
    transform: translateX(8px);
    box-shadow: 0 25px 70px rgba(26, 35, 50, 0.25);
}

[data-theme="horizon"] .job-card:hover::after,
[data-theme="horizon"] .media-card:hover::after {
    transform: scaleY(1);
}

/* Bold buttons */
[data-theme="horizon"] .button {
    background: var(--color-primary);
    color: #1a2332;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 3px solid var(--color-primary);
    padding: 0.85rem 2rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

[data-theme="horizon"] .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: 0;
}

[data-theme="horizon"] .button:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

[data-theme="horizon"] .button:hover::before {
    left: 100%;
}

[data-theme="horizon"] .button--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #1a2332;
    border-color: transparent;
}

/* CTA band with dramatic styling */
[data-theme="horizon"] .cta-band {
    background: linear-gradient(135deg, #1a2332 0%, #2d3748 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

[data-theme="horizon"] .cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
    border-radius: 50%;
}

[data-theme="horizon"] .cta-band__inner {
    position: relative;
    z-index: 1;
}

[data-theme="horizon"] .cta-band__value a {
    color: var(--color-primary);
    font-weight: 800;
}

[data-theme="horizon"] .cta-band__value a:hover {
    color: var(--color-accent);
}

/* Footer with strong contrast */
[data-theme="horizon"] .site-footer {
    background: #1a2332;
    border-top: 4px solid var(--color-primary);
}

/* Services grid with magazine cards */
[data-theme="horizon"] #section-services .medium-block-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

[data-theme="horizon"] #section-services li > div {
    background: var(--color-surface);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-left: 6px solid var(--color-primary);
}

[data-theme="horizon"] #section-services li > div:hover {
    transform: translateX(8px);
    box-shadow: 0 25px 70px rgba(26, 35, 50, 0.25);
    border-left-color: var(--color-accent);
}

[data-theme="horizon"] .icon-section img {
    filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.3));
}

[data-theme="horizon"] .services-head {
    color: var(--color-text);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[data-theme="horizon"] .readmore {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

[data-theme="horizon"] .readmore::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.3s ease;
}

[data-theme="horizon"] .readmore:hover {
    color: var(--color-accent);
}

[data-theme="horizon"] .readmore:hover::after {
    transform: translateX(5px);
}

/* Forms with clean styling */
[data-theme="horizon"] .form__group input,
[data-theme="horizon"] .form__group textarea,
[data-theme="horizon"] .form__group select {
    border: 2px solid var(--color-surface-muted);
    border-radius: 0;
    background: var(--color-surface);
    transition: all 0.3s ease;
}

[data-theme="horizon"] .form__group input:focus,
[data-theme="horizon"] .form__group textarea:focus,
[data-theme="horizon"] .form__group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    [data-theme="horizon"] #section-welcome::before {
        width: 100%;
        height: 40%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
    }

    [data-theme="horizon"] .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    [data-theme="horizon"] #section-welcome h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}

@media (max-width: 768px) {
    [data-theme="horizon"] .site-nav__list a {
        color: var(--color-text);
        background: var(--color-surface);
    }

    [data-theme="horizon"] .site-nav__list a:hover {
        color: var(--color-text-inverse);
    }
}
