/* =====================================================================
   Crypto Community Luxembourg — static rebuild
   Source design: Elementor + OceanWP theme
   Fonts: Lato (body, nav), Lora (headings)
   Brand: navy #001C30 (header/footer), blue gradient #002844→#00549A (hero)
   ===================================================================== */

@import url('../fonts/fonts.css');

:root {
  --color-text:            #222222;
  --color-text-muted:      #555555;
  --color-link:            #333333;
  --color-bg:              #ffffff;
  --color-bg-alt:          #f6f6f6;
  --color-bg-cream:        rgba(131, 162, 24, 0.07);
  --color-header-bg:       #001C30;
  --color-hero-bg:         #002844;
  --color-hero-bg-2:       #00549A;
  --color-accent-blue:     #0075C4;
  --color-accent-blue-2:   #1E88E5;
  --color-accent-cyan:     #29ABE2;
  --color-button-bg:       #0075C4;
  --color-button-hover:    #005a96;
  --color-footer-bg:       #001C30;
  --color-white:           #ffffff;

  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Lora', Georgia, serif;

  --container-max: 1200px;
  --container-pad: 20px;
  --header-height: 100px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-accent-blue); }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: 56px; }
h2 { font-size: 44px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
p { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: 70px 0; }
.section--tight { padding: 40px 0; }
.section--lg { padding: 100px 0; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  border: none;
  background: var(--color-button-bg);
  color: var(--color-white);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--color-button-hover); color: var(--color-white); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}
.btn--outline:hover { background: var(--color-white); color: var(--color-accent-blue); }
.btn--outline-blue {
  background: transparent;
  border: 2px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
}
.btn--outline-blue:hover { background: var(--color-accent-blue); color: var(--color-white); }
.btn .arrow { font-style: normal; }

/* ---------- Header ---------- */
.site-header {
  background: var(--color-header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-logo a { display: block; }
.site-logo img { height: 60px; width: auto; }

.main-nav { display: flex; align-items: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s ease;
}
.main-nav a:hover, .main-nav .current > a { color: var(--color-accent-cyan); }
.main-nav .has-dropdown > a::after {
  content: ' \25BE';
  font-size: 12px;
  margin-left: 4px;
}
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-header-bg);
  min-width: 220px;
  padding: 8px 0;
  display: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-top: 2px solid var(--color-accent-blue);
}
.main-nav li:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown { display: block; }
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.main-nav .lang-switcher { display: flex; gap: 6px; margin-left: 12px; }
.main-nav .lang-switcher a { padding: 6px 4px; }
.main-nav .lang-switcher img { width: 22px; height: auto; display: inline-block; vertical-align: middle; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 28px;
  padding: 6px 10px;
}

/* ---------- Hero (homepage style) ---------- */
.hero-home {
  background: linear-gradient(135deg, var(--color-hero-bg) 0%, var(--color-hero-bg-2) 100%);
  color: var(--color-white);
  padding: 90px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-home::after {
  /* wave shape divider bottom */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--color-bg);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'><path d='M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V100H0V70c0,0,72-32.6,158.4-30.5c39.2,0.7,92.8,6.7,134,22.4c21.2,8.1,52.2,18.2,79.7,24.2C399.3,92.1,411.6,92.5,421.9,93.5z'/></svg>") no-repeat center / cover;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'><path d='M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V100H0V70c0,0,72-32.6,158.4-30.5c39.2,0.7,92.8,6.7,134,22.4c21.2,8.1,52.2,18.2,79.7,24.2C399.3,92.1,411.6,92.5,421.9,93.5z'/></svg>") no-repeat center / cover;
}
.hero-home .container { position: relative; z-index: 2; }
.hero-home h1 {
  font-size: 56px;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-home p { font-size: 18px; opacity: 0.95; margin-bottom: 28px; max-width: 520px; }
.hero-home .hero-image { display: flex; justify-content: center; }
.hero-home .hero-image img { max-width: 480px; }

/* ---------- Inner hero (small page banner) ---------- */
.page-hero {
  position: relative;
  background: var(--color-hero-bg);
  color: var(--color-white);
  padding: 90px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 28, 48, 0.65);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1, .page-hero h2 {
  color: var(--color-white);
  font-size: 62px;
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 12px;
}
.page-hero p { font-size: 18px; opacity: 0.95; max-width: 720px; margin: 0 auto; }
.page-hero .hero-divider {
  width: 80px; height: 3px;
  background: var(--color-white);
  margin: 18px auto 0;
}

/* Hero with side form card */
.hero-with-form {
  position: relative;
  padding: 90px 0;
  color: var(--color-white);
  background: var(--color-hero-bg);
  background-size: cover;
  background-position: center;
}
.hero-with-form::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 28, 48, 0.55);
}
.hero-with-form .container {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.hero-with-form h1 {
  color: var(--color-white);
  font-size: 60px;
  margin-bottom: 16px;
}
.hero-with-form p { font-size: 18px; margin-bottom: 24px; max-width: 520px; }

/* Inline form card (on hero) */
.form-card {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.form-card h3 {
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--color-text);
  font-family: var(--font-heading);
}
.form-card p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.form-card .form-field { margin-bottom: 12px; }
.form-card input, .form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: #f9f9f9;
}
.form-card input:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  background: var(--color-white);
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---------- Generic content sections ---------- */
.section-light { background: var(--color-bg); color: var(--color-text); }
.section-alt   { background: var(--color-bg-alt); color: var(--color-text); }
.section-cream { background: var(--color-bg-cream); color: var(--color-text); }
.section-dark  { background: var(--color-footer-bg); color: var(--color-white); }
.section-blue  { background: var(--color-accent-blue); color: var(--color-white); }

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 36px;
  margin: 0 0 12px;
}
.section-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-blue);
  margin: 0 0 10px;
}
.section-lead {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
  color: var(--color-text-muted);
}

/* ---------- Two-column image+text ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 30px;
}
.feature-row.reverse > :first-child { order: 2; }
.feature-row img { border-radius: var(--radius-md); }
.feature-row h2, .feature-row h3 {
  font-family: var(--font-heading);
  margin-top: 0;
}
.feature-row h2 { font-size: 38px; }
.feature-row h3 { font-size: 28px; }

/* ---------- Image-box cards (two-up) ---------- */
.icon-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 30px; }
.icon-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.icon-card img { width: 120px; height: auto; margin: 0 auto 18px; }
.icon-card h3 { font-size: 22px; margin: 0 0 10px; font-family: var(--font-heading); }
.icon-card p { color: var(--color-text-muted); margin-bottom: 18px; }

/* ---------- Sponsor list ---------- */
.sponsor-list { max-width: 800px; margin: 0 auto; }
.sponsor-item {
  padding: 26px 0;
  border-bottom: 1px solid #eaeaea;
}
.sponsor-item:last-child { border-bottom: none; }
.sponsor-item h3 { font-size: 22px; margin: 0 0 8px; font-family: var(--font-heading); }
.sponsor-item p { color: var(--color-text-muted); margin-bottom: 10px; }
.sponsor-item a {
  color: var(--color-accent-blue);
  font-weight: 600;
}
.sponsor-item a:hover { text-decoration: underline; }

/* ---------- Team grid ---------- */
.team-cta {
  text-align: center;
  padding: 40px 0;
}
.team-cta h2 { font-size: 38px; margin-bottom: 16px; font-family: var(--font-heading); }
.team-cta p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto 12px; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
}
.testimonial .stars { color: #f5b80f; font-size: 18px; margin-bottom: 10px; }
.testimonial blockquote {
  margin: 0 0 14px;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
}
.testimonial cite {
  font-weight: 600;
  font-style: normal;
  color: var(--color-text-muted);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #eaeaea; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-family: var(--font-heading);
}
.faq-item p { color: var(--color-text-muted); margin: 0; }

/* ---------- Article grid (Articles index) ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.article-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.article-card a.cover { display: block; }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  line-height: 1.3;
}
.article-card h3 a { color: var(--color-text); }
.article-card h3 a:hover { color: var(--color-accent-blue); }
.article-card .read-more {
  color: var(--color-accent-blue);
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
}

/* ---------- Article single body ---------- */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
}
.article-body h2, .article-body h3 {
  font-family: var(--font-heading);
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  color: var(--color-text);
}
.article-body h2 { font-size: 32px; }
.article-body h3 { font-size: 24px; }
.article-body p { margin-bottom: 1em; }
.article-body img { margin: 20px auto; border-radius: var(--radius-md); }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.article-body li { margin-bottom: 0.4em; }
.article-body a { color: var(--color-accent-blue); }
.article-body a:hover { text-decoration: underline; }

/* ---------- Contact info row (Contact page) ---------- */
.contact-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.contact-row .icon { font-size: 48px; color: var(--color-text); margin-bottom: 10px; }
.contact-row h3 { font-size: 22px; margin: 0 0 8px; color: var(--color-accent-blue); font-family: var(--font-heading); }
.contact-row a { color: var(--color-text); }

.hours-block {
  text-align: center;
  margin: 40px auto 0;
  max-width: 720px;
}
.hours-block h3 { font-size: 26px; margin-bottom: 14px; font-family: var(--font-heading); }
.hours-block .hours { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hours-block .hours div { font-size: 15px; }
.hours-block .hours strong { display: block; }

/* ---------- Social bar (dark) ---------- */
.social-bar {
  background: linear-gradient(90deg, var(--color-accent-blue) 0%, var(--color-hero-bg) 100%);
  padding: 16px 0;
  text-align: center;
}
.social-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 6px;
  background: var(--color-footer-bg);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 16px;
}
.social-bar a:hover { background: var(--color-accent-blue); color: var(--color-white); }

/* ---------- Full contact form ---------- */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.contact-form label .req { color: var(--color-accent-blue); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  background: var(--color-white);
  color: var(--color-text);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
}
.contact-form .sub-label { font-size: 12px; color: var(--color-text-muted); margin-top: 4px; }
.contact-form .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { margin-top: 8px; }

/* ---------- Newsletter (LU/FR pages) ---------- */
.newsletter {
  background: var(--color-accent-blue);
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}
.newsletter h2 { color: var(--color-white); margin-bottom: 12px; }
.newsletter p { max-width: 620px; margin: 0 auto 20px; }
.newsletter form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
}
.newsletter .btn { background: var(--color-footer-bg); }
.newsletter .btn:hover { background: #000; }

/* ---------- Big CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--color-hero-bg) 0%, var(--color-accent-blue) 100%);
  color: var(--color-white);
  padding: 50px 0;
}
.cta-strip .inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: var(--color-white); font-size: 36px; margin: 0; }
.cta-strip p { margin: 0; opacity: 0.9; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  padding: 50px 0 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 30px;
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 0 0 18px;
  color: var(--color-white);
}
.footer-col p,
.footer-col a { color: rgba(255, 255, 255, 0.85); font-size: 15px; line-height: 1.6; }
.footer-col a:hover { color: var(--color-accent-cyan); text-decoration: underline; }
.footer-col em { color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .hero-home h1, .hero-with-form h1 { font-size: 44px; }
  .page-hero h1, .page-hero h2 { font-size: 46px; }
  .hero-with-form .container { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .section { padding: 50px 0; }
  .section--lg { padding: 70px 0; }
  .hero-home, .hero-with-form, .page-hero { padding: 60px 0; }
  .hero-home h1, .hero-with-form h1 { font-size: 34px; }
  .page-hero h1, .page-hero h2 { font-size: 32px; }
  .grid-2, .feature-row, .icon-cards { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse > :first-child { order: 0; }
  .grid-3, .grid-4, .article-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-form .row, .contact-form .field-pair { grid-template-columns: 1fr; }
  .cta-strip .inner { flex-direction: column; text-align: center; }

  /* Mobile nav */
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-header-bg);
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  .main-nav.open ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .main-nav.open .dropdown { position: static; box-shadow: none; padding-left: 18px; background: transparent; border: none; }
  .main-nav.open .has-dropdown > a::after { content: ''; }
  .main-nav.open .dropdown { display: block; }
  .main-nav.open .lang-switcher { padding-top: 10px; }
  .header-inner { position: relative; }
}
