/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: ayuthaya; /* Clean, paper-like font */
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><pattern id="paper" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23f5f5dc"/><circle cx="50" cy="50" r="1" fill="%23d2b48c" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23paper)"/>'); /* Simple paper texture */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    scroll-behavior: smooth; /* Smooth scroll for navigation */
}
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    opacity: 0; /* Start hidden for fade-in */
    transform: translateY(20px); /* Slight offset */
    transition: opacity 0.6s ease, transform 0.6s ease; /* Fade-in transition */
}
section.fade-in {
    opacity: 1;
    transform: translateY(0);
}
.birds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* GAMBAR BURUNG — DIANIMASIKAN */
.birds-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  mix-blend-mode: multiply;
}

/* BACKGROUND — TIDAK DIANIMASIKAN */
.birds-bg {
  position:absolute;
  inset: 0;
  background-color: #48617C;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Home section */
#home {
    text-align: center;
	font-family: Ayuthaya;
	color: aliceblue;
}
#home h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
	font-family: Adelia;
	color: aliceblue;
}

/* Music section */
#music {
    text-align: center;
	background-color: #D9D9D9;
}
#music h2 {
    font-size: 2rem;
	margin-top: -100px;
    margin-bottom: 80px;
	font-family: Adelia;
}
.album-cover {
    width: 200px; /* 1:1 ratio (square) */
    height: 200px;
	background-image: url("album.jpg");
	background-size: contain;
    margin: 0 auto 20px; /* Center and space before button */
    border-radius: 10px;
    transition: opacity 0.3s; /* Subtle hover */
}
.album-cover:hover {
    opacity: 0.8;
}
#play-button {
    background: #8b4513; /* Brown button */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s; /* Hover effects */
}
#play-button:hover {
    background: #654321;
    transform: scale(1.05); /* Slight scale on hover */
}
#play-button.playing {
    background: #a0522d; /* Change color when playing */
}
audio {
    display: none; /* Hidden, controlled by button */
}
.orang {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    margin: 300px auto 0; /* jarak dari atas */
}
.orang svg {
    width: 100%;
    height: 100%;
}
.orang img {
  mix-blend-mode: multiply;
 opacity: 60%;
}

/* Full text section */
#full-text {
    text-align: left;
    max-width: 600px;
}
#full-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
#full-text p {
    margin-bottom: 15px;
	font-family: ayuthaya;
	text-align: justify;
}

/* Gallery section */
#gallery {
    width: 100%;
    padding: 20px 0;
}
#gallery h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
	font-family: adelia;
}
.gallery-container {
    display: flex;
    overflow-x: auto; /* Horizontal scroll */
    scroll-snap-type: x mandatory; /* Smooth snapping */
    gap: 20px; /* Space between items */
    padding: 0 20px; /* Padding for scroll */
}
.gallery-item {
    flex: 0 0 250px; /* Increased width for larger items */
    height: calc(250px * 2782 / 2079); /* Height based on aspect ratio (2079x2782) ≈ 250px * 1.336 ≈ 334px */
    border-radius: 10px;
    overflow: hidden; /* Crop if needed */
    transition: transform 0.3s, box-shadow 0.3s; /* Hover effects */
    cursor: pointer;
    scroll-snap-align: start; /* Snap to item */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio, crop if necessary */
    border-radius: 10px;
}
.gallery-item:hover {
    transform: scale(1.1); /* Scale on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Lukisan section (clean page) */
#lukisan {
    background: #48617C; /* Clean white background color */
    text-align: center;
}
#lukisan h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.lukisan-container {
    width: 400px; /* Container width */
    height: calc(500px * 3508 / 2480); /* Height based on aspect ratio (2480x3508) ≈ 300px * 1.417 ≈ 425px */
    background-image: url('skt.png'); /* Your PNG image as background */
    background-size: 130%; /* Zoom dikit: 90% for slight zoom out */
    background-repeat: no-repeat;
	background-position: center;
    margin: 0 auto;
    border-radius: 10px;
    transition: opacity 0.3s; /* Subtle hover */
	animation: blink 3.0s infinite;
}
.lukisan-container:hover {
    opacity: 0.8;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
/* Kata2 singkat section */
#kata-singkat {
    text-align: center;
}
#kata-singkat h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
#kata-singkat p {
    font-size: 2.5rem;
    font-family: adelia;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2rem;
    }
    #music h2, #full-text h2, #gallery h2, #lukisan h2, #kata-singkat h2 {
        font-size: 1.5rem;
    }
    .album-cover {
        width: 150px;
        height: 150px;
    }
    .gallery-item {
        flex: 0 0 150px; /* Smaller width on mobile */
        height: calc(150px * 2782 / 2079); /* Maintain aspect ratio ≈ 150px * 1.336 */
    }
    .lukisan-placeholder {
        width: 250px;
        height: 250px;
    }
    .bird {
        animation-duration: 8s; /* Slower on mobile for performance */
    }
}