/* ============================================
   NAILHARBOR — Global Design System
   Editorial Luxury | HTML/CSS/JS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ---- TOKENS ---- */
:root {
  --bg:          #F9F8FC;
  --black:       #0D0D1A;
  --orange:      #FF3E7E;
  --lilac:       #7B5EA7;
  --cream:       #F0EEFF;
  --text-light:  #6B6B80;
  --border:      #E2DFF0;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Lato', sans-serif;
  --nav-h:       72px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 16px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-dark  { background: var(--black); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: var(--cream); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { opacity: 0.88; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: #fff; }

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}
nav.transparent { background: transparent; }
nav.solid {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--black);
}
nav.transparent .nav-logo { color: #fff; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--black);
  transition: opacity var(--transition);
  position: relative;
}
nav.transparent .nav-links a { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-book {
  background: var(--black);
  color: #fff !important;
  padding: 10px 22px;
}
nav.transparent .nav-book { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--black);
  transition: var(--transition);
  display: block;
}
nav.transparent .nav-toggle span { background: #fff; }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 5%;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--sans);
}

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  color: #fff;
  padding: 80px 8% 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}
.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 2;
  display: block;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-etransfer {
  background: var(--orange);
  color: #fff;
  padding: 20px 24px;
  margin-top: 16px;
  border-radius: 2px;
}
.footer-etransfer p { color: rgba(255,255,255,0.85) !important; font-size: 0.82rem !important; }
.footer-etransfer strong { color: #fff; font-size: 0.95rem; display: block; margin-bottom: 4px; }
.footer-bottom {
  background: var(--lilac);
  margin: 0 -8%;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(0,0,0,0.55); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(0,0,0,0.6); }
.footer-bottom-links a:hover { color: var(--black); }

/* ---- SECTION UTILITIES ---- */
.section-pad { padding: 120px 8%; }
.section-pad-sm { padding: 80px 8%; }
.section-title-block { margin-bottom: 60px; }
.section-title-block h2 { margin-top: 8px; }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 0 8%; }

/* ---- ETRANSFER NOTICE BLOCK ---- */
.etransfer-box {
  background: linear-gradient(135deg, var(--orange) 0%, #c4501a 100%);
  color: #fff;
  padding: 32px 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-radius: 4px;
  margin: 32px 0;
}
.etransfer-box .icon { font-size: 2rem; flex-shrink: 0; }
.etransfer-box h4 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 6px; opacity: 0.8; }
.etransfer-box p { font-size: 0.95rem; line-height: 1.7; opacity: 0.92; }
.etransfer-box strong { font-size: 1.05rem; }

/* ---- HERO (shared) ---- */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 60px 8%;
}
.page-hero-content h1 { color: #fff; margin-bottom: 16px; }
.page-hero-content p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto; }

/* ---- FORM STYLES ---- */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}
.form-group label {
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
  border-radius: 2px;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---- CARDS ---- */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ---- MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  max-width: 560px;
  width: 100%;
  padding: 48px 44px;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}
.modal-close:hover { color: var(--black); }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  :root { --nav-h: 64px; }
  .section-pad { padding: 80px 6%; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .section-pad { padding: 60px 5%; }
  .etransfer-box { padding: 24px 20px; flex-direction: column; }
}
