body {
    font-family: sans-serif;
}
.position-relative{
    position: relative;
}
.overflow-hidden{
    overflow: hidden;
}
.hero-section {
    padding: 20px 0; 
    background-color: #ffffff;
}

.hero-inner {
    position: relative;
    height: 85vh;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center 20%;
    border-radius: 40px;
    overflow: hidden;
}

.hero-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* NAVIGATION hamburger kanan atas */
.navbar-hero {
     position: absolute;
    top: 40px;
    right: 50px;
    background: transparent;
    z-index: 10;
}
.hero-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.hero-menu span {
    width: 40px;
    height: 5px;
    background: #ffffff;
    margin-bottom: 5px;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO Kiri Atas */
.hero-logo {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 5;
}
.hero-logo img { 
    height: 45px; 
}

/* Konten Tengah */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 80%;
    text-align: center;
}
.hero-image {
    max-width: 550px;
    width: 100%;
    height: auto;
}

/* AREA PUTIH POJOK */
.cta-patch {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    padding: 30px 40px;
    border-top-left-radius: 60px; 
    z-index: 10;
    border-bottom-right-radius: 0 !important;
}
.cta-patch::before,
.cta-patch::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: transparent;
}
/* Lengkungan atas (Vertical) */
.cta-patch::before {
    top: -40px; 
    right: 0;
    border-bottom-right-radius: 40px; 
    box-shadow: 20px 20px 0 20px #fff; 
}
/* Lengkungan samping (Horizontal) */
.cta-patch::after {
    bottom: 0;
    left: -40px; 
    border-bottom-right-radius: 40px;
    box-shadow: 20px 20px 0 20px #fff;
}

/* TOMBOL */
.cta-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 20; 
}
/* Layer tambahan tepat di pojok kanan bawah */
.cta-buttons::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: #ffffff;
    z-index: -1;
    pointer-events: none;
    border-radius: 0;
}
.btn-outline {
    display: inline-block;
    border: 2px solid #005a2b;
    color: #005a2b;
    padding: 20px 25px;
    border-radius: 100px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 14px;
    background: transparent;
    transition: 0.3s;
}
.btn-outline:hover {
    background: #005a2b;
    color: #fff;
}


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

.full-image-section {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

/* Container Gambar */
.full-image-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.full-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover 20%; 
}

.dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 40%);
    z-index: 2;
}

/* Container Konten */
.content-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-end; 
    padding-bottom: 30px; 
}

.container-custom {
    width: 100%;
    max-width: 100%; 
    margin: 0; 
    padding: 40px 80px; 
    display: flex;
    justify-content: space-between; 
    align-items: flex-end;
}

.text-area h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.text-area p {
    color: #fff;
    font-size: 20px;
    margin: 10px 0 0 0;
}

.social-icons {
    position: relative; 
    display: flex;
    gap: 12px;
    z-index: 3;
}

.social-icons a {
    width: 30px;
    height: 30px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icons a i {
    font-size: 22px;
}

.social-icons a:hover {
    background: #005a2b;
    color: #ffffff;
    transform: translateY(-3px);
}

.social-icons a.noborder {
    width: 38px;
    height: 38px;
    border:none;
    display: flex;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}
.social-icons a.noborder i {
    font-size: 34px;  
}
.social-icons a.noborder:hover {
    background: transparent; 
    color: #ffffff;     
    transform: translateY(-3px);
}

/* Tablet (768px kebawah) */
@media (max-width: 768px) {
    .container-custom {
        padding: 0 20px !important; 
        
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .full-image-section {
        height: 80vh; 
    }

    .text-area h2 {
        font-size: 24px;
    }

    .cta-patch {
        padding: 15px 20px; 
        border-top-left-radius: 40px;
    }
}

/* HP (576px kebawah) */
@media (max-width: 576px) {
    .container-custom {
        padding: 0 15px !important;
    }
    
    .text-area h2 {
        font-size: 20px;
    }

    .btn-outline {
        padding: 12px 15px; 
        font-size: 10px;    
        border-width: 1px;  
    }

    .cta-buttons {
        gap: 10px; 
    }

    .cta-buttons::after {
        bottom: -20px;
        right: -30px;
        width: 60px;
        height: 60px;
    }

    .cta-patch::before, 
    .cta-patch::after {
        width: 20px;
        height: 20px;
    }
    .cta-patch::before { 
        top: -20px; 
        box-shadow: 10px 10px 0 10px #fff; 
    }
    .cta-patch::after { 
        left: -20px; 
        box-shadow: 10px 10px 0 10px #fff; 
    }
}
