@font-face {
  font-family: javane;
  src: url(JavanesiaStylish-DYM6W.ttf);
}

@font-face {
  font-family: bali;
  src: url(Balinese\ Family.ttf);
}

@font-face {
  font-family: papyrus;
  src: url(papyrus.ttf);
}

html {
    scroll-behavior: smooth;
  }
  


/* Updated body styles */
body {
    font-family: 'Balinese', sans-serif; /* A more Bali-themed font */
    margin: 0;
    padding: 0;
    color: #2d3e50; /* Deep earthy tones */
    line-height: 1.6;
    font-family: papyrus , sans-serif;
}

/* Navbar */
/* Navbar Styling */
.navbar {
    background-color: #333;
    position: fixed;
    opacity: 0.7; /* Sedikit lebih solid daripada 0.7 */
    width: 100%;
    top: 0;
    z-index: 100;

    
}

  
  .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 30px;
  }
  
  .navbar-brand img {
    width: 280px;
    margin: 20px auto;
  }
  
  .navbar-nav {
    display: flex;
    gap: 20px;
  }
  
  .navbar-nav div {
    position: relative;
  }
  
/* Navbar Link with Underline Animation */
.nav-link {
    position: relative;
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e67e22; /* Blue underline */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
  .nav-link.active::after {
    transform: scaleX(1);
    background-color: #e67e22; /* Orange for active state */
  }
  

/* Responsive Navbar for Mobile View */
@media (max-width: 768px) {
  .navbar-nav {
    display: none; /* Hide the navigation links by default */
    flex-direction: column; /* Stack links vertically */
    background-color: #333; /* Same as navbar background */
    position: absolute; /* Position dropdown */
    top: 100%; /* Position right below the navbar */
    left: 0;
    width: 100%; /* Full width dropdown */
    z-index: 99;
    padding: 20px 0;
  }

  .navbar-nav.active {
    display: flex; /* Show the navigation links when active */
  }

  .nav-link {
    padding: 10px 20px;
    text-align: center; /* Center align text */
    font-size: 18px; /* Adjust font size */
    border-bottom: 1px solid #444; /* Add a border for separation */
  }

  .nav-link:last-child {
    border-bottom: none; /* Remove border for the last link */
  }

  .menu-toggle {
    display: flex; /* Show the menu toggle icon */
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
  }
}
  

/* Hero section styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.img-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
    filter: blur(3px);
    -webkit-filter: blur(3px);
}

/* Dark overlay over the background image */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 21, 21, 0.5); /* Semi-transparent black overlay */
    z-index: 2;
}

/* Hero content styling */
/* Hero section styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Styling for hero content to align left and right */
.hero-content {
    position: relative;
    display: flex;
    justify-content: center; /* pread content and carousel */
    align-items: center;
    text-align: center;
    z-index: 3;
    color: #fff;
    width: 100%;
    padding: 0 50px; /* Add padding for better spacing */
}

/* Content on the left side */
.content {
    flex: 1; /* Content takes up half the space */
    max-width: 50%; /* Limit the width to 50% *//* Add some space between content and carousel */
}


.hero-content h1 {
    font-size: 50px; /* Slightly reduce font size for better balance */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Shadow effect for better readability */
    font-family: bali , sans-serif;
    letter-spacing: 4px;
}

.hero-content p {
    font-size: 25px; /* Adjust font size for better readability */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    
}

/* Base Button Styles */
.btn-cta, .btn-ctb {
  padding: 15px 30px; /* Base padding */
  color: white; /* Default text color for .btn-cta */
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block; /* Ensure buttons are inline-block */
}

/* .btn-cta Styles */
.btn-cta {
  background-color: #e67e22; /* Vibrant orange */
  margin-bottom: 10px;
}

.btn-cta:hover {
  background-color: #d35400; /* Darker orange on hover */
  transform: scale(1.05);
}

/* .btn-ctb Styles */
.btn-ctb {
  color: #f4f4f4; /* Default text color for .btn-ctb */
  background-color: transparent;
  border: #f4f4f4 2px solid; /* Border color */
}

.btn-ctb:hover {
  background-color: #e67e22; /* Change background on hover */
  transform: scale(1.05);
  color: white; /* Change text color on hover */
  border: #e67e22 2px solid; /* Change border color on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .btn-cta, .btn-ctb {
      padding: 10px 20px; /* Reduce padding for smaller screens */
      font-size: 0.9rem; /* Slightly smaller font size */
  }
}

@media (max-width: 480px) {
  .btn-cta, .btn-ctb {
      padding: 8px 15px; /* Further reduce padding for very small screens */
      font-size: 0.8rem; /* Further reduce font size */
  }
}
.petern {
    height: auto; /* Mengatur agar tinggi kontainer mengikuti konten */
    width: 100%; /* Mengatur agar kontainer melebar sesuai layar */
    max-width: 100%; /* Membatasi lebar kontainer */
    overflow: hidden; /* Memotong elemen yang keluar dari area kontainer */
    display: flex;
    justify-content: center;
    align-items: center;
}

.petern img {
    width: 100%; /* Gambar akan memenuhi lebar kontainer */
    height: auto; /* Memastikan gambar tetap proporsional */
    max-width: 100%; /* Membatasi gambar agar tidak lebih besar dari kontainer */
    object-fit: cover; /* Gambar akan di-crop sesuai dengan dimensi kontainer tanpa merusak proporsi */
    border: #e67e22 solid 2px;
}




/* About Us Section Styling */
/* About Us Section Styling */
#about {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.about-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content p{
    font-size: 22px;
}

#about h2 {
    font-size: 2.5em;
    color: #e67e22;
    margin-bottom: 20px;
}

/* Zigzag Layout */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-item.reverse {
    flex-direction: row-reverse;
}



.about-text {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.about-image {
    flex: 1;
    max-width: 45%;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #about h2 {
        font-size: 2em;
    }

    .about-text, .about-image {
        max-width: 100%;
        padding: 0 20px;
    }

    .about-item {
        flex-direction: column;
        text-align: center;
    }

    .about-item.reverse {
        flex-direction: column-reverse;
    }
}

/*
foother
*/

/* Prevent textarea from resizing */
textarea {
    resize: none;
}

/* Center text in any container */
.text {
  color: white;
  font-size: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%); /* For IE */
  white-space: nowrap;
}

/* Remove duplicate charset declaration */


/* Fix icon alignment */
.svg-inline--fa {
  vertical-align: -0.200em;
}

/* Center the rounded social buttons container */
.rounded-social-buttons {
  text-align: center;
padding: 20px 10px;
}

/* Style the social button */
.rounded-social-buttons .social-button {
  display: inline-block;
  cursor: pointer;
  width: 3.125rem;
  height: 3.125rem;
  border: 0.125rem solid transparent;
  padding: 0;
  text-decoration: none;
  text-align: center;
  color: #fefefe;
  font-size: 1.5625rem;
  font-weight: normal;
  line-height: 2em;
  border-radius: 1.6875rem;
  transition: all 0.5s ease;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

/* Rotate button on hover or focus */
.rounded-social-buttons .social-button:hover, 
.rounded-social-buttons .social-button:focus {
  transform: rotate(360deg);
}

/* Style the social media icons */
.rounded-social-buttons .fa-twitter, 
.rounded-social-buttons .fa-facebook-f, 
.rounded-social-buttons .fa-linkedin, 
.rounded-social-buttons .fa-tiktok, 
.rounded-social-buttons .fa-youtube, 
.rounded-social-buttons .fa-instagram {
  font-size: 25px;
}

/* Specific button styles for each social network */
.rounded-social-buttons .social-button.facebook {
  background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover, 
.rounded-social-buttons .social-button.facebook:focus {
  color: #3b5998;
  background: #fefefe;
  border-color: #3b5998;
}

.rounded-social-buttons .social-button.twitter {
  background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover, 
.rounded-social-buttons .social-button.twitter:focus {
  color: #55acee;
  background: #fefefe;
  border-color: #55acee;
}

.rounded-social-buttons .social-button.linkedin {
  background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover, 
.rounded-social-buttons .social-button.linkedin:focus {
  color: #007bb5;
  background: #fefefe;
  border-color: #007bb5;
}

.rounded-social-buttons .social-button.tiktok {
  background: #000000;
}

.rounded-social-buttons .social-button.tiktok:hover, 
.rounded-social-buttons .social-button.tiktok:focus {
  color: #000000;
  background: #fefefe;
  border-color: #000000;
}

.rounded-social-buttons .social-button.youtube {
  background: #bb0000;
}

.rounded-social-buttons .social-button.youtube:hover, 
.rounded-social-buttons .social-button.youtube:focus {
  color: #bb0000;
  background: #fefefe;
  border-color: #bb0000;
}

.rounded-social-buttons .social-button.instagram {
  background: #125688;
}

.rounded-social-buttons .social-button.instagram:hover, 
.rounded-social-buttons .social-button.instagram:focus {
  color: #125688;
  background: #fefefe;
  border-color: #125688;
}

.image-pilihan {
    display: flex;
    justify-content: center; /* Center images horizontally */
    align-items: center; /* Align images vertically */
    flex-wrap: wrap; /* Allow wrapping of images if they overflow */
    gap: 20px; /* Add space between images */
    padding: 20px; /* Add padding around the container */
}

.image-pilihan img {
    width: 300px;
    height: 200px;
    object-fit: cover; /* Make sure the image is nicely cropped */
    border-radius: 10px; /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
}

.image-pilihan img:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhance shadow on hover */
}


/* Basic footer styling */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    width: 100%;
  }
  
  /* Style the footer text */
  .footer-content p {
    margin-top: 10px;
    font-size: 16px;
  }


  /*slide*/

  h2 {
    text-align: center;
    font-size: 30px;
    color: #e67e22;

  }

/* Centering the container and images */
/* Centering the container and images */
.content {
    position: relative;
    width: 100%;
    max-width: 800px; /* You can adjust this based on your needs */
    margin: 0 auto; /* Centers the container */
    text-align: center; /* Ensures the images are centered within the container */
  }
  
  /* Fade effect for slideshow images */
  .mySlides {
    display: none;
    width: 100%; /* Ensures each image takes full width of the container */
    margin: 30px auto; /* Centers the image */
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade-in and fade-out effect */
  }
  
  /* Show the image by changing opacity */
  .mySlides.active {
    opacity: 1;
    display: block;
  }
  
  /* Buttons for left and right navigation */
  .button-kanan, .button-kiri {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
  }
  
  .button-kanan {
    right: 10px;
  }
  
  .button-kiri {
    left: 10px;
  }
  
  .button-kanan:hover, .button-kiri:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  

  /* General styles for cards section */
.services-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f4f4f4;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
  }
  
  /* Container for the cards */
  .cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  /* Styles for each card */
  .card {
    background-color: white;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center; /* Center the content inside the card */
    padding: 20px; /* Add padding inside the card */
    margin-top: 20px; /* Add margin to prevent the card from sticking to other elements */
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  /* Image styles inside the card */
  .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  /* Content inside the card */
  .card-content {
    padding: 20px;
  }
  
  .card-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .card-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
  }
  
  /* Center the icon and add space around it */
  .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Adjust icon size */
    width: 100px;
    background-color: #e67e22; /* Add a background color */
    border-radius: 50%; /* Make the icon circular */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    transition: transform 0.3s ease; /* Add smooth scaling animation */
    color: white; /* Text or icon color */
    font-size: 2rem; /* Adjust the icon size */
    margin: 20px auto 40px auto; /* Center the icon and add more space around it */
    
  }
  
  .icon:hover {
    transform: scale(1.1); /* Slightly enlarge the icon on hover */
    background-color: #d35400; /* Change color on hover */
  }
  
  .btn {
    padding: 10px 20px;
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .btn:hover {
    background-color: #d35400;
  }


  #contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container-contact {
    display: flex;
    flex-direction: column; /* Stack elements vertically by default */
    max-width: 1200px;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contact-form, .map-container {
    width: 100%; /* Full width on small screens */
    padding: 20px;
}

.contact-form h2, .map-container h2 {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    padding: 10px;
    border: none;
    background-color: #e67e22;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.contact-form button:hover {
    background-color: #d35400;
}

.map-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 4px;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .container-contact {
        flex-direction: row; /* Change to row layout on larger screens */
    }

    .contact-form, .map-container {
        width: 50%; /* Each takes half the width on larger screens */
    }
}




.team-section {
  text-align: center; /* Teks di tengah */
  margin: 30px auto; /* Margin atas dan bawah */
  max-width: 100%; /* Lebar maksimum */
  background-color: #f4f4f4; /* Latar belakang bagian */
  padding: 20px; /* Padding untuk bagian */
  border-radius: 10px; /* Sudut melengkung */
}

.team-cards-container {
  display: flex;
  overflow: hidden;
  cursor: grab;
  justify-content: center; /* Memusatkan kartu di dalam kontainer */
}

.team-cards {
  display: flex;
  transition: transform 0.5s ease;
  justify-content: center;
  text-align: center;
}

.team-card {
  background: white; /* Latar belakang kartu */
  border-radius: 10px; /* Sudut melengkung */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Bayangan */
  margin: 10px; /* Margin antar kartu */
  padding: 20px; /* Padding dalam kartu */
  min-width: 200px; /* Lebar minimum kartu */
  text-align: center; /* Teks di tengah */
  flex: 1 0 200px; /* Flex item untuk responsivitas */
}

.team-card i {
  font-size: 50px; /* Ukuran ikon */
  color: #e67e22; /* Warna ikon */
  margin-bottom: 10px; /* Margin bawah ikon */
}

.team-card h3 {
  margin: 10px 0; /* Margin atas dan bawah judul */
  color: #e67e22; /* Warna teks judul */
}

.team-card p {
  color: #666; /* Warna teks deskripsi */
}

/* Media Queries untuk Responsivitas */
@media (max-width: 768px) {
  .team-cards {
      flex-direction: column; /* Kartu ditampilkan dalam kolom pada layar kecil */
  }

  .team-card {
      margin: 10px 0; /* Margin vertikal antar kartu */
      min-width: 100%; /* Kartu mengambil lebar penuh */
  }
}

@media (min-width: 769px) {
  .team-cards {
      flex-direction: row; /* Kartu ditampilkan dalam baris pada layar besar */
  }

  .team-card {
      flex: 1 0 30%; /* Kartu mengambil 30% dari lebar kontainer */
  }
}

.navbar-nav {
  display: flex;
  gap: 20px;
}

.hamburger {
  display: none; /* Hidden by default */
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Media query for small screens */
@media (max-width: 768px) {
  .navbar-nav {
    display: none; /* Hide nav links initially */
    flex-direction: column;
    position: absolute;
    top: 100px; /* Adjust based on navbar height */
    width: 100%;
    background-color: #333; /* Match navbar color */
    z-index: 99;
    padding: 20px 0;
  }

  .navbar-nav.active {
    display: flex; /* Show nav links when active */
  }

  .hamburger {
    display: block; /* Show hamburger on small screens */
   
  }
  .logo{
    width: 20px;
    position:relative;
    top: 10px;
    
  }

}

/* .................Start Projects Section................... */
#semua-gambar {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 30px 0; 
}
.container-project {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}
.items-links {
  width: 60%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;  
  gap: 40px;
}
.item-link {
  border: 2px solid #e67e22;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 500;
  color: #e67e22;
  cursor: pointer;
  border-radius: 30px;
  transition: .4s ease;
}
.item-link:hover {
  background: #e67e22;
  color: #fff;
}
.menu-active {
  background: #e67e22;
  color: #fff;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(175, 175, 175, 0.4);   
  height: 14rem; 
  animation: SclAnimation .4s ease;
  position: relative;
}
@keyframes SclAnimation {
  0% {
      transform: scale(0);
  }  
  100% {
      transform: scale(1);
  }  
}
.project-img:hover .overlay {
  top: 0;
}
.overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(transparent, #e67e22);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  transition: .4s ease;
}
.overlay h4 {
  font-size: 20px;
  color: #fff;
}
.overlay p {
  font-size: 14px;
  color: #fff;
  text-align: center;
  width: 90%;
}
.action-aria {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-block;
  width: fit-content;
  padding: 10px 20px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #e67e22;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: .4s ease;
}
.btn-light {
  background: transparent;
  border-color: #fff;
  color: #fff;  
}
.btn:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-light:hover {
  background: #fff;
  color: #e67e22;
}
.project-img:hover img {
  transform: scale(1.1);
}
.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* .................End Projects Section.................... */

/* .................Start Projects Section Media Screen.................... */
@media (max-width: 1024px) {
  .container {
      width: 90%;
  }   
  .items-links {
      width: 90%;
  } 
}

@media (max-width: 991px) {
  .items-links {
      width: 100%;
  }
  .gallery {
      grid-template-columns: repeat(2, 1fr); /* 2 kolom untuk layar lebih kecil */
  }
}

@media (max-width: 600px) {
  .items-links {       
      gap: 20px;  
      flex-wrap: wrap;  
  }
  .gallery {
      grid-template-columns: 1fr; /* 1 kolom untuk layar kecil */
  }
  .project-img {
      height: max-content; /* Tinggi otomatis untuk gambar */
  }
}
/* .................End Projects Section Media Screen.................... */