/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: whitesmoke;
}

/* Navigation Styles */
nav {
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    padding-left: 30px;
    padding-right: 30px;
}

nav img {
    width: 150px;
}

#nav-menu {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}

#dropdown-icon {
    display: block;
    padding: 20px;
    font-size: 24px;
    cursor: pointer; 
}

#menu-right {
    display: flex;
    align-items: center;
}

#menu-right.show {
    display: flex; 
    flex-direction: column; 
    width: 100%; 
}

div a {
    text-decoration: none;
    color: black;
    margin-left: 10px;
    margin-right: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #D46935;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #D46935;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media only screen and (max-width: 768px) {
    .hover-underline-animation{
        padding-bottom: 15px;
    }

    nav {
        flex-direction: column; 
        padding: 20px; 
    }

    #nav-menu {
        flex-direction: column; 
        width: 100%; 
    }

    #menu-right {
        display: none; 
        justify-content: right; 
    }

    .banner-section {
        font-size: 28px; 
        padding: 50px 10px; 
    }
}

@media only screen and (min-width: 769px) {
    #dropdown-icon {
        display: none; 
    }

    #menu-right {
        display: flex; 
    }
}


/* Contact Container Styles */
.contact-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch; 
}


.contact-container p, h1 {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-left: 20px;
}

.contact-container h1{
    padding-top: 60px;
}

.contact-container p{
    font-weight: 600;
}

.contact-info {
    width: 45%;
}

.contact-info2{
    padding-left: 50px;
}

.contact-map {
    width: 55%; 
    height: 450px; 
    padding-left: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



/* Footer Styles */
footer {
    background-color: white;
    color: black;
    padding: 20px 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-left{
    padding-left: 135px;
    width: 50%;
}

.footer-right {
    padding-left: 300px;
    width: 50%;
    padding-right: 135px;
}

.footer-left a,
.footer-right a {
    text-decoration: none;
    color: black;
}

.footer-left div,
.footer-right div {
    margin-bottom: 5px;
}

.alamat{
    padding-left: 10px;
}

.alamat-2{
    padding-left: 50px;
}

/* Style for the active link */
.active-link {
    font-weight: bold;
    text-decoration: underline;
    color: #D46935; 
}

@media screen and (max-width: 738px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        padding: 10px 0;
    }

    .footer-left {
        padding-left: 0;
    }

    .footer-right {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-left div,
    .footer-right div {
        margin-bottom: 10px;
        font-weight: normal;
        word-break: break-word;
        white-space: normal;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .alamat{
        padding-left: 10px;
    }
    
    .alamat-1,
    .alamat-2 {
        display: block;
        width: 100%;
        padding-left: 0 !important;
        margin-left: 0;
        word-break: break-word;
        white-space: normal;
    }


    .footer-left a,
    .footer-right a {
        display: inline;
        font-weight: normal;
        word-wrap: break-word;
        white-space: normal;
    }

    footer {
        padding: 20px;
        text-align: left;
    }
}

@media (max-width: 768px) {
  .contact-container h1{
    text-align: center;
  }
  .contact-container {
    flex-direction: column;
    padding: 10px;
  }

  .contact-info, .contact-map {
    width: 100%;
    padding: 0;
  }

  .contact-info {
    padding-bottom: 20px;
  }

  .contact-map iframe {
    width: 100%;
    height: 440px;
  }

  .contact-container p, 
  .contact-container h1 {
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
  }

  .contact-info2 {
    padding-left: 20px;
  }
}
