
html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    color: #111111;
    line-height: 1.6;
    position: relative;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


h1 {
    font-size: 42px;
    line-height: 1.08;
    margin: 0;
    margin-bottom: 10px;
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

p {
    font-size: 15px;
    margin-bottom: 12px;
    color: #2f2f2f;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

ul{
    margin-left: 10px;
    font-size: 15px;
    margin-bottom: 12px;
    color: #2f2f2f;
}

ul li{
    margin-bottom: 12px;
    color: #2f2f2f;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.view_mobile{
    display: none;
}


div#baris1,
div#baris2,
div#baris3,
div#baris4,
div#baris5,
div#baris6
{
    justify-content: space-between;
    background: transparent;
    margin-bottom: 25px;
}


/*slide show*/
#baris2 .item.col35 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideshow {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 320px;
    margin: 0 auto 20px auto;
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slideshow img.active {
    opacity: 1;
    z-index: 2;
}
/*end of slideshow*/

.labelTag {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

/*bagian # bawa ilustrasi*/
.labelTag span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    font-size: 12px;
    color: #333333;
    background: #fafafa;
    cursor: default;
}




/*fonts awasome dan div model kotak + label/caption*/
.btn-call {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1px solid #d9d9d9;
      border-radius: 8px;
      background-color: #ffffff;
      color: #111111;
      text-decoration: none;
      font-family: Arial, sans-serif;
      font-size: 14px;
      font-weight: 500;
      transition: 0.2s ease;
      cursor: pointer;
    }

    .btn-call i {
      font-size: 14px;
    }

    .btn-call:hover {
      background-color: #f5f5f5;
      border-color: #bfbfbf;
    }
/**/



/* baris 1 */
div#bg_baris1 {
    background-color: black;
    color: white;
    min-height: 60px;
}

div#baris1 {
    min-height: 60px;
    justify-content: space-between;
}

/* kolom kiri: logo + burger */
div#baris1 > .item.col40 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80px;
}

/* logo memanjang */
div#baris1 > .item.col40 img {
   display: block;
    height: 42px;
    aspect-ratio: 260 / 42; /* sesuaikan jika rasio asli logo berbeda */
    width: auto;
    max-width: calc(100% - 56px);
    object-fit: contain;
    margin-top: 0;
}

/* tombol burger */
div#menu_btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

div#menu_btn .btn-call {
    padding: 8px 10px;
}



/*baris2*/
div#baris2 {align-items: center;}
div#baris2 img{max-width: 320px;width: 100%;}

/*baris3*/
div#baris3{margin-top:20px; margin-bottom: 50px;}

img.logoCampus{
    height: 80px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 20px;
    vertical-align: middle;
}


/*baris4*/
div#bg_baris4
{
    background-color: rgb(241, 241, 241);padding-top: 50px;padding-bottom: 50px;margin-bottom: 20px;
}
div#baris4 hr{
    margin-top: 20px;
    margin-bottom: 20px;
}

div#detail_skill{
    justify-content: flex-start; gap: 20px; flex-wrap: wrap;
}
div#detail_skill .container_full{
    flex-wrap: wrap;
    gap: 20px;
}
div#detail_skill img{
    max-height: 125px;
    height: 100%;
    display: block;
    margin: 5px;
}

/*filter item logo*/
.skill-item {
    display: block;
    transition: 0.3s ease;
}

#detail_skill .skill-item.hide-skill {
    display: none !important;
}

#skill_filter .btn-call.active-filter {
    background-color: #111111;
    color: white;
    border-color: #111111;
}
/*end of filter item logo*/



/*baris5*/
div#baris5 img{
    max-width: 335px;
    width: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

div#baris5{
    justify-content: flex-start; gap: 20px; flex-wrap: wrap;
}

 div#baris5 img{
         /*
         max-width: 300px;
         width:100%;
         aspect-ratio: 16 / 9;
         */
         width: 100%;
        max-width: 335px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }


/*baris6*/
div#bg_baris6 {
        background-color: rgb(241, 241, 241);padding-top: 50px;padding-bottom: 50px;
}


div#bg_baris6 img{
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4; /* sesuaikan jika rasio aslinya berbeda */
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*barisFooter*/
div#barisFooter{
    justify-content: center;
    background-color: black;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
div#barisFooter .item{
    text-align: center;
}
div#barisFooter p{
        color: white;
}













form#form_kontak div{margin-bottom: 8px;}

/* Contact Form Enhancements */
form#form_kontak label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
    color: #333;
}

form#form_kontak input.btn-call,
form#form_kontak select.btn-call,
form#form_kontak textarea.btn-call {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d9d9d9;
}

form#form_kontak input.btn-call:focus,
form#form_kontak select.btn-call:focus,
form#form_kontak textarea.btn-call:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

form#form_kontak input.btn-call.error,
form#form_kontak select.btn-call.error,
form#form_kontak textarea.btn-call.error {
    border-color: #dc3545;
}

form#form_kontak input.btn-call.valid,
form#form_kontak select.btn-call.valid {
    border-color: #28a745;
}

/* Error Messages */
.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
}

/* Honeypot - hidden from users */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Form Status Messages */
.form-status {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 10px;
}

.form-status.show {
    display: flex;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-status i {
    font-size: 18px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-icon {
    flex-shrink: 0;
}

.toast-icon i {
    font-size: 24px;
}

.toast-message {
    flex: 1;
}

.toast-message strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.toast-message p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

.toast-close {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #155724;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Submit Button Loading State */
button#submit_btn {
    min-width: 140px;
    justify-content: center;
}

button#submit_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading Spinner */
.loader {
    width: 18px;
    height: 18px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive form adjustments */
@media (max-width: 767px) {
    
    form#form_kontak input.btn-call,
    form#form_kontak select.btn-call,
    form#form_kontak textarea.btn-call {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}



#top{
    position: fixed; bottom: 0; right: 0; margin: 20px;z-index: 999; color: black; font-size: 48px;cursor: pointer;
    color: black; /* Makes the fill transparent */
    -webkit-text-stroke: 1.5px white; /* Adds a 1px black stroke */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;

}

#top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#top:hover {
    transform: translateY(-6px) scale(1.08);
}


@media (max-width: 1023px) {
    #panel_menu {
        display: none;
    }

    #panel_menu.show {
        display: block;
    }

    #top {
        margin-bottom: 40px;
        margin-right: 20px;
        font-size: 32px;
        color: black;
        -webkit-text-stroke: 1.5px white;
    }

    .view_mobile {
        display: inline-block;
    }

    div.container {
        width: 90%;
    }

    /* baris1 */
    div#bg_baris1 {
        height: auto;
        min-height: 50px;
    }

    div#baris1 {
        height: auto;
        flex-direction: column;
        min-height: 50px;
    }
    
    

    div#baris1 .item {
        width: 100%;
    }

    div#baris1 > .item.col40 {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 52px;
        padding-right: 48px;
    }

    div#baris1 > .item.col40 img {
            display: block;
            height: 22px;
            aspect-ratio: 260 / 42; /* samakan dengan desktop */
            width: auto;
            max-width: 100%;
            object-fit: contain;
            margin-top: 0;
    }

    div#menu_btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
        z-index:999;
    }

    /* baris2 */
    div#baris2 {
        flex-direction: column;
    }

    div#baris2 .item {
        width: 100%;
    }

    /* baris3 */
    div#baris3 {
        flex-direction: column;
    }

    div#baris3 .item {
        width: 100%;
    }

    div#baris3 img {
        margin-bottom: 30px;
    }

    /* baris4 */
    div#baris4 {
        flex-direction: column;
    }

    div#baris4 img {
        max-width: 75px;
        width: 100%;
    }

    div#detail_skill .container_full {
        justify-content: center;
    }

    /* baris5 */
    div#baris5 {
        flex-direction: column;
    }

    div#baris5 .item {
        width: 100%;
    }

    div#baris5 .img {
        max-width: 300px;
        width: 100%;
    }

    /* baris6 */
    div#baris6 {
        flex-direction: column;
    }

    div#baris6 .item {
        width: 100%;
    }

    div#barisFooter .item {
        width: 100%;
    }

    h1 {
        font-size: 38px;
    }
}


