*, *::before, *::after {
    box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}


.img-rounded,
.img-karya,
.studio-img {
    width: 100%;
    height: auto;
}



/* Global */
body {
    margin: 0;
    padding-top: 63px;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f3e1b8;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Georgia', 'Times New Roman', Times, serif ;
    color: #3e240c;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: #3e240c;
}

.judul-full {
  text-align: center;
  background-color: #3e240c;
  color: white;
  padding: 20px 0;
  margin-top: 60px;
  font-family: 'Georgia', serif;
  letter-spacing: 2px;
}


/* Untuk mengatur layout gambar & teks horizontal */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  flex-direction: row;
  align-items: start;
}

.col-md-6 {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.text-col {
    flex: 1 1 50%;
    padding: 5px;
    max-width: 600px;
    text-align: justify;
}



/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #3e240c;
  padding: 10px 30px;
  color: #fef2cb;
  flex-wrap: wrap;
  box-sizing: border-box;
}


.logo-area h1 {
    font-size: 16px;
    margin: 0;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}


.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 47px;
    width: auto;
}

.nav-right a {
    text-decoration: none;
    background-color: #f3e4cd;
    color: #3e240c;
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Georgia', serif;
}

.nav-right a img {
    height: 10px;     /* lebih kecil dari 24px */
    width: 18px;
    vertical-align: middle;
    margin-top: 1px;
}

.nav-right a:hover {
    background-color: #e5ce9f;
}



/* Hero */
.hero {
  background-color: #fef2cb; 
  padding: 0;
  text-align: center;
}

.hero-img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-text {
  padding: 2rem;
  font-family: 'Georgia', serif;
  color: #3e2f1c;
  text-align: center;
  width: 100%;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: 705px;        
  object-fit: cover;
  /* border-radius: 75px; */
  display: block;
  margin: 0 auto;
}


/* Founder */
.founder-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #fdf3d1;
    padding: 40px 5%;
    align-items: flex-start;
    justify-content: center;
}

.founder-left {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.founder-left img {
    width: 400%;
    max-width: 300px;
    border-radius: 40px;
}

.founder-left h2 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-top: 15px;
    color: #4b2e0f;
    font-size: 20px;
}

.founder-left .jabatan {
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    margin-top: 5px;
}

.founder-text {
    flex: 1;
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    min-width: 300px;
    max-width: 600px;
    text-align: justify;
}

/* History */
.history-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 5%;
  background-color: #fdf3d1;
  align-items: center;
}

.history-left {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.history-right {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.history-right h2 {
  font-family: 'Georgia', serif;
  font-size: 24px;
  color: #4b2e0f;
  margin-bottom: 10px;
}

.history-right p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-family: 'Georgia', serif;
  text-align: justify;
}

.section-pemisah {
  background-color: #4e2e0e; 
  padding: 10px 0;
  text-align: center;
}

.section-pemisah2 {
  padding: 10px 0;
  text-align: center;
}

.judul-pemisah {
  color: #f9eec2;
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.judul-pemisah2 {
  color: #3e240c; 
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

/* Container */
.container {
    max-width: 960px;
    margin: auto;
    padding: 40px 20px;
}

.container h3 {
    background-color: #3e240c;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.img-rounded {
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  margin: 15px 0;
}

.img-rounded2 {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin: 10px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



.karya-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.img-karya {
    width: 280px;
    border-radius: 12px;
    align-items: center;
    transition: transform 0.3s ease;
}


/* Footer */
footer {
    text-align: center;
    margin-top: 0;
}

.footer-logo img {
    height: 140px;
    width: auto;
}


.coklat-latar {
    background-color: #3e240c;
    color: white;
    padding: 30px 20px;
}

.studio {
    background-color: #3e240c;
    color: #fdf3d1;
    text-align: center;
    padding: 40px 20px 20px;
}


.studio h3 {
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
}

.studio-img {
    max-width: 90%;
    border-radius: 30px;
    margin-bottom: 20px;
}

.alamat {
    font-family: 'Georgia', serif;
    font-size: 22px;
    line-height: 1.5;
}


.img-karya:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}


/* ======== RESPONSIVE DESIGN (MOBILE FIRST) ======== */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 15px;
    }

    .col-md-6, .text-col {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-rounded {
        max-width: 100%;
        border-radius: 20px;
    }

    .hero-caption h1, .hero-caption h2 {
        font-size: 16px;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 6px;
        margin-top: 0;
    }

    .nav-right a {
        font-size: 11px;
        padding: 4px 6px;
        margin: 2px;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }


    nav {
      display: flex;
      gap: 8px;
    }

    nav a {
      background-color: #f5ecd8;
      color: #4e2b14;
      padding: 4px 6px;
      text-decoration: none;
      border-radius: 6px;
      font-size: 10px;
      font-family: 'Segoe UI', sans-serif;
      transition: background-color 0.3s ease;
      margin: 0 2px;
    }

    nav a:hover {
      background-color: #d6c5a6;
    }


    .logo {
        height: 50px;
    }

    .footer-logo img {
        height: 100px;
    }

    .alamat {
        font-size: 14px;
    }
}
