/*
Theme Name: Don en Confiance
Author: Custom
Version: 1.0
Description: Custom theme for Don en Confiance Luxembourg a.s.b.l.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --navy: #1A2744;
  --navy-mid: #243159;
  --slate: #4A5568;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --accent: #2E7D64;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  padding: 8px 48px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}
.topbar a { color: var(--gold-light); text-decoration: none; font-weight: 500; }
.topbar a:hover { color: white; }

/* ── NAV ── */
nav {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  border-bottom: 2px solid var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(26,39,68,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 6px;
  flex-shrink: 0;
}

.logo-circle span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text small {
  display: block;
  font-size: 11px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* WordPress nav menu overrides */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  color: var(--navy);
  background: var(--cream);
}

.nav-links > li.current-menu-item > a,
.nav-links > li > a.active {
  color: var(--gold);
  font-weight: 600;
}

/* Dropdown */
.nav-links .dropdown,
.nav-links li.menu-item-has-children { position: relative; }

.nav-links li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav-links li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu,
.nav-links li.menu-item-has-children > ul.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(26,39,68,0.14);
  min-width: 180px;
  padding: 8px 0;
  z-index: 200;
  list-style: none;
  margin: 0;
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links li.menu-item-has-children:hover > ul.sub-menu { display: block; }

.dropdown-menu a,
.nav-links li.menu-item-has-children > ul.sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
  transition: all 0.15s;
  font-weight: 400;
}
.dropdown-menu a:hover,
.nav-links li.menu-item-has-children > ul.sub-menu a:hover {
  background: var(--cream);
  color: var(--navy);
  padding-left: 26px;
}
.dropdown-menu .divider {
  height: 1px;
  background: var(--cream);
  margin: 4px 0;
}

.chevron {
  width: 12px; height: 12px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.dropdown:hover .chevron { transform: rotate(180deg); }

/* Contact button nav item */
.nav-links li.nav-contact > a,
.nav-links li.menu-item-contact > a {
  background: var(--navy) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
}
.nav-links li.nav-contact > a:hover,
.nav-links li.menu-item-contact > a:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a5f 100%);
  padding: 100px 48px 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(46,125,100,0.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 13px 28px;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
  color: var(--navy);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 13px 28px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201,168,76,0.08);
  text-decoration: none;
}

/* Hero seal */
.hero-seal {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 20px;
  flex-shrink: 0;
  animation: rotateSlow 30s linear infinite;
  position: relative;
}

@keyframes rotateSlow {
  from { border-color: rgba(201,168,76,0.4); }
  50% { border-color: rgba(201,168,76,0.7); }
  to { border-color: rgba(201,168,76,0.4); }
}

.hero-seal::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(201,168,76,0.2);
}

.hero-seal-text {
  font-family: 'Cormorant Garamond', serif;
  color: white;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.hero-seal-text span {
  display: block;
  font-size: 10px;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  margin-top: 6px;
}

/* Stats bar */
.stats-bar {
  background: white;
  border-bottom: 1px solid rgba(26,39,68,0.08);
  padding: 0 48px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.stat-item {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid rgba(26,39,68,0.08);
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--cream); }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--gold); }

.stat-label {
  font-size: 12px;
  color: var(--slate);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── SECTIONS GENERAL ── */
.section {
  padding: 80px 48px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 52px;
}

/* ── À PROPOS STRIP ── */
.about-strip {
  background: var(--navy);
  padding: 64px 48px;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: start;
}

.about-divider { background: rgba(255,255,255,0.1); }

.about-col {
  padding: 0 40px;
}
.about-col:first-child { padding-left: 0; }
.about-col:last-child { padding-right: 0; }

.about-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.about-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.about-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  font-weight: 300;
}

.about-col a {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.about-col a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── NEWS SECTION ── */
.news-section { background: var(--cream); }

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(26,39,68,0.06);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,39,68,0.1);
  border-color: rgba(201,168,76,0.3);
}

.news-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: rgba(201,168,76,0.4);
  position: relative;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.8) 0%, transparent 60%);
}

.news-card-img.featured { height: 260px; }

.news-date-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(46,125,100,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}

.news-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}

.news-card p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
  font-weight: 300;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: gap 0.2s;
}
.news-card-link:hover { gap: 10px; color: var(--gold); text-decoration: none; }

/* ── MEMBERS ── */
.members-section { background: white; }

.members-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member-card {
  border: 1px solid rgba(26,39,68,0.08);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.member-card:hover {
  border-color: var(--gold);
  background: var(--cream);
  transform: translateY(-2px);
}

.member-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255,255,255,0.6);
}

.member-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.member-card span {
  font-size: 11px;
  color: var(--slate);
  font-weight: 300;
}

/* ── ADMIN WORD ── */
.admin-section {
  background: linear-gradient(135deg, #f0ede6 0%, var(--cream) 100%);
  padding: 80px 48px;
}

.admin-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.admin-quote {
  position: relative;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.8;
  position: absolute;
  top: -20px;
  left: -20px;
}

.admin-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  padding-top: 30px;
}

.admin-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  font-style: normal;
  color: var(--slate);
  font-family: 'Outfit', sans-serif;
}

.admin-content p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s;
}
.admin-link:hover { gap: 14px; text-decoration: none; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 52px 48px 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: white;
  font-weight: 600;
  line-height: 1.3;
}

.footer-brand-name span {
  display: block;
  font-size: 14px;
  color: var(--gold);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 16px;
  font-weight: 300;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { animation: fadeUp 0.8s ease both; }
.hero-seal { animation: fadeUp 0.8s 0.3s ease both; }

/* ── Page / Single content ── */
.page-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 48px;
}

.page-content-wrap h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 28px;
}

.page-content-wrap .entry-content p,
.page-content-wrap .entry-content li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.page-content-wrap .entry-content h2,
.page-content-wrap .entry-content h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  margin: 32px 0 12px;
}
