/* ==========================================================================
   Tenant template: shuffle
   --------------------------------------------------------------------------
   Layout-specific accents for the "shuffle" view tree (its own Bootstrap 4/5
   stack under web/shuffle/). web/css/oc-base.css carries the shared,
   palette-driven polish; this file only adds what is particular to this layout.

   The header sits transparent over the hero image and the theme's own script
   adds .header-sticky on scroll - both states come from the palette.
   ========================================================================== */

/* Transparent over the hero, solid once the page is scrolled. */
body[data-oc-layout="shuffle"] #header.hero-header-overlay {
    background: transparent;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

body[data-oc-layout="shuffle"] #header.hero-header-overlay .nav-menu a,
body[data-oc-layout="shuffle"] #header.hero-header-overlay a.text-white,
body[data-oc-layout="shuffle"] #header.hero-header-overlay .text-white {
    color: #FFFFFF !important;
}

body[data-oc-layout="shuffle"] #header.header-sticky {
    background: var(--oc-menu-bg, #FFFFFF);
    box-shadow: 0 2px 14px rgba(9, 13, 20, 0.12);
}

body[data-oc-layout="shuffle"] #header.header-sticky a,
body[data-oc-layout="shuffle"] #header.header-sticky .nav-menu a,
body[data-oc-layout="shuffle"] #header.header-sticky .text-white {
    color: var(--oc-menu-fg, #2C303B) !important;
}

body[data-oc-layout="shuffle"] .hero-header-nav .nav-menu ul li a {
    font-family: var(--oc-font-body, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
}

body[data-oc-layout="shuffle"] .hero-header-nav .nav-menu ul li a:hover {
    color: var(--oc-primary, #E53935) !important;
}

/* Hero slider: one predictable height and a palette-tinted scrim so any image
   keeps the headline readable. */
body[data-oc-layout="shuffle"] .home-slider,
body[data-oc-layout="shuffle"] #hero-slider,
body[data-oc-layout="shuffle"] .shuffle-home .hero-section {
    position: relative;
}

body[data-oc-layout="shuffle"] .home-slider::after,
body[data-oc-layout="shuffle"] #hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 20, 0.55) 0%, rgba(9, 13, 20, 0.28) 45%, rgba(9, 13, 20, 0.65) 100%);
    pointer-events: none;
}

body[data-oc-layout="shuffle"] .home-slider h1,
body[data-oc-layout="shuffle"] .home-slider h2,
body[data-oc-layout="shuffle"] #hero-slider h1,
body[data-oc-layout="shuffle"] #hero-slider h2,
body[data-oc-layout="shuffle"] #hero-slider p {
    color: #FFFFFF;
}

/* Section headings: the vendor CSS mixes Montserrat/Open Sans weights. Pin them
   to the palette so a template change actually changes the type. */
body[data-oc-layout="shuffle"] section h2,
body[data-oc-layout="shuffle"] .section-header h2 {
    font-family: var(--oc-font-display, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
    font-weight: var(--oc-heading-weight, 700);
    color: var(--oc-heading, #111827);
}

body[data-oc-layout="shuffle"] .section-header p {
    color: var(--oc-muted, #6B7280);
}

/* Cards and the gallery scroller. */
body[data-oc-layout="shuffle"] .icon-box,
body[data-oc-layout="shuffle"] .team-member,
body[data-oc-layout="shuffle"] .portfolio-item,
body[data-oc-layout="shuffle"] .facility-item {
    background: var(--oc-surface, #FFFFFF);
    border: 1px solid var(--oc-border, rgba(17, 24, 39, .10));
    border-radius: var(--oc-radius, 4px);
}

body[data-oc-layout="shuffle"] .icon-box .icon,
body[data-oc-layout="shuffle"] .icon-box i {
    color: var(--oc-primary, #E53935);
}

/* Footer chrome. */
body[data-oc-layout="shuffle"] #footer {
    background: var(--oc-menu-bg, #FFFFFF);
    color: var(--oc-menu-fg, #2C303B);
    border-top: 1px solid var(--oc-border, rgba(17, 24, 39, .10));
}

body[data-oc-layout="shuffle"] #footer a {
    color: var(--oc-menu-fg, #2C303B);
}

body[data-oc-layout="shuffle"] #footer a:hover {
    color: var(--oc-primary, #E53935);
}

body[data-oc-layout="shuffle"] .back-to-top {
    background: var(--oc-primary, #E53935);
    color: var(--oc-on-primary, #FFFFFF);
    border-radius: var(--oc-radius, 4px);
}

@media (max-width: 767px) {
    body[data-oc-layout="shuffle"] .hero-header-nav .nav-menu ul li a {
        color: var(--oc-menu-fg, #2C303B) !important;
    }
}
