/* ============================================
   CSS Variables & Design System
   ============================================ */
:root {
  /* Colors - Adapted from WordSen */
  --primary-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --secondary-gradient: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
  --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-color: #dd6245;
  --accent-hover: #c54d30;
  --text-dark: #2d3748;
  --text-medium: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --light-bg: #f4f5f6;
  --card-bg: #ffffff;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max-width: 1200px;
  --border-radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --brand-font: 'Dancing Script', cursive;
  --h1-size: 3.5rem;
  --h2-size: 2.5rem;
  --h3-size: 1.5rem;
  --body-size: 1.125rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

p {
  font-size: var(--body-size);
  color: var(--text-medium);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  background: var(--primary-gradient);
  padding: 8rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content-center {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.placeholder-links {
  margin-top: 3rem;
}

.placeholder-links p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.placeholder-links ul {
  list-style: none;
  padding: 0;
}

.placeholder-links li {
  margin: 0.75rem 0;
}

.link-accent {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid var(--accent-color);
}

/* ============================================
   Footer
   ============================================ */
.site-footer-simple {
  background: var(--text-dark);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.site-footer-simple p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

/* ============================================
   Vacation Page Specific Styles
   ============================================ */

/* Header Navigation for Vacation Page */
.vacation-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.vacation-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vacation-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.vacation-nav-links {
  display: flex;
  gap: 1.5rem;
}

.vacation-nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Hero for Vacation */
.vacation-hero {
  background: var(--primary-gradient);
  padding: 4rem 0 3rem;
  text-align: center;
}

.vacation-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.vacation-hero .subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.vacation-hero .duration {
  font-size: 1rem;
  color: var(--text-light);
}

/* Timeline Container */
.timeline-section {
  background: var(--light-bg);
  padding: 4rem 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
  padding-right: 60px;
}

/* Timeline Line - Right Side */
.timeline::before {
  content: '';
  position: absolute;
  right: 20px;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-color), var(--accent-hover));
  border-radius: 2px;
}

/* Day Card - All Left Aligned */
.day-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 3rem;
  margin-right: 60px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Timeline Dot - Right Side */
.day-card::before {
  content: '';
  position: absolute;
  top: 2rem;
  right: -42px;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--light-bg);
}

/* Day Header */
.day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-bg);
}

.day-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.day-number::before {
  content: "Day ";
}

.day-info h3 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.day-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Day Content */
.day-content h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.day-content p, .day-content ul {
  font-size: 1rem;
  line-height: 1.7;
}

.day-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.day-content li {
  margin-bottom: 0.5rem;
}

/* Location Badge */
.location-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Location-specific colors matching calendar */
.location-seoul {
  background: #dd6245;
}

.location-tokyo {
  background: #667eea;
}

.location-takayama {
  background: #764ba2;
}

.location-transit {
  background: #718096;
}

/* Image Placeholder */
.day-image {
  width: 100%;
  height: 250px;
  background: var(--light-bg);
  border-radius: 8px;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  overflow: hidden;
}

.day-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Dividers */
.section-divider {
  text-align: center;
  padding: 3rem 0;
  position: relative;
}

.section-divider h2 {
  display: inline-block;
  background: var(--card-bg);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

/* Attendees Section */
.attendees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.attendee {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.attendee:hover {
  transform: translateX(5px);
}

.attendee.confirmed .name {
  color: var(--accent-color);
  font-weight: 600;
}

.attendee.confirmed .checkmark {
  color: #22c55e;
  font-weight: bold;
  font-size: 1.2rem;
}

.attendee.confirmed .status {
  color: var(--text-light);
  font-size: 0.9rem;
}

.attendee.unconfirmed .name {
  color: var(--text-dark);
  font-weight: 500;
}

.attendee.unconfirmed .status {
  color: var(--text-light);
  font-size: 0.9rem;
}

.attendee.not-going .name {
  color: var(--text-light);
  text-decoration: line-through;
}

.attendee.not-going .status {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --section-padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .vacation-hero h1 {
    font-size: 2rem;
  }

  /* Mobile Timeline - Remove timeline decorations for full width content */
  .timeline {
    padding: 2rem 0;
  }

  .timeline::before {
    display: none;
  }

  .day-card {
    width: 100%;
    margin: 0 0 2rem 0 !important;
    padding: 2rem;
  }

  .day-card::before {
    display: none;
  }

  .vacation-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .vacation-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .vacation-hero h1 {
    font-size: 1.75rem;
  }

  .day-number {
    font-size: 2rem;
  }

  .day-image {
    height: 200px;
  }

  .itinerary-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Itinerary Grid */
.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Country Columns */
.country-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .country-columns {
    grid-template-columns: 1fr !important;
  }
}
