@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif; 
}

:root {
    --text-color: #ff7b00;
    --bg-color: #2f2c2c;
    --white: #fff;
    --black: #000;
    --mob-color: #3f3c3c;
    --bg-gradient: linear-gradient(180deg, #80c4e5 0%, #d5ecf7 100%);
}

.container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
}

header {
    background: transparent;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

nav .logo {
    z-index: 1;
}

nav .logo a {
    text-decoration: none;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    color: #00b0e9;
}

nav .logo a span {
    color: #87d745;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    font-size: 18px;
    list-style: none;
    z-index: 1;
}

nav .logo img {
    height: 50px;   /* sesuaikan ukuran tinggi logo */
    width: auto;    /* biar proporsi terjaga */
    display: block;
}


nav ul li a {
    text-decoration: none;
    color: var(--white);
    position: relative;
    text-transform: uppercase;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #00b0e9;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #fff;
    transition: 0.3s ease;
}

nav ul li a:hover::before {
    width: 100%;
}

nav .order {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 5px;
    color: var(--white);
    background: #00b0e9;
    border: 2px solid #fff;
    outline: none;
    cursor: pointer;
    transition: 0.3s ease;
}

nav .order:hover {
    background: transparent;
    color: #00b0e9;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white; /* warna ikon */
}

.hamburger .menu {
    display : none;
}

.hamburger svg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5em;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: var(--white);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked ~ svg {
    transform: rotate(-45deg);
}

.hamburger input:checked ~ svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Home Section */

.home {
    background: var(--bg-gradient);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    padding: 250px 0 50px;
}

.home .info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left {
    flex: 1;
}

.left h1 {
    font-size: 4em;
    line-height: 1.1em;
    letter-spacing: 0.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #339fc2; /* warna isi huruf */
    -webkit-text-stroke: 2px white; /* garis pinggir putih */
    text-stroke: 1px white; /* untuk browser lain (fallback) */
    margin: 10px 0;
}


.left p {
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: #fff;
    margin-bottom: 25px;
    text-align: justify;
}

.left .btn {
    margin: 25px 0 0;
}

.left .social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.left .social a {
    text-decoration: none;
    background: #00b0e9;
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    border: 2px solid var(--white);
}

.left .social a i {
    font-size: 20px;
}

.left .social a:hover {
    transform: translateY(-5px);
    color: #fff;
    background: transparent;
}

.left .btn button {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 5px;
    color: var(--white);
    background: #00b0e9;
    border: 2px solid #fff;
    outline: none;
    cursor: pointer;
    transition: 0.4s ease;
}

.left .btn button:hover {
    color: #00b0e9;
    background: transparent;
    transform: translateY(-5px);
}

.right {
    flex: 1;
}

.right .image {
    text-align: right;
}

.right .image img {
    width: 650px;
    height: 600px;
    object-fit: cover;
    border-radius: 50%;
    transition: 0.4s ease;
}

.right .image img:hover {
    transform: scale(1.15);
}

/*media screen */

@media screen and (max-width: 1280px) {
    nav {
        padding: 0 50px;
    }

    .home {
        padding: 250px 50px;
        z-index: auto;
    }

    .left h1 {
        font-size: 3em;
    }

    .right .image img {
        width: 450px;
        height: 450px;
    }
}

@media screen and (max-width: 992px) {
    header {
        background: rgba(163, 210, 233, 0.8);
        backdrop-filter: blur(10px);
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 9;
    }

    nav .logo a {
        font-size: 30px;
    }

    nav .hamburger {
        display: block;
    }

     nav ul {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: transparent; 
        gap: 0;
        padding: 0;
        overflow: hidden;
        max-height: 0; 
        transition: all 0.4s ease-in-out;
    }

     nav ul li {
        width: 100%;
    }

     nav .order {
    margin-left: 25px; 
}

    nav ul li a {
        font-size: 20px;
        display: block;
        width: 100%;
        padding: 12px 30px;
    }

    nav ul.active {
        background: rgba(163, 210, 233, 0.9); 
        backdrop-filter: blur(10px);
        padding: 15px 0;
        gap: 10px;
        max-height: 500px; /* cukup besar agar muat menu */
    }

    .home {
        position: relative;
        padding: 30px 50px;
    }

    .info {
        flex-direction: column-reverse;
    }
}


@media screen and (max-width: 767px) {
    .right .image img {
        width: 600px;
        height: 400px;
    }

     nav .order {
    margin-left: 25px; /* geser agak ke kiri dari tepi */
    }
    
   .home {
    position: relative;
    min-height: 100vh;
    margin-top: 0;
    padding-top: 90px; /* biar konten tidak ketutup header */
    z-index: 1;
  }

  /* background tetap diam */
  .home::before {
    content: "";
    position: fixed; /* tetap meski discroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("bg-mobile.jpg") no-repeat center center;
    background-size: cover;
    z-index: -1; /* taruh di belakang konten */
  }

.left p {
        
        color: #000000c0;
    }

/* HEADER */
header {
  position: absolute; /* header jadi melayang di atas gambar */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent; /* biar gambar kelihatan di belakang header */
}
}


@media screen and (max-width: 567px) {
    nav {
        padding: 0 30px;
    }

    nav ul {
        padding: 0;
    }

    nav .order {
    margin-left: 25px; /* geser agak ke kiri dari tepi */
}

    nav ul.active {
    padding: 15px 0; /* muncul saat dibuka */
}

    nav ul li a {
        font-size: 20px;
        
    }

    .home {
        padding: 30px;
    }

    .left h1 {
        font-size: 2.5em;
    }

    .left p {
        font-size: 14px;
        color: #72b9d1;
    }

    .right .image img {
        width: 480px;
        height: 450px;
    }

    
}

@media screen and (max-width: 427px) {
    .left h1 {
        font-size: 2.1em;
    }
}

