/* ============================================
   Travel Concierge - Golden Voyage Design
   Concept: 黄金時代の優雅な旅行体験
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

:root {
  /* Golden Voyage カラーパレット */
  --navy-deep: #0a1628;
  --navy-mid: #152238;
  --navy-light: #1e3553;
  --gold-primary: #c9a962;
  --gold-light: #e5d4a1;
  --gold-dark: #a08340;
  --champagne: #f5f0e6;
  --ivory: #faf8f5;
  --text-light: #f5f0e6;
  --text-muted: #9ca3af;
  --text-dark: #1a1a1a;
  --border-gold: rgba(201, 169, 98, 0.3);
  --border-light: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(21, 34, 56, 0.8);
  --glass-bg: rgba(10, 22, 40, 0.95);
  
  /* タイポグラフィ */
  --font-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-sans: 'Outfit', 'Noto Sans JP', sans-serif;
  
  /* スペーシング */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* トランジション */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* シャドウ */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 0 30px rgba(201, 169, 98, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, var(--navy-deep) 0%, #060d17 100%);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-light);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-text span {
  color: var(--gold-primary);
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--gold-primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: var(--transition-base);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  margin-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.7) 100%
  );
  z-index: 1;
}

/* Elegant diagonal pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(201, 169, 98, 0.02) 50px,
      rgba(201, 169, 98, 0.02) 100px
    );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-shadow: 
    2px 2px 0 rgba(0, 0, 0, 0.5),
    0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  color: var(--gold-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: var(--navy-deep);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-base);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  margin-bottom: var(--space-3xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold-primary);
  margin: var(--space-md) auto;
}

/* Content Box */
.content-box {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: var(--space-xl);
  backdrop-filter: blur(8px);
}

.content-box h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.content-box h2::before {
  content: '';
  width: 4px;
  height: 1.2em;
  background: var(--gold-primary);
  border-radius: 2px;
}

.content-box h3 {
  font-size: 1.25rem;
  color: var(--text-light);
  margin: var(--space-lg) 0 var(--space-sm);
}

.content-box p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

/* ============================================
   Card Grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--navy-mid);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: var(--space-lg);
  transition: var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--navy-mid);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   News & Topics
   ============================================ */
.news-list {
  list-style: none;
}

.news-item {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-fast);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(201, 169, 98, 0.05);
}

.news-date {
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.news-title {
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.news-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.news-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

.news-item a:hover {
  color: var(--gold-primary);
}

/* ============================================
   Topics Grid
   ============================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.topic-card {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-light);
}

.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.topic-card:hover img {
  transform: scale(1.05);
}

.topic-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.topic-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.topic-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   Data Table
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.data-table th,
.data-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
}

.data-table th {
  background: var(--navy-mid);
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.data-table tr:hover td {
  background: rgba(201, 169, 98, 0.05);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border-gold);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-nav h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: var(--space-xs);
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

/* ============================================
   Page Navigation
   ============================================ */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-gold);
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.page-nav a:hover {
  color: var(--gold-light);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-gold);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu a {
    padding: var(--space-sm) 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .content-box {
    padding: var(--space-lg);
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .page-nav {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: var(--space-sm);
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .main-content {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

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

.text-gold { color: var(--gold-primary); }
.text-light { color: var(--text-light); }

/* ============================================
   Mobile Overflow Fix
   ============================================ */
html, body { overflow-x: hidden; }
img, video, iframe, table { max-width: 100%; }

@media (max-width: 768px) {
  h1, h2, h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  p, li, td, th, span, a {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .container, main, section, article, header, footer, nav,
  [class*="container"], [class*="wrapper"], [class*="content"] {
    max-width: 100vw;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .header, .footer, .page-nav, .hamburger {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .content-box, .card {
    background: white;
    border: 1px solid #ddd;
    box-shadow: none;
  }
}
