/* ══════════════════════════════════════════════════════════════
   HYBRID SIDE-PYRAMID DESIGN SYSTEM
   Pyramid Left (45%) | High-Impact Text Right (55%)
   Iconic Pyramid Shape + Premium Split Showcase
   ══════════════════════════════════════════════════════════════ */

:root {
    --p-gold: #d4af37;
    --p-navy: #0a1118;
    --p-glass: rgba(255, 255, 255, 0.03);
    --p-border: rgba(212, 175, 55, 0.2);
    --p-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── HERO CONTAINER ── */
.hero-ultimate {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #02050a;
    overflow: hidden;
    display: flex;
}

.hero-content-split {
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* ── ATMOSPHERIC ELEMENTS ── */
.ultimate-bg {
    position: absolute;
    inset: 0;
    background: url('../img/industrial-bg-real.png') no-repeat center center;
    background-size: cover;
    opacity: 0.25;
    z-index: 1;
    filter: brightness(0.6) contrast(1.1);
}

.ultimate-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,5,10,0.8) 0%, rgba(2,5,10,0) 50%, rgba(2,5,10,0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ── LEFT COLUMN: THE PERFECT SYMMETRICAL PYRAMID (SIDE-ALIGNED) ── */
.hero-left-pyramid {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center the pyramid within its column */
    padding-left: 5vw;
}

.ultimate-pyramid-wrap {
    width: 100%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    perspective: 1500px;
}

.up-level {
    position: relative;
    display: block;
    text-decoration: none;
    transition: var(--p-transition);
    overflow: hidden;
    /* Shadows and borders removed for a cleaner look */
}

/* Symmetrical Pyramid Slicing */
.level-top { width: 40%; height: 200px; z-index: 5; clip-path: polygon(50% 0%, 100% 100%, 0% 100%); }
.level-mid { width: 80%; height: 160px; z-index: 4; clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%); }
.level-bot { width: 100%; height: 160px; z-index: 3; clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%); }

/* Image Visibility: Ensuring people are seen */
.level-image-wrap {
    position: absolute;
    inset: 0;
    background: #000;
}

.level-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* Keep faces visible at the top */
    transition: transform 1s ease;
    filter: brightness(1) contrast(1.05); /* Increased clarity */
}

/* ── CONTENT OVERLAY ── */
.up-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.up-badge span {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.up-dot {
    width: 30px;
    height: 2px;
    background: var(--p-gold);
    margin: 5px auto 0;
}

/* Hover Effects */
.up-level:hover {
    transform: scale(1.05) translateZ(50px);
    z-index: 20;
    border-color: var(--p-gold);
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.2);
}

.up-level:hover .level-image-wrap img {
    filter: brightness(1) grayscale(0);
    transform: scale(1.1);
}

.up-level:hover .up-badge span {
    color: var(--p-gold);
}

/* ── RIGHT COLUMN: HIGH-IMPACT MESSAGE ── */
.hero-right-text {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8vw 0 60px;
}

.p-pre-title {
    color: var(--p-gold);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.p-title {
    color: #fff;
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
}

.p-title span {
    display: block;
    color: var(--p-gold);
}

.p-desc {
    color: rgba(255,255,255,0.6);
    font-size: clamp(1.1rem, 1.25vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Service Features Grid */
.p-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.p-feat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    transition: var(--p-transition);
}

.p-feat-card i {
    color: var(--p-gold);
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: block;
}

.p-feat-card h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0;
}

.p-feat-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--p-gold);
}

.p-actions {
    display: flex;
    gap: 20px;
}

.p-btn {
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--p-transition);
}

.btn-gold {
    background: var(--p-gold);
    color: #000;
}

.btn-gold:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(197,160,89,0.3);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--p-gold);
}

/* ── MOBILE DESIGN ── */
@media (max-width: 991px) {
    .hero-ultimate { height: auto; padding: 120px 0 80px; }
    .hero-content-split { flex-direction: column; }
    
    .hero-left-pyramid {
        width: 100%;
        padding: 0 20px;
        align-items: center;
        margin-top: 50px;
        order: 2;
    }

    .hero-right-text {
        width: 100%;
        padding: 0 20px;
        text-align: center;
        align-items: center;
        order: 1;
    }

    .p-features { grid-template-columns: 1fr; width: 100%; }
    .p-title { font-size: 2.5rem; }
    
    .level-top { width: 100%; height: 380px; }
    .level-mid { width: 100%; height: 260px; }
    .level-bot { width: 100%; height: 260px; }

    .level-image-wrap img {
        object-position: center top !important;
    }
}

/* ── DECORATIVE ── */
.p-dot-grid {
    position: absolute;
    right: 3%;
    top: 10%;
    width: 150px;
    height: 300px;
    background-image: radial-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: 2;
}
