@font-face {
  font-family: 'Rische Demo';
  src: url('../fonts/rische-demo.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
h1, h2 , h3 {
  font-family: 'Rische Demo', serif;
}


body {
  font-family: 'Open sans', serif;
  line-height: 1.6;
  color: #111;
  background: #fdfdfd;
  height: 100%;
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      overflow-x: hidden;
    }

    body {
      font-family: 'Open sans', serif;
      line-height: 1.6;
      color: #111;
      background: #fdfdfd;
    }

    section {
      margin-bottom: 40px;
    }

    .desktop-only {
      display: block;
    }

    .mobile-only {
      display: none;
    }

    .hero a,
    .about a,
    .experience a,
    .services a,
    .why-us a {
      text-decoration: none;
    }

  /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 50px;
            background: #f6f6f6;
            border-bottom: 1px solid #ddd;
            z-index: 2000;
        }
        .header-left, .header-right { flex: 1; display: flex; align-items: center; }
        .header-left { justify-content: flex-start; gap: 25px; }
        .header-right { justify-content: flex-end; }
        .header-center { flex: 2; text-align: center; }
        header h1, header h2 { 
      font-size: 24px;
      letter-spacing: 1px;
      margin: 0; /* Hapus margin agar benar-benar di tengah */
     }
        header a { text-decoration: none; color: #111; font-size: 14px; }

        .cta-button {
            border: 1px solid #000;
            padding: 8px 16px;
            color: #000;
            background-color: transparent;
            position: relative;
            overflow: hidden;
            z-index: 1;
            transition: color 0.3s;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background-color: #e0e0e0;
            border-radius: 50%;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.4s ease-out;
            z-index: -1;
        }

        .cta-button:hover::before {
            transform: translate(-50%, -50%) scale(1);
        }

        /* --- Dropdown Menu Styles --- */
        .dropdown {
            position: relative;
            padding-bottom: 24px; /* Bridge to keep hover active */
            margin-bottom: -24px; /* Prevent layout shift */
        }

        .dropdown-menu {
            display: none;
            position: fixed;
            top: 65px; /* Corrected header height */
            left: 0;
            width: 100%;
            background-color: #f6f6f6;
            border-top: 1px solid #ddd;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            padding-left: 45px;
        }

        .dropdown:hover .dropdown-menu {
            display: block;
            opacity: 1;
            visibility: visible;
        }

        .dropdown-content {
            display: flex;
            gap: 40px;
            padding: 40px 0;
        }

        .dropdown-image {
            flex-basis: 30%;
            max-width: 300px;
        }

        .dropdown-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .dropdown-links {
            flex-basis: 70%;
            display: flex;
            justify-content: space-around;
            gap: 20px;
        }

        .link-column h3 {
            margin-bottom: 1rem;
            font-size: 1rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #555;
        }

        .link-column a {
            display: block;
            margin-bottom: 0.75rem;
            font-size: 14px;
            color: #111;
            transition: color 0.2s ease;
        }

        .link-column a:hover {
            color: #888;
        }
        /* --- End Dropdown Menu Styles --- */


/* Mobile Navigation */
.hamburger { display: none; font-size: 28px; background: none; border: none; cursor: pointer; }
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: #fdfdfd;
    margin-top: 60px;
    display: flex;
    flex-direction: column;

    /* --- PERUBAHAN --- */
    /* 1. Ubah 'center' menjadi 'flex-start' */
    /* Ini agar menu dimulai dari atas, bukan di tengah */
    justify-content: flex-start; 

    /* 2. Tambahkan overflow-y agar bisa di-scroll */
    overflow-y: auto;

    /* 3. (Opsional) Tambahkan padding & box-sizing */
    /* Agar menu tidak terlalu mepet di atas dan bawah */
    padding-top: 50px;
    padding-bottom: 40px;
    box-sizing: border-box; /* Pastikan padding termasuk dalam 100vh */
    /* --- AKHIR PERUBAHAN --- */

    align-items: center;
    gap: 15px;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1999;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav > a { font-size: 18px; padding: 10px 0; }
.cta-button-mobile {
    border: 1px solid #000; padding: 10px 25px; margin-top: 10px;
    text-align: center;
    position: relative;
    overflow: auto;
    z-index: 1;
}

.cta-button-mobile::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: #e0e0e0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
    z-index: -1;
}

.cta-button-mobile:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* --- Mobile Accordion Menu --- */
.mobile-accordion-item {
    width: 100%;
    border-bottom: 1px solid #eee;
}
.mobile-accordion-item:last-child {
    border-bottom: none;
}
.mobile-accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 10px 0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
}
.mobile-accordion-toggle.sub-toggle {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px;
}
.mobile-accordion-content a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #555;
}
.arrow {
    transition: transform 0.3s ease-out;
}

    .cta-button {
      border: 1px solid #000;
      padding: 8px 16px;
      text-decoration: none;
      color: #000;
      background-color: transparent;
      transition: background-color 0.3s, color 0.3s;
      display: inline-block; /* pastikan padding & ukuran stabil */
      position: relative;    /* agar ::before positioning tidak mempengaruhi layout */
      z-index: 1;
      cursor: pointer;
    }

    .cta-button:hover {
      background-color: #000;
      color: #fff;
      /* removed: transform: translate(-50%, -50%) scale(1); */
    }

    /* ====== Mobile Navigation ====== */
    .hamburger {
      display: none;
      font-size: 28px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1002;
      color: #111;
      margin-top:0 ;
    }

   .mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: #fdfdfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  z-index: 1999;
}
.mobile-nav.open {
  transform: translateY(0);
}
    .mobile-nav a {
      text-decoration: none;
      color: #111;
      font-size: 18px;
      padding: 5px 20px;
    }

    .cta-button-mobile {
      border: 1px solid #000;
      padding: 10px 25px;
      margin-top: 10px;
      text-decoration: none;
      color: #000;
      background-color: transparent;
      text-align: center;
    }

    /* ====== Navigation ====== */
    .navigation {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 20px;
      background-color: #fff;
      width: 100%;
      margin: 0;
      padding: 40px;
      box-sizing: border-box;
    }

    .nav {
      text-align: center;
    }

    .nav nav {
      display: flex;
      gap: 20px;
      align-items: center;
      justify-content: center;
    }

    nav a,
    nav span {
      color: #000000;
      text-decoration: none;
      font-weight: bold;
      margin: 0 10px;
    }

    nav a:hover {
      text-decoration: underline;
      color: #000;
    }

    /* ====== Hero Section (Desktop) ====== */
    .hero {
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      padding-top: 60px;
    }

    .hero img {
      border-radius: 0;
    }

    .slider-container {
      width: 100%;
      height: 100%;
      overflow: hidden;
      position: relative;
    }

    .slider-track {
      display: flex;
    }

    .slider-track.desktop-only {
      transition: transform 0.8s ease-in-out;
      width: 400vw; 
    }

    .slider-track.desktop-only img {
      width: 50vw; 
      height: 100vh;
      object-fit: cover;
    }

    .slider-text {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2);
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      z-index: 10;
      padding: 20px;
      box-sizing: border-box;
    }

    .slider-text h2 {
      font-size: 2rem;
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .slider-text p {
      font-size: 1.2rem;
      margin-bottom: 15px;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    }

    .slider-text button {
      margin-top: 20px;
      padding: 10px 20px;
      background-color: rgba(255, 255, 255, 0.356);
      border: 2px solid rgb(255, 255, 255);
      color: rgb(255, 255, 255);
      font-weight: bold;
      cursor: pointer;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* ====== About Section ====== */
    .about {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      padding: 40px 50px;
      max-width: 100%;
    }

    .about .text {
      flex: 1;
      max-width: 500px;
      padding: 50px;
      padding-left: 0px;
    }

    .about p {
      margin-top: 1rem;
    }

    .gallery1, .gallery2 {
      flex: 1;
      display: flex;
      gap: 15px;
      justify-content: center;
      padding: 0;
    }

    .gallery1 img, .gallery2 img {
      width: calc(33.33% - 14px);
      height: 400px;
      object-fit: cover;
    }

    /* ====== Experience Section ====== */
    .experience {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
      padding: 40px 0;
      margin: 0;
      overflow: hidden;
    }

    .experience .text {
      flex: 1;
      max-width: 500px;
      padding: 50px;
    }

    .experience p {
      margin-bottom: 1rem;
      line-height: 1.6;
    }

    .jahit {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }

    .jahit img {
      width: 100%;
      max-height: 500px;
      object-fit: cover;
    }

    /* ====== Services Section ====== */
    .services {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      flex-direction: row-reverse;
      align-items: center;
      gap: 2rem;
      padding: 40px 50px;
      max-width: 100%;
      box-sizing: border-box;
    }

    .services .text {
      flex: 0 0 300px;
    }

    .services p {
      margin-top: 1rem;
    }

    /* ====== Why Us Section ====== */
    .why-us {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
      padding: 40px 0;
      margin: 0;
      overflow: hidden;
    }

    .why-us .text {
      flex: 1;
      max-width: 500px;
      padding: 50px;
    }

    .jas-navy {
      flex: 1;
      display: flex;
      justify-content: flex-end;
    }

    .jas-navy img {
      width: 100%;
      height: auto;
      max-height: 500px;
      object-fit: cover;
    }

    /* ====== General Components (Checklist, Button, Image Hover) ====== */
    .checklist {
      list-style: none;
      padding-left: 0;
      margin-top: 1rem;
    }

    .checklist li::before {
      content: '✓';
      color: rgb(0, 0, 0);
      font-weight: bold;
      margin-right: 0.5rem;
    }

    button {
      position: relative;
      overflow: hidden;
      padding: 10px 20px;
      background: #ffffff;
      color: #000;
      border: 1px solid #000;
      cursor: pointer;
      margin-top: 1rem;
      z-index: 1;
    }

    button::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 300%;
      height: 300%;
      background: rgba(0, 0, 0, 0.05);
      transition: transform 0.6s ease;
      transform: translate(-50%, -50%) scale(0);
      border-radius: 50%;
      z-index: -1;
    }

    button:hover::before {
      transform: translate(-50%, -50%) scale(1);
    }

    button span {
      position: relative;
      z-index: 1;
    }

    img {
      transition: transform 0.5s ease;
      border-radius: 0px;
    }

    img:hover {
      transform: scale(1.05);
    }

    /* ====== Flip Card Style ====== */
    .flip-card {
      background-color: transparent;
      width: 250px;
      height: 350px;
      perspective: 1000px;
      margin: 0 auto;
    }

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      text-align: center;
      transition: transform 0.8s;
      transform-style: preserve-3d;
    }

    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      top: 0;
      left: 0;
      border-radius: 0px;
      overflow: hidden;
    }

    .flip-card-front img,
    .flip-card-back img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0;
    }

    .flip-card-back {
      transform: rotateY(180deg);
    }

    .auto-flip .flip-card-inner {
      animation: flipCardLoop 14s infinite;
    }

    @keyframes flipCardLoop {
      0%, 25% { transform: rotateY(0deg); }
      50%, 75% { transform: rotateY(180deg); }
      100% { transform: rotateY(0deg); }
    }

    /* ====== Location Section ====== */
    .location {
      padding: 40px 50px;
      text-align: center;
    }

    .location h2 {
      margin-bottom: 1rem;
    }

    .location p {
      max-width: 600px;
      margin: 0 auto 2rem auto;
    }

    .map-container {
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .map-container iframe {
      width: 100%;
      height: 450px;
      border: 0;
    }

    /* ====== Floating WA Button ====== */
    .wa-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 999;
      width: 60px;
      height: 60px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .wa-float img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .wa-float:hover {
      transform: scale(1.1);
    }

    /* ====== Footer ====== */
    footer {
      background: #f0f0f0;
      padding:0px;
      height: auto;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      height: auto;
      padding: 50px;
    }

    .footer-left,
    .footer-right{
      width: 45%;
      margin-bottom: 20px;
      height: auto;
      max-width: 300px;
    }

    .footer-mid {
      margin-bottom: 20px;
      height: auto;
      max-width: 300px;
    }

    .footer-bottom {
      text-align: center;
      font-size: 14px;
      color: #000000;
      background-color: #ABABAB;
      padding: 10px;
    }
    .footer-middle {
      text-align: center;
      font-size: 14px;
      color: #555;
      padding: 40px;
    }

    /* ========== TABLET STYLES (769px - 1024px) ========== */
    @media (min-width: 769px) and (max-width: 1024px) {
      .about,
      .experience,
      .services,
      .why-us {
        min-height: auto;
        padding: 4rem 2rem;
        gap: 1.5rem;
      }

      .about .text,
      .experience .text,
      .services .text,
      .why-us .text {
        flex: 1;
        max-width: none;
        padding: 1rem;
      }

      .gallery1,
      .jahit,
      .gallery2,
      .jas-navy {
        flex-basis: 50%;
      }

      .gallery1 {
        justify-content: center;
      }

      .gallery1 .flip-card:last-child {
        display: none;
      }

      .flip-card {
          width: 220px;
          height: 310px;
      }

      .gallery2 img:last-child {
        display: none;
      }
      
      .gallery2 img {
          width: calc(50% - 10px);
          height: auto;
      }
    }

    /* ========== RESPONSIVE MOBILE STYLES (<= 768px) ========== */
    @media (max-width: 768px) {

      .desktop-only {
        display: none !important;
      }

      .mobile-only {
        display: flex !important;
      }

      /* Header mobile */
       header { padding: 20px; }
    header h1, header h2 { margin-left: 50px; }
    .header-left, .header-right .cta-button { display: none; }
    .header-center { flex: 1; text-align: left; }
    .header-right { flex: 0; }
    .hamburger { display: block; }

    /* ====== Hero & Slider Mobile ====== */
      .hero {
        height: 100vh;
        padding: 0px;
      }
      
      .slider-track.mobile-only {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        
        -ms-overflow-style: none;
        scrollbar-width: none;
      }
      
      .slider-track.mobile-only::-webkit-scrollbar {
        display: none;
      }

      .slider-track.mobile-only img {
        width: 100vw;
        height: 100vh;
        flex-shrink: 0;
        scroll-snap-align: start;
        object-fit: cover;
      }

      .slider-text h2 {
        font-size: 1.8rem;
      }

      .slider-text p {
        font-size: 1.1rem;
      }

      /* Section mobile */
      section {
        padding: 30px 20px;
      }

      .about,
      .experience,
      .services,
      .why-us {
        flex-direction: column-reverse;
        align-items: center;
        padding: 40px 20px;
        height: auto;
        gap: 1rem; 
        min-height: 0; 
      }
      
      .services {
        padding-top: 40px;
      }

      .about .text,
      .experience .text,
      .services .text,
      .why-us .text {
        padding: 0;
        text-align: left; 
        width: 100%;
      }

      section a[href*="wa.me"] {
        display: block;
        width: fit-content;
        margin: 15px auto;
      }

      .gallery1, .gallery2 {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
        width: 100%;
      }

      .gallery1 .flip-card:not(:first-child) {
        display: none;
      }

      .gallery2.mobile-only {
          display: block !important;
      }

      .hide-on-mobile {
          display: none !important;
      }

      .services .gallery2 img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
      }

      .flip-card {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
      }

      .flip-card-inner,
      .flip-card-front,
      .flip-card-back {
        height: 100%;
      }
      
      .jahit img, .jas-navy img {
        width: 100%;
        max-height: 400px;
        height: auto;
        object-fit: cover;
      }
      
      .location {
        padding: 30px 20px;
      }

      /* Footer mobile */
      footer {
        height: auto;
      }

      .footer-top {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
      }

      .footer-left,
      .footer-right {
        width: 100%;
        max-width: 100%;
        height: auto;
      }

      .footer-bottom {
        text-align: center;
        font-size: 12px;
      }
    }

.experience .text,
.why-us .text {
    text-align: left; /* Keep text left-aligned */
}

.experience .text a,
.why-us .text a {
    display: block;
    text-align: center; /* Center the button container */
}
