:root{
    --primary: #e6dd68;
    --bg: #010101;
}

.active {
    opacity: 4;
    transition: all is ease-out;
    animation: tes 0.5s linear;
    transition-delay: 0.5s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
font-family: 'poppins', sans-serif; 
background-color: var(--bg);
color: white;
cursor: none; 
}

/* navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    background-color: rgb(89, 109, 119 );
    border-bottom: 1px solid #5f5c30;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar .navbar-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-style: italic;
}

.navbar .navbar-logo span {
    color: var(--primary)
}

.navbar .navbar-nav a {
    color: white;
    display: inline-block;
    font-size: 1.4ram;
    margin: 0 1rem;

}

.navbar .navbar-nav a:hover {
    color: var(--primary);
}

.navbar .navbar-nav a::after {
    content: '';
    display: block;
    padding-bottom: 0.5ram;
    border-bottom: 0.1rem solid var(--primary);
    transform: scaleX(0);
    transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: white;
    margin: 0 0.5rem;

}

.navbar .navbar-extra a:hover {
    color: var(--primary)
}


#pencarian-menu {
    display: none;
}

#pointer {
      position: fixed;
      width: 50px;
      height: 50px;
      background: url('img/paw-kuning.svg') no-repeat center center / contain;
      pointer-events: none;
      transform: translate(-50%, -50%);
      z-index: 9999;
    }

    /* jejak paw */
    .trail {
      position: fixed;
      width: 25px;
      height: 25px;
      background: url('img/paw-grey.svg') no-repeat center center / contain;
      pointer-events: none;
      opacity: 0.8;
      transform: translate(-50%, -50%) scale(0.9);
      animation: fadeTrail 2s forwards;
      z-index: 9998;
    }

    @keyframes fadeTrail {
      from { opacity: 0.8; transform: translate(-50%, -50%) scale(0.9); }
      to   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    }

    /* efek klik paw */
    .click-paw {
      position: fixed;
      width: 40px;
      height: 40px;
      background: url('img/paw-pink.svg') no-repeat center center / contain;
      pointer-events: none;
      transform: translate(-50%, -50%) scale(0);
      opacity: 1;
      animation: pop 0.6s forwards;
      z-index: 10000;
    }

    @keyframes pop {
      0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
      50%  { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
      100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    }

button, a {
    cursor: none; /* hilangkan cursor tangan saat hover */
}

/* hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../img/header-bg.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0));
}


/* .hero::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    background: linear-gradient(0deg,rgba(1, 1, 3, 1,) 8%, rgba(255, 255, 255, 0) 50%);
} */

.hero .content {
    padding: 1.4rem 7%;
    max-width: 60rem;
}

.hero_h1 {
    font-size: 5em;
    color: white;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    line-height: 1.2;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .hero_h1 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.5s;
    transform: none;
}

.hero .content h1 span {
    color: var(--primary);
}

.hero_desc {
    font-size: 1.6rem;
    margin-top: 1rem;
    line-height: 1.4;
    font-weight: 100;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    mix-blend-mode: difference;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .hero_desc {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1s;
    transform: none;
}

.cta {
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .cta {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.5s;
    transform: none;
}

.cta_link {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.4rem;
    color: white;
    background-color: var(--primary);
    border-radius: 0.5rem;
    cursor: pointer;
}

.cta_link:hover {
    background-color: transparent;
    border: 1px solid white;
    color: var(--primary);
}

/* about section */
.about,
.menu,
.contact {
    padding: 40px;
}

.about h2, 
.menu h2,
.contact h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.about h2 span, 
.menu h2 span,
.contact h2 span {
    color: var(--primary)
}

.about_head {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .about_head {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1s;
    transform: none;
}

.about .row {
    display: flex;
    gap: 20px;
}

.about-img img {
    width: 100%;
}

.about-img {
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .about-img {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.5s;
    transform: none;
}

.box {
    padding: 0 20px;
}

.about_h3box {
    font-size: 20px;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .about_h3box {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.25s;
    transform: none;
}

.about_desc {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 100;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .about_desc {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.5s;
    transform: none;
}


/* menu section */
.us {
    margin-top: 80px;
}

.head_us_h2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .head_us_h2 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.5s;
    transform: none;
}

.head_us_p {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .head_us_p {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.75s;
    transform: none;
}

.menu h2,
.contact h2 {
    margin-bottom: 1rem;
}
.menu p,
.contact p {
    text-align: center;
    max-width: 30rem;
    margin: auto;
    font-weight: 100;
    line-height: 1.6;
}

.menu .row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5rem;
    justify-content: center;
    gap: 20px;
}

.menu-card {
    text-align: center;
    padding-bottom: 4rem;
}

.menu-card-img {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .menu-card-img {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.25s;
    transform: none;
}

.menu-card-title {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .menu-card-title {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.5s;
    transform: none;
}

/* contact section */
.contact .row {
    display: flex;
    margin-top: 2rem;
    background-color: #222;
}

.head_contact_h2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .head_contact_h2 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.5s;
    transform: none;
}

.head_contact_p {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .head_contact_p {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.75s;
    transform: none;
}

.map {
    width: 100%;
    padding: 20px;
}

iframe {
    width: 100%;
    height: 100%;
}

.iframe_map {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .iframe_map {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1s;
    transform: none;
}

/* animation form */
.label1 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .label1 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.25s;
    transform: none;
}

.input1 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .input1 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.5s;
    transform: none;
}

.label2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .label2 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.75s;
    transform: none;
}

.input2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .input2 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 2s;
    transform: none;
}

.label3 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .label3 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 2.25s;
    transform: none;
}

.input3 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .input3 {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 2.5s;
    transform: none;
}

.btn {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .btn {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 2.75s;
    transform: none;
}

form {
    width: 100%;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: center
}

input {
    padding-left: 10px;
    width: 100%;
    height: 40px;
    background: transparent;
    border: 1px solid white;
    color: white;
}

.btn {
    margin-top: 3rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7 rem;
    color: white;
    background-color: var(--primary);
    cursor: pointer;
}

.input-group:focus-within {
  color: white;
}

/* footer */
footer {
    background-color: var(--primary);
    text-align: center;
    padding: 40px;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 20px;

}


.socials a.instagram svg {
    stroke: #fff; 
    background: radial-gradient(circle at 30% 107%, 
      #fdf497 0%, #fdf497 5%, 
      #fd5949 45%, #d6249f 60%, 
      #285AEB 90%);
    border-radius: 5px;
}

/* Twitter */
.socials a.twitter svg {
  stroke: #1DA1F2;
}

/* Facebook */
.socials a.facebook svg {
  stroke: #1877F2;
}

/* Hover effect */
.socials a:hover {
  transform: scale(1.1);
}

footer .socials a {
    color: var(--bg);
    margin: 1rem;
}

.socials a.twitter svg:hover,
.socials a.instagram svg:hover,
.socials a.facebook svg:hover,
footer .links a:hover {
    stroke: white;
    background: unset;
    color: white;
}

footer .links a {
    color: var(--bg);
    padding: 0.7rem 1rem;
}

footer .credit {
    font-size: 0.8rem;
}

footer .credit a {
    color: var(--bg);
    font-weight: 700;
}

.credit {
    color: var(--bg);
}

/* animation footer */
.instagram {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .instagram {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.25s;
    transform: none;
}

.twitter {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .twitter {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.5s;
    transform: none;
}

.facebook {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .facebook {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 0.75s;
    transform: none;
}

.footer_home {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .footer_home {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1s;
    transform: none;
}

.footer_about {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .footer_about {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.25s;
    transform: none;
}

.footer_menu {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .footer_menu {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.25s;
    transform: none;
}

.footer_contact {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .footer_contact {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.5s;
    transform: none;
}

.credit_p {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .credit_p {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1.75s;
    transform: none;
}

.credit_a {
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .credit_a {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 2s;
    transform: none;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 1s ease;
    transition-delay: 0s;
}

.animated .dropdown {
    opacity: 1;
    transition: all 1s ease-out;
    transition-delay: 1s;
    transform: none;
}
.dropbtn {
    background-color: var(--primary);
    color: white;
    font-weight: bolder;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.dropbtn:hover {
    background-color: var(--bg);
    color: var(--primary);
    border: 1px solid white;
}
.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.dropdown.show .arrow {
    transform: rotate(136deg);
}

/* Dropdown animasi */
.dropdown-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1;
}
.dropdown.show .dropdown-content {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
    margin-top: 10px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.dropdown-content a:last-child {
    border-bottom: none;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* PDF Viewer */
.pdf-viewer {
    opacity: 0;
    transform: translateY(10px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}
.pdf-viewer.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 1000px;
}

.pdf-toolbar {
    padding: 10px;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.pdf-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pdf-left span  {
    color: black;
}
.pdf-toolbar a,
.pdf-toolbar button {
    padding: 6px 12px;
    background: #2b6cb0;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.pdf-toolbar a:hover,
.pdf-toolbar button:hover {
    background: #1e4d82;
}
.pdf-toolbar .close-btn {
    background: #e63946;
}
.pdf-toolbar .close-btn:hover {
    background: #c82333;
}
.pdf-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}
/* media queries */

/* laptop */ 
@media (max-width: 1366px) {
    html {
        font-size: 75%;
    }
    .dropbtn { 
        font-size: 15px; 
        padding: 10px 14px; 
    }
    .pdf-frame { 
        height: 500px; 
    }
}
/* tablet */
@media (max-width: 758px) {
    html {
        font-size: 62.5%;
    }
    .dropbtn { 
        font-size: 14px; 
        padding: 8px 12px; 
    }
    .dropdown-content { 
        min-width: 180px; 
    }
    .pdf-frame { 
        height: 400px; 
    }
    .pdf-toolbar { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .pdf-left { 
        flex-direction: column; 
        align-items: flex-start; 
    }

    #pencarian-menu {
        display: inline-block;
    }

    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: white;
        width: 30rem;
        height: 100vh;
        transition: 0.3s;
    }

    .navbar .navbar-nav.active {
        right: 0;

    }

    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1.5rem;
        padding: 0.5rem;
        font-size: 2rem;
    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }
    
    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }

    .us {
        margin-top: unset;
    }

    .about .row {
        flex-wrap: wrap;
    }

    .about .row .about-img img {
        height: 24rem;
        object-fit: cover;
        object-position: center;
    }

    .about .row .content {
        padding: 0;
    }

    .about .row .content h3 {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .about .row .content p {
        font-size: 1.6rem;
    }

    .menu p {
        font-size: 1.2rem;
    }

    .contact .row {
        flex-wrap: wrap;
    }
    .contact .row .map {
        height: 30rem;
    }

    .contact .row form {
        padding-top: 0;
    }

    .menu .row .menu-card img {
        width: 150px;
        height: 150px;
    }

    #pointer {
        display: none;
    }
}

/* mobile phone */
@media (max-width: 450px) {
    html {
        font-size: 55%;
    }
    .dropbtn { 
        font-size: 13px; 
        padding: 8px 10px; 
    }
    .dropdown-content { 
        min-width: 150px; 
        font-size: 13px; 
    }
    .pdf-frame { 
        height: 300px; 
    }
    .pdf-toolbar a, 
    .pdf-toolbar button { 
        font-size: 12px; 
        padding: 5px 10px; 
    }
}