@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');


/* ------------------- */
/* Design tokens */
:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --text: #1b1b1b;
  --muted: #5a5a5a;
  --brand: #2f5d62;
  --brand-2: #bcd4d0;
  --accent: #c7a17a;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 12px;
  --container: 1100px;
}

/* ------------------- */
/* Base and utilities */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; font-weight: 400; color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
body.no-scroll { overflow: hidden; }

/* ------------------- */
/* Header and navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* raised to top */
  width: 100%;
  padding: 4px 24px; /* smaller padding for top alignment */
}

.header-left .site-logo {
  width: 120px;
  height: auto;
  cursor: pointer;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  position: relative;
}

.site-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: #fff;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--brand-2);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; }

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start; /* raised to top */
  gap: 16px;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: opacity 0.2s ease;
}
.social-icon:hover { opacity: 0.75; }

/* ------------------- */
/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 600; border: 2px solid transparent; transition: all 0.3s ease; letter-spacing: 0.5px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: #284f52; }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; }
.btn-white:hover { background: var(--brand); color: #fff; }
.btn-black { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-black:hover { background: #b48e66; border-color: #b48e66; }

/* ------------------- */
/* Hero section */
.hero { position: relative; height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../images/lui.jpg") center/cover no-repeat; animation: zoomPan 30s ease-in-out infinite; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35)); z-index: -1; }
.hero-content { position: relative; max-width: 760px; padding: 140px 24px 0; text-align: center; }
.site-title { font-family: 'Cormorant Garamond', serif; font-size: 72px; font-weight: 500; margin-bottom: 40px; color: #fff; line-height: 1.1; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); position: relative; }
.site-title::after { content: ""; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); width: 600px; height: 2px; background: linear-gradient(90deg, #d4af37, #f5e1a4); border-radius: 1px; }
.site-subtitle { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; color: #eef2f2; margin-bottom: 32px; }
.hero-content p { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 36px; color: #f5f7f7; line-height: 1.5; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@keyframes zoomPan {
  0% { transform: scale(1.2) translate(0,0); }
  25% { transform: scale(1.2) translate(-20px, -10px); }
  50% { transform: scale(1.2) translate(-30px, 0); }
  75% { transform: scale(1.2) translate(-20px, 10px); }
  100% { transform: scale(1.2) translate(0,0); }
}

/* ------------------- */
/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  width: 32px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}
.nav-toggle span:nth-child(2) { margin: 6px 0; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ------------------- */
/* Mobile menu panel & overlay */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: var(--surface);
  padding: 100px 24px;
  box-shadow: -4px 0 25px rgba(0,0,0,0.25);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999;
}
.mobile-menu-panel.open {
  transform: translateX(0);
}
.mobile-menu-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu-panel a {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}
.mobile-menu-panel .btn-black {
  display: block;
  background: var(--accent);
  color: white;
  padding: 12px;
  border-radius: 50px;
  text-align: center;
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 900;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ------------------- */
/* Responsive */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .site-title { font-size: 64px; }
}

@media (max-width: 768px) {
  .site-logo { 
    max-width: 80px;
    height: auto;
  }

  .site-title {
    display: inline-block; /* shrink to text width */
    position: relative;    /* required for ::after positioning */
  }

  .site-title::after {
    width: 100%;           /* underline matches text width */
    left: 0;               /* align with text start */
    transform: none;       /* remove translate */
  }

  .site-nav ul { display: none; }
  .nav-toggle { display: block; }
  .hero-content p { font-size: 18px; max-width: 100%; }
}
