/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@400;700&display=swap');

@font-face {
  font-family: 'ElegantTypewriter';
  src: url('fonts/ELEGANT TYPEWRITER Bold.ttf') format('truetype');
}

/* Base Style */
body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    background-image: url('image/kertas.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #2b1b11;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Footer Tetap */
.custom-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 30px;
    box-sizing: border-box;
    background-image: url('image/rename.png');
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #8b5a2b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-btn {
    background: rgba(139, 90, 43, 0.2);
    color: #f4e1c1;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #8b5a2b;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    transition: 0.3s all ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.back-btn:hover {
    background: #8b5a2b;
    color: #fff;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

.page-indicator {
    font-family: 'Cinzel', serif;
    color: #f4e1c1;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1.2rem;
}

.site-footer {
    background: linear-gradient(145deg, #3e2723, #1a100a); 
    color: #d4af37; 
    text-align: center;
    padding: 30px;
    border-top: 3px solid #8b5a2b;
    font-family: 'Cinzel', serif;
    margin-top: auto;
}

/* --- Area Konten Utama --- */
.content-box {
    background: rgba(255, 248, 231, 0.9);
    border: 2px solid #8b5a2b;
    border-radius: 10px;
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    box-shadow: 5px 5px 25px rgba(0,0,0,0.5);
}

/* Bagian Profil (Foto & Nama Sejajar) */
.profile-top {
    display: flex;
    align-items: center; /* Ini yang bikin nama sejajar di tengah foto */
    gap: 30px;
    margin-bottom: 10px;
}

.profile-img-main {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Membuat Bulat */
    border: 4px solid #8b5a2b;
    object-fit: cover;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
    flex-shrink: 0; /* Mencegah gambar gepeng kalau teks kepanjangan */
}

.profile-info h1 {
    font-family: 'ElegantTypewriter', serif;
    font-size: 3rem;
    margin: 0;
    color: #4a2c11;
}

.tagline {
    font-family: 'Cinzel', serif;
    color: #8b5a2b;
    font-weight: bold;
    margin: 5px 0 0 0;
}

.divider {
    border: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, #8b5a2b, #8b5a2b 10px, transparent 10px, transparent 20px);
    margin: 30px 0;
}

/* Daftar Konten di Bawah */
.content-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(139, 90, 43, 0.05);
    border: 1px solid #8b5a2b;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.content-item:hover {
    background: rgba(139, 90, 43, 0.15);
    transform: translateX(10px);
}

.content-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #5c3a21;
    border-radius: 4px;
}

.item-desc h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #4a2c11;
}

.item-desc p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #555;
}

/* --- Slider Portofolio --- */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border: 4px solid #8b5a2b;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 5px 15px rgba(0,0,0,0.4);
    background-color: #2b1b11;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	align: center;
}

.slide {
    min-width: 100%;
    height: auto;
    object-fit: contain;
    border-right: 2px;
    display: block;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 90, 43, 0.8);
    color: #f4e1c1;
    border: 2px solid #5c3a21;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 20px;
    font-family: 'Cinzel', serif;
    transition: 0.3s ease;
}

.prev-btn { left: 0; border-radius: 0 5px 5px 0; }
.next-btn { right: 0; border-radius: 5px 0 0 5px; }

.nav-btn:hover {
    background: #4a2c11;
    color: #d4af37;
}

/* --- Tombol Steampunk --- */
.btn-container {
    text-align: center;
    margin-top: 30px;
}

.steampunk-btn {
    display: inline-block;
    background: linear-gradient(145deg, #8b5a2b, #4a2c11);
    color: #f4e1c1;
    font-family: 'Cinzel', serif;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #3e2723;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    transition: 0.3s;
    cursor: pointer;
}

.steampunk-btn:hover {
    background: linear-gradient(145deg, #4a2c11, #2b1b11);
    color: #d4af37;
    border-color: #d4af37;
    transform: translateY(-2px);
}

.small-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 600px) {
    .profile-top {
        flex-direction: column;
        text-align: center;
    }
    .content-item {
        flex-direction: column;
        text-align: center;
    }
}
