/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a2e;
  --color-muted: #5a5a7a;
  --color-accent: #1b4965;
  --color-accent-light: #bee9e8;
  --color-accent-dark: #0d2b3e;
  --color-warm: #c9a96e;
  --color-section-alt: #f7f8fa;
  --color-dark-bg: #1a1a2e;
  --color-dark-text: #f0f0f5;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --max-width: 1100px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-primary {
  background: var(--color-warm);
  color: #fff;
  border-color: var(--color-warm);
}
.btn-primary:hover { background: #b8943f; border-color: #b8943f; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* === Header === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--color-text); }
.nav .btn { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
.nav .btn:hover { background: var(--color-accent-dark); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #1b4965 50%, #2d6a8a 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a2e" width="1200" height="600"/><g opacity="0.05"><rect x="100" y="100" width="200" height="350" rx="4" fill="white"/><rect x="120" y="130" width="60" height="40" rx="2" fill="white" opacity="0.3"/><rect x="200" y="130" width="60" height="40" rx="2" fill="white" opacity="0.3"/><rect x="120" y="190" width="60" height="40" rx="2" fill="white" opacity="0.3"/><rect x="200" y="190" width="60" height="40" rx="2" fill="white" opacity="0.3"/><rect x="120" y="250" width="60" height="40" rx="2" fill="white" opacity="0.3"/><rect x="200" y="250" width="60" height="40" rx="2" fill="white" opacity="0.3"/><rect x="150" y="350" width="80" height="100" rx="2" fill="white" opacity="0.2"/></g></svg>') center/cover no-repeat;
  opacity: 0.4;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-tag {
  display: inline-block;
  background: rgba(201, 169, 110, 0.2);
  color: var(--color-warm);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* === Sections === */
.section { padding: 80px 0; }
.section-alt { background: var(--color-section-alt); }
.section-dark { background: var(--color-dark-bg); color: var(--color-dark-text); }
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1rem;
}
.section-dark .section-subtitle { color: rgba(240,240,245,0.6); }

/* === Highlights === */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.highlight-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow 0.2s;
}
.highlight-card:hover { box-shadow: var(--shadow); }
.highlight-icon {
  color: var(--color-accent);
  margin-bottom: 16px;
}
.highlight-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.highlight-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === Gallery === */
.gallery-group-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}
.gallery-group-title:first-of-type { margin-top: 8px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.gallery-caption {
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #555;
  background: #f5f5f7;
}
.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #e8eaef;
  color: #999;
  min-height: 200px;
  height: 100%;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  aspect-ratio: 4 / 3;
}

/* === Details === */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}
.details-table table {
  width: 100%;
  border-collapse: collapse;
}
.details-table th,
.details-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
}
.details-table th {
  font-weight: 600;
  color: var(--color-accent);
  width: 40%;
}
.details-table .section-header th {
  background: var(--color-section-alt);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-top: 2px solid var(--color-accent);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.details-note {
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.contact-card svg { margin-bottom: 16px; color: var(--color-warm); }
.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-card p {
  color: rgba(240,240,245,0.6);
  font-size: 0.9rem;
}

/* === Footer === */
.footer {
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.footer-note { font-size: 0.75rem; }

/* === Mobile === */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-open { transform: translateY(0); }
  .menu-toggle { display: block; }

  .hero { min-height: 75vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .details-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
}
