:root {
  --primary: #b3b0b0;
}

* {
  font-family: 'poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

body {
  font-family: 'poppins', sans-serif;
  background-color: var(--bg);
  color: aliceblue;
  min-height: 6000px;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgb(251, 251, 251, 0.8);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a {
  color: #000000;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: '';
  display: block;
  padding-bottom: 0.5rem;
  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: #000000;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}


/* logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

.logo img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}



/* hero section */
#home {
  background-image: url('../img/ikan2.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  position: relative;
  box-sizing: border-box;
}

.home-overlay {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px;
  gap: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.home-left,
.home-right {
  flex: 1 1 45%;
}

.home-left h1 {
  font-size: 3.8rem;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.home-left h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.home-left .highlight {
  color: #ffffff;
}

.home-left a {
  font-size: 1.125rem;
}

.home-right p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: justify;
  margin-bottom: 0.75rem;
}

.home-button {
  display: inline-block;
  padding: 12px 50px;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.home-button:hover {
  background-color: #f9f9f9;
  color: #000000;
}

#home::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #f9f4f2 100%);
  z-index: 1;
}

/* Tablet */
@media (max-width: 768px) {
  .home-overlay {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    gap: 30px;
  }

  .home-left,
  .home-right {
    flex: 1 1 100%;
  }

  .home-left h1 {
    font-size: 3.8rem;
  }

  .home-left h3 {
    font-size: 1.5rem;
  }

  .home-right p {
    font-size: 1.05rem;
  }

  .home-button {
    padding: 10px 35px;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 450px) {
  #home {
    padding: 40px 20px;
  }

  .home-overlay {
    padding: 30px 20px;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .home-left h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .home-left h3 {
    font-size: 1.2rem;
  }

  .home-right p {
    font-size: 0.95rem;
  }

  .home-button {
    font-size: 0.95rem;
    padding: 10px 25px;
  }
}




/* about us */
.about {
  padding: 8rem 7% 1.4rem;
  color: #000000;
  text-align: center;
  font-size: 1.5rem;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-container h2 {
  color: #C66A12;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 20px;
}

.about-container .subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-container p {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 1.125rem;
}

.about-container {
  max-width: 2000px;
  text-align: left;
  padding-right: 5px;
  text-align: justify;
}

.carousel-section {
  background-color: #f9f9f9;
  padding: 35px;
  text-align: center;
}

.carousel {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-images img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 auto;
  border-radius: 10px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px 16px;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-images img {
    max-height: 700px;
    width: 100%;
  }
  .carousel-btn.prev {
  left: 5px;
}

.carousel-btn.next {
  right: 5px;
}
}

@media (max-width: 450px) {
  .carousel-images img {
    max-height: 700px;
    width: 100%;
  }

  .carousel-btn.prev {
  left: 5px;
  }
  
  .carousel-btn.next {
  right: 5px;
  }
}


/* product */
.product {
  padding: 8rem 7% 1.4rem;
  color: #000000;
  font-size: 1.5rem;
}

.product h2,
.product > p {
  text-align: center;
  margin-bottom: 2rem;
}

.product-row {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

/* Setiap item produk: gambar kiri, teks kanan */
.product-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Gambar */
.product-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

/* Teks deskripsi */
.product-info {
  flex: 1;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: justify;
}

.product-description {
  text-align: center;
  line-height: 2;
}

.product-description h3{
  font-size: 1.5rem;
}

.product-description ul{
  font-size: 1.125rem;
}

/* Responsive - tablet dan HP */
@media (max-width: 768px) {
  .product-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-img {
    width: 100%;
    max-width: 200px;
  }

  .product-info {
    text-align: center;
  }

  .product-title {
    font-size: 1.4rem;
  }

  .product-desc {
    font-size: 1.125rem;
  }
}

/* service */
.service {
  padding: 8rem 7% 1.4rem;
  color: #000000;
  text-align: center;
  font-size: 1.5rem;
}

.service {
  padding: 8rem 7% 3rem;
  background-color: #f9f9f9;
  color: #333;
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  text-align: left;
}

.service h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000000;
}

.section-subtitle {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #000000;
}

.service-intro {
  max-width: 750px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.125rem;
}

.service-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

.service-block h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b35600;
  margin-top: 2rem;
}

.service-block h4 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  font-weight: 600;
  color: #111;
}

.service-block p {
  font-size: 1.125rem;
  margin-top: 0.5rem;
  text-align: justify;
}

.service-button {
  text-align: center;
  margin-top: 2rem;
}

.service-button button {
  padding: 10px 25px;
  background: none;
  border: 2px solid #b35600;
  color: #b35600;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.service-button button:hover {
  background-color: #b35600;
  color: white;
}

.service-conclusion {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 16px;
}

.service-line {
  width: 100%;
  max-width: 1200px; /* agar tidak terlalu panjang di layar besar */
  height: 2px;
  background-color: #0d0d0d;
  margin: 1rem auto;
  border-radius: 2px;
}

/* media */

.media {
  text-align: center;
  padding: 8rem 7% 1.4rem;
}


.media h2 {
  font-size: 	2.5rem;
  color: #000000;
  margin-bottom: 30px;
}

.media-icons {
  display: flex;
  justify-content: center;
  gap: 8rem; /* jarak horizontal antar icon */
  flex-wrap: wrap; /* agar responsif di layar kecil */
}

.media-item {
  text-align: center;
  width: 200px;
  font-size: 	1.25rem;
}

.media-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}

.media-item a {
  text-decoration: none;
  font-weight: bold;
  color: #a34e00;
  border-bottom: 2px solid #a34e00;
  display: inline-block;
  padding-bottom: 2px;
}

.media-divider {
  margin: 40px auto;
  border: 1px solid #a34e00;
  width: 80%;
}

.media-description {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.media-description h3 {
  font-size: 1.5rem;
  color: #a34e00;
  margin-bottom: 10px;
  margin-top: 60px;
}

.media-description p {
  font-size: 	1.125rem;
  color: #000000;
  line-height: 1.6;
  text-align: justify;
}


/* kontak */
#media {
  background-position: center;
  color: #000;
}

.media-overlay {
  background-color: rgba(233, 233, 233, 0.8);
  padding: 40px 40px;
  border-radius: 12px;
  max-width: 3000px;
  margin: 0 auto;
  margin-top: 50px;
}

.media-content h3 {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 500;
}

.media-content p {
  margin: 8px 0;
  line-height: 2;
  font-size: 	1.125rem;
}

.media-content a {
  text-decoration: underline;
  color: #000;
}

.media-button {
  text-align: center;
  margin-top: 15px;
}

.buy-now-button {
  display: inline-block;
  padding: 15px 60px;
  border: 1px solid #000000;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 	1.125rem;
}

.buy-now-button:hover {
  background-color: #000000;
  color: #fff;
}


/* media queries */

/* laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(0, 0, 0, 0.5);
    width: 16rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: #ffffff;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 1.5rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .navbar .search-form {
    width: 90%;
    right: 2rem;
  }

}

/* mobile phone */
@media (max-width: 450px) {
  html {
    font-size: 60%;
  }
}

/* search */

