@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@800&display=swap');

.logo-brand-img {
    height: 80px;
}

.counter-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-area {
    padding: 100px 0;
    position: relative;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.content-area div {
    position: relative;
    z-index: 2;
}

.content-area-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1;
}


.content-area-headmaster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(244, 255, 245, 0.95);
    z-index: 1;
}

.content-area-smk-coe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
}
  

.content-area-jurusan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    z-index: 1;
}


.content-area-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .95);
    z-index: 1;
}

.content-bar {
    width: 100px;
    height: 5px;
    display: inline-block;
    opacity: unset;
    margin: 0;
}
  

/* OWL CAROUSEL SLIDER */
.owl-item .mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.owl-item img {
    width: 100%;
    height: 550px!important;
    object-fit: cover;
    object-position: center;
}

.owl-custom-nav {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.owl-custom-nav-item {
    cursor: pointer;
    background-color: #fff;
    color: #00b00c;
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

.owl-custom-nav-prev {
    border-radius: 0 10px 10px 0;
}

.owl-custom-nav-next {
    border-radius: 10px 0 0 10px;
}

.owl-custom-nav-item:hover {
    background-color: #00b00c;
    color: #fff;
    transition: all 0.3s ease-in-out;
}
/* END OWL CAROUSEL SLIDER */

/* START WELCOME PAGE */
#welcome {
    position: relative;
    /* background-color: #00b00c; */
}

#welcome .welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    opacity: 0.1;
}

#welcome .mask {
    background-color: #cfffd2;
}

#welcome .counter-box {
    border-radius: 20px;
}
#welcome .video-container iframe {
    border-radius: 20px!important;
}
/* END WELCOME PAGE */

/* START SMK COE */
#smk-coe {
    background-color: #198754;
}
/* END SMK COE */

/* START JURUSAN */
.jurusan-list {
    text-decoration: none;
    width: 100%;
    height: 66px;
    padding: 10px 15px;
    display: block;
    border-radius: 10px;
    font-weight: bolder;
    font-size: 14px;
    color: #fff;
    border: 2px solid #fff;
    transition: all 0.3s ease-in-out;
    background: none;
    text-align: left;
}
.jurusan-list:hover {
    background-color: #fff;
    color: #198754;
}
.jurusan-list.active {
    background-color: #fff;
    color: #198754;
}
.jurusan-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}
/* END JURUSAN */

/* START BERITA */
.news-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
}
.news-item {
    transition: all 0.3s ease-in-out;
}
.news-item:hover {
    margin-left: 10px;
    margin-right: -10px;
}
/* END BERITA */

/* NEWS CONTENT */
.news-recent {
    margin: 15px 0;
}
.news-recent-item {
    background: #f5f5f5;
    border-radius: 10px;
}
.news-recent-item img {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}
.news-content-data img {
    max-width: 100%;
    height: auto;
}
.news-content-data iframe {
    max-width: 100%;
}
.news-content-data figcaption {
    display: none;
}
/* END NEWS CONTENT */

/* ANNOUNCEMENT CONTENT */
.announcement-recent {
    margin: 15px 0;
    border-radius: 10px;
}
.announcement-recent-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.announcement-recent-item img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}
.announcement-desc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    color: #353535;
    padding: 10px;
    border-radius: 10px;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease-in-out;
}
.announcement-recent:hover .announcement-desc {
    opacity: 1;
    z-index: 1;
}
.announcement-recent:hover img {
    transform: scale(1.1);
}
/* END ANNOUNCEMENT CONTENT */

#loadingOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#loadingOverlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* JARGON */
.jargon {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 50px 0;
    background-color: #000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.jargon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
}

.jargon h5 {
    z-index: 2;
}

.jargon-container {
    padding: 20px;
    display: flex;
    gap: 40px;
    align-items: center;
    z-index: 2;
}

.jargon-title {
    font-size: 5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #198754, #198754, #ffffff, #ffffff, #198754);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 4s ease-in-out infinite;
}

#full-form-container {
    position: relative;
    padding: 15px 30px;
    overflow: hidden;
    transition: background-color 0.5s ease-in-out;
}

/* Animasi background kuning */
@keyframes bg-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

#full-form-container.active {
    background-color: #198754;
    animation: bg-pulse 3s infinite;
}

.jargon-full {
    font-size: 2.5rem;
    line-height: 1.6;
    margin: 0;
    color: #000000;
    white-space: nowrap;
    opacity: 0;
    font-weight: bold;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.jargon-full.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.jargon-full.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

@keyframes text-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
      max-width: 1140px;
    }
}

@media (max-width: 768px) {
    .content-area.jargon {
        background-size: cover;
        background-position: center;
        padding: 2rem 1rem;
        text-align: center;
    }

    .jargon-container {
        padding: 1rem 0;
    }

    .jargon-title {
        font-size: 2.5rem;
    }

    #full-form-text.jargon-full {
        font-size: 1.5rem;
        white-space: normal; /* agar teks bisa melipat di mobile */
    }
}

@media (max-width: 480px) {
    .jargon-title {
        font-size: 2rem;
    }

    #full-form-text.jargon-full {
        font-size: 1.2rem;
    }
}
