/*
Theme Name: Melo Bali
Author: Natalia
*/


/* 1. HEADER */

.header {
    background-color: rgba(0,0,0,0.35);
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.header .col-9 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header .megamenu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}
.logo {
    display: none;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #fff;
    padding: 2px;
    object-fit: cover;
}

.logo h2 {
    font-family: "cormorant", Arial, serif;
    letter-spacing: 0.5px;
    margin: 0;
    font-size: 30px;
    color: #222;
    font-weight: 400;

}
.megamenu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
}

.megamenu li {
    list-style: none;
    flex-shrink: 0;
}

.megamenu li a {
    color: #cecece;
    padding: 10px 8px;
    display: block;
    transition: .3s;
    text-decoration: none;
    white-space: nowrap;
}

.megamenu li a:hover {
    background: rgba(0,0,0,0);
    color: #100;
    text-decoration: none;
}

/* 2. CONTAINER FLUID*/

.container-fluid video {
    width:100%;
    height:700px;
    object-fit:cover;
    display:block;
}

.hero-content {
    margin: 0 auto;
    padding: 6%;
    background: #f8f9fa;
    text-align: center;
    border-radius: 15px;
}

.hero-content p {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

/* 3. MAIN DESCRIPTION */

.main-desc {
    background-color: #F8F9FA;
    margin-top: 60px;
    border-radius: 10px;
    text-align: center;
    padding: 50px 150px;
}

.text-section p {
    text-align: justify;
}

/* 4. PROJECT SECTION */

.video-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.video-carousel{
    display:flex;
    gap:25px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:20px 0;
}

.video-carousel:-webkit-scrollbar{
    display:none;
}

.video-item{
    flex:0 0 260px;
    border-radius: 20px;
    transition: transform .35s ease;
  
}

.video-item video{
    width:100%;
    aspect-ratio:9/16;
    object-fit:cover;
    border-radius: 16px;
    border:2px solid #EAEAEA;
    transition: transform .35s ease;
    
}

.video-item:hover{
    transform: translateY(-8px);
}

.video-item:hover video{
    transform: scale(1.05);
}

.video-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding-top:18px;

}

.video-content h5{
    font-size:22px;
    font-weight:700;
    margin-bottom:10px;
    padding-top: 18px;
}

.video-content p{
    max-width:220px;
    margin:0 auto;
}

.arrow-button{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#fff;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    cursor:pointer;
    font-size:24px;
}

.arrow-left{
    margin-right:15px;
}

.arrow-right{
    margin-left:15px;
}

/*  5. COLLABORATE SECTION */

.Collaborate-title {
    text-align: center;
    margin: 60px 0 70px;
}

.Collaborate-title .title-main {
    display: block;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    color: #222;
}

.Collaborate-title .title-sub {
    display: block;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    color: #666;
    margin-top: 2px;
}

.entry-card {
    width: 92%;
    background:#f7f7f7;
    border:1px solid #ececec;
    border-radius:24px;
    padding:30px;
    margin:50px auto;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.entry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.level-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #222;
    margin-bottom: 20px;
}

.entry-card p {
    max-width: 600px;
    font-size: 17px;
    line-height: 1.9;
    color: #666;
    margin: 0;
}

.entry-video {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    object-fit: cover;
}


/* 6. FOOTER*/

.footer {
    background: #f2f2f2;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.footer h2 {
    color: #ffcd00;
    font-size: 20px;
    border-bottom: 1px dotted #cecece;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.footer h3 {
    font-family: "cormorant", Arial, serif;
    letter-spacing: 0.5px;
    margin: 0;
    font-size: 30px;
    color: #222;
    font-weight: 400;
}

.footer .col-lg-3 {
    margin-bottom: 30px;
}

.footer-brand {
    text-align: center;
}

.footer-brand img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 15px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 1px solid #fff;
    padding: 2px;
}

.footer-brand h3 {
    margin: 0;
    color: #282828;
    font-family: "Arial Black", Arial, sans-serif;
}

.footer address {
    color:#666;
    line-height:2;
}

.sosmed a {
    font-size:40px;
    margin-right:10px;
    text-align: center;
}

.sosmed .fa-square-facebook {
    color:#1243b4;
}

.sosmed .fa-square-instagram {
    color:#d8049f;
}

.sosmed .fa-square-youtube {
    color:#f00;

}

.sosmed .fa-square-whatsapp {
    color:#25D366;

}

.footer ul {
    list-style:none;
    padding:0;
    margin:0;
}

.footer li a {
    color:#666;
    padding:10px 0;
    display:block;
    border-bottom:dotted 1px #a6a6a6;
    transition:.3s;
    text-decoration: none;
}

.footer li a:hover {
    color:#282828;
    padding-left:10px;
    text-decoration: none;
}

/*  7. COPYRIGHT */

.copyright {
    background-color: #000;
    padding:10px 0;
    text-align:center;
    color: #fff;  
    width: 100%; 
}

/* 8. RESPONSIVE */


/* MOBILE */

@media (min-width: 320px) and (max-width: 767px) {

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 8px 0;
        z-index: 9999;
    }

    .header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .header .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 5px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo h2 {
        display: block;
        font-size: 24px;
        color: #222;
    }

    .header .col-9 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .megamenu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin: 0;
        padding: 0;
        overflow: visible;
        
    }

    .megamenu li {
        width: 100%;
        flex-shrink: 0;
        list-style: none;
        text-align: center;
    }

    .megamenu li a {
        display: block;
        width: 100%;
        padding: 8px 5px;
        font-size: 13px;
        white-space: nowrap;
        text-decoration: none;
        cursor: pointer;


    }

    .container-fluid video {
        height: 500px;
        object-fit: cover;
    }

    .main-desc {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .main-desc h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .main-desc p {
        font-size: 15px;
        line-height: 1.7;
    }

    .video-item {
        flex: 0 0 180px;
    }

    .Collaborate-title {
        margin: 40px 0 50px;
    }

    .Collaborate-title .title-main {
        font-size: 36px;
    }

    .Collaborate-title .title-sub {
        font-size: 24px;
    }

    .entry-card {
        width: 92%;
        padding: 20px;
        margin: 30px auto;
    }

    .level-title {
        font-size: 28px;
    }

    .entry-card p {
        font-size: 15px;
    }

    .entry-video {
        max-width: 240px;
    }

    .footer {
        width: 94%;
        margin: 30px auto 0;
        padding: 25px 20px;
    }

    .footer-brand img {
        width: 100px;
        height: 100px;
    }

    .copyright {
        font-size: 13px;
    }
}


/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {

    .header {
        padding: 5px 0;
    }

    .header .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    }

    .logo {
        display: flex;
        width: 20%;
        flex: 0 0 30%;
        max-width: 30%;
        align-items: center;
        gap: 8px;

    }

    .logo img {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        object-fit: cover;
    }

    .logo h2 {
        font-size: 20px;
        white-space: nowrap;
        margin: 0;
    }

    .header .col-9 {
        width: 70%;
        flex: 0 0 70%;
        max-width: 70%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .megamenu {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        padding: 0;
        idth: 100%;
        overflow: visible;
    }

    .megamenu::-webkit-scrollbar {
        display: none;
    }

    .megamenu li {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .megamenu li a {
        padding: 7px 5px;
        font-size: 10px;
        white-space: nowrap;
        cursor: pointer;
    }

    .container-fluid video {
        height: 500px;
    }

    .main-desc {
        padding: 30px 20px;
    }

    .hero-content {
        padding: 35px 30px;
    }

    .video-item {
        flex: 0 0 180px;
    }

    .Collaborate-title .title-main {
        font-size: 42px;
    }

    .Collaborate-title .title-sub {
        font-size: 27px;
    }

    .entry-card {
        width: 92%;
        padding: 25px;
    }

    .level-title {
        font-size: 30px;
    }

    .entry-video {
        max-width: 240px;
    }

    .footer {
        width: 94%;
        padding: 30px 25px;
    }
}


/* LAPTOP */

@media (min-width: 992px) and (max-width: 1199px) {

    .header .row {
        display: flex;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .logo img {
        width: 55px;
        height: 55px;
    }

    .logo h2 {
        font-size: 26px;
    }

    .header .col-9 {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .megamenu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: nowrap;
        gap: 2px;
        margin: 0;
        padding: 0;
    }

    .megamenu li {
        flex-shrink: 0;
    }

    .megamenu li a {
        padding: 8px 6px;
        font-size: 12px;
        white-space: nowrap;
        cursor: pointer;
    }

    .container-fluid video {
        height: 550px;
    }

    .main-desc {
        padding: 40px 50px;
    }

    .hero-content {
        padding: 5%;
    }

    .main-desc h1 {
        font-size: 32px;
    }

    .video-item {
        flex: 0 0 220px;
    }

    .Collaborate-title .title-main {
        font-size: 46px;
    }

    .Collaborate-title .title-sub {
        font-size: 29px;
    }

    .entry-card {
        width: 80%;
        max-width: 1000px;
    }

    .level-title {
        font-size: 34px;
    }
}


/* DESKTOP */

@media (min-width: 1200px) {

    .header .row {
        display: flex;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .logo h2 {
        font-size: 30px;
    }

    .header .col-9 {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .megamenu {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: nowrap;
        gap: 5px;
        margin: 0;
        padding: 0;
    }

    .megamenu li {
        flex-shrink: 0;
    }

    .megamenu li a {
        padding: 10px 8px;
        font-size: 14px;
        white-space: nowrap;
        cursor: pointer;
    }

    .container-fluid video {
        height: 700px;
    }

    .main-desc {
        padding: 50px 150px;
    }

    .hero-content {
        padding: 6%;
    }

    .main-desc h1 {
        font-size: 36px;
    }

    .video-item {
        flex: 0 0 260px;
    }

    .Collaborate-title {
        margin: 60px 0 70px;
    }

    .Collaborate-title .title-main {
        font-size: 48px;
    }

    .Collaborate-title .title-sub {
        font-size: 30px;
    }

    .entry-card {
        width: 80%;
        max-width: 1000px;
    }

    .level-title {
        font-size: 42px;
    }

    .entry-video {
        max-width: 280px;
    }