/* --- GLOBAL RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cabin', sans-serif;
}

body {
    background: url('bg4.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
}

/* --- SECTION TITLES (For Music, Food, School) --- */
.section-box-title {
    font-size: 2rem;
    color: #DEBF8A;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: linear-gradient(90deg, rgba(199, 170, 119, 1) 0%, rgba(148, 120, 72, 1) 51%, rgba(135, 98, 49, 1) 99%);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav h2 {
    font-size: 20px;
    color: #F9F5F0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #F9F5F0;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #8F896B;
}

/* --- PROFILE SECTION --- */
.profile-section {
    padding: 60px 80px;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: white;
}

.profile-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-card {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 3px solid #664a2f;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay p {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.profile-card:hover .overlay {
    opacity: 1;
}

.profile-card:hover img {
    transform: scale(1.1);
}

/* --- MUSIC PLAYER WRAPPER --- */
.music-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 40px 0;
    border-radius: 20px;
}

/* --- MUSIC CONTAINER --- */
.music-container {
    display: flex;
    position: relative;
    width: 400px;
    height: 400px;
    box-shadow: 0px 40px 26px -10px rgba(0, 0, 0, 0.49);
    transition: transform 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}

.cover {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    pointer-events: none;
}

.cover img {
    height: 100%;
}

.static-card,
.flip-card {
    position: absolute;
    width: 50%;
    height: calc(100% - 14px);
    overflow: hidden;
    border: 7px solid #fff;
}

.static-card {
    border-right: none;
}

.flip-card {
    border-left: none;
    margin-left: 50%;
    transform-origin: 0% 50%;
    transition: transform 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}

.music-container:hover .flip-card,
.music-container.is-hovering .flip-card {
    transform: rotateY(-60deg);
}

.flip-card:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    right: -20px;
    box-shadow: 29px 0px 52px 6px rgba(186, 186, 186, 1);
}

.flip-card img {
    position: absolute;
    background-color: #fff;
    right: 0;
}

/* --- CONTROLS --- */
.controls {
    position: absolute;
    right: 0;
    width: 20%;
    height: 95%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.controls:after {
    position: absolute;
    content: '';
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 20px 0px 37px -10px rgba(0, 0, 0, 0.75);
    pointer-events: none;
    transition: width 0.5s cubic-bezier(0.45, 0, 0.55, 1);
}

.controls input[type="radio"] {
    position: absolute;
    left: -1000px;
}

.controls label {
    flex-grow: 1;
    display: block;
    width: 100%;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #9c9c9c;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #dcdcdc;
    background-image: linear-gradient(to bottom, #dcdcdc 0%, #f8f8f6 100%);
}

.controls label span {
    display: none;
}

.lbl-btn-play i,
.lbl-btn-pause i,
.lbl-btn-reset i {
    font-size: 40px;
    color: #333;
    display: block;
    text-align: center;
    padding-top: 20px;
}

.lbl-btn-play i:hover,
.lbl-btn-pause i:hover,
.lbl-btn-reset i:hover {
    color: #664a2f;
}

.controls input:checked + label,
.controls label:active {
    background-color: #BCBCBC;
    background-image: linear-gradient(to top, #d5d5d5 0%, #f8f8f6 100%);
    box-shadow: inset 0px 0px 10px 5px rgba(120, 120, 120, 0.2);
    border: 1px solid #fff;
}

/* --- FOOD SECTION (POLAROID PHOTOS) --- */
.food-section {
    padding: 35px 20px;
    text-align: center;
}

.picture-container {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    height: 320px;
    margin: 20px auto;
    max-width: 450px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.picture-container .polaroid {
    position: absolute;
    border: 1px solid darkgrey;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 8px 30px 8px;
    box-shadow: 2px 4px 6px darkgrey;
    transition: transform 0.3s ease;
    width: 180px;
}

.picture-container .polaroid:hover {
    transform: scale(1.05);
    z-index: 10;
}

.picture-container .polaroid:after {
    content: attr(polaroid-caption);
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: calc(100% - 16px);
    padding: 6px;
    font-size: 12px;
    text-align: center;
    color: #333;
}

.picture-container .polaroid img {
    width: 100%;
    height: auto;
    max-width: 180px;
    object-fit: cover;
}

.picture-container .image1 {
    left: 30%;
    top: 40px;
    transform: translateX(-50%) rotate(-10deg);
}

.picture-container .image2 {
    left: 70%;
    top: 40px;
    transform: translateX(-50%) rotate(10deg);
}

/* --- SCHOOL LOGO SECTION --- */
.logo-sekolah-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.sekolah-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #F9F5F0;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sekolah-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo-sekolah-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F9F5F0;
}

.logo-sekolah-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nama-sekolah {
    font-size: 20px;
    font-weight: bold;
    color: #F9F5F0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.alamat-sekolah {
    font-size: 14px;
    color: #F9F5F0;
    opacity: 0.8;
}

/* --- QUOTE SECTION (Black Box Kept!) --- */
.blockquote-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    max-width: 800px; 
    margin: 0 auto 40px auto;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-title {
    font-size: 1.8rem;
    color: #DEBF8A;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.blockquote {
    position: relative;
    font-family: 'Inter', sans-serif;
    max-width: 620px;
    margin: 0 auto;
    align-self: center;
    z-index: 10;
}

.blockquote h3 {
    font-family: 'Poppins', sans-serif;
    position: relative;
    color: #DEBF8A;
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1;
    margin: 0;
    border: 2px solid #fff;
    border: solid 2px;
    border-radius: 20px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
}

.blockquote h3 span {
    color: #ffffff !important;
    font-weight: 700;
}

.blockquote h3:after {
    content: "";
    position: absolute;
    border: 2px solid #DEBF8A;
    border-radius: 0 100% 0 0;
    width: 60px;
    height: 60px;
    bottom: -62px;
    left: 50px;
    border-bottom: none;
    border-left: none;
    z-index: 3;
}

.blockquote h3:before {
    content: "";
    position: absolute;
    width: 80px;
    border: 6px solid #292a2b;
    bottom: -3px;
    left: 50px;
    z-index: 2;
}

@media all and (min-width: 600px) {
    .blockquote h3 {
        font-size: 3rem;
        line-height: 1.2;
    }
}

.blockquote h4 {
    position: relative;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding-top: 15px;
    z-index: 1;
    margin-left: 150px;
    padding-left: 12px;
}

.blockquote h4:first-letter {
    margin-left: -12px;
}