/* ==========================================================================
   ZENDY REAL - LUXURY REAL ESTATE DESIGN SYSTEM
   Thiết kế chuẩn xác 100% theo bộ ảnh Mockup (Desktop & Mobile)
   Typography: Didone Luxury Serif (Playfair Display) + Sans-serif (Be Vietnam Pro)
   Tone màu: Forest Green (#081814, #0d221c), Radiant Gold (#dfbe6f, #c49a45, #9d7426)
   ========================================================================== */

/* Local Fonts - Zero external latency */
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/assets/fonts/be-vietnam-pro-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/assets/fonts/be-vietnam-pro-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/assets/fonts/be-vietnam-pro-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/assets/fonts/be-vietnam-pro-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  src: url('/assets/fonts/be-vietnam-pro-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/assets/fonts/playfair-display-italic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-primary-dark: #071612;
  --color-forest-dark: #0d221c;
  --color-forest-medium: #132f27;
  --color-forest-light: #204539;
  
  --color-gold: #c49a45;
  --color-gold-light: #dfbe6f;
  --color-gold-dark: #9d7426;
  --color-gold-pale: #fbf7ee;
  
  --color-bg-page: #fbfaf7;
  --color-bg-card: #ffffff;
  --color-border: #ede8df;
  --color-border-dark: #223c32;
  
  --color-text-main: #14221c;
  --color-text-muted: #5e6d66;
  --color-text-light: #ffffff;
  
  --color-warning-bg: #fffbeb;
  --color-warning-text: #b45309;
  --color-warning-border: #fef3c7;
  --color-success: #15803d;
  
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 6px 20px rgba(196, 154, 69, 0.35);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif, .hero-title, .section-title-with-line {
  font-family: var(--font-serif);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* SVG Icon Helper */
.svg-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Typography Helpers */
.text-gold {
  color: var(--color-gold);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #dfbe6f 0%, #c49a45 60%, #9d7426 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-white {
  color: #ffffff;
}

.text-center {
  text-align: center;
}

/* Base Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 60%, var(--color-gold-dark) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 26px rgba(196, 154, 69, 0.45);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #ffffff !important;
}
