/* ============================================
   SENTRA DESIGN — LAYOUT.CSS (REVISED)
   Navbar desktop, Hero (retimed reveal), Marquee, Footer
   Revisi: sinkronisasi hero reveal dengan loader baru
   (progress 1,2s + curtain 0,7s → reveal mendarat mulus)
   ============================================ */

/* ============================================
   NAVIGATION - DESKTOP (HORIZONTAL MENU)
   ============================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: var(--space-8) 0;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}
.site-nav.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-4) 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
}
.nav-logo img { width: 70px; height: 49px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}
.logo-sub {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    color: var(--color-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}
/* NAV MENU DESKTOP - HORIZONTAL VISIBLE */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin: 0 auto;
}
.nav-link {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: var(--space-2) 0;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-secondary);
    transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--color-secondary); }
.nav-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.nav-link.disabled::after { display: none; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero-editorial {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--space-24) + var(--header-height)) var(--space-12) var(--space-16);
}
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;   /* REVISI: was 1.5s */
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 7s ease;    /* REVISI: was 10s */
}
.hero-bg-slide.active img { transform: scale(1); }
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(10, 22, 40, 0.75) 0%,
        rgba(10, 22, 40, 0.55) 25%,
        rgba(10, 22, 40, 0.4) 50%,
        rgba(10, 22, 40, 0.7) 75%,
        rgba(10, 22, 40, 0.95) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
/* REVISI: meta muncul saat tirai loader mulai terangkat */
.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
.hero-meta-line { width: 40px; height: 1px; background: var(--color-secondary); }
.hero-meta-text {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    color: var(--color-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-5xl), 7vw, var(--text-8xl));
    font-weight: 400;
    line-height: 0.95;
    color: var(--color-white);
    margin-bottom: var(--space-12);
}
.hero-title-line { display: block; overflow: hidden; }
/* REVISI: word reveal lebih cepat & delay sinkron dengan curtain */
.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: wordReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title-line:nth-child(1) .title-word { animation-delay: 0.45s; }
.hero-title-line:nth-child(2) .title-word:nth-child(1) { animation-delay: 0.6s; }
.hero-title-line:nth-child(2) .title-word:nth-child(2) { animation-delay: 0.7s; }
.hero-title-line:nth-child(3) .title-word { animation-delay: 0.8s; }
.hero-title .italic { font-style: italic; color: var(--color-secondary); }
@keyframes wordReveal { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* REVISI: bottom reveal mendarat saat tirai hampir habis */
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-12);
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}
.hero-subtitle {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 400px;
}
.hero-cta-group { display: flex; align-items: center; gap: var(--space-8); }
.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-8);
    background: var(--color-secondary);
    color: var(--color-primary);
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}
.hero-cta-primary svg { width: 18px; height: 18px; transition: transform 0.4s ease; }
.hero-cta-primary:hover { background: var(--color-white); transform: translateY(-2px); }
.hero-cta-primary:hover svg { transform: translate(3px, -3px); }
.hero-cta-secondary {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-cta-secondary:hover { color: var(--color-secondary); border-bottom-color: var(--color-secondary); }
.hero-giant-number {
    position: absolute;
    top: 15%;
    right: 5%;
    font-family: var(--font-display);
    font-size: clamp(var(--text-7xl), 15vw, var(--text-8xl));
    font-weight: 900;
    color: rgba(201, 169, 97, 0.08);
    line-height: 1;
    pointer-events: none;
}
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-12);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: rgba(255, 255, 255, 0.85);
}
.scroll-text {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}
.hero-dots {
    position: absolute;
    bottom: var(--space-8);
    left: var(--space-12);
    display: flex;
    gap: 0.75rem;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}
.hero-dot.active { background: var(--color-secondary); transform: scale(1.3); }

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
    background: var(--color-primary);
    padding: var(--space-8) 0;
    overflow: hidden;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.marquee-track {
    display: flex;
    gap: var(--space-16);
    padding-right: var(--space-16);  /* REVISED: padding = gap → -50% jatuh presisi di awal duplikat */
    width: max-content;              /* REVISED: lebar = isi, bukan lebar parent */
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    font-family: var(--font-accent);
    font-size: var(--text-base);
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
.marquee-dot { color: var(--color-secondary); font-size: var(--text-xs); }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   FOOTER (DESKTOP)
   ============================================ */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}
.footer-mega {
    padding: var(--space-20) var(--space-12) var(--space-16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-mega-text {
    font-family: var(--font-display);
    font-size: clamp(var(--text-6xl), 8vw, var(--text-8xl));
    font-weight: 400;
    line-height: 0.95;
    color: var(--color-white);
    letter-spacing: -0.03em;
}
.footer-mega-text .italic { font-style: italic; color: var(--color-secondary); }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-16);
    padding: var(--space-16) 0;
}
.footer-left-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.footer-logo img { width: 70px; height: 49px; object-fit: contain; }
.footer-desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    max-width: 400px;
}
.footer-social { display: flex; gap: var(--space-4); }
.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.social-link svg { width: 18px; height: 18px; stroke: var(--color-white); fill: none; stroke-width: 2; }
.social-link:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-3px);
}
.social-link:hover svg { stroke: var(--color-primary); }
.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.footer-menu a {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-white);
    transition: var(--transition-fast);
    display: inline-block;
}
.footer-menu a:hover { color: var(--color-secondary); transform: translateX(10px); font-style: italic; }
.footer-menu a.disabled-link { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.footer-title {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-6);
    color: var(--color-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.footer-contact-subtitle {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
}
/* Alamat berjajar horizontal di desktop */
.footer-horizontal-addresses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}
.address-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--text-sm);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.address-block strong {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: 4px;
}
.address-block span { display: block; }
/* Telepon / Fax / Email berjajar di desktop */
.footer-horizontal-details {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}
.detail-item strong { color: var(--color-secondary); font-weight: 600; }
.footer-bottom { padding-bottom: var(--space-16); }
.footer-bottom-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-8);
}
.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; }
.footer-copyright {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
}
.footer-crafted {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}