:root {
    --bg-color: #F8F5E4; 
    --accent-color: #C67C08; 
    --text-color: #1a1a1a;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}

/* --- NAVBAR (CENTERED NAV LINKS) --- */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height); 
    z-index: 1000;
    transition: 0.3s;
    background-color: transparent;
}

nav.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    white-space: nowrap;
}

/* DESKTOP MENU */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-links a.active, .nav-links a:hover {
    background-color: var(--accent-color);
    color: white;
}

/* --- HAMBURGER MENU --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    position: relative;
    z-index: 1002;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle input {
    position: absolute;
    width: 40px;
    height: 28px;
    left: -5px;
    top: -5px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.menu-toggle span:nth-child(2) { transform-origin: 0 0; }
.menu-toggle span:nth-child(4) { transform-origin: 0 100%; }

.menu-toggle input:checked ~ span:nth-child(2) {
    background-color: white;
    transform: rotate(45deg) translate(-2px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(3) {
    opacity: 0;
    transform: scale(0);
}
.menu-toggle input:checked ~ span:nth-child(4) {
    background-color: white;
    transform: rotate(-45deg) translate(-2px, 0);
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    min-height: 100vh;
    position: relative;
    padding: 100px 5% 0 5%;
    overflow: hidden;
    align-items: center;
    width: 100%;
}

.hero-text {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    z-index: 10;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: black;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 20px;
    font-size: 1.2rem;
}

.hero-visual {
    flex: 1; 
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center; 
    align-items: center;    
}

.visual-wrapper {
    position: relative;
    width: 100%; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.big-circle-bg {
    position: absolute;
    width: 500px;    
    height: 500px;
    background-color: var(--accent-color);
    border-radius: 50%;
    z-index: 1;
}

.model-center {
    position: absolute;
    bottom: 0;
    z-index: 5; 
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.model-center img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* SLIDER 3D (HERO) */
.slider {
    position: absolute;
    width: 130px;
    height: 180px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 3;
    top: 30%; 
}

@keyframes autoRun {
    from { transform: perspective(1000px) rotateX(10deg) rotateY(0deg); }
    to { transform: perspective(1000px) rotateX(10deg) rotateY(360deg); }
}

.item {
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg ))
        translateZ(260px); 
    backface-visibility: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-down-icon {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    font-size: 2rem;
    color: var(--accent-color);
    z-index: 20;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* SHAPE DIVIDER */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); 
    z-index: 4;
}
.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px; 
}
.custom-shape-divider-bottom .shape-fill { fill: #fdfcf5; }

/* --- GLOBAL SECTIONS --- */
.section-padding { padding: 80px 5%; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--text-color); font-weight: 800; }

/* --- ABOUT --- */
.about-section {
    background-color: #fdfcf5;
    padding: 100px 5%;
}
.about-content { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.about-image { position: relative; flex: 1; min-width: 300px; }
.about-image img { width: 100%; max-width: 400px; border-radius: 20px; display: block; position: relative; z-index: 2; margin: 0 auto;}
.about-image .img-border { position: absolute; width: 100%; max-width: 400px; height: 100%; border: 3px solid var(--accent-color); border-radius: 20px; top: 20px; left: 20px; z-index: 1; }
.about-text { flex: 1; min-width: 300px; }
.about-text h2 { font-size: 2.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.about-text .divider { width: 80px; height: 5px; background-color: var(--accent-color); margin-bottom: 20px; }

/* --- EVENT SEARCH --- */
.search-container { position: relative; max-width: 500px; margin: 0 auto 30px auto; }
.search-icon { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); color: var(--accent-color); }
#eventSearch { width: 100%; padding: 15px 20px 15px 50px; border: 2px solid #eee; border-radius: 30px; outline: none; transition: 0.3s; }
#eventSearch:focus { border-color: var(--accent-color); }
.event-filter-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border: 2px solid var(--accent-color); background: transparent; color: var(--accent-color); border-radius: 20px; cursor: pointer; transition: 0.3s; }
.filter-btn:hover, .filter-btn.active { background-color: var(--accent-color); color: white; }

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.event-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.event-card:hover { transform: translateY(-10px); }
.card-img { height: 200px; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 15px; right: 15px; background: var(--accent-color); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; }
.card-content { padding: 20px; }

/* =======================================================
   STUDIO SECTION 
   ======================================================= */
.studio-section { 
    background-color: #1a1a1a; 
    color: white; 
    padding: 100px 5%; 
    overflow: hidden;
}

.studio-container { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
}

.studio-text { 
    flex: 0.8; 
    min-width: 300px;
    z-index: 2;
}

.studio-text h2 { font-size: 3rem; margin-bottom: 20px; color: var(--accent-color); }
.studio-list { list-style: none; margin: 30px 0; }
.studio-list li { font-size: 1.2rem; margin-bottom: 15px; }
.btn-primary { padding: 15px 30px; background-color: var(--accent-color); color: white; border: none; border-radius: 30px; font-weight: bold; cursor: pointer; }

/* Visual Side */
.studio-visual {
    flex: 1.2;
    width: 100%;
    height: 600px;
    position: relative;
    border-radius: 20px;
}

.st-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent;
    border-radius: 20px;
}

/* UKURAN KARTU (ITEM) */
.st-slide .st-item {
    width: 300px;
    height: 400px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
    background-position: center;
    background-size: cover;
    display: inline-block;
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    overflow: hidden; 
}

/* --- LOGIKA STACKING (FOTO SELANJUTNYA DI BELAKANG) --- */
.st-slide .st-item:nth-child(1),
.st-slide .st-item:nth-child(2) {
    top: 0; left: 0; 
    transform: translate(0, 0); 
    border-radius: 0; width: 100%; height: 100%;
    z-index: 10; 
}

.st-slide .st-item:nth-child(3) { 
    left: 50%; top: 50%;
    transform: translate(15%, -50%) scale(0.85); 
    z-index: 9; opacity: 0.8;
}

.st-slide .st-item:nth-child(4) { 
    left: 50%; top: 50%;
    transform: translate(30%, -50%) scale(0.7); 
    z-index: 8; opacity: 0.5;
}

.st-slide .st-item:nth-child(5) { 
    left: 50%; top: 50%;
    transform: translate(45%, -50%) scale(0.55);
    z-index: 7; opacity: 0.3;
}

.st-slide .st-item:nth-child(n + 6) { 
    left: 50%; opacity: 0; z-index: 0;
    transform: translate(100%, -50%) scale(0.5);
}

/* --- KONTEN TEKS DALAM KARTU --- */
.st-item .st-content {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px; text-align: left; color: white;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    opacity: 0; transition: opacity 0.5s ease;
    z-index: 11;
}

.st-slide .st-item:nth-child(2) .st-content { opacity: 1; }

.st-content .name {
    font-size: 42px; font-weight: 800; text-transform: uppercase; color: var(--accent-color);
    transform: translateY(30px); opacity: 0; transition: all 0.5s ease 0.3s;
}
.st-content .des {
    font-size: 18px; line-height: 1.5; margin: 15px 0 30px 0; max-width: 500px;
    transform: translateY(30px); opacity: 0; transition: all 0.5s ease 0.5s;
}
.st-content button {
    padding: 12px 30px; border: none; border-radius: 30px; background: white; color: #333; font-weight: bold; cursor: pointer; font-size: 14px;
    transform: translateY(30px); opacity: 0; transition: all 0.5s ease 0.7s;
    width: fit-content;
}

.st-slide .st-item:nth-child(2) .st-content .name, 
.st-slide .st-item:nth-child(2) .st-content .des, 
.st-slide .st-item:nth-child(2) .st-content button {
    transform: translateY(0); opacity: 1;
}

.st-content button:hover { background: var(--accent-color); color: white; }

/* --- TOMBOL NAVIGASI NEXT --- */
.st-nav {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 100;
}
.st-nav button {
    width: 50px; height: 50px; border-radius: 50%; border: 2px solid white;
    background: transparent; color: white; font-size: 18px; cursor: pointer; transition: 0.3s;
}
.st-nav button:hover { background: white; color: var(--accent-color); }

/* --- CONTACT --- */
.contact-section-new { padding: 100px 5%; background-color: var(--bg-color); }
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 60px; }
.contact-info-new, .contact-form-new { flex: 1; min-width: 300px; }
.contact-info-new h2 { font-size: 3rem; margin-bottom: 15px; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.icon-box { width: 50px; height: 50px; background: rgba(198, 124, 8, 0.1); color: var(--accent-color); border-radius: 12px; display: flex; justify-content: center; align-items: center; }
.contact-form-new { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-color); }
.btn-submit-new { width: 100%; padding: 15px; background: var(--accent-color); color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* --- FOOTER --- */
.main-footer { background-color: #1a1a1a; color: white; padding: 80px 5% 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-socials { display: flex; gap: 15px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: white; display: flex; justify-content: center; align-items: center; border-radius: 50%; text-decoration: none; }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a { color: #aaa; text-decoration: none; }
.footer-bottom-copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: #666; }

/* --- SCROLL TOP --- */
.to-top {
    background: var(--accent-color);
    position: fixed;
    bottom: 16px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s;
    z-index: 999;
}
.to-top.active { bottom: 32px; opacity: 1; pointer-events: all; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 968px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; 
        right: -100%; /* Sembunyi di kanan */
        background-color: rgba(0,0,0,0.95);
        width: 80%; 
        height: 100vh; 
        flex-direction: column; 
        justify-content: center;
        align-items: center; 
        transition: 0.5s ease; 
        z-index: 1000; 
        gap: 40px;
        left: auto; transform: none; /* Reset posisi desktop */
    }
    
    /* Tambahan agar saat menu aktif, halaman tidak geser */
    .nav-links.slide { right: 0; }
    .nav-links a { font-size: 1.5rem; color: white; }

    /* goblok anjing */
    .hero { flex-direction: column; padding-top: 100px; text-align: center; height: auto; }
    
    /* FONT SIZE DIPERKECIL UNTUK MENCEGAH CUT OFF */
    .hero-text h1 { 
        font-size: 2.2rem; /* Diperkecil */
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-text { padding-right: 0; margin-bottom: 40px; align-items: center; }
    .hero-visual { height: 400px; width: 100%; }
    .big-circle-bg { width: 300px; height: 300px; }
    .slider { transform: perspective(1000px) scale(0.6); top: 20%; }
    
    .about-content, .studio-container, .contact-wrapper, .footer-grid {
        flex-direction: column; text-align: center;
    }
    .about-image .img-border { left: 50%; transform: translateX(-50%); top: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-socials, .info-item, .social-link { justify-content: center; }

    /* HIDE SLIDER STUDIO ON MOBILE */
    .studio-visual { display: none; }
    .studio-text { width: 100%; text-align: center; }
}
