/*
Theme Name: Laco Theme
Theme URI: https://lacovietnam.com
Author: Laco Việt Nam
Author URI: https://lacovietnam.com
Description: Theme chuyên nghiệp cho công ty tổ chức team building Laco Việt Nam
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lacotheme
Tags: team-building, corporate, responsive
*/

/* ============================================================
   BASE
============================================================ */
html { scroll-behavior: smooth; }
body { font-family: 'Be Vietnam Pro', system-ui, sans-serif; color: #292928; background: #fff; }

::selection { background: #FF671F; color: #fff; }

/* ============================================================
   SCROLL-REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ============================================================
   NAVBAR
============================================================ */
.nav-link { transition: color .25s ease; }
.nav-link:hover { color: #FF671F; }
.nav-link.active { color: #DD2F12; }

/* ============================================================
   BUTTONS
============================================================ */
.btn-grad { position: relative; overflow: hidden; }
.btn-grad::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.btn-grad:hover::before { transform: translateX(120%); }

/* ============================================================
   CARD / LIFT
============================================================ */
.lift { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(41,41,40,.25); }

/* ============================================================
   PROGRAM CARDS
============================================================ */
.prog-card .overlay { opacity: 0; transition: opacity .4s ease; }
.prog-card:hover .overlay { opacity: 1; }
.prog-card .img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.prog-card:hover .img { transform: scale(1.08); }

/* ============================================================
   DIAGONAL DECORATION
============================================================ */
.diag {
  background-image: repeating-linear-gradient(
    45deg, rgba(255,103,31,.06) 0 1px, transparent 1px 14px
  );
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee-mask {
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* ============================================================
   PLACEHOLDER IMAGE UTILITY
============================================================ */
.ph-img {
  background:
    repeating-linear-gradient(135deg, rgba(255,103,31,.10) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #FFE9DC, #FFD7C2);
  color: #DD2F12;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.ph-img.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px),
    #1f1f1e;
  color: #FF671F;
}

/* ============================================================
   TESTIMONIALS DOT INDICATORS
============================================================ */
.t-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: #d4d2d0; cursor: pointer;
  transition: width .3s ease, background .3s ease;
  border: none; padding: 0;
}
.t-dot.active {
  width: 24px;
  background: #FF671F;
}

/* ============================================================
   FAB / PULSE RING
============================================================ */
.fab-ring { position: absolute; inset: 0; border-radius: 9999px; border: 3px solid #FF671F; }

/* ============================================================
   MOBILE MENU
============================================================ */
#mobileMenu { transition: max-height .4s ease, opacity .3s ease; max-height: 0; overflow: hidden; opacity: 0; }
#mobileMenu.open { max-height: 560px; opacity: 1; }

/* ============================================================
   STEPPER LINE
============================================================ */
.step-line { background-image: linear-gradient(to right, #FF671F 0%, #DD2F12 100%); }

/* ============================================================
   FOCUS
============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #FF671F; outline-offset: 2px; border-radius: 6px;
}

/* ============================================================
   CONTACT FORM FIELDS
============================================================ */
.laco-field { display: flex; flex-direction: column; gap: .4rem; }
.laco-field label { font-size: .8rem; font-weight: 600; color: #292928; }
.laco-field input,
.laco-field select,
.laco-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: .9rem;
  font-family: inherit;
  color: #292928;
  background: #fff;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.laco-field input::placeholder,
.laco-field textarea::placeholder { color: #9ca3af; }
.laco-field input:focus,
.laco-field select:focus,
.laco-field textarea:focus {
  border-color: #FF671F;
  box-shadow: 0 0 0 3px rgba(255,103,31,.12);
}
.laco-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.laco-field textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   BREADCRUMB — Rank Math, style hero dark
============================================================ */
.laco-breadcrumb .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
}
.laco-breadcrumb .rank-math-breadcrumb a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .25s;
}
.laco-breadcrumb .rank-math-breadcrumb a:hover { color: #FF671F; }
.laco-breadcrumb .rank-math-breadcrumb .separator {
  color: rgba(255,255,255,.5);
  user-select: none;
}
/* Trang hiện tại — nhạt hơn link, không có link */
.laco-breadcrumb .rank-math-breadcrumb span:not(.separator):last-child {
  color: rgba(255,255,255,.6);
}

/* ============================================================
   PROSE LACO — Nội dung bài viết rich text
============================================================ */
.prose-laco { color: #4a4a48; font-size: 1rem; line-height: 1.9; }

.prose-laco h1, .prose-laco h2, .prose-laco h3,
.prose-laco h4, .prose-laco h5, .prose-laco h6 {
  color: #292928;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2em;
  margin-bottom: .6em;
  letter-spacing: -.015em;
}
.prose-laco h1 { font-size: 2rem; }
.prose-laco h2 { font-size: 1.5rem; padding-bottom: .4em; border-bottom: 2px solid #f1ede9; }
.prose-laco h3 { font-size: 1.2rem; color: #DD2F12; }
.prose-laco h4 { font-size: 1rem; }

.prose-laco p { margin-bottom: 1.25em; }

.prose-laco a { color: #FF671F; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.prose-laco a:hover { color: #DD2F12; }

.prose-laco ul, .prose-laco ol { margin: 1.25em 0 1.25em 1.5em; }
.prose-laco ul { list-style: none; padding-left: .25em; }
.prose-laco ul li { position: relative; padding-left: 1.4em; margin-bottom: .5em; }
.prose-laco ul li::before {
  content: '';
  position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF671F, #DD2F12);
}
.prose-laco ol { list-style: decimal; }
.prose-laco ol li { margin-bottom: .5em; padding-left: .25em; }

.prose-laco strong { color: #292928; font-weight: 700; }
.prose-laco em { font-style: italic; color: #6b6b68; }

.prose-laco blockquote {
  border-left: 4px solid #FF671F;
  background: #fff8f5;
  margin: 2em 0;
  padding: 1.25em 1.5em;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #6b6b68;
}
.prose-laco blockquote p { margin-bottom: 0; }
.prose-laco blockquote cite { display: block; margin-top: .75em; font-size: .85em; font-style: normal; color: #FF671F; font-weight: 600; }

.prose-laco img {
  width: 100%; height: auto;
  border-radius: 16px;
  margin: 2em 0;
  box-shadow: 0 8px 32px -8px rgba(41,41,40,.18);
}

.prose-laco figure { margin: 2em 0; }
.prose-laco figcaption { text-align: center; font-size: .8rem; color: #8b8b88; margin-top: .5em; font-style: italic; }

.prose-laco table {
  width: 100%; border-collapse: collapse;
  margin: 2em 0; font-size: .9rem;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px -4px rgba(41,41,40,.12);
}
.prose-laco th {
  background: linear-gradient(120deg, #FF671F, #DD2F12);
  color: #fff; font-weight: 700;
  padding: .75em 1em; text-align: left;
}
.prose-laco td { padding: .7em 1em; border-bottom: 1px solid #f1ede9; }
.prose-laco tr:last-child td { border-bottom: none; }
.prose-laco tr:nth-child(even) td { background: #faf8f6; }

.prose-laco code {
  background: #f3f0ed; color: #DD2F12;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .85em; padding: .15em .45em;
  border-radius: 6px;
}
.prose-laco pre {
  background: #1f1f1e; color: #f8f8f6;
  border-radius: 14px; padding: 1.5em;
  overflow-x: auto; font-size: .85rem;
  margin: 2em 0;
}
.prose-laco pre code { background: none; color: inherit; padding: 0; }

.prose-laco hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #FF671F, #DD2F12, transparent);
  margin: 2.5em 0;
  border-radius: 2px;
}

/* WP align classes */
.prose-laco .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prose-laco .alignleft   { float: left; margin: 0 1.5em 1em 0; }
.prose-laco .alignright  { float: right; margin: 0 0 1em 1.5em; }
.prose-laco .wp-caption  { max-width: 100%; }
.prose-laco .wp-caption-text { font-size: .8rem; color: #8b8b88; text-align: center; }

/* ============================================================
   HERO BLOBS
============================================================ */
.blob {
  filter: blur(50px); opacity: .55; position: absolute; border-radius: 9999px; pointer-events: none;
}

/* ============================================================
CLIENTS MARQUEE
============================================================ */
@keyframes marquee-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.clients-track {
  animation: marquee-ltr 28s linear infinite;
  width: max-content;
}
.clients-track-reverse {
  animation: marquee-rtl 32s linear infinite;
  width: max-content;
}
.clients-track:hover,
.clients-track-reverse:hover {
  animation-play-state: paused;
}
.galleryberg-image,
.galleryberg-image img{
  margin: 0 !important;
}