/* HERO HOME */

.hero {
  width: 100%;
  padding: 120px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Gradient hitam → putih */
  background: linear-gradient(to right, #000000, #ffffff);

  /* Biar foto/ornamen kalau ada tetap nyatu */
  background-size: cover;
  background-position: center;

  /* Teks */
  color: #ffffff;
}
/* GLOBAL HERO GRADIENT */
.hero-gradient {
  background: linear-gradient(135deg, #000, #434343);
  color: #fff;
  padding: 100px 20px;
  border-radius: 15px;
  position: relative;
}

/* PORTFOLIO HERO GRADIENT */
.portfolio-hero {
  height: 70vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(67,67,67,0.6)), url('../images/yourbg.jpg') no-repeat center/cover;
  position: relative;
  color: #fff;
}

/* CONTACT HERO GRADIENT (bisa dibuat seperti Home) */
.contact-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000, #434343);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
  color: #eaeaea;
}


.hero-text h1,
.hero-text p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-text .btn-primary {
  background-color: #ff6b6b;
  border: none;
}

.hero-text .btn-primary:hover {
  background-color: #ff4757;
}

.hero-text .btn-outline-light {
  border-color: #fff;
}

.hero-text .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.2);
}

.hero-img {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 300px;
}

.hero-img img {
  max-width: 100%;
  max-height: 200px;
  opacity: 0.8;
  border-radius: 15px;
}


/* CAROUSEL */
#myCarousel {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;

}

#myCarousel .carousel-inner img {
  weidth:100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 30px;

}
 
/* HERO HOME */
.hero-section {
  background: linear-gradient(135deg, #000, #434343);
  padding: 100px 20px;
  color: #fff;
  border: 5px solid #fff;
  border-radius: 15px;
  position: relative;
}

.hero-text h1,
.hero-text p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-text .btn-primary {
  background-color: #ff6b6b;
  border: none;
}

.hero-text .btn-primary:hover {
  background-color: #ff4757;
}

.hero-text .btn-outline-light {
  border-color: #fff;
}

.hero-text .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.2);
}

.hero-img {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 300px;
}

.hero-img img {
  max-width: 100%;
  max-height: 300px;
  opacity: 0.8;
  border-radius: 50px;
}


/* CAROUSEL */
#myCarousel {
  max-width: 800px;
  margin: 0 auto;
}

#myCarousel .carousel-inner img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
}




/* ABOUT PAGE */
.about-section {
  background: linear-gradient(to bottom right, #fff, #797b7d);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.accordion-button {
  color: #000 !important;
  background-color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #000 !important;
  background-color: #e9ecef;
}

.feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 15px;
  transition: .3s ease;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background: #f8f9fa;
}



/* PORTFOLIO HERO */
.portfolio-hero {
  height: 70vh;
  background: url('../images/yourbg.jpg') no-repeat center center / cover;
  position: relative;
  color: #000;
}

.contact-hero{
  padding: 120px 0;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #000 20%, #333 100%);
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.portfolio-hero .container {
  position: relative;
  z-index: 2;
}


/* Grid portfolio agar tidak loncat / tidak acak */
.hero-section {
  padding: 120px 0;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #000 20%, #333 100%);
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero-section p {
  font-size: 18px;
  opacity: .8;
}

/* GRID */
.portfolio-grid .card {
  border-radius: 15px;
  overflow: hidden;
  transition: .3s ease;
  min-height: 380px;          /* agar semua card seragam */
}

.portfolio-grid .card:hover {
  transform: translateY(-5px);
}

/* gambar konsisten */
.portfolio-grid .card img {
  height: 200px;
  object-fit: cover;          /* gambar tidak ketarik */
  width: 100%;
}