/* 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; 
    }
}

/* About Section Styles */
.about-section {
    background-image: url('../Images/PROJECK2.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-section h1 {
    font-size: 48px;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Content Section Styles */
.content-section {
    background-color: whitesmoke;
    padding: 40px 20px;
    text-align: center;
}

.content-section h3 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.content-section p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.content-section hr {
    width: 80%;
    margin: 30px auto;
    border: 0;
    border-top: 1px solid #ddd;
}

.content-section ol, ul{
    display: table;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    text-align: left;
}

.content-section ul {
    padding-left: 1.5em;  
    margin-left: 0;       
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    color: #666;
    text-align: left;
}

/* 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: 768px) {
    /* Content section styles */
    .content-section ol,
    .content-section ul {
        padding-left: 20px;
        margin-left: 10px;
    }

    /* footer styles */
    .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) {
  .content-section ol,
  .content-section ul {
    padding-left: 20px;
    margin-left: 10px;
  }
}
