/*
Theme Name: LYS Communication
Theme URI: https://lys-communication.com
Author: Steven Matthys
Author URI: https://www.linkedin.com/in/steven-matthys-b91b006
Description: Professional language services theme for LYS Communication. Features royal blue and gold heraldic design with fleur-de-lys motif.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lys-communication
Tags: professional, multilingual, language-services
*/

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

:root {
  --royal-blue: #003087;
  --royal-blue-dark: #001d5c;
  --gold: #C9A84C;
  --gold-light: #E8D4A0;
  --gold-pale: #F7F1E3;
  --cream: #FAFAF7;
  --ink: #1A1A2E;
  --mid: #444455;
  --muted: #888899;
  --border: #E2DDD0;
  --white: #ffffff;
}

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

body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 300;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.section--dark { background: var(--royal-blue); color: #fff; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.gold-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#masthead {
  background: var(--royal-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,48,0.3);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 14px; }

.lys-logo svg { flex-shrink: 0; }

.site-title-wrap { display: flex; flex-direction: column; }

.site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.site-phonetic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.3px;
  margin-top: 2px;
  opacity: 0.8;
}

/* Main Navigation */
.main-navigation ul {
  display: flex;
  gap: 2.5rem;
}

.main-navigation a {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Language switcher */
.lang-switcher { display: flex; gap: 6px; }

.lang-switcher a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.15);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: var(--royal-blue);
  padding: 6rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(201,168,76,0.03) 60px,
    rgba(201,168,76,0.03) 61px
  );
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-title em { color: var(--gold); font-style: italic; }

.hero-phonetic-large {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
}

.hero-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--royal-blue);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--royal-blue);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  margin-left: 1rem;
}

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

/* Hero Fleur de Lys watermark */
.hero-fleur {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}

.hero-fleur svg { width: 260px; height: auto; }

/* ============================================================
   SERVICES / CHAPTERS GRID
   ============================================================ */
.chapters-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.chapter-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.2s;
  cursor: default;
}

.chapter-card:last-child { border-right: none; }

.chapter-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.chapter-card:hover { background: var(--gold-pale); }
.chapter-card:hover::after { transform: scaleX(1); }

.chapter-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
}

.chapter-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--royal-blue);
  margin-bottom: 0.6rem;
}

.chapter-card p {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.8;
  font-weight: 300;
}

.chapter-card .chapter-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-text {
  padding: 5rem;
  background: var(--cream);
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--royal-blue);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1rem;
}

.degree-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 18px;
  font-size: 0.75rem;
  color: var(--royal-blue);
  margin-top: 1.5rem;
}

.about-sidebar {
  background: var(--royal-blue);
  padding: 5rem 3rem;
}

.about-sidebar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.lang-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lang-pair:last-child { border-bottom: none; }

.lang-type {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 3px 8px;
  background: rgba(201,168,76,0.2);
  color: var(--gold);
}

.lang-pair .direction {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.lang-pair .note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ============================================================
   CLIENTS SECTION
   ============================================================ */
.clients-section {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.clients-section .eyebrow { text-align: center; display: block; }

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.client-item {
  padding: 12px 28px;
  border: 1px solid var(--border);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 400;
  transition: all 0.2s;
}

.client-item:hover {
  border-color: var(--gold);
  color: var(--royal-blue);
}

/* ============================================================
   CLIENT TICKER BANNER
   ============================================================ */
.ticker-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
  align-items: center;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 2px;
  transition: color 0.3s;
}

.ticker-item:hover { color: var(--royal-blue); }

.ticker-sep {
  color: var(--gold);
  font-size: 0.5rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.ticker-more {
  font-style: italic;
  color: var(--gold) !important;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--royal-blue);
  padding: 5rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-text h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  font-weight: 300;
}

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item span,
.contact-item a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

.contact-item a:hover { color: var(--gold-light); }

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--royal-blue-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .site-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-brand .site-phonetic { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  padding: 4px 0;
}

.footer-col ul a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.footer-bottom a {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 300;
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  background: var(--royal-blue);
  padding: 4rem 0;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-top: 0.75rem;
}

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h2 {
  font-size: 1.8rem;
  color: var(--royal-blue);
  margin: 2rem 0 1rem;
}

.page-content p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.contact-form { max-width: 600px; margin: 0 auto; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--royal-blue);
}

.form-group textarea { height: 140px; resize: vertical; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-fleur { display: none; }
  .chapters-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr; }
  .about-text { padding: 3rem 2rem; }
  .about-sidebar { padding: 3rem 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .site-header-inner { flex-wrap: wrap; height: auto; padding: 1rem 1.5rem; gap: 0.75rem; }
  .main-navigation { display: none; width: 100%; }
  .main-navigation.open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .main-navigation a { display: block; padding: 10px 0; }
  .menu-toggle { display: block; }
  .chapters-grid { grid-template-columns: 1fr; }
  .chapter-card { border-right: none; border-bottom: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE PAGE CONTENT
   ============================================================ */

/* Intro paragraph */
.site-main .wp-block-paragraph,
.site-main p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* Headings inside content */
.site-main h2,
.site-main h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--royal-blue);
  margin: 2rem 0 1rem;
  font-weight: 400;
}

.site-main h2 { font-size: 1.6rem; }
.site-main h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Bullet lists */
.site-main ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1rem 0 1.5rem;
}

.site-main ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.75;
}

.site-main ul li::before {
  content: '✓';
  color: var(--gold);
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
  font-weight: 400;
}

/* Warning/disclaimer block */
.site-main p:has(> strong:first-child),
.site-main p strong {
  color: var(--royal-blue);
  font-weight: 500;
}

/* Disclaimer paragraph with ⚠️ */
.site-main p:first-of-type ~ p:last-of-type,
.site-main .wp-block-paragraph:last-child {
  margin-top: 1.5rem;
}

/* Page hero improvements */
.page-hero {
  background: var(--royal-blue);
  padding: 3.5rem 0 3rem;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

.page-hero .eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
}

/* Service page grid responsiveness */
@media (max-width: 900px) {
  .site-main > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
