/*==== Import Google Fonts ====*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

/*==== Body ====*/
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding-top: -10px;
    position: relative;
    overflow-x: hidden;
}

/* ===== VIDEO BACKGROUND ===== */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;

    background: black; /* ⭐ fallback if video loading */
}

/* ⭐ DARK OVERLAY (AVOID WHITE FLASH) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);

    z-index: -1;
}

/* ===== NAVIGATION ===== */
nav {
    background-color: rgba(96,68,20,0.70);
    padding: 20px 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    box-sizing: border-box;

    z-index: 1000;

    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/*===== MENU ===== */
.menu a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Merriweather', serif;
}

.menu a:hover {
    color: yellow;
}

/*===== LOGO =====*/
.logo {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-right: 150px;
}

/*==== PRELOADER BACKGROUND ==== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background: black;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/*==== PLEASE DO NOT TOUCH THE NAVIGATION AND BACKGROUND SECTIONS ABOVE.==== */
/*==== START HERE ==== */

/* ===== REVIEW FORM CONTAINER ===== */
.review-form{
max-width:800px;
margin:40px auto; 
padding:40px;

background:rgba(120,80,40,0.25);
backdrop-filter: blur(12px);

border-radius:15px;

border:1px solid rgba(255,230,180,0.25);

box-shadow:0 8px 32px rgba(0,0,0,0.5);
}

/* ===== FORM ROW (2 COLUMN) ===== */
.form-row{
display:flex;
gap:20px;
margin-bottom:20px;
flex-wrap:wrap;
}

/* ===== FORM GROUP ===== */
.form-group{
flex:1;
display:flex;
flex-direction:column;
min-width:250px;
}

/* ===== LABEL ===== */
.form-group label{
margin-bottom:6px;
font-weight:600;
color:#f5e6c8; /* warna cream */
}

/* ===== INPUT / SELECT / TEXTAREA ===== */
.form-group input,
.form-group select{
height:48px;          
padding:0 12px;

border-radius:8px;
border:2px solid rgba(223,220,217,0.4);

background:#2e1d0f;
color:#fff;

font-family:'Lato', sans-serif;

box-sizing:border-box;
}

/* ===== TEXTAREA ===== */
.form-group textarea{
height:130px;
padding:12px;
resize:none;

border-radius:8px;
border:2px solid rgba(223,220,217,0.4);

background:#2e1d0f;
color:white;

box-sizing:border-box;
}
/* ===== BUTTON AREA ===== */
.form-buttons{

margin-top:25px;

display:flex;

gap:15px;

justify-content:flex-end;
}

/* ===== CLEAR BUTTON ===== */
.clear{

background:#6b4a24; /* brown */

padding:12px 20px;

border:none;

border-radius:8px;

color:white;

cursor:pointer;

font-weight:600;
}

/* ===== SUBMIT BUTTON ===== */
.submit{

background:linear-gradient(45deg,#c79a5c,#8b5e34); /* gold → brown */

padding:12px 20px;

border:none;

border-radius:8px;

color:white;

cursor:pointer;

font-weight:600;
}

/* ===== BUTTON HOVER EFFECT ===== */
.clear:hover{
background:#8b5e34;
}

.submit:hover{
opacity:0.9;
}

/* ===== REVIEW HEADER ===== */

.review-header{

text-align:center;

margin-top:120px;
margin-bottom:40px;

color:#f5e6c8;
}

.review-header h1{

font-family:'Playfair Display', serif;

font-size:42px;

margin-bottom:10px;

letter-spacing:1px;
}

.review-header p{

font-size:18px;

color:#e6d3a3;
}

/* ===== HEADER ANIMATION ===== */
.review-header{
animation: fadeDown 1s ease;
}

/* ===== FORM ANIMATION ===== */
.review-form{
animation: fadeUp 1.2s ease;
}

/* ===== ANIMATION KEYFRAMES ===== */

@keyframes fadeDown{

0%{
opacity:0;
transform:translateY(-30px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(40px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

/*===== MUSIC ====*/

#musicBtn{
    position: fixed;
    bottom: 30px;
    left: 30px;

    width:50px;
    height:50px;

    background:#9c6b2f;
    color:white;

    border:none;
    border-radius:50%;

    font-size:20px;
    cursor:pointer;

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:9999;
}

#musicBtn:hover{
    background:#c48a3a;
}

/*===== FOOTER ====*/

.footer{
background: rgba(0,0,0,0.5);
color: white;
text-align: center;

padding: 20px 10px;   /* kecilkan padding */
margin-top: 40px;     /* kecilkan jarak dari content */
}

.footer h3{
font-size:20px;
margin-bottom:5px;
}

.footer-links{
margin:10px 0;   /* kurangkan jarak */
}

.footer-links a{
color:#d8a55c;
margin:0 10px;
text-decoration:none;
font-size:14px;
}

.copyright{
margin-top:10px;
font-size:13px;
opacity:0.7;
}


/* ============================= */
/* HAMBURGER + MOBILE RESPONSIVE */
/* ============================= */

.hamburger{
display:none;
font-size:28px;
color:white;
cursor:pointer;
}

@media (max-width:768px){

nav{
justify-content:space-between;
padding:15px 20px;
}

.logo{
margin-right:0;
font-size:22px;
}

.hamburger{
display:block;
}

.menu{
display:none;
flex-direction:column;

position:absolute;
top:70px;
left:0;

width:100%;

background:rgba(96,68,20,0.95);

text-align:center;

padding:20px 0;
}

.menu.active{
display:flex;
}

.menu a{
display:block;
margin:12px 0;
}

/* FORM MOBILE */

.review-form{
width:90%;
padding:25px;
margin:30px auto;
}

.review-header h1{
font-size:30px;
}

.form-row{
flex-direction:column;
gap:10px;
}

.form-buttons{
flex-direction:column;
}

}

.logout{

position:absolute;
bottom:30px;
left:30px;

width:205px;

padding:12px;

background:#8b2e2e;
color:white;

border-radius:8px;
text-decoration:none;

transition:0.2s;

}
.logout:hover{
background:#b13a3a;
transform:scale(1.03);
}

