/* ==========================================
   FESTIVAL KREATIVITAS ANTAR LORONG RT 16
   STYLE.CSS
   PART 1
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#C62828;
    --primary-dark:#8E0000;
    --secondary:#F5F5F5;
    --white:#FFFFFF;
    --black:#222222;
    --gray:#777777;
    --border:#DADADA;
    --shadow:0 8px 30px rgba(0,0,0,.12);

}

body{

    font-family:'Poppins',sans-serif;
    background:#ececec;
    color:var(--black);

}

.container{

    width:100%;
    padding:40px 20px;

}

.form-card{

    width:100%;
    max-width:900px;
    margin:auto;

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

/* ==========================================
            HEADER
========================================== */

.header{

    background:linear-gradient(
    180deg,
    #D32F2F,
    #B71C1C);

    color:#fff;

    text-align:center;

    padding:35px;

    border-bottom:8px solid #FFD54F;

}

.header-top{

    font-size:14px;

    letter-spacing:1px;

    font-weight:500;

    text-transform:uppercase;

}

.header-middle{

    margin-top:10px;

    font-size:24px;

    font-weight:700;

}

.header-title{

    margin-top:25px;

    font-size:28px;

    font-weight:700;

    text-transform:uppercase;

}

.header-subtitle{

    margin-top:10px;

    font-size:22px;

    font-weight:600;

}

.header-theme{

    margin-top:18px;

    font-size:15px;

    font-style:italic;

    opacity:.95;

}

/* Garis putih */

.header::after{

    content:"";

    display:block;

    width:180px;

    height:4px;

    background:#fff;

    margin:20px auto 0;

    border-radius:30px;

}

/* ==========================================
            SECTION
========================================== */

.section{

    padding:30px 35px;

    border-bottom:1px solid #ECECEC;

}

.section:last-child{

    border-bottom:none;

}

.section-title{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:20px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:25px;

}

.section-title i{

    width:42px;
    height:42px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:18px;

}

/* ==========================================
            FORM GROUP
========================================== */

.form-group{

    margin-bottom:22px;

}

.form-group:last-child{

    margin-bottom:0;

}

.form-group label{

    display:block;

    font-size:15px;

    font-weight:600;

    color:#333;

    margin-bottom:8px;

}

/* ==========================================
            INPUT
========================================== */

input[type=text],
input[type=tel],
textarea{

    width:100%;

    padding:14px 16px;

    font-family:'Poppins',sans-serif;

    font-size:15px;

    color:#333;

    background:#fff;

    border:2px solid #DDDDDD;

    border-radius:10px;

    transition:.3s;

    outline:none;

}

textarea{

    resize:vertical;

    min-height:140px;

    line-height:1.6;

}

input::placeholder,
textarea::placeholder{

    color:#999;

}

/* ==========================================
            FOCUS
========================================== */

input:focus,
textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(198,40,40,.12);

}

/* ==========================================
        FORM ROW (Optional)
========================================== */

.form-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

/* ==========================================
        GARIS PEMBATAS
========================================== */

.hr{

    height:1px;

    background:#EEEEEE;

    margin:25px 0;

}

/* ==========================================
        RADIO BUTTON
========================================== */

.radio-group{

    display:flex;
    flex-wrap:wrap;
    gap:15px;

}

.radio-item{

    display:flex;
    align-items:center;
    gap:8px;

    padding:12px 18px;

    background:#F8F8F8;

    border:2px solid #DDDDDD;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

    font-size:14px;

    font-weight:500;

}

.radio-item:hover{

    border-color:var(--primary);

    background:#FFF5F5;

}

.radio-item input{

    accent-color:var(--primary);

    transform:scale(1.2);

}

/* ==========================================
        CHECKBOX GRID
========================================== */

.checkbox-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:15px;

}

.check-item{

    display:flex;

    align-items:center;

    gap:10px;

    padding:15px;

    background:#FAFAFA;

    border:2px solid #E5E5E5;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

    font-weight:500;

}

.check-item:hover{

    border-color:var(--primary);

    background:#FFF5F5;

}

.check-item input{

    width:18px;

    height:18px;

    accent-color:var(--primary);

}

/* ==========================================
            BUTTON
========================================== */

.button-area{

    display:flex;

    justify-content:center;

    gap:20px;

    padding:40px;

    flex-wrap:wrap;

}

.button-area button{

    border:none;

    cursor:pointer;

    font-family:'Poppins',sans-serif;

    font-size:16px;

    font-weight:600;

    padding:15px 35px;

    border-radius:10px;

    transition:.3s;

}

#btnSubmit{

    background:var(--primary);

    color:#fff;

}

#btnSubmit:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(198,40,40,.35);

}

.btn-reset{

    background:#757575;

    color:#fff;

}

.btn-reset:hover{

    background:#555;

    transform:translateY(-3px);

}

/* ==========================================
            FOOTER
========================================== */

.footer{

    text-align:center;

    padding:30px;

    background:#FAFAFA;

    border-top:1px solid #EEEEEE;

    font-size:14px;

    color:#666;

    line-height:1.8;

}

.footer-copy{

    margin-top:15px;

    font-size:13px;

    color:#999;

}

/* ==========================================
        RESPONSIVE
========================================== */

@media(max-width:768px){

.header{

    padding:25px 20px;

}

.header-middle{

    font-size:18px;

}

.header-title{

    font-size:22px;

}

.header-subtitle{

    font-size:18px;

}

.section{

    padding:25px 20px;

}

.form-row{

    grid-template-columns:1fr;

}

.radio-group{

    flex-direction:column;

}

.button-area{

    flex-direction:column;

}

.button-area button{

    width:100%;

}

}

/* ==========================================
        PRINT A4
========================================== */

@media print{

body{

    background:#FFFFFF;

}

.container{

    padding:0;

}

.form-card{

    max-width:100%;

    box-shadow:none;

    border-radius:0;

}

.button-area{

    display:none;

}

}