/* ============================================
   MiSA SHODO — French Calligraphy Site
   ============================================ */

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

:root {
  --primary: #1a1a2e;
  --secondary: #c9a96e;
  --accent: #8b1a3a;
  --bg: #faf8f5;
  --text: #333333;
  --light: #f0ece6;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.15em;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: italic;
  display: block;
  font-size: 0.65em;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 26, 58, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-dark {
  background: var(--secondary);
  color: var(--primary);
}

.btn-dark:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--light);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #666;
  max-width: 650px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* Gold line accent under headings */
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--secondary);
  margin: 20px auto 0;
}

/* --- Lesson Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body {
  padding: 28px 24px;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.cards-cta {
  text-align: center;
  margin-top: 50px;
}

/* --- About Section --- */
.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 24px;
  color: #444;
}

.about-content .signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 36px;
}

/* --- Artist Section --- */
.artist-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.artist-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.artist-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 100%);
}

.artist-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 80px 0;
}

.artist-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 24px;
}

.artist-content h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--secondary);
  margin-top: 16px;
}

.artist-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
}

/* --- Works / Others Section --- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Japan Expo — split layout */
.card-split {
  grid-column: span 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-split:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-split .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
}

.card-split .card-img-wrap {
  height: 100%;
}

.card-split .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Contact Section --- */
.contact-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.contact-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.7);
}

.contact-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.contact-content h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
}

.contact-content h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--secondary);
  margin: 16px auto 0;
}

.contact-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-address {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-top: 32px;
  letter-spacing: 0.03em;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 32px 0;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ===========================================
   Price Page
   =========================================== */

/* Price Hero */
.price-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--light);
}

.price-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.price-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

/* Pricing Cards */
.pricing-section {
  padding: 80px 0;
}

.pricing-section h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 12px;
}

.pricing-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--secondary);
  margin: 16px auto 0;
}

.pricing-desc {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.price-card {
  background: var(--white);
  border: 1px solid #e8e4de;
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.price-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 4px 30px rgba(201, 169, 110, 0.15);
}

.price-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.price-card ul {
  list-style: none;
  margin: 24px 0;
  text-align: left;
}

.price-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0ece6;
  font-size: 0.9rem;
  color: #555;
  padding-left: 20px;
  position: relative;
}

.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 600;
}

/* Live lesson standalone card */
.live-card {
  background: var(--white);
  border: 1px solid #e8e4de;
  max-width: 500px;
  margin: 0 auto 60px;
  padding: 40px 36px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.live-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.live-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.live-card .price-amount {
  margin-bottom: 8px;
}

.live-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Trial section */
.trial-section {
  background: var(--light);
  padding: 80px 0;
  text-align: center;
}

.trial-section h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.trial-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--secondary);
  margin: 16px auto 0;
}

.trial-section p {
  color: #666;
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: #888;
  padding-top: 88px;
  padding-bottom: 0;
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 8px;
}

.breadcrumb a {
  color: #888;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

/* ===========================================
   Responsive
   =========================================== */

@media (max-width: 1024px) {
  .cards-grid,
  .works-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-split {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  .nav-links.open {
    max-height: 400px;
    padding: 16px 0 24px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .cards-grid,
  .works-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .card-split {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .card-split .card-img-wrap {
    height: 220px;
  }

  .hero {
    min-height: 100vh;
  }

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

  .section {
    padding: 70px 0;
  }

  .artist-content {
    padding: 60px 0;
    max-width: 100%;
  }

  .header-inner {
    height: 64px;
  }

  .breadcrumb {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.8rem;
  }

  .card-img {
    height: 200px;
  }
}
