/*
Theme Name: Clearway Sourcing Greece
Theme URI: https://clearwaysourcing.gr
Author: Clearway Sourcing
Author URI: https://clearwaysourcing.gr
Description: Custom single-page theme for Clearway Sourcing — China-to-Greece sourcing intermediary. Navy & gold branding, Greek language, responsive design with intake form and full service presentation.
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: clearway
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ═══════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════ */
:root {
  --navy: #1B2A4A;
  --gold: #C9A84C;
  --dark: #0F1A2E;
  --cream: #F8F6F1;
  --light: #EDE9E0;
  --white: #FFFFFF;
  --mid: #8A8A8A;
  --text: #1A1A1A;
  --green: #3EAF6E;
  --red: #E05050;
  --blue: #4A8FE7;
  --purple: #9B6FE3;
  --orange: #E07A4F;
  --teal: #4AA8E0;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 48px;
}
.section-title--white { color: var(--white); }
.section-title--navy { color: var(--navy); }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(15, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--gold); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--navy);
}
.nav-logo-text {
  color: var(--white); font-weight: 700; font-size: 17px;
  letter-spacing: 2px; text-transform: uppercase;
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  background: none; border: none; cursor: pointer; padding: 4px 0;
  color: rgba(255, 255, 255, 0.7); font-family: var(--font-body);
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  border-bottom: 2px solid transparent; transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy); border: none; border-radius: 6px;
  padding: 10px 22px; font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: var(--font-body); letter-spacing: 0.5px; transition: transform 0.2s;
}
.nav-cta:hover { transform: scale(1.04); }

/* Mobile nav */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.nav-mobile-menu {
  display: none; background: rgba(15, 26, 46, 0.98); padding: 16px 24px 24px;
  flex-direction: column; gap: 8px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  background: none; border: none; cursor: pointer; padding: 12px 0;
  color: var(--white); font-family: var(--font-body); font-size: 16px;
  font-weight: 500; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, var(--dark) 0%, var(--navy) 40%, #263E6A 100%);
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent {
  display: none;
}
.hero-inner {
  max-width: 900px; padding: 120px 24px 80px; text-align: center;
  position: relative; z-index: 1;
}
.hero-tag {
  color: var(--gold); font-size: 13px; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 24px; font-weight: 600;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5.5vw, 62px);
  color: var(--white); line-height: 1.12; margin-bottom: 28px; font-weight: 400;
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  color: rgba(255, 255, 255, 0.65); font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7; max-width: 660px; margin: 0 auto 40px; font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--navy); border: none; border-radius: 8px;
  padding: 16px 36px; font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: var(--font-body); letter-spacing: 0.5px;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.25); transition: all 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35); }
.btn-secondary {
  background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px; padding: 16px 36px; font-size: 16px; font-weight: 500;
  cursor: pointer; font-family: var(--font-body); transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Trust stats */
.hero-stats {
  display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px);
  margin-top: 72px; flex-wrap: wrap;
}
.hero-stat-value {
  color: var(--gold); font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px); line-height: 1;
}
.hero-stat-label {
  color: rgba(255, 255, 255, 0.45); font-size: 12px; margin-top: 6px; letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════ */
.process { background: var(--cream); padding: 100px 24px; }
.process-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
  text-align: left;
}
.process-card {
  background: var(--white); border-radius: 12px; padding: 32px;
  border: 1px solid rgba(27, 42, 74, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 42, 74, 0.08);
  border-color: var(--gold);
}
.process-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.process-card-icon { font-size: 28px; }
.process-card-num {
  font-family: var(--font-display); font-size: 32px;
  color: rgba(27, 42, 74, 0.1);
}
.process-card h3 {
  font-family: var(--font-body); font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.process-card p { font-size: 15px; color: var(--mid); line-height: 1.65; }

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services { background: var(--navy); padding: 100px 24px; }
.services-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
  text-align: left;
}
.service-card {
  background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06); transition: all 0.3s;
  position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.07); }
.service-accent { width: 40px; height: 3px; border-radius: 2px; margin-bottom: 20px; }
.service-card h3 {
  font-family: var(--font-body); font-size: 20px; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.service-card p { font-size: 15px; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }

/* ═══════════════════════════════════════
   WHY CLEARWAY
   ═══════════════════════════════════════ */
.why { background: var(--cream); padding: 100px 24px; }
.why-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
  text-align: left;
}
.why-card {
  background: var(--white); border-radius: 12px; padding: 32px;
  border-left: 4px solid var(--gold); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.why-card h3 {
  font-family: var(--font-display); font-size: 22px; color: var(--navy);
  margin-bottom: 2px; line-height: 1.3;
}
.why-card .subtitle {
  font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.why-card p { font-size: 15px; color: var(--mid); line-height: 1.65; }

/* Cost comparison */
.cost-compare {
  margin-top: 56px; background: var(--navy); border-radius: 16px; padding: 40px 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  align-items: center; text-align: center;
}
.cost-item-value {
  font-family: var(--font-display); line-height: 1;
}
.cost-item-value.old { font-size: 42px; color: var(--red); text-decoration: line-through; }
.cost-item-value.new { font-size: 48px; color: var(--gold); }
.cost-item-value.save { font-size: 48px; color: var(--green); }
.cost-item-label {
  color: rgba(255, 255, 255, 0.5); font-size: 13px; margin-top: 6px;
}
.cost-note {
  grid-column: 1 / -1; color: rgba(255, 255, 255, 0.4);
  font-size: 13px; font-style: italic;
}

/* ═══════════════════════════════════════
   VERTICALS
   ═══════════════════════════════════════ */
.verticals { background: var(--light); padding: 100px 24px; }
.verticals-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.verticals-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
  text-align: left;
}
.vertical-card {
  background: var(--white); border-radius: 12px; padding: 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03); transition: all 0.3s;
}
.vertical-card:hover { transform: translateY(-4px); }
.vertical-card h3 {
  font-family: var(--font-body); font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.vertical-card p { font-size: 15px; color: var(--mid); line-height: 1.65; }

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact { background: var(--navy); padding: 100px 24px; }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-desc {
  color: rgba(255, 255, 255, 0.5); font-size: 16px;
  max-width: 500px; margin: 0 auto 48px;
}
.contact-form-wrap {
  background: var(--cream); border-radius: 16px; padding: 36px 32px; text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; border-radius: 8px;
  border: 1px solid rgba(27, 42, 74, 0.12); font-family: var(--font-body);
  font-size: 15px; outline: none; transition: border 0.3s; background: var(--white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-submit {
  width: 100%; margin-top: 20px; background: var(--gold); color: var(--navy);
  border: none; border-radius: 8px; padding: 16px; font-size: 16px;
  font-weight: 700; cursor: pointer; font-family: var(--font-body);
  letter-spacing: 0.5px; transition: all 0.3s;
}
.form-submit:hover { background: #b8953e; }
.form-note { font-size: 12px; color: var(--mid); text-align: center; margin-top: 16px; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--dark); padding: 48px 24px 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px; margin-bottom: 32px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.35); font-size: 13px;
  max-width: 300px; line-height: 1.6; margin-top: 12px;
}
.footer-columns { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  color: var(--gold); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 12px;
}
.footer-col p { color: rgba(255, 255, 255, 0.4); font-size: 13px; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.25); font-size: 12px; }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   WP ADMIN BAR FIX
   ═══════════════════════════════════════ */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}

.service-link { display:inline-block; margin-top:14px; color: var(--gold); font-weight:600; font-size:14px; }
.service-link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════
   BLOG
   ═══════════════════════════════════════ */
.blog-section { background: var(--cream); padding: 100px 24px; }
.blog-inner { max-width: 1100px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid rgba(27,42,74,0.06); box-shadow: 0 1px 4px rgba(0,0,0,0.03); transition: all 0.3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,42,74,0.08); border-color: var(--gold); }
.post-card-thumb { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--light); }
.post-card-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.post-card-date { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.post-card h3 { font-family: var(--font-display); font-size: 21px; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 15px; color: var(--mid); line-height: 1.65; flex: 1; }
.post-card .service-link { margin-top: 16px; }
.blog-empty { text-align: center; padding: 60px 20px; color: var(--mid); font-size: 16px; }
.blog-pagination { display: flex; justify-content: center; gap: 14px; margin-top: 56px; }
.blog-pagination a, .blog-pagination span { padding: 10px 20px; border-radius: 8px; border: 1px solid rgba(27,42,74,0.12); font-size: 14px; font-weight: 600; color: var(--navy); }
.blog-pagination a:hover { border-color: var(--gold); color: var(--gold); }
.blog-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Single post */
.single-post-section { background: var(--white); padding: 80px 24px 100px; }
.single-post-inner { max-width: 760px; margin: 0 auto; }
.single-post-meta { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.single-post-thumb { width: 100%; border-radius: 14px; margin-bottom: 40px; aspect-ratio: 16/9; object-fit: cover; }
.single-post-content { font-size: 17px; line-height: 1.85; color: var(--text); }
.single-post-content p { margin-bottom: 22px; }
.single-post-content h2 { font-family: var(--font-display); font-size: 28px; color: var(--navy); margin: 40px 0 18px; }
.single-post-content h3 { font-family: var(--font-display); font-size: 22px; color: var(--navy); margin: 32px 0 14px; }
.single-post-content ul, .single-post-content ol { margin: 0 0 22px 24px; }
.single-post-content li { margin-bottom: 8px; }
.single-post-content a { color: var(--gold); text-decoration: underline; }
.single-post-content img { border-radius: 10px; margin: 24px 0; }
.single-post-back { display: inline-block; margin-bottom: 30px; color: var(--mid); font-size: 14px; font-weight: 600; }
.single-post-back:hover { color: var(--gold); }
