/* Omega GSAP Widgets Shared Styles */

/* =========================================
   1. Hero Reveal Widget
   ========================================= */
.omega-hero-reveal .pinned-container {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Background handled inline */
}

.omega-hero-reveal .animate-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 7vw;
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
    width: 90%;
    /* Colors handled inline/selectors */
    opacity: 0;
}

.omega-hero-reveal .char {
    display: inline-block;
    will-change: transform, opacity, filter, color;
}

/* =========================================
   2. Stats Grow Widget
   ========================================= */
.omega-stats-grow .stats-wrapper {
    width: 100%;
    height: 100vh;
    /* Bg handled by control */
}

.omega-stats-grow .stats-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    overflow: hidden;
}

.omega-stats-grow .stat-col {
    flex: 1;
    height: 15%;
    /* Start short */
    min-height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-sizing: border-box;
    /* INITIAL STATE: Slanted Top */
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    will-change: height, clip-path;
}

.omega-stats-grow .col-content {
    opacity: 0;
    transform: translateY(30px);
    margin-bottom: 20px;
}

.omega-stats-grow .number {
    font-family: sans-serif;
    font-size: 4vw;
    font-weight: bold;
    color: white;
    margin-bottom: 0px;
    line-height: 1;
}

.omega-stats-grow .desc {
    font-family: sans-serif;
    font-size: 1rem;
    color: white;
    margin-bottom: 20px;
    margin-top: 10px;
}

.omega-stats-grow .col-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* =========================================
   3. Card Deck Widget
   ========================================= */
.omega-card-deck .deck-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    /* Default */
    perspective: 1200px;
    /* Defaults for user variables */
    --pf-card-bottom: 5vh;
    --pf-card-h: 70vh;
    --pf-safe-bottom: 20px;
    --accent: #222;
}

.omega-card-deck .deck-container {
    position: relative;
    width: min(1080px, 86vw);
    height: 100%;
}

.omega-card-deck .card {
    --radius: 18px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--pf-card-bottom);
    width: 100%;
    height: min(var(--pf-card-h), calc(100svh - var(--pf-card-bottom) - var(--pf-safe-bottom)));
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: clamp(10px, 1.2vw, 14px);
    padding: clamp(20px, 3.5vw, 40px);
    background: var(--accent, #222);
    /* Overridden inline */
    color: #fff;
    border-radius: var(--radius);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    pointer-events: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: center bottom;
}

.omega-card-deck .card-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: block;
}

.omega-card-deck .card-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.omega-card-deck .card-icon i {
    font-size: 40px;
    color: white;
}

.omega-card-deck .card-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 72px;
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    color: white;
    letter-spacing: -2px;
}

.omega-card-deck .card-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    color: white;
    max-width: 800px;
    margin-bottom: 30px;
}

.omega-card-deck .btn-group {
    margin: 0 0 40px 0;
    display: flex;
    gap: 15px;
}

.omega-card-deck .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.omega-card-deck .btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.omega-card-deck .btn.primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.omega-card-deck .btn.secondary {
    background: transparent;
    color: white;
}

.omega-card-deck .btn i,
.omega-card-deck .btn svg {
    font-size: 18px;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.omega-card-deck .slider {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    margin-top: 20px;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.omega-card-deck .slider::-webkit-scrollbar {
    display: none;
}

.omega-card-deck .slider img {
    width: 200px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    /* Dimensions controlled by responsive control, defaults here */
}

@media (max-width: 768px) {
    .omega-card-deck .card-content h2 {
        font-size: 42px;
    }

    .omega-card-deck .card-content p {
        font-size: 1rem;
    }

    .omega-card-deck .deck-container {
        padding: 0 20px;
    }
}

/* =========================================
   4. Parallax Gallery Widget
   ========================================= */
.omega-parallax-gallery .parallax-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.omega-parallax-gallery .gallery-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 5vw;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
}

.omega-parallax-gallery .gallery-col {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.omega-parallax-gallery .gallery-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.omega-parallax-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .omega-parallax-gallery .parallax-gallery-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .omega-parallax-gallery .gallery-container {
        flex-direction: column;
        padding: 0;
        gap: 20px;
        width: 100%;
        height: auto;
        justify-content: center;
        overflow: hidden;
        /* Needed on mobile to mask scroller */
    }

    .omega-parallax-gallery .gallery-col {
        width: 100% !important;
        flex: 0 0 auto;
        flex-direction: row;
        gap: 20px;
        transform: none;
        overflow: visible;
    }

    .omega-parallax-gallery .gallery-item {
        width: 100%;
        flex-shrink: 0;
    }
}

/* =========================================
   5. Who Reveal Widget
   ========================================= */
.omega-who-reveal .who-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.omega-who-reveal .lifting-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

.omega-who-reveal .bg-text {
    position: absolute;
    font-family: 'Arial Black', sans-serif;
    font-size: 28vw;
    margin: 0;
    z-index: 1;
    line-height: 0.8;
    pointer-events: none;
    /* Color handled by control */
}

.omega-who-reveal .image-container {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.omega-who-reveal .portrait-img {
    height: 85vh;
    width: auto;
    object-fit: contain;
}

/* =========================================
   6. Horizontal Scroll Widget
   ========================================= */
.omega-horizontal-scroll .task6-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: inset(40vh 0 40vh 0);
    /* Initial Curtain */
}

.omega-horizontal-scroll .intro-overlay {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    text-align: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    /* Fallback */
}

.omega-horizontal-scroll .stretch-title {
    font-family: sans-serif;
    font-size: 8vw;
    font-weight: 900;
    color: white;
    margin: 0;
    transform: scaleY(3);
    /* Start stretched */
    opacity: 0;
    transform-origin: center;
    will-change: transform, opacity;
}

.omega-horizontal-scroll .horizontal-track {
    display: flex;
    height: 100%;
    /* width handled inline */
    will-change: transform;
    position: absolute;
    top: 0;
    left: 0;
}

.omega-horizontal-scroll .horiz-section {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.omega-horizontal-scroll .phase-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
}

.omega-horizontal-scroll .phase-content h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.omega-horizontal-scroll .phase-content p {
    font-size: 1.25rem;
    opacity: 0.8;
}

.omega-horizontal-scroll .float-img {
    position: absolute;
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
    will-change: transform;
}

.omega-horizontal-scroll .img-top {
    top: 15%;
    right: 15%;
}

.omega-horizontal-scroll .img-bottom {
    bottom: 15%;
    left: 15%;
}


/* =========================================
   7. Header Blur Widget
   ========================================= */
.omega-header-blur .hatamex-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.omega-header-blur .header-inner {
    pointer-events: auto;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    box-sizing: border-box;
    color: white;
    transform-origin: top center;
    will-change: width, margin-top, border-radius;
}

.omega-header-blur .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.omega-header-blur .logo-icon svg {
    width: 32px;
    height: auto;
    fill: currentColor;
}

.omega-header-blur .logo-icon i {
    font-size: 32px;
    color: white;
}

.omega-header-blur .logo-text {
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.omega-header-blur .logo-area img {
    max-width: 100%;
    height: auto;
}

.omega-header-blur .nav-area {
    display: flex;
    align-items: center;
}

.omega-header-blur .nav-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.omega-header-blur .nav-area ul li {
    position: relative;
}

.omega-header-blur .nav-area ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.2s;
    display: block;
    line-height: 1;
}

.omega-header-blur .nav-area ul li a:hover {
    opacity: 1;
}

.omega-header-blur .nav-area ul li.menu-item-has-children>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.omega-header-blur .nav-area ul li.menu-item-has-children>a::after {
    content: '+';
    font-size: 1.1em;
    line-height: 1;
    font-weight: 400;
}

.omega-header-blur .nav-area ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    min-width: 150px;
    flex-direction: column;
    gap: 10px;
    border-radius: 4px;
}

.omega-header-blur .nav-area ul li:hover>.sub-menu {
    display: flex;
}

.omega-header-blur .action-area {
    display: flex;
    align-items: center;
    gap: 25px;
}

.omega-header-blur .phone-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.omega-header-blur .phone-link:hover {
    color: #ccc;
}

.omega-header-blur .cta-btn {
    background-color: #0033FF;
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border-radius: 4px;
    white-space: nowrap;
}

.omega-header-blur .cta-btn:hover {
    background-color: #0022cc;
}

.omega-header-blur .dot-icon {
    font-size: 1.2rem;
    line-height: 0;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .omega-header-blur .nav-area {
        display: none;
    }

    .omega-header-blur .header-inner {
        padding: 15px 20px;
    }

    .omega-header-blur .phone-link {
        display: none;
    }
}

/* =========================================
   8. Marquee Widget
   ========================================= */
.omega-marquee .marquee-wrapper {
    width: 100%;
    background-color: transparent;
    padding: 60px 0;
    overflow: hidden;
    position: relative;
}

.omega-marquee .marquee-mask {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.omega-marquee .logo-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.omega-marquee .logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.omega-marquee .logo-box img {
    object-fit: contain;
    transition: all 0.3s;
}