/* ══════════════════════════════════════════════footer-colfooter-col
   Ren Head Spa — Shared Stylesheet
   assets/css/main.css
   ══════════════════════════════════════════════ */
/* ── SPLASH / INTRO ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1208;
  pointer-events: all;
}
#splash.hidden { display: none; }

.splash-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner.png') center center / cover no-repeat;
  transform: scale(1.12);
  animation: splashBgZoom 3s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes splashBgZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,7,4,0.3) 0%,
    rgba(10,7,4,0.5) 60%,
    rgba(10,7,4,0.72) 100%
  );
  opacity: 0;
  animation: splashOverlayIn 1.8s ease 0.2s forwards;
}
@keyframes splashOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-line-top,
.splash-line-bottom {
  width: 0;
  height: 1px;
  background: rgba(255,243,234,0.45);
  animation: splashLineExpand 1s ease forwards;
}
.splash-line-top  { margin-bottom: 28px; animation-delay: 0.5s; }
.splash-line-bottom { margin-top: 28px;  animation-delay: 0.7s; }
@keyframes splashLineExpand {
  from { width: 0; }
  to   { width: 80px; }
}

.splash-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 400;
  color: #fff3ea;
  letter-spacing: 0.04em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(28px);
  animation: splashTitleUp 1.1s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
  text-shadow: 0 4px 60px rgba(0,0,0,0.55);
  white-space: nowrap;
}
@keyframes splashTitleUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splash-sub {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 400;
  color: rgba(255,243,234,0.55);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0;
  animation: splashFadeIn 1s ease 0.9s forwards;
}
@keyframes splashFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.splash-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--terracotta);
  animation: splashProgress 2.4s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
}
@keyframes splashProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Exit */
#splash.fade-out {
  animation: splashExit 0.85s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}
@keyframes splashExit {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}

/* ───────────────── CONTACT SECTION ───────────────── */

.contact-section {
    position: relative;
    padding: 110px 60px;
    background-image: url('../images/contact_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* overlay tối */
.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(83, 96, 72, 0.95); /* chỉnh độ mờ ở đây */
    backdrop-filter: blur(2px);
}

/* content nổi lên trên overlay */
.contact-section .footer-contact {
    position: relative;
    z-index: 2;
}

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #fff3ea;
  --terracotta: #af755f;
  --forest:     #536048;
  --forest-dk:  #2e3a28;
  --dark:       #222222;
  --white:      #ffffff;
  --font-serif: 'Caudex', Georgia, serif;
  --font-sans:  'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--dark); overflow-x: hidden; }

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 125px;
    border-bottom: none;
    border-bottom: none;
    transition: background 0.3s, height 0.3s, box-shadow 0.3s;
}
    .navbar.scrolled {
        box-shadow: 0 2px 24px rgba(0,0,0,0.08);
        height: 72px;
        background: rgba(255,243,234,0.94);
        border-bottom: 1px solid rgba(175,117,95,0.12);
        backdrop-filter: blur(14px);
        transition: box-shadow 0.3s;
    }
        .navbar.scrolled .nav-links a {
            color: #222222;
        }
        .navbar.scrolled .nav-logo-img img {
            height: 55px;
        }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  width: 74px;
  height: 93px; 
  /*background: var(--forest); border: 2px solid var(--terracotta);*/
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav-logo-img svg { width: 26px; height: 26px; fill: var(--cream); }
.nav-logo-name { font-family: var(--font-serif); font-size: 17px; color: var(--forest); letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a {
        font-family: var(--font-sans);
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        /* color: var(--dark); */
        color: #FFF3EA;
        text-decoration: none;
        transition: color 0.2s;
    }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  gap: 5px; padding: 4px; z-index: 300;
}
    .nav-hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--cream);
        border-radius: 2px;
        transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease, background 0.3s;
        transform-origin: center;
    }
.navbar.scrolled .nav-hamburger span {
    background: var(--forest);
}
.nav-hamburger.open span { background: var(--terracotta); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE OVERLAY ── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(34,34,34,0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ── MOBILE DRAWER ── */
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--cream); z-index: 250;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; padding: 100px 36px 48px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-logo { position: absolute; top: 24px; left: 36px; font-family: var(--font-serif); font-size: 16px; color: var(--forest); letter-spacing: 0.05em; }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-drawer ul li a {
  display: block; padding: 14px 0;
  font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark); text-decoration: none;
  border-bottom: 1px solid rgba(175,117,95,0.12);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-drawer ul li a:hover, .nav-drawer ul li a.active { color: var(--terracotta); padding-left: 8px; }
.nav-drawer-social { margin-top: auto; display: flex; gap: 12px; }
.nav-drawer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(175,117,95,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest); text-decoration: none; transition: all 0.2s;
}
.nav-drawer-social a svg { width: 15px; height: 15px; fill: currentColor; }
.nav-drawer-social a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); }
.nav-drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    transition: color 0.2s;
}

    .nav-drawer-close:hover {
        color: var(--terracotta);
    }

    .nav-drawer-close svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }
/* ── PAGE HERO (inner pages) ── */
.page-hero {
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 125px;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/about/ab_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.page-hero-glow { position: absolute; inset: 0; pointer-events: none; }
.pg {
  position: absolute; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(220,165,120,0.28) 0%, transparent 70%);
  animation: pgp 5s ease-in-out infinite;
}
.pg1 { width: 380px; height: 160px; bottom: 0; left: -4%; }
.pg2 { width: 280px; height: 200px; bottom: 10%; left: 8%; animation-delay: 2s; }
.pg3 { width: 260px; height: 260px; bottom: -10%; right: 5%; animation-delay: 1s; }
.pg4 { width: 220px; height: 220px; bottom: 5%; right: 12%; animation-delay: 3s; }
@keyframes pgp { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:.85;transform:scale(1.06)} }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(15,10,6,0.45); }
.page-hero h1 {
  position: relative; z-index: 2;
  font-family: var(--font-serif); font-size: clamp(40px, 5vw, 72px);
  font-weight: 400; color: var(--cream);
  letter-spacing: 0.02em; text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease both;
}

/* ── SHARED TYPOGRAPHY ── */
.section-label {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400; text-align: center;
  letter-spacing: 0.01em; margin-bottom: 24px;
}
.section-label.light { color: var(--cream); }
.section-label.terracotta { color: var(--terracotta); }
.section-body {
  font-family: var(--font-sans); font-size: 17px;
  line-height: 1.85; text-align: center;
  max-width: 700px; margin: 0 auto 20px;
}
.section-body.light { color: rgba(255,243,234,0.75); }
.section-body.dark { color: var(--dark); }

/* ── SHARED BUTTONS ── */
.btn-primary {
  display: inline-block; padding: 15px 52px;
  border: 1.5px solid rgba(255,243,234,0.65);
  color: var(--cream); background: rgba(255,243,234,0.06);
  backdrop-filter: blur(4px);
  font-family: var(--font-sans); font-size: 13px;
  font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; transition: all 0.35s;
}
.btn-primary:hover {
  background: var(--terracotta); border-color: var(--terracotta);
  transform: translateY(-3px); box-shadow: 0 12px 30px rgba(175,117,95,0.4);
}
.btn-outline {
  display: inline-block; padding: 14px 52px;
  border: 1.5px solid var(--terracotta); color: var(--terracotta);
  background: transparent; font-family: var(--font-sans); font-size: 12px;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
}
.btn-outline:hover { background: var(--terracotta); color: var(--cream); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 14px;
  font-weight: 500; letter-spacing: 0.1em;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap 0.25s;
}
.link-arrow::after { content: '→'; font-size: 16px; }
.link-arrow:hover { gap: 12px; }
.link-arrow.terracotta { color: var(--terracotta); }
.link-arrow.cream { color: var(--cream); }

/* ── FOOTER ── */
.footer {
    background: rgba(83, 96, 72, 0.95);
    padding: 0px 60px 0;
    position: relative;
    overflow: hidden;
}
    .footer::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: rgba(83, 96, 72, 0.95);
    }
    .footer::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: rgba(83, 96, 72, 0.95);
    }


.footer-contact {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 70px; max-width: 1000px; margin: 0 auto 40px;
}

.footer-divider { background: rgba(255,243,234,0.15); }
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .footer-col h3 {
        font-family: var(--font-serif);
        font-size: 36px;
        color: var(--cream);
        font-weight: 400;
        margin-bottom: 36px;
    }

.social-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,243,234,0.3);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--cream); transition: all 0.25s;
}
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.social-btn:hover { background: var(--terracotta); border-color: var(--terracotta); }
.form-inp, .form-ta {
  width: 100%; margin-bottom: 12px;
  background: rgba(255,243,234,0.08); border: 1px solid rgba(255,243,234,0.18);
  color: var(--cream); font-family: var(--font-sans); font-size: 14px;
  padding: 14px 18px; outline: none; transition: border-color 0.2s;
}
.form-inp::placeholder, .form-ta::placeholder { color: rgba(255,243,234,0.4); }
.form-inp:focus, .form-ta:focus { border-color: var(--terracotta); }
.form-ta { resize: vertical; min-height: 110px; }
.btn-send {
  display: block; width: 100%; padding: 15px;
  background: transparent; border: 1.5px solid var(--terracotta);
  color: var(--terracotta); font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; margin-top: 6px; transition: all 0.3s;
}
.btn-send:hover { background: var(--terracotta); color: var(--cream); }
.footer-bottom {
    position: relative;
    z-index: 2;
    background: rgba(83, 96, 72, 0.95);
    padding: 60px 0;
    display: grid;
    grid-template-columns: 100px 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.fb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fb-logo img {
        width: 80px;
        height: auto;
        object-fit: contain;
    }
.fb-col h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.fb-col p, .fb-col a { font-family: var(--font-sans); font-size: 14px; color: rgba(255,243,234,0.55); line-height: 1.85; display: block; text-decoration: none; transition: color 0.2s; }
.fb-col a:hover { color: var(--terracotta); }
.fb-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ── RESPONSIVE — SHARED ── */
@media (max-width: 1024px) {
  .navbar { padding: 0 32px; }
  .footer { padding: 72px 32px 0; }
  .footer-bottom { gap: 32px; }
  .footer-contact { gap: 48px; }
}
@media (max-width: 900px) {
    .navbar {
        padding: 0 24px;
        height: 64px;
    }

    .nav-logo-img {
        width: 48px;
        height: 60px;
    }

        .nav-logo-img img {
            height: 50px;
        }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { height: 220px; }
  .footer { padding: 64px 24px 0; }
  .footer-contact { grid-template-columns: 1fr; gap: 48px; }
  .footer-divider { display: none; }
  .footer-bottom { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: 28px; }
  .footer-bottom .fb-col:nth-child(3) { grid-column: 1 / -1; }
  .footer-bottom .fb-col:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .navbar { padding: 0 16px; height: 60px; }
  .nav-logo-name { font-size: 15px; }
  .page-hero { height: 160px; }
  .page-hero h1 { font-size: 34px; }
  .footer { padding: 48px 16px 0; }
  .footer-col h3 { font-size: 26px; margin-bottom: 20px; }
    .fb-logo {
        width: 56px;
        height: 56px;
    }
  .social-row { flex-wrap: wrap; gap: 10px; }
    .footer-bottom {
        grid-template-columns: 1fr;
        padding: 32px 0;
    }
    
    .contact-section {
        padding: 60px 20px;
    }
    .footer-contact {
        gap: 32px;
        margin-bottom: 24px;
    }
    .fb-logo {
        width: auto;
        height: auto;
        justify-content: center;
    }
}
