/**
 * Brookfield Group — Swiss Premium Experience & Hero Slider Stylesheet
 * High-End Institutional Polish, Micro-Animations, Multi-Slide Hero & Subpage Breadcrumb Heroes
 * Author: Antigravity DeepMind Team
 * Targets: BBS, BSC, BSHS
 */

/* ==========================================================================
   01. Base Swiss Design Tokens & Keyframe Animations
   ========================================================================== */
:root {
    --sw-navy-deep: #031124;
    --sw-navy: #061D3B;
    --sw-navy-light: #0C2B54;
    --sw-gold: #C89D45;
    --sw-gold-bright: #DFB256;
    --sw-gold-glow: rgba(200, 157, 69, 0.35);
    --sw-gold-subtle: rgba(200, 157, 69, 0.12);
    --sw-cream: #FAF9F6;
    --sw-ink: #172538;
    --sw-muted: #64748B;
    --sw-border: rgba(223, 229, 233, 0.7);
    --sw-border-glass: rgba(255, 255, 255, 0.15);
    --sw-shadow-luxury: 0 24px 48px -12px rgba(6, 29, 59, 0.22);
    --sw-transition-luxury: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tenant Accents */
.bbs-body { --sw-accent: #A51C30; --sw-accent-hover: #8C1525; }
.bsc-body { --sw-accent: #254B7C; --sw-accent-hover: #1A375E; }
.bshs-body { --sw-accent: #187D83; --sw-accent-hover: #126368; }

/* Ken Burns Slow Zoom */
@keyframes kenBurnsZoom {
    0% {
        transform: scale(1.0) translate3d(0, 0, 0);
    }
    100% {
        transform: scale(1.08) translate3d(0, 0, 0);
    }
}

/* Slide Fade In */
@keyframes slideFadeUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideFadeDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Continuous Levitating Float */
@keyframes floatLevitate {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -9px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Button Shimmer Sweep */
@keyframes shimmerSweep {
    0% {
        transform: translateX(-120%) skewX(-20deg);
    }
    100% {
        transform: translateX(250%) skewX(-20deg);
    }
}

/* Subtle Golden Pulse */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 157, 69, 0.45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(200, 157, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 157, 69, 0);
    }
}

/* Progress Bar Timer Animation */
@keyframes progressCountdown {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* ==========================================================================
   02. Hero Slider Component (Homepage Header Area)
   ========================================================================== */
.swiss-hero-slider {
    position: relative;
    width: 100%;
    height: clamp(620px, 82vh, 760px);
    background-color: var(--sw-navy-deep);
    overflow: hidden;
    color: #FFFFFF;
}

.swiss-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiss-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.swiss-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Photographic Background Layer */
.swiss-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    will-change: transform;
    transform: scale(1.0);
}

.swiss-slide.active .swiss-slide-bg {
    animation: kenBurnsZoom 10s ease-out infinite alternate;
}

/* Gradient Overlay with Ivory/Navy Depth */
.swiss-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 17, 36, 0.96) 0%,
        rgba(6, 29, 59, 0.88) 45%,
        rgba(6, 29, 59, 0.55) 75%,
        rgba(6, 29, 59, 0.35) 100%
    );
    z-index: 1;
}

/* Slide Content Container */
.swiss-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Staggered Animations on Active Slide */
.swiss-slide.active .swiss-hero-eyebrow {
    animation: slideFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.swiss-slide.active .swiss-hero-title {
    animation: slideFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.swiss-slide.active .swiss-hero-desc {
    animation: slideFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.swiss-slide.active .swiss-hero-cta-wrap {
    animation: slideFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.swiss-slide.active .swiss-floating-card {
    animation: slideFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both, floatLevitate 6s ease-in-out 1.5s infinite;
}

/* Eyebrow Badge */
.swiss-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 157, 69, 0.12);
    border: 1px solid rgba(200, 157, 69, 0.35);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sw-gold);
    margin-bottom: 20px;
}

.swiss-cross-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #DC2626;
    position: relative;
    border-radius: 2px;
}

.swiss-cross-icon::before,
.swiss-cross-icon::after {
    content: '';
    position: absolute;
    background: #FFFFFF;
}

.swiss-cross-icon::before {
    top: 3px;
    bottom: 3px;
    left: 5px;
    width: 4px;
}

.swiss-cross-icon::after {
    left: 3px;
    right: 3px;
    top: 5px;
    height: 4px;
}

/* Majestic Serif Headline */
.swiss-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.6rem, 4.6vw, 4rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.swiss-hero-title span {
    color: var(--sw-gold);
    font-style: italic;
    font-weight: 500;
}

/* Hero Description */
.swiss-hero-desc {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
    color: #E2E8F0;
    max-width: 620px;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Hero Action Buttons */
.swiss-hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* Primary Shimmer Button */
.btn-swiss-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sw-gold);
    color: var(--sw-navy-deep) !important;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 8px 24px rgba(200, 157, 69, 0.3);
    overflow: hidden;
    transition: var(--sw-transition-luxury);
    text-decoration: none;
}

.btn-swiss-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-swiss-primary:hover {
    background: var(--sw-gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(200, 157, 69, 0.45);
}

.btn-swiss-primary:hover::after {
    opacity: 1;
    animation: shimmerSweep 1s ease-in-out infinite;
}

/* Secondary Frosted Glass Button */
.btn-swiss-glass {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 13px 26px;
    border-radius: 4px;
    border: 1px solid var(--sw-border-glass);
    transition: var(--sw-transition-luxury);
    text-decoration: none;
}

.btn-swiss-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: #FFFFFF !important;
}

/* Floating Glassmorphism Showcase Card (Right Column) */
.swiss-floating-card {
    background: rgba(6, 29, 59, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 157, 69, 0.35);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    max-width: 380px;
    margin-left: auto;
}

.swiss-floating-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sw-gold);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.swiss-floating-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.25;
}

.swiss-floating-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 20px;
}

.swiss-floating-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.swiss-float-stat-val {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sw-gold);
    line-height: 1;
}

.swiss-float-stat-lbl {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    margin-top: 4px;
}

/* ==========================================================================
   03. Slider Controls: Indicators, Progress Bars & Circular Glass Arrows
   ========================================================================== */
.swiss-slider-controls {
    position: absolute;
    bottom: 34px;
    left: 0;
    right: 0;
    z-index: 10;
}

.swiss-controls-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Indicators Container */
.swiss-indicators {
    display: flex;
    align-items: center;
    gap: 12px;
}

.swiss-indicator-btn {
    background: transparent;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    outline: none;
}

.swiss-indicator-bar-wrap {
    width: 64px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: width 0.3s ease;
}

.swiss-indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--sw-gold);
    border-radius: 2px;
}

.swiss-indicator-btn.active .swiss-indicator-bar-wrap {
    width: 90px;
    background: rgba(255, 255, 255, 0.35);
}

.swiss-indicator-btn.active .swiss-indicator-progress {
    animation: progressCountdown 6.5s linear forwards;
}

.swiss-indicator-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

.swiss-indicator-btn.active .swiss-indicator-label {
    color: var(--sw-gold);
}

/* Arrow Navigation Buttons */
.swiss-nav-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.swiss-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 29, 59, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--sw-transition-luxury);
    outline: none;
}

.swiss-arrow-btn:hover {
    background: var(--sw-gold);
    color: var(--sw-navy-deep);
    border-color: var(--sw-gold);
    transform: scale(1.08);
}

/* ==========================================================================
   04. Subpage Premium Hero & Glassmorphism Breadcrumbs
   ========================================================================== */
.swiss-subpage-hero {
    position: relative;
    background-color: var(--sw-navy-deep);
    background-size: cover;
    background-position: center 35%;
    padding: 85px 0 75px 0;
    color: #FFFFFF;
    border-bottom: 2px solid var(--sw-gold);
    overflow: hidden;
}

.swiss-subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(3, 17, 36, 0.95) 0%,
        rgba(6, 29, 59, 0.85) 55%,
        rgba(6, 29, 59, 0.65) 100%
    );
    z-index: 1;
}

.swiss-subpage-hero-inner {
    position: relative;
    z-index: 2;
}

.swiss-subpage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 157, 69, 0.12);
    border: 1px solid rgba(200, 157, 69, 0.35);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sw-gold);
    margin-bottom: 16px;
    animation: slideFadeDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.swiss-subpage-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    margin-bottom: 14px;
    animation: slideFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.swiss-subpage-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #CBD5E1;
    max-width: 680px;
    margin-bottom: 0;
    animation: slideFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Glassmorphism Breadcrumb Navigation */
.swiss-breadcrumb-strip {
    position: relative;
    z-index: 2;
    background: rgba(3, 17, 36, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(200, 157, 69, 0.2);
    padding: 14px 0;
    font-size: 0.8125rem;
}

.swiss-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.swiss-breadcrumb-item a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.swiss-breadcrumb-item a:hover {
    color: var(--sw-gold);
}

.swiss-breadcrumb-sep {
    color: var(--sw-gold);
    font-size: 0.75rem;
    opacity: 0.7;
}

.swiss-breadcrumb-item.active {
    color: #FFFFFF;
    font-weight: 600;
}

/* ==========================================================================
   05. Site-Wide Luxury Card & Micro-Animation Flourishes
   ========================================================================== */
/* Subtle elevation on all cards across sites */
.bbs-card, .bsc-card, .bshs-card, .dir-prog-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.bbs-card:hover, .bsc-card:hover, .bshs-card:hover, .dir-prog-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 42px -8px rgba(6, 29, 59, 0.16) !important;
}

/* Gold border micro-accent on focus */
.bbs-prog-card, .bsc-prog-card, .dir-prog-card {
    border: 1px solid rgba(223, 229, 233, 0.8);
}

.bbs-prog-card:hover, .bsc-prog-card:hover, .dir-prog-card:hover {
    border-color: var(--sw-gold) !important;
}

/* Shimmer utility */
.shimmer-sweep {
    position: relative;
    overflow: hidden;
}

.shimmer-sweep::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
}

.shimmer-sweep:hover::after {
    animation: shimmerSweep 0.8s ease-in-out;
}

/* ==========================================================================
   06. Responsive Media Queries
   ========================================================================== */
@media (max-width: 991px) {
    .swiss-hero-slider {
        height: auto;
        min-height: 580px;
    }
    
    .swiss-slide-content {
        padding: 80px 0 100px 0;
    }
    
    .swiss-hero-title {
        font-size: 2.3rem;
    }
    
    .swiss-slider-controls {
        bottom: 20px;
    }
    
    .swiss-indicator-bar-wrap {
        width: 44px;
    }
    
    .swiss-indicator-btn.active .swiss-indicator-bar-wrap {
        width: 60px;
    }
}

@media (max-width: 575px) {
    .swiss-hero-title {
        font-size: 1.95rem;
    }
    
    .swiss-hero-desc {
        font-size: 0.9375rem;
    }
    
    .swiss-hero-cta-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-swiss-primary,
    .btn-swiss-glass {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .swiss-indicators {
        gap: 8px;
    }
    
    .swiss-indicator-bar-wrap {
        width: 32px;
    }
    
    .swiss-indicator-btn.active .swiss-indicator-bar-wrap {
        width: 48px;
    }
}
