/*
Theme Name: hkbuildervietnam.com
Theme URI: 
Author: DevTran
Author URI: 
Description: Premium Construction & Interior Theme based on HK Builder HTML. Liên hệ: 0348.590.300
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hk-builder
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: serif;
  color: #1A1A1A;
  background: #1A1A1A;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
  background: #bdaa77;
  border-radius: 3px;
}

.sans {
  font-family:  sans-serif;
}

.gold {
  color: #bdaa77;
  font-weight: bolder;
  letter-spacing: 2px;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 0.1s;
}

.reveal.d2 {
  transition-delay: 0.2s;
}

.reveal.d3 {
  transition-delay: 0.3s;
}

.reveal.d4 {
  transition-delay: 0.4s;
}

/* ─── COMMON ─── */
.label {
  font-family:  sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bdaa77;
  margin-bottom: 10px;
  font-weight: bolder;
}

.divider {
  width: 60px;
  height: 1px;
  background: #bdaa77;
  margin: 30px 0;
}

.divider-c {
  width: 60px;
  height: 1px;
  background: #bdaa77;
  margin: 30px auto;
}

.section-pad {
  padding: 140px 48px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.img-box {
  width: 100%;
  height: 100%;
  background: url('./img/template_image.jpeg');
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:  sans-serif;
  font-size: 11px;
  color: #555;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: left;
}

.img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(184, 153, 62, 0.03) 35px, rgba(184, 153, 62, 0.03) 36px);
}

/* ─── BUTTONS ─── */
.btn-gold {
  display: inline-block;
  padding: 16px 40px;
  background: #bdaa77;
  color: #1A1A1A;
  font-family:  sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
}

.btn-gold:hover {
  background: #1A1A1A;
  color: #bdaa77;
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  background: #bdaa77;
  border-radius: 7px;
  color: #FAF9F6;
  font-family:  sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid #bdaa77;
  cursor: pointer;
  transition: all 0.4s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: #faa;
  color: #bdaa77;
	background: #fff;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
}

.nav.scrolled {
  padding: 16px 48px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #FAF9F6;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-family:  sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FAF9F6;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #bdaa77;
  transition: width 0.3s;
}

.nav-link:hover {
  color: #bdaa77;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: #bdaa77;
  color: #1A1A1A;
  font-family:  sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
}

.nav-cta:hover {
  background: #FAF9F6;
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 40%, #111 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 2px 2px, #bdaa77 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #bdaa77);
  transform: translateX(-50%);
	display: none;
}

.hero-text img{
	border-radius: 10px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 300;
  color: #FAF9F6;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeUp 1.2s ease 0.3s both;
}

.hero h1 em {
  font-style: italic;
  color: #bdaa77;
}

.hero .sub {
  animation: fadeUp 1.2s ease 0.6s both;
}

.hero .cta {
  animation: fadeUp 1.2s ease 0.9s both;
}

.scroll-ind {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeUp 1s ease 1.5s both;
}

.scroll-ind div {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #bdaa77, transparent);
  margin: 0 auto;
}

/* ─── SOLUTIONS ─── */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 500px;
}

.sol-card {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.5s;
}

.sol-card:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─── JOURNEY ─── */
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #e8e8e3;
  align-items: start;
}

/* ─── PROJECTS GRID ─── */
.proj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.proj-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s;
}

.proj-card:hover {
  transform: scale(0.98);
}

.proj-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* ─── MATERIALS ─── */
.mat-row {
  display: grid;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.mat-row.left {
  grid-template-columns: 1.2fr 1fr;
}

.mat-row.right {
  grid-template-columns: 1fr 1.2fr;
}

/* ─── CONTACT FORM ─── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1100px;
  margin: 0 auto;
}

input,
textarea,
select {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  color: #FAF9F6;
  font-family:  sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  border-bottom-color: #bdaa77;
}

input::placeholder,
textarea::placeholder {
  color: #555;
}

select {
  color: #777;
}

select option {
  background: #1A1A1A;
  color: #FAF9F6;
}

.form-group {
  margin-bottom: 32px;
}

.form-label {
  font-family:  sans-serif;
  font-size: 11px;
  color: #555;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

/* Contact feedback and spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(26, 26, 26, 0.3);
  border-top-color: #1A1A1A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

.btn-gold:hover .btn-spinner {
  border-color: rgba(189, 170, 119, 0.3);
  border-top-color: #bdaa77;
}

.form-feedback {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-feedback.error {
  display: block;
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ─── FOOTER ─── */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-link {
  font-size: 15px;
  color: #777;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.3s;
  display: block;
}

.footer-link:hover {
  color: #FAF9F6;
}

/* ─── WHATSAPP ─── */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #bdaa77;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background 0.3s;
  border: none;
}

.wa-btn:hover {
  transform: scale(1.08);
  background: #1A1A1A;
}

/* ─── RESPONSIVE GRIDS ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
}



.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ─── RESPONSIVE ─── */
@media (max-width:900px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-link {
    font-size: 16px;
  }

  .section-pad {
    padding: 80px 24px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .sol-card {
    min-height: 300px;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .proj-grid {
    grid-template-columns: 1fr;
  }

  .mat-row.left,
  .mat-row.right {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  /* Overrides for our new grids */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

.tagline{
    font-size:24px; 
    font-style:italic; 
    margin-top:20px;
    font-weight: bolder;
    color: #bdaa77;
}

.text-overview{
	line-height:1.9; 
	color:#555; 
	margin-bottom:10px;
	text-align: justify;
}

.number_des{
	font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-top: 6px;
}

#brand_promise h2{
	font-size:26px; 
	font-weight:300; 
	color:#FAF9F6; 
	line-height:1.6; 
	font-style:italic;
	letter-spacing: 2px;
}

/* Success Modal Glassmorphism Popup Styling */
.hk-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hk-modal-overlay.show {
  opacity: 1;
}

.hk-modal-content {
  background: #111111;
  border: 1px solid rgba(189, 170, 119, 0.35);
  border-radius: 12px;
  width: 90%;
  max-width: 440px;
  padding: 35px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
}

.hk-modal-overlay.show .hk-modal-content {
  transform: scale(1);
}

.hk-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #888;
  font-size: 26px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.hk-modal-close:hover {
  color: #bdaa77;
}

.hk-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hk-modal-title {
  font-family: sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #bdaa77;
  margin: 18px 0 10px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hk-modal-desc {
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #bbbbbb;
  margin-bottom: 22px;
}

/* Beautiful Animated SVG Checkmark */
.hk-checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #bdaa77;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #bdaa77;
  animation: hk-fill .4s ease-in-out .4s forwards, hk-scale .3s ease-in-out .9s both;
}

.hk-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #bdaa77;
  fill: none;
  animation: hk-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.hk-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: hk-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes hk-stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes hk-scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes hk-fill {
  100% { box-shadow: inset 0px 0px 0px 30px rgba(189, 170, 119, 0.12); }
}