/* ============================================
   ORDER ONLINE PAGE - NETFLIX STYLE CAROUSEL
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.order-online-page {
    background: #0a0a0a;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============== HEADER ============== */
.oo-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.oo-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.oo-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.oo-logo-text {
    color: #FFFFFF;
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.oo-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.oo-back-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #FFFFFF;
    transform: translateX(-3px);
}

/* ============== HERO SECTION ============== */
.oo-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    position: relative;
    overflow: visible;
}

.oo-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #2a1a08 0%, #0a0a0a 70%);
    z-index: 0;
}

.oo-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 50px;
}

.oo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #674C1D, #B8860B);
    color: #FFFFFF;
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    line-height: 1.4;
}
.oo-badge .oo-badge-line1,
.oo-badge .oo-badge-line2 {
    display: block;
}

.oo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin: 0 auto 16px;
    max-width: min(90%, 680px);
}

.oo-title span {
    background: linear-gradient(135deg, #B8860B, #FFD700, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oo-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============== CAROUSEL WRAPPER ============== */
.oo-carousel-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 80px;
}

/* clip wrapper: sembunyikan card overflow horizontal tanpa memotong scale vertikal */
.oo-carousel-clip {
    overflow: hidden;
    width: 100%;
}

.oo-carousel-track-wrapper {
    position: relative;
    /* overflow visible agar card yang di-scale & tombol nav tidak terpotong */
    overflow: visible;
    /* padding kiri-kanan memberi ruang tombol nav, padding atas-bawah untuk scale card */
    padding: 50px 70px;
}

.oo-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ============== CARDS ============== */
.oo-card {
    flex: 0 0 260px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.88);
    opacity: 0.65;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.oo-card.active {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 20px 60px rgba(103, 76, 29, 0.5), 0 0 0 2px rgba(184,134,11,0.5);
    z-index: 10;
}

.oo-card.adjacent {
    transform: scale(0.96);
    opacity: 0.85;
}

.oo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.oo-card.active .oo-card-img {
    transform: scale(1.05);
}

.oo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.5) 45%,
        rgba(0,0,0,0.15) 100%
    );
    transition: background 0.4s ease;
}

.oo-card.active .oo-card-overlay {
    background: linear-gradient(
        to top,
        rgba(103, 76, 29, 0.88) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.1) 100%
    );
}

.oo-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oo-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(184,134,11,0.25);
    border: 1px solid rgba(184,134,11,0.5);
    color: #FFD700;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease 0.1s;
}

.oo-card.active .oo-card-badge {
    opacity: 1;
    transform: translateY(0);
}

.oo-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.oo-card.active .oo-card-name {
    font-size: 1.2rem;
}

.oo-card-location {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s ease 0.15s;
}

.oo-card.active .oo-card-location {
    opacity: 1;
    transform: translateY(0);
}

.oo-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #674C1D, #B8860B);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    width: 100%;
}

.oo-card.active .oo-card-btn {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease 0.2s;
}

.oo-card-btn:hover {
    background: linear-gradient(135deg, #B8860B, #FFD700);
    color: #1a1a1a;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(184,134,11,0.5);
}

/* ============== NAVIGATION ARROWS ============== */
.oo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(103, 76, 29, 0.8);
    border: 1px solid rgba(184,134,11,0.4);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.oo-nav-btn:hover {
    background: linear-gradient(135deg, #674C1D, #B8860B);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(184,134,11,0.5);
}

.oo-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.oo-nav-prev {
    left: 8px;
}

.oo-nav-next {
    right: 8px;
}

/* ============== DOT INDICATORS ============== */
.oo-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.oo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.oo-dot.active {
    background: linear-gradient(135deg, #B8860B, #FFD700);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(184,134,11,0.6);
}

.oo-dot:hover:not(.active) {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

/* ============== CARD COUNT LABEL ============== */
.oo-counter {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-top: 16px;
    text-transform: uppercase;
}

.oo-counter span {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* ============== RESPONSIVE ============== */

/* Large Desktop */
@media (min-width: 1200px) {
    .oo-card {
        flex: 0 0 280px;
        height: 400px;
    }
    .oo-carousel-track-wrapper {
        padding: 60px 80px;
    }
    .oo-nav-prev {
        left: 12px;
    }
    .oo-nav-next {
        right: 12px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .oo-header {
        padding: 16px 24px;
    }
    .oo-card {
        flex: 0 0 220px;
        height: 340px;
    }
    .oo-carousel-section {
        padding: 0 0 60px;
    }
    .oo-carousel-track-wrapper {
        padding: 50px 60px;
    }
    .oo-nav-prev {
        left: 8px;
    }
    .oo-nav-next {
        right: 8px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .oo-header {
        padding: 14px 20px;
    }
    .oo-logo-text {
        font-size: 1.1rem;
    }
    .oo-back-btn span {
        display: none;
    }
    .oo-back-btn {
        padding: 8px 12px;
    }
    .oo-hero {
        padding: 90px 0 30px;
    }
    .oo-card {
        flex: 0 0 200px;
        height: 310px;
    }
    .oo-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .oo-carousel-track-wrapper {
        padding: 45px 52px;
    }
    .oo-nav-prev {
        left: 6px;
    }
    .oo-nav-next {
        right: 6px;
    }
    .oo-carousel-track {
        gap: 14px;
    }
    .oo-card-name {
        font-size: 0.95rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .oo-title {
        font-size: 1.8rem;
    }
    .oo-card {
        flex: 0 0 160px;
        height: 270px;
    }
    .oo-card.active {
        transform: scale(1.06);
    }
    .oo-carousel-track-wrapper {
        padding: 40px 48px;
    }
    .oo-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .oo-nav-prev {
        left: 5px;
    }
    .oo-nav-next {
        right: 5px;
    }
    .oo-carousel-track {
        gap: 12px;
    }
    .oo-card-btn {
        font-size: 0.72rem;
        padding: 8px 14px;
    }
}
