/* ============================================================
   tentang_kami.css — Dreezel Coffee Tentang Kami Page
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Variables */
:root {
  --light-bg: #efe3d5;
  --dark-bg: #e1d1be;
  --brown-text: #3d2314;
}

/* Ensure the desktop container expands to fit content */
.desktop {
  width: 100%;
  min-width: 1920px;
  position: relative;
  background-color: var(--light-bg);
  /* Removed restrictive heights and overflow: hidden so it can scroll naturally */
}

/* Base resets for the sections */
.tk-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 200px;
  box-sizing: border-box;
}

.light-bg {
  background-color: var(--light-bg);
}

.dark-bg {
  background-color: var(--dark-bg);
}

/* HERO SECTION */
.tk-hero {
  width: 100%;
  height: 1080px;
  display: flex;
  background-color: var(--light-bg);
  margin-top: 114px; /* offset for header */
}

.tk-hero-image {
  flex: 1;
  height: 100%;
  position: relative;
}

.tk-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.tk-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 100px;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Aligns buttons to the right edge of the title */
}

.tk-title {
  display: flex;
  flex-direction: column;
  align-items: center; /* Keeps COFFEE centered under DREEZEL */
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
  margin-bottom: 60px;
}

.tk-title-main {
  font-size: 128px;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 20px;
}

.tk-title-sub {
  font-size: 40px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.tk-title-sub::before,
.tk-title-sub::after {
  content: "";
  display: block;
  width: 174px;
  height: 10px;
  background-color: var(--brown-text);
}

.tk-nav-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Right aligns the buttons relative to each other */
  gap: 40px;
}

/* Generalized Button with Broken Box Border */
.tk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tk-btn::before,
.tk-btn::after {
  content: "";
  position: absolute;
  width: calc(100% - 20px);
  height: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.tk-btn::before {
  top: 0;
  left: 0;
  border-top: 5px solid var(--brown-text);
  border-left: 5px solid var(--brown-text);
}

.tk-btn::after {
  bottom: 0;
  right: 0;
  border-bottom: 5px solid var(--brown-text);
  border-right: 5px solid var(--brown-text);
}

.tk-btn:hover::before {
  top: -5px;
  left: -5px;
  width: calc(100% - 15px);
  height: calc(100% + 10px);
}

.tk-btn:hover::after {
  bottom: -5px;
  right: -5px;
  width: calc(100% - 15px);
  height: calc(100% + 10px);
}

/* CONTENT SECTIONS */
.tk-content-row {
  display: flex;
  width: 100%;
  max-width: 1520px;
  gap: 120px;
  align-items: center;
}

.tk-content-row.reverse-row {
  flex-direction: row-reverse;
}

.tk-image-col {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tk-image-col img {
  width: 100%;
  max-width: 773px;
  height: auto;
  object-fit: cover;
}

.tk-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
  padding: 0 40px;
}

.tk-text-col h2 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 40px;
}

.tk-text-col p {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* VISI MISI SECTION SPLIT TEXT */
.tk-text-col-full {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
}

.tk-center-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
  margin-bottom: 60px;
  text-align: center;
}

.split-text {
  display: flex;
  gap: 80px;
}

.visi-col, .misi-col {
  flex: 1;
  text-align: center;
}

.visi-col h3, .misi-col h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: capitalize;
}

.visi-col p, .misi-col p {
  font-size: 24px;
  line-height: 1.6;
}

/* FOOTER BUTTONS (KEMBALI & KONTAK) */
.tk-footer-buttons {
  margin-top: 120px;
}

/* OVERRIDE FOOTER STYLES (inheriting from styles.css issues) */
footer#kontak p {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 24px;
  margin: 0;
  position: static;
  top: auto;
  left: auto;
  width: auto;
  transform: none;
}

footer#kontak {
  position: relative;
  width: 100%;
  height: 82px;
  background-color: #3d2314;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  z-index: 10;
}
