/*
Theme Name: ScreenMetro
Theme URI: https://screenmetro.com
Author: ScreenMetro Publishing
Description: Book landing page theme for Airline Cabin Crew Training
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-pale: #f5e9c8;
  --cream: #faf7f0;
  --white: #ffffff;
  --text-muted: #8a8a8a;
  --text-body: #2d2d2d;
  --sky: #4a90c4;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-body); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,22,40,0.96); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: 64px; border-bottom: 1px solid rgba(201,168,76,0.2); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold); letter-spacing: 0.06em; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy); text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.55rem 1.3rem; border-radius: 2px; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* HERO */
.hero { min-height: 100vh; background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 100px 8% 60px; gap: 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(74,144,196,0.08) 0%, transparent 60%), repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(201,168,76,0.04) 60px), repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(201,168,76,0.04) 60px); pointer-events: none; }
.hero-text { position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 2px; margin-bottom: 1.8rem; animation: fadeUp 0.7s ease both; }
.hero-tag::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem,5vw,4.2rem); font-weight: 900; line-height: 1.08; color: var(--white); margin-bottom: 0.4rem; animation: fadeUp 0.7s 0.1s ease both; }
h1 em { font-style: italic; color: var(--gold); }
.hero-subtitle { font-family: 'Playfair Display', serif; font-size: clamp(1rem,1.8vw,1.2rem); color: rgba(255,255,255,0.5); font-weight: 400; margin-bottom: 1.8rem; letter-spacing: 0.03em; animation: fadeUp 0.7s 0.2s ease both; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 480px; margin-bottom: 2.5rem; font-weight: 300; animation: fadeUp 0.7s 0.3s ease both; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; animation: fadeUp 0.7s 0.4s ease both; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--gold); color: var(--navy); text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.05em; padding: 0.9rem 2rem; border-radius: 2px; transition: all 0.2s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.25); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; }
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

/* BOOK */
.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; animation: fadeUp 0.9s 0.2s ease both; }
.book-wrap { position: relative; width: 280px; }
.book-shadow { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); width: 220px; height: 40px; background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%); filter: blur(10px); }
.book-cover { width: 280px; aspect-ratio: 2/3; border-radius: 4px 10px 10px 4px; position: relative; box-shadow: -6px 0 0 #06101e, -8px 2px 16px rgba(0,0,0,0.6), 4px 4px 32px rgba(0,0,0,0.5); overflow: hidden; transform: perspective(800px) rotateY(-6deg); transition: transform 0.4s ease; }
.book-cover:hover { transform: perspective(800px) rotateY(0deg); }
.book-cover::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.08) 100%); z-index: 2; pointer-events: none; }
.book-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, transparent 50%); z-index: 2; pointer-events: none; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stats { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0.8rem; }
.stat-pill { background: rgba(10,22,40,0.9); border: 1px solid rgba(201,168,76,0.25); border-radius: 4px; padding: 0.6rem 1rem; text-align: center; min-width: 80px; }
.stat-pill .num { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 2px; }
.stat-pill .lbl { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-weight: 500; }

/* TRUST BAR */
.trust-bar { background: var(--navy-mid); padding: 1.2rem 8%; border-top: 1px solid rgba(201,168,76,0.1); border-bottom: 1px solid rgba(201,168,76,0.1); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.trust-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 600; white-space: nowrap; }
.trust-divider { width: 1px; height: 20px; background: rgba(201,168,76,0.2); }
.trust-items { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { font-size: 0.78rem; color: rgba(255,255,255,0.45); font-weight: 400; display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.trust-item::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; opacity: 0.6; flex-shrink: 0; }

/* ABOUT */
.about { padding: 7rem 8%; background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.section-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.section-tag::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 900; color: var(--navy); line-height: 1.15; margin-bottom: 1.5rem; }
h2 em { font-style: italic; color: var(--sky); }
.about-desc { font-size: 1rem; line-height: 1.85; color: #4a4a4a; font-weight: 300; margin-bottom: 2rem; }
.about-highlights { display: flex; flex-direction: column; gap: 1rem; }
.highlight-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.2rem; background: var(--white); border-radius: 4px; border-left: 2px solid var(--gold); transition: transform 0.2s, box-shadow 0.2s; }
.highlight-item:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.hi-icon { width: 36px; height: 36px; background: rgba(201,168,76,0.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hi-content h4 { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.hi-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; font-weight: 300; }

/* INSIDE */
.inside { padding: 7rem 8%; background: var(--navy); position: relative; overflow: hidden; }
.inside::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(201,168,76,0.02) 31px, rgba(201,168,76,0.02) 32px); pointer-events: none; }
.inside-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.inside-header h2 { color: var(--white); }
.inside-header h2 em { color: var(--gold); }
.inside-header p { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.75; font-weight: 300; }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.module-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.12); border-radius: 4px; padding: 1.6rem; transition: background 0.2s, border-color 0.2s, transform 0.2s; position: relative; overflow: hidden; }
.module-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }
.module-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: rgba(201,168,76,0.08); position: absolute; top: 0.5rem; right: 1rem; line-height: 1; pointer-events: none; }
.module-card h3 { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.module-card p { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.6; font-weight: 300; }
.module-card .tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.m-tag { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: rgba(201,168,76,0.6); background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.12); padding: 0.2rem 0.55rem; border-radius: 2px; }

/* TESTIMONIALS */
.testimonials { padding: 7rem 8%; background: #f2ede3; }
.test-header { text-align: center; margin-bottom: 3.5rem; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1rem; margin-bottom: 0.5rem; }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.test-card { background: var(--white); border-radius: 4px; padding: 2rem; border-bottom: 2px solid var(--gold); transition: transform 0.2s, box-shadow 0.2s; }
.test-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.test-quote { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; opacity: 0.6; }
.test-text { font-size: 0.9rem; line-height: 1.75; color: #4a4a4a; font-weight: 300; margin-bottom: 1.2rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.test-name { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.test-role { font-size: 0.74rem; color: var(--text-muted); font-weight: 300; }

/* CTA */
.cta-section { padding: 7rem 8%; background: var(--navy); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%); pointer-events: none; }
.cta-section .section-tag { justify-content: center; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section h2 em { color: var(--gold); }
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 500px; margin: 0 auto 2.5rem; font-weight: 300; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-gold { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--gold); color: var(--navy); text-decoration: none; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; padding: 1rem 2.4rem; border-radius: 2px; transition: all 0.2s; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,0.3); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 1rem 2rem; border-radius: 2px; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.cta-note { margin-top: 1.5rem; font-size: 0.78rem; color: rgba(255,255,255,0.25); letter-spacing: 0.03em; }

/* FOOTER */
footer { background: #060f1c; padding: 2rem 8%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(201,168,76,0.1); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; opacity: 0.7; }
.footer-note { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* BLOG */
.blog-hero { background: var(--navy); padding: 120px 8% 60px; position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(74,144,196,0.06) 0%, transparent 60%); pointer-events: none; }
.blog-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 900; color: var(--white); margin-bottom: 0.5rem; }
.blog-hero p { color: rgba(255,255,255,0.5); font-size: 1rem; font-weight: 300; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; padding: 5rem 8%; background: var(--cream); }
.blog-card { background: var(--white); border-radius: 4px; overflow: hidden; border-bottom: 2px solid var(--gold); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.blog-card-body { padding: 1.8rem; }
.blog-card-meta { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.blog-card h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 0.75rem; }
.blog-card p { font-size: 0.88rem; color: #5a5a5a; line-height: 1.7; font-weight: 300; }
.blog-read-more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 1.2rem; }

/* SINGLE POST */
.post-header { background: var(--navy); padding: 120px 8% 60px; position: relative; overflow: hidden; }
.post-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(74,144,196,0.08) 0%, transparent 60%); pointer-events: none; }
.post-category { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 2px; margin-bottom: 1.5rem; }
.post-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 1rem; max-width: 800px; }
.post-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.post-meta span { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 300; }
.post-meta span strong { color: rgba(255,255,255,0.7); font-weight: 500; }
.post-body { max-width: 1000px; margin: 0; padding: 5rem 8%; }
.post-body > * { max-width: 780px; }
.post-body h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--navy); margin: 2.5rem 0 1rem; }
.post-body h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--navy); margin: 2rem 0 0.75rem; }
.post-body p { font-size: 1rem; line-height: 1.9; color: #3a3a3a; font-weight: 300; margin-bottom: 1.5rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-body li { font-size: 1rem; line-height: 1.8; color: #3a3a3a; font-weight: 300; margin-bottom: 0.4rem; }
.post-body blockquote { border-left: 3px solid var(--gold); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--gold-pale); border-radius: 0 4px 4px 0; }
.post-body blockquote p { color: var(--navy); font-style: italic; font-weight: 400; margin: 0; }
.post-cta { background: var(--navy); margin: 5rem 0 0; padding: 3rem; border-radius: 4px; text-align: center; }
.post-cta p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 100px 6% 60px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { display: none; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  nav .nav-links { display: none; }
  .blog-grid { grid-template-columns: 1fr; padding: 3rem 6%; }
  .post-body { padding: 3rem 6%; }
}
@media (max-width: 600px) {
  .hero { padding: 90px 5% 50px; }
  .about, .inside, .testimonials, .cta-section { padding: 4rem 5%; }
  .book-cover { transform: none; }
}
