
:root {
    --primary-gradient: linear-gradient(135deg, #41ff61, #992bff);
    --text-dark: #333;
    --bg-light: #fff;
    --accent: limegreen;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  } 
   
  html {
    scroll-behavior: smooth;
  }
  
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-gradient);
    color: var(--text-dark);
    line-height: 1.6;
  }
  
  header {
    background: #0f766e;
    color: #fff;
    margin-bottom: 10px;
    position: sticky;
  top: 0;
  z-index: 9999;
  }
  
  
  .navbar {
    padding: 12px 16px;
    text-align: center;
  }
  
  
  .nav-links {
    list-style: none;
    display:inline-flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: center;
  }
  
  .nav-links li {
    position: relative;
  }
  
  .nav-links .active {
    background: #074742;
    border-radius: 12px;
  }
  .nav-links li a{
    display: block;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
  }
  .nav-links li a:hover:not(.active){
    background-color: #11998e;
    border-radius: 12px;
  }  


  .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-radius: 8px;
    min-width: 150px;
    z-index: 1000;
    list-style: none;
  }

  .submenu li {
    padding: 0;
  }
  
  .submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #333;
  }
  
  .submenu li a:hover {
    background-color: #11998e;
  }

  .dropdown:hover .submenu {
    display: block;
  }

  ul{
    margin: 0;
    padding: 0;
  } 
 
  
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}


.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.close-button {
  float: right;
  font-size: 24px;
  cursor: pointer;
}


.popup.show {
  visibility: visible;
  opacity: 1;
}



  section {
    padding: 2rem;
    background: var(--bg-light);
    margin: 1rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  
  .intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8rem;
    max-width: 1050px;
    margin: 0 auto;
    margin-top: 100px;
  }
  
  .profile-img img{
    width: 300px;
    height: 300px;
    border: 6px solid #11998e;
    border-radius: 50%;
    background-color: #e0f7ff;
  }
  
  .profile-text p {
    font-family: 'Times New Roman', Times, serif;
    margin: 0.5rem 0;
    padding-bottom: 4px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #11998e;
  }
  
  h2 {
    text-align: center;
    margin-bottom: 1rem;
  } 


  .tentang{
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 200px;
  }

  .tentang-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem;
  }

  .tentang-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: 'Times New Roman', Times, serif;
  }

  .tentang-text {
    flex: 1 1 60%;
  }
  .tentang-foto {
    flex: 1 1 35%;
  text-align: center;
  }

  .tentang-foto img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.4s ease-in-out;
  }
  
  .tentang-foto img:hover {
    transform: scale(1.03);
  } 

.tombol-tambah {
  display: inline-block;
  margin: 10px 0;
  background-color: green;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 5px;
}


.portofolio{
  max-width: 800px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 100px;
}

.tabel-portofolio {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.tabel-portofolio th, .tabel-portofolio td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.tabel-portofolio th {
  background-color: #0f766e;
  color: white;
}

.tabel-portofolio tr:nth-child(even) {
  background-color: #f9f9f9;
}  


  .opini-section{
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 12px;
    margin-top: 20px;
  }
  
  .opini-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
  }
  
  .opini {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin: 0 auto;
  }
  
  .opini h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #333;
  }
  
  
  .opini .box {
    position: relative;
    width: 250px;
    height: 150px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .opini .box:hover {
    transform: scale(1.05);
  }
  
  .opini img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .opini p {
    position: absolute;
    top: 100px;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.6); /* hitam transparan */
    color: white;
    font-size: 0.7rem;
    margin: 0;
    font-weight: bold;
  }
  
  
  .grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  
  
  
  .kontak{
    max-width: 900px;
    margin: auto;
    margin-top: 50px;
  }
  
  .kontak-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }   

     
  form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  input, textarea, button {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
  }
  
  button {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  button:hover {
    background: darkgreen;
  }
  
  .map-placeholder {
    flex: 1;
    min-height: 200px;
    border: 3px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 10px;
    background-color: #f9f9f9;
  }
  
  
  footer {
    text-align: center;
    background: #0f766e;
    padding: 1rem;
    font-size: 0.9rem;
    color: white;
  }
  
  @media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
      }
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-links {
      flex-direction: row !important;
      flex-wrap: wrap;
      gap: 0.3rem;
      margin-top: 10px;
    }

    .tentang-container {
      flex-direction: column;
      text-align: center;
    }
  
    .tentang-text, .tentang-foto {
      flex: 1 1 100%;
    }
  
    .kontak-content {
      flex-direction: column;
    }
  }
