/* ============================
   FONT IMPORT
============================ */
@font-face {
  font-family: 'MoreSugar';
  src: url('assets/font/more_sugar/MoreSugar-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MoreSugar1';
  src: url('assets/font/more_sugar/MoreSugar-Thin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Marykate';
  src: url('assets/font/marykate/MaryKate.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ============================
   GLOBAL STYLES
============================ */
body {
  font-family: 'Poppins', sans-serif;
  color: #003049;
  background-color: #f4faff;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1, .logo {
  font-family: 'MoreSugar', cursive;
  letter-spacing: 1px;
}

#hero h2 {
  font-family: 'Marykate', cursive;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #dff6ff;
}

/* ============================
   HEADER
============================ */
#header {
  background: transparent;
  transition: all 0.4s ease;
  position: fixed;
  width: 100%;
  z-index: 999;
}

#header.scrolled {
  background: rgb(43, 43, 43);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 10px 0;
}

.navbar .navbar-brand {
  font-family: 'MoreSugar', cursive;
  font-size: 28px;
  color: #fff;
  transition: 0.3s;
  text-decoration: none;
}

.navbar .navbar-brand:hover {
  color: #000000;
}

.navbar-nav .nav-link {
  font-family: 'MoreSugar1', cursive;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
  margin-left: 10px;
}

.navbar-nav .nav-link:hover {
  color: #000000;
}

.navbar-toggler {
  border: none;
  background: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* ============================
   HERO SECTION
============================ */
#hero {
  background: url("assets/img/hero/home.jpg") top center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-logo {
  width: 500px; /* sesuaikan ukuran logo */
  height: auto;
  margin-bottom: 20px;
}
#hero h1 {
  font-size: 56px;
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}
#hero h2 {
  font-size: 40px;
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.btn-get-started {
  background: #000000;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'MoreSugar1', cursive;
  font-weight: 600;
}

.btn-get-started:hover {
  background: #303030;
}


/* ============================
   RESPONSIVE HERO SECTION
============================ */
@media (max-width: 768px) {
  #hero {
    background-position: center;
    background-attachment: scroll;
    height: auto;
    padding: 80px 20px;
  }

  .hero-logo {
    width: 70%; /* biar menyesuaikan layar */
    max-width: 300px;
    margin-bottom: 15px;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  #hero h2 {
    font-size: 20px;
    line-height: 1.4;
  }

  .btn-get-started {
    padding: 10px 24px;
    font-size: 16px;
  }
}

/* ============================
   ABOUT, LESSONS, HIGHLIGHT, BOOKING
============================ */
.about, .lessons, .highlight, .contact {
  padding: 80px 0;
}

.about {
  background-color: #e0f7fa;
}

.lessons {
  background-color: #f0fbff;
}

.highlight {
  background-color: #eaf9ff;
}

.about h2, .lessons h2, .highlight h2, .contact h2 {
  font-family: 'MoreSugar', cursive;
  color: #000000;
}

.about p, .lessons p, .highlight p, .contact p {
  font-family: 'MoreSugar1', cursive;
  font-size: 20px;
  color: #000000;
}


/* Gambar About Us */
.about-img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===== Lessons Section ===== */
.lessons h3 {
  font-family: 'MoreSugar', cursive;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 20px;
}

.lesson-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.lesson-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.lesson-card h4 {
  font-family: 'MoreSugar', cursive;
  color: #000000;
  margin: 15px 0 10px;
}

.lesson-card p {
  font-family: 'MoreSugar1', cursive;
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
}

.lesson-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}

.lesson-card:hover .lesson-img {
  transform: scale(1.05);
}


/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ============================
   LOCATION SECTION
============================ */
.location {
  padding: 80px 0;
  background-color: #f0fbff;
}

.location h2 {
  color: #000000;
  font-family: 'MoreSugar', cursive;
}

.location p {
  font-family: 'MoreSugar1', cursive;
  font-size: 16px;
  color: #000000;
  margin-bottom: 20px;
}

.map-container iframe {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}


/* Buttons */
.btn-book {
  background: #000000;
  color: white;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'MoreSugar', cursive;
  font-weight: 600;
  transition: 0.3s;
}

.btn-book:hover {
  color: white;
  background: #303030;
}

.social {
  background-color: #e0f7fa;
  color: #003049;
}

.social h2 {
  font-family: 'MoreSugar', cursive;
  font-size: 36px;
  margin-bottom: 10px;
}

.social p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: flex-start; /* kiri */
  gap: 20px;
  flex-wrap: wrap;
}

.social-link img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.2);
  filter: brightness(1.2);
}
/* Styling untuk Ikon Sosial Media */

/* Mengatur ukuran dan warna ikon */
.social-icons .bi {
    /* Membuat ikon besar (sesuaikan nilai rem jika diperlukan) */
    font-size: 3rem; 
    
    /* Mengatur warna ikon menjadi hitam */
    color: #000000; 
    
    /* Transisi halus saat ada perubahan, untuk efek hover */
    transition: color 0.3s ease; 
}

/* Mengatur tampilan saat ikon di-hover */
.social-icons .bi:hover {
    /* Warna sedikit abu-abu gelap saat di-hover untuk interaksi */
    color: #6e6e6e; 
}

/* Menghilangkan garis bawah pada link ikon */
.social-link {
    text-decoration: none;
}


/* Footer */
/* ==================================== */
/* 💻 Gaya Default (Desktop/Layar Besar) */
/* ==================================== */
#footer {
  background: #2b2b2b;
  color: #fff;
  /* Ketinggian default yang sudah Anda atur (tinggi) */
  padding: 100px 0; 
  font-family: 'Poppins', sans-serif;
  width: 100%; /* Memastikan footer mengambil seluruh lebar */
}

/* Styling Dasar Logo */
.footer-logo {
  max-height: 100px; /* Ukuran default di desktop */
  margin-bottom: 15px;
}

/* Styling Dasar Subjudul */
.footer-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 30px;
}

/* Garis Pemisah */
.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  margin: 20px 0;
}

/* Styling Area Copyright */
.copyright-info {
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Styling Tautan Designer */
.designer-link {
  color: #ffc107; /* Warna cerah (misalnya kuning) */
  text-decoration: none;
  transition: 0.3s;
}

.designer-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==================================== */
/* 📱 MEDIA QUERY: Tablet (max-width: 992px) */
/* 992px adalah breakpoint 'lg' di Bootstrap */
/* ==================================== */
@media (max-width: 992px) {
    /* Mengurangi padding vertikal agar footer proporsional di tablet */
    #footer {
        padding: 70px 15px; 
    }

    /* Mengurangi ukuran logo */
    .footer-logo {
        max-height: 100px;
    }

    /* Mengurangi ukuran font untuk efisiensi ruang */
    .footer-subtitle {
        font-size: 1.05rem;
    }
}

/* ==================================== */
/* 📱 MEDIA QUERY: Handphone (max-width: 576px) */
/* 576px adalah breakpoint 'sm' di Bootstrap */
/* ==================================== */
@media (max-width: 576px) {
    /* Mengurangi padding lebih lanjut untuk layar HP yang sempit */
    #footer {
        padding: 40px 10px; 
    }

    /* Mengubah logo agar tidak terlalu besar di layar sempit */
    .footer-logo {
        max-height: 100px;
    }

    /* Mengurangi ukuran font copyright agar muat dalam satu baris */
    .copyright-info, .copyright-info p {
        font-size: 0.75rem; 
        /* Pastikan baris copyright tidak memaksakan white-space */
        line-height: 1.4;
    }
}


