/* ===========================================
   IMAJI MOTION — HERO (Pixel-Perfect to Screenshot)
   =========================================== */
:root {
    --primary-red: #ff0b0b; /* Exact vibrant red from screenshot */
    --bg-dark: #050505;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    font-family:'Outfit',sans-serif;
    background:var(--bg-dark);
    color:#ffffff;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{display:block;max-width:100%}

/* ---- NAVBAR ---- */
.navbar{
    position:absolute;
    top:0;left:0;
    width:100%;
    z-index:100;
    padding:0 6vw; /* dynamic padding to match hero edges */
}
.navbar-wrap{
    max-width:1440px;
    margin:0 auto;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.nav-logo{flex-shrink:0}
.nav-logo img{height:38px;width:auto}

.nav-menu{
    display:flex;
    align-items:center;
    gap:38px;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
}
.nav-link{
    font-size:0.75rem;
    font-weight:400;
    letter-spacing:1px;
    color:rgba(255,255,255,0.65);
    transition:color 0.25s;
    text-transform:uppercase;
}
.nav-link:hover,.nav-link.active{color:#ffffff}

.nav-cta{
    background:var(--primary-red);
    color:#ffffff;
    font-size:0.8rem;
    font-weight:600;
    padding:12px 32px;
    text-transform:lowercase;
    transition:background 0.25s;
}
.nav-cta:hover{background:#cc0000}

/* Mobile Burger */
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;z-index:110}
.burger span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:transform 0.3s,opacity 0.3s}
.burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}


/* ---- HERO ---- */
.hero{
    position:relative;
    width:100%;
    height:100vh;
    min-height:700px;
    background-color:var(--bg-dark);
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
    overflow:hidden;
    padding:0 6vw;
}

/* Dark heavy text-legibility overlay */
.hero-overlay{
    display: none; /* dihilangkan sesuai permintaan */
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        /* Very dark left side, fading gracefully to transparent right */
        linear-gradient(90deg, 
            rgba(5,5,5,0.95) 0%, 
            rgba(5,5,5,0.85) 30%, 
            rgba(5,5,5,0.40) 55%, 
            rgba(5,5,5,0) 80%),
        /* Bottom fade for stats */
        linear-gradient(0deg, 
            rgba(5,5,5,0.9) 0%, 
            rgba(5,5,5,0.3) 15%, 
            transparent 30%),
        /* Top fade for nav */
        linear-gradient(180deg, 
            rgba(5,5,5,0.6) 0%, 
            transparent 15%);
}

.hero-wrap{
    position:relative;
    z-index:2;
    max-width:1440px;
    margin:0 auto;
    width:100%;
    height:100%;
}

/* ---- HERO BODY (Text left-aligned) ---- */
.hero-body{
    position:absolute;
    top:50%;
    left:0; /* aligns precisely with logo because of shared parent math */
    transform:translateY(-50%);
    max-width:620px;
    padding-top:15px; /* slight visual optical adjustment */
}

.hero-title{
    font-size:clamp(2.5rem, 4vw, 3.8rem); /* Diperkecil agar pas 2 baris */
    line-height:1.05;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:20px;
}
.hero-title .fw-light{font-weight:300; color:#ffffff}
.hero-title .fw-heavy{font-weight:900}
.hero-title .red{color:var(--primary-red)}

.hero-desc{
    font-size:0.85rem;
    font-weight:300;
    line-height:1.7;
    color:rgba(255,255,255,0.65);
    max-width:480px;
    margin-bottom:36px;
    text-align:justify; /* rata kanan kiri */
}

.hero-btn{
    display:inline-block;
    padding:14px 40px;
    border:1px solid var(--primary-red);
    background:#000000;
    color:#ffffff;
    font-family:'Outfit',sans-serif;
    font-size:0.82rem;
    font-weight:400;
    letter-spacing:0.8px;
    transition:all 0.3s;
}
.hero-btn:hover{
    background:var(--primary-red);
    box-shadow:0 0 20px rgba(255,11,11,0.3);
}

/* ---- STATS ---- */
.hero-stats{
    position:absolute;
    bottom:40px;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.stat{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:16px;
    padding-right:20px;
}
.stat-num{
    font-size:clamp(2rem, 3vw, 2.6rem);
    font-weight:800;
    color:var(--primary-red);
    line-height:1;
    flex-shrink:0;
}
.stat-txt{
    font-size:0.75rem;
    font-weight:300;
    line-height:1.5;
    color:rgba(255,255,255,0.55);
    max-width:240px;
}


/* ---- TABLET ---- */
@media(max-width:1100px){
    .navbar{padding:0 5vw}
    .hero{padding:0 5vw}
    .hero-body{max-width:540px}
    .hero-title{font-size:3rem}
    .nav-menu{gap:20px}
    .hero-stats{gap:16px}
    .stat{gap:12px; padding-right:10px}
    .stat-num{font-size:2rem}
    .stat-txt{font-size:0.7rem}
}

/* ---- MOBILE ---- */
@media(max-width:768px){
    .navbar{padding:0 24px}
    .hero{padding:0 24px}
    .navbar-wrap{height:70px}
    .nav-logo img{height:30px}
    .nav-cta{display:none}
    .burger{display:flex}

    .nav-menu{
        position:fixed;top:0;right:-100%;width:260px;height:100vh;
        background:rgba(5,5,5,0.98);
        backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
        flex-direction:column;align-items:flex-start;justify-content:center;
        padding:40px 32px;gap:26px;
        transition:right 0.35s ease;z-index:105;
        left:auto;transform:none;
    }
    .nav-menu.open{right:0}
    .nav-link{font-size:1rem}

    .hero-body{
        top:auto;
        bottom:280px;
        transform:none;
        max-width:100%;
    }
    .hero-title{font-size:clamp(2rem,8vw,2.8rem)}
    .hero-desc{font-size:0.8rem;margin-bottom:28px;max-width:100%}
    .hero-btn{padding:12px 32px;font-size:0.8rem}

    .hero-overlay{
        background:
            linear-gradient(0deg,
                rgba(5,5,5,0.95) 0%,
                rgba(5,5,5,0.8) 40%,
                rgba(5,5,5,0.4) 70%,
                rgba(5,5,5,0.6) 100%);
    }

    .hero-stats{
        flex-direction:column;
        bottom:30px;
        align-items:flex-start;
        gap:16px;
    }
    .stat{width:100%}
    .stat-num{font-size:1.8rem;min-width:60px}
    .stat-txt{max-width:100%}
}


/* ============================================
   SECTION 2: SERVICE
   ============================================ */
.service-section {
    width: 100%;
    background: #0d0d0d;
    padding: 80px 0 100px;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Header */
.service-header {
    margin-bottom: 48px;
}

.service-label {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.service-label strong {
    font-weight: 700;
    font-style: italic;
}

.service-intro {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    text-align: justify;
}

/* Featured Card */
.featured-card {
    position: relative;
    background: #e92428;
    border-radius: 6px;
    padding: 48px 50px;
    margin-bottom: 48px;
    min-height: 320px;
    overflow: visible;
    display: flex;
    align-items: center;
}

.featured-content {
    position: relative;
    z-index: 2;
    max-width: 55%;
}

.featured-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    font-style: italic;
}

.featured-desc {
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    text-align: justify;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.25s;
}

.featured-btn:hover {
    opacity: 0.75;
}

/* Person image — feet at red card bottom, head extends above */
.featured-image {
    position: absolute;
    bottom: -27px; /* fine tune this to cut/align off the exact bottom transparent pixel of the png */
    right: 40px;
    z-index: 3;
    width: 450px;
    height: 550px;
    display: flex;
    align-items: flex-end;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
}

.service-card:hover {
    background: #252525;
}

.card-icon {
    margin-bottom: 20px;
    width: 32px;
    height: 32px;
}

.card-icon svg {
    display: block;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #e92428;
    background: transparent;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s;
    align-self: flex-start;
}

.card-btn:hover {
    background: #e92428;
    box-shadow: 0 4px 16px rgba(233, 36, 40, 0.3);
}

/* Service — Tablet */
@media (max-width: 1024px) {
    .service-container { padding: 0 32px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .featured-content { max-width: 50%; }
    .featured-image { right: 30px; }
}

/* Service — Mobile */
@media (max-width: 768px) {
    .service-section { padding: 60px 0 70px; }
    .service-container { padding: 0 20px; }
    .service-header { margin-bottom: 36px; }
    .service-intro { max-width: 100%; }
    .featured-card { flex-direction: column; padding: 36px 28px 0; min-height: auto; overflow: hidden; }
    .featured-content { max-width: 100%; padding-bottom: 28px; }
    .featured-image { position: relative; right: auto; bottom: auto; height: auto; width: 60%; align-self: center; }
    .featured-image img { height: auto; width: 100%; }
    .service-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================
   SECTION 3: PROJECTS
   ============================================ */
.project-section {
    width: 100%;
    background: #f4f5f7; /* Light grey background */
    padding: 100px 0 120px;
    color: #1a1a1a;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Header */
.project-header {
    text-align: center;
    margin-bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-label {
    font-size: 1.8rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.project-label strong {
    font-weight: 700;
}

.project-intro {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 720px;
    text-align: center;
}

/* Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px; /* Large clean gap */
}

/* Card Container */
.project-card {
    background: transparent;
    display: flex;
    flex-direction: column;
}

/* Image Link Wrapper */
.project-image-link {
    display: block;
    margin-bottom: 24px;
    text-decoration: none;
    border-radius: 4px; /* Slight outer round */
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-image-link:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    margin: 0; /* Remove old margin */
}

.project-info {
    padding: 0;
    background: transparent;
}

.project-title {
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    text-align: left;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-container { padding: 0 32px; }
    .project-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .project-section { padding: 80px 0 90px; }
    .project-container { padding: 0 20px; }
    .project-header { margin-bottom: 48px; }
    .project-label { font-size: 1.5rem; }
    .project-grid { grid-template-columns: 1fr; gap: 40px; }
    .project-info { padding: 0; }
}

/* --- YouTube Click-to-Play Embed --- */
.yt-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.yt-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.yt-thumb-wrap:hover .yt-thumbnail {
    transform: scale(1.04);
    opacity: 0.75;
}

/* Play button overlay */
.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
    z-index: 2;
}

.yt-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
}

.yt-play-btn .yt-play-bg {
    fill: #ff0000;
}

.yt-play-btn .yt-play-arrow {
    fill: #fff;
    stroke: none;
}

/* The iframe shown after click */
.yt-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 3;
}

/* ============================================
   SECTION 4: CLIENTS / PARTNERS
   ============================================ */
.client-section {
    width: 100%;
    background: #545455; /* Dark grey background */
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.client-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 48px;
}

.client-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-logo {
    height: 48px; /* Standardize height */
    width: auto;
    max-width: 220px;
    object-fit: contain;
    /* Optional: if you upload white PNGs, opacity helps make them subtly blend */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .client-container { padding: 0 32px; }
    .client-logos { justify-content: space-around; gap: 32px; }
}

@media (max-width: 768px) {
    .client-section { padding: 40px 0; }
    .client-container { padding: 0 20px; }
    .client-logos {
        justify-content: center;
        gap: 32px;
    }
    .client-logo {
        height: 38px;
    }
}

/* ============================================
   SECTION 5: TEAM / PROFESSIONALS
   ============================================ */
.team-section {
    width: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 120px 0;
    color: #ffffff;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.team-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-title {
    font-size: 2rem;
    font-weight: 300;
    color: #d1d1d1;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.team-title strong {
    font-weight: 700;
    color: #ffffff; /* Brighter 'team' word */
}

.team-intro {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: #a0a0a0;
    max-width: 820px;
    text-align: center;
}

/* Flexbox Row for Members */
.team-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
    margin-bottom: 70px;
}

.team-member {
    flex: 1; /* 4 in a row Desktop */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Perfect Circular Image wrapper */
.team-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.member-role {
    font-size: 0.85rem;
    color: #999999;
    font-weight: 400;
}

/* Slider Dots */
.team-slider-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #888888;
    background: transparent;
}

.team-slider-dots .dot.active {
    background: #ffffff;
    border-color: #ffffff;
}

/* Constraints & Responsive Handling */
@media (max-width: 1024px) {
    .team-container { padding: 0 32px; }
    .team-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 60px 40px;
    }
    .team-member {
        flex: 0 0 calc(50% - 20px); /* Tablet: 2 per row */
    }
    .team-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .team-section { padding: 80px 0; }
    .team-container { padding: 0 20px; }
    .team-header { margin-bottom: 60px; }
    .team-title { font-size: 1.6rem; }
    .team-row {
        gap: 60px 0;
    }
    .team-member {
        flex: 0 0 100%; /* Mobile: 1 per row */
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    width: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.footer-main {
    background: #f10000; /* Vivid red background */
    padding: 80px 0 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Footer Top: Logo and Desc */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 70px;
    max-width: 300px;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
}

/* Divider */
.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0 40px 0;
}

/* Footer Bottom: Contact and Links */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* If stroke based icon, we override fill */
.contact-icon svg[fill="none"] {
    fill: none;
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Nav & Socials */
.footer-nav-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* right align content */
    gap: 60px;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 32px;
}

.footer-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.footer-nav-links a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Let it flow however, maybe match inner width */
}

.social-label {
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 400;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.social-icons svg {
    width: 28px;
    height: 28px;
}

/* Copyright Bar */
.footer-copyright {
    background: #8b0000; /* Darker red */
    padding: 20px 0;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container { padding: 0 32px; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: 48px; }
    .footer-nav-social { align-items: flex-start; }
}

@media (max-width: 768px) {
    .footer-container { padding: 0 20px; }
    .footer-logo img { height: 50px; }
    .footer-nav-links { flex-wrap: wrap; gap: 16px; }
}
