/* ============================================================
   kontak.css — Dreezel Coffee Kontak 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;
}

/* Base Layout */
.desktop.kontak-main {
  background-color: var(--light-bg);
  width: 100%;
  min-width: 1920px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* HERO SECTION */
.kontak-hero {
  position: relative;
  width: 100%;
  height: 800px;
  margin-top: 114px; /* offset for header */
}

.kontak-hero .hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* CONTACT INFO SECTION */
.kontak-info-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 80px;
}

.kontak-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
  margin-bottom: 60px;
}

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

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

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

.kontak-details {
  display: flex;
  gap: 150px;
  font-family: 'Lato', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--brown-text);
}

.kontak-details a {
  color: var(--brown-text);
  text-decoration: none;
}

/* LOCATIONS SECTION */
.kontak-lokasi-section {
  display: flex;
  justify-content: center;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 150px auto;
}

.lokasi-left {
  display: flex;
  align-items: center;
}

.vertical-text {
  font-family: 'Lato', sans-serif;
  font-size: 128px;
  font-weight: 700;
  color: var(--brown-text);
  line-height: 0.9;
  text-align: center;
}

.lokasi-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* LOKASI CARD (with hover broken-border effect exactly like tk-btn) */
.lokasi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 40px;
  color: var(--brown-text);
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
  width: 100%;
}

.pin-icon {
  position: absolute;
  left: 40px;
  top: 15px;
  width: 45px;
  height: auto;
  transition: all 0.3s ease;
}

.lokasi-name {
  display: block;
  font-size: 56px;
  font-weight: 700;
  margin-left: 65px; /* Space for large icon */
  transition: margin-left 0.3s ease;
}

.lokasi-address {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-left: 40px; /* Space for small icon */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 0;
}

.lokasi-card:hover .pin-icon {
  top: 92px; /* Moves down */
  width: 24px; /* Shrinks */
}

.lokasi-card:hover .lokasi-name {
  margin-left: 0; /* Moves left */
}

.lokasi-card:hover .lokasi-address {
  max-height: 100px;
  opacity: 1;
  margin-top: 15px;
}

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

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

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

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

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

/* OVERRIDE FOOTER STYLES */
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;
}