/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

a {
  text-decoration: none;
  color: #007bff;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  height: 88px;
  background-color: #2d302f;
  width: 100%;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

header .logo img {
  height: 80px;
  width: auto;
  vertical-align: middle;
}

header nav ul {
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ccc;
}

/* Hero Section */
.hero {
  background-image: url("<?= \View::asset('/images/bannernew7.jpg') ?>");
  background-size: cover;
  background-position: center;
  padding: 100px 50px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-content {
  padding: 10px 20px;
  background-color: rgba(49, 49, 49, 0.48);
  color: rgb(255, 255, 255);
  border-radius: 60px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero button,
.book-button {
  padding: 10px 20px;
  background-color: #e67e22;
  color: rgb(0, 0, 0);
  font-family: "Arial", sans-serif;
  font-size: medium;
  font-weight: bold;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.hero button:hover,
.book-button:hover {
  background-color: #d35400;
}

.hero .info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 80px;
}

/* Hero Image Section - Improved */
.hero__image {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.hero__image:hover img {
  transform: scale(1.05);
}

.hero__image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.hero__image .caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  color: white;
  text-align: center;
  z-index: 10;
}

.hero__image h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero__image p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero__image .btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #e67e22;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero__image .btn:hover {
  background-color: transparent;
  border-color: #e67e22;
  transform: translateY(-3px);
}

/* Carousel Section */
.carousel-caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
  width: 80%;
  max-width: 800px;
  z-index: 10;
}

.carousel-caption h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.text-stroke {
  font-size: 38px;
  font-weight: bold;
  color: white;
  -webkit-text-stroke: 1px black;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption .btn {
  background-color: #ff7e5f;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  transition: background-color 0.3s ease;
  margin-top: 60px;
  display: inline-block;
}

.carousel-caption .btn:hover {
  background-color: #feb47b;
}

/* Navigation Arrows */
.arrow-left,
.arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  font-size: 40px;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* Services Section */
.services {
  display: flex;
  justify-content: space-between;
  margin: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  background-color: rgb(235, 235, 235);
  width: 23%;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3 {
  margin: 20px 0;
  font-size: 20px;
  color: #333;
}

.service-card p {
  font-size: 14px;
  color: #777;
}

.service-card .service-icon img {
  width: 100px;
  height: 100px;
  margin-bottom: 25px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Top Classes Section */
.top-classes {
  padding: 50px;
  text-align: center;
}

.top-classes .classes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.top-classes .class-item {
  width: 200px;
  text-align: center;
}

.top-classes .class-item img {
  width: 100%;
  border-radius: 8px;
}

/* Steps Section */
.steps-section {
  text-align: center;
  padding: 40px 20px;
}

.steps-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  max-width: 200px;
}

.circle {
  width: 120px;
  height: 120px;
  background-color: #707070;
  color: white;
  font-size: 28px;
  font-weight: bold;
  line-height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.step p {
  color: #555;
  font-size: 16px;
}

/* Hero Dua Section */
.herodua {
  background-size: cover;
  background-position: center;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 12px;
}

.herodua h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #707070;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #555;
}

/* Pricing Section */
.pricing {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.pricing h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #000;
}

.pricing p {
  font-size: 18px;
  color: #000000;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 40px auto;
}

.pricing-item {
  padding: 30px 20px;
  border-right: 1px solid #000000;
}

.pricing-item:nth-child(3n) {
  border-right: none;
}

.pricing-item img {
  width: 60px;
  margin-bottom: 15px;
}

.pricing-item h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #000000;
}

.pricing-item p {
  font-size: 16px;
  color: #444;
}

.harga-button {
  background-color: #4a4a4a;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 30px;
  display: inline-block;
  text-decoration: none;
}

.harga-button:hover {
  background-color: #333;
}

/* Section Titles */
.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-top: 50px;
  color: #000000;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

/* Grid Container for Photos */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.photo-box {
  position: relative;
  overflow: hidden;
  height: 400px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 5px solid transparent;
  transition: transform 0.3s;
}

.photo-box:hover {
  transform: scale(1.03);
}

.photo-box::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.photo-box-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Footer Section */

/* Footer Section Style */
.full-gray-section {
  background-color: #f2f2f2;
  padding: 60px 20px;
  font-family: 'Arial', sans-serif;
  color: #333;
}

.section-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.section-column h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #cf0000;
}

.section-column ul {
  list-style: none;
  padding: 0;
}

.section-column ul li {
  margin-bottom: 10px;
}

.section-column ul li a {
  text-decoration: none;
  color: #555;
  display: flex;
  transition: color 0.3s;
}

.section-column ul li a:hover {
  color: #cf0000;
}

.section-description {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.section-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
}




/* Footer bottom */
footer {
  text-align: center;
  background-color: #e0e0e0;
  padding: 20px 10px;
  font-size: 0.9rem;
  color: #666;
}


/* About Page Styles */
.about {
  color: #333;
}

.info {
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
  padding: 0 20px;
}

.info-btn {
  background-color: #4a4a4a;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  margin-bottom: 15px;
  cursor: pointer;
}

.info-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.contact-info-footer {
  flex: 1;
  min-width: 300px;
  display: flex;
  color: #ffffff;
  gap: 20px;
}
.icons-footer img {
  width: 24px; /* atau 32px sesuai keinginan */
  height: auto;
  margin-right: 5px;
  vertical-align: middle;
}
.icon-footer {
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

/* Portfolio Page Styles */
.portfolio {
  padding: 50px 20px;
  text-align: center;
}

.portfolio h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #333;
}

.portfolio h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #555;
}

.portfolio h3 {
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.carousel-item:hover {
  transform: translateY(-10px);
}

.carousel-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Contact Page Styles - Enhanced */
/* Contact Section Styles */
.contact {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  justify-content: space-between;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e67e22;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #e67e22;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #d35400;
}

/* Contact Info Section */
.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  gap: 20px;
}
.contact h2{
  font-size: 30px;
  margin-bottom: 10px;
  color: #000000;
  text-align: center;
}

.icons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.icon img {
  filter: invert(1);
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.icon img:hover {
  transform: scale(1.1);
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 16px;
  color: #333;
}

.info-text a {
  color: #cf0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-text a:hover {
  color: #a30000;
}

.info-text p {
  margin: 0;
  font-weight: 500;
}


.newsletter {
  background-color: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
}

.newsletter h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #666;
  line-height: 1.6;
}

.newsletter form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 16px;
}

.newsletter button {
  background-color: #e67e22;
  color: white;
  padding: 0 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.newsletter button:hover {
  background-color: #d35400;
  transform: translateY(-3px);
}

.map {
  height: 450px;
  margin-top: 60px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero__image {
    height: 60vh;
  }
  
  .hero__image h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .hero__image {
    height: 50vh;
  }
  
  .hero__image h2 {
    font-size: 2rem;
  }
  
  .hero__image p {
    font-size: 1.1rem;
  }
  
  .contact-container {
    gap: 30px;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-item:nth-child(2n) {
    border-right: none;
  }
  
  .pricing-item:nth-child(3n) {
    border-right: 1px solid #000000;
  }
}

@media (max-width: 768px) {
  .hero__image {
    height: 40vh;
  }
  
  .hero__image .caption {
    bottom: 15%;
    width: 90%;
  }
  
  .hero__image h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero__image p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero__image .btn {
    padding: 10px 25px;
    font-size: 14px;
  }
  
  .contact-section {
    padding: 50px 15px;
  }
  
  .contact-form, 
  .contact-info {
    min-width: 100%;
  }
  
  .newsletter form {
    flex-direction: column;
  }
  
  .newsletter button {
    width: 100%;
    padding: 14px;
  }
  
  .service-card {
    width: 48%;
  }
}

@media (max-width: 576px) {
  .hero__image {
    height: 35vh;
  }
  
  .hero__image h2 {
    font-size: 1.5rem;
  }
  
  .service-card {
    width: 100%;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-item {
    border-right: none;
    border-bottom: 1px solid #000000;
    padding: 25px 15px;
  }
  
  .pricing-item:last-child {
    border-bottom: none;
  }
  
  .section-container {
    flex-direction: column;
  }
  
  .section-column {
    margin-bottom: 30px;
  }
  
  /* ======================================= */
/* STYLE UNTUK DAFTAR KONTAK FOOTER (VERSI TEKS) */
/* ======================================= */

/* Mengatur wadah/list utama */
.footer-contact-list {
    list-style: none;      /* Menghilangkan bulatan/angka standar dari list */
    padding: 0;            /* Menghilangkan padding default dari <ul> */
    margin: 15px 0 0 0;    /* Memberi jarak 15px dari judul di atasnya */
    
    display: flex;         /* Menggunakan flexbox untuk pengaturan yang lebih baik */
    flex-direction: column;/* Membuat item berbaris ke bawah */
    gap: 12px;             /* Memberi jarak vertikal yang rapi antar setiap item */
}

/* Mengatur setiap link di dalam list */
.footer-contact-list li a {
    color: #555;              /* Warna teks link (abu-abu gelap, sesuai tema Anda) */
    text-decoration: none;   /* Menghilangkan garis bawah default pada link */
    font-size: 15px;           /* Sedikit menyesuaikan ukuran font */
    transition: color 0.3s ease; /* Transisi halus saat warna berubah */
}

/* Efek saat mouse menyentuh link */
.footer-contact-list li a:hover {
    color: #cf0000;           /* Warna teks berubah menjadi merah (sesuai tema Anda) */
    text-decoration: underline; /* Menampilkan garis bawah saat di-hover untuk kejelasan */
}

/* Mengatur teks alamat yang bukan link (jika ada) */
.footer-contact-list li span {
    color: #555;
    font-size: 15px;
}
}