/*
Theme Name: Centered Events
Theme URI: https://centered.events
Author: Centered Logic
Description: Surgical B2B Congress Infrastructure Theme for WordPress.
Version: 55.0
*/

:root {
  --bg: #FFFFFF;
  --canvas: #F8FAFC;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --accent: #7C3AED;
  --grad: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--canvas); overflow-x: hidden; }
body {
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.master-frame { 
  max-width: 1540px; 
  margin: 40px auto; 
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 100px 200px rgba(0,0,0,0.03);
  position: relative;
}

.container { padding: 0 80px; }

/* --- TYPOGRAPHY: RESTORED MASSIVE DESKTOP --- */
h1, h2, h3, h4 { 
  text-transform: uppercase; 
  font-weight: 900; 
  letter-spacing: -0.06em; 
  line-height: 0.85; 
  word-wrap: break-word; 
  word-break: break-word; 
}
h1 { font-size: 100px; margin-bottom: 45px; }
h2 { font-size: 75px; }

.mono { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted); display: block; margin-bottom: 25px; }

/* --- HEADER --- */
header {
  height: 110px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); padding: 0 80px;
  position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(25px); z-index: 1000;
}
.logo { font-size: 26px; font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }
.logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-wrap { display: flex; align-items: center; gap: 60px; }
nav { display: flex; gap: 40px; }
nav a { text-decoration: none; color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.lang-switch button { padding: 8px 15px; border: none; background: #fff; cursor: pointer; font-size: 10px; font-weight: 900; color: var(--muted); }
.lang-switch button.active { background: var(--canvas); color: var(--ink); border-right: 1px solid var(--line); }

/* --- HERO --- */
.hero { padding: 120px 80px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 3fr 1fr; gap: 80px; align-items: center; }
.hero-features { list-style: none; margin-bottom: 0; }
.h-feat { display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; }
.h-feat svg { width: 18px; height: 18px; color: var(--accent); stroke-width: 3; }

/* --- HUB CONSOLE CARD --- */
.hub-console-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.05); width: 100%; }
.console-head { background: var(--ink); color: #fff; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 12px #EF4444; animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.console-body { padding: 35px; }
.console-body h3 { font-size: 22px; margin-bottom: 15px; color: var(--ink); }
.console-stats { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.console-stats div { border-bottom: 1px solid var(--line); padding-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.console-stats b { font-size: 18px; font-weight: 900; }

/* --- UI ELEMENTS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 15px; background: var(--grad); color: #fff; padding: 25px 60px; text-decoration: none; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; border-radius: 4px; transition: 0.4s; }
.btn:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(124, 58, 237, 0.3); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border: 1px solid var(--line); border-radius: 50px; font-size: 9px; font-weight: 900; text-transform: uppercase; color: var(--ink); background: #fff; transition: 0.3s ease; }
.pill.grad-pill { background: var(--grad); color: #fff; border: none; }
.pill:hover { transform: scale(1.05); border-color: var(--accent); color: var(--accent); }

/* --- GRIDS --- */
.infra-grid, .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-card { background: #fff; padding: 70px 50px; transition: 0.3s; }
.grid-card:hover { background: var(--canvas); }
.grid-card svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 25px; }
.grid-card h3 { font-size: 22px; margin-bottom: 18px; }

/* --- MAP SECTION --- */
.map-section { padding: 140px 80px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; background: #fff; }
.map-visual { position: relative; width: 100%; height: 750px; background: center/contain no-repeat; }
.map-node { position: absolute; cursor: pointer; }
.blink-bullet { width: 16px; height: 16px; background: var(--grad); border-radius: 50%; box-shadow: 0 0 20px rgba(124, 58, 237, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.node-card { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%) scale(0.9); background: #fff; border: 1px solid var(--line); padding: 25px; min-width: 260px; opacity: 0; visibility: hidden; transition: 0.3s; box-shadow: 0 30px 60px rgba(0,0,0,0.1); text-align: left; color: var(--ink); }
.map-node:hover .node-card { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

/* --- CONGRESS LIST --- */
.featured { padding: 160px 80px; border-bottom: 1px solid var(--line); background: #fff; }
.event-list { display: flex; flex-direction: column; margin-top: 60px; border-top: 1px solid var(--line); }
.event-list-row { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: center; transition: 0.3s; }
.event-list-row:hover { background: var(--canvas); padding-left: 20px; }
.event-list-row h3 { font-size: 20px; color: var(--ink); }

/* --- ECOSYSTEM --- */
.ecosystem { padding: 120px 80px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 120px; border-bottom: 1px solid var(--line); align-items: center; }
.eco-img { width: 100%; aspect-ratio: 1/1; border: 1px solid var(--line); background-size: cover; background-position: center; }
.eco-pills { display: flex; gap: 10px; margin-top: 30px; }

/* --- PARTNER SECTION --- */
.partners { padding: 120px 80px 180px; border-bottom: 1px solid var(--line); text-align: center; }
.partners .mono { font-size: 14px; margin-bottom: 60px; text-align: center; display: block; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 100px; max-width: 1100px; margin: 0 auto; opacity: 0.6; align-items: center; justify-items: center; }
.logo-grid img { max-height: 65px; width: auto; object-fit: contain; filter: grayscale(1); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.logo-grid img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.1); }

/* --- JOIN SECTION --- */
.join-dark { padding: 160px 80px; background: var(--ink); color: #fff; text-align: center; border-bottom: 1px solid var(--line); }

/* --- FOOTER --- */
footer { padding: 120px 80px; background: #fff; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 80px; }
.foot-col h4 { font-size: 11px; margin-bottom: 30px; color: var(--accent); letter-spacing: 0.15em; font-weight: 800; }
.foot-col a { display: block; text-decoration: none; color: var(--muted); font-size: 13px; margin-bottom: 15px; font-weight: 600; text-transform: uppercase; transition: 0.2s; }
.foot-col a:hover { color: var(--ink); padding-left: 8px; }

/* --- SURGICAL MOBILE TITANIC UNIFICATION LOCK --- */
@media (max-width: 1100px) {
  .master-frame { margin: 0; border: none; max-width: 100vw; }
  .container { padding: 0 40px; }
  header { padding: 0 40px; }
  .hero { grid-template-columns: 1fr; padding: 80px 40px; text-align: center; }
  
  /* TITANIC MOBILE TITLES: Huge wrap logic */
  h1 { font-size: clamp(55px, 16vw, 100px) !important; line-height: 0.82; margin-bottom: 40px; }
  h2 { font-size: clamp(48px, 14vw, 85px) !important; line-height: 0.85; }

  .hero-features { display: inline-block; text-align: left; margin-bottom: 40px; }
  .hub-console-card { max-width: 350px; margin: 0 auto; }
  .infra-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .map-section { grid-template-columns: 1fr; padding: 80px 40px; }
  .map-section > div:nth-child(2) { order: -1; text-align: center; margin-bottom: 40px; }
  .map-visual { 
    height: 600px; 
    background-image: url('img/mapa-srbija-mobile.png') !important;
    background-size: contain; background-repeat: no-repeat;
  }
  .map-node:nth-child(1) { top: 15% !important; left: 45% !important; }
  .map-node:nth-child(2) { top: 38% !important; left: 50% !important; }
  .map-node:nth-child(3) { top: 72% !important; left: 62% !important; }
  .event-list-row { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 40px 20px; }
  .event-list-row .btn { width: 200px; margin: 0 auto; }
  .ecosystem { grid-template-columns: 1fr; padding: 80px 40px; }
  .eco-img { max-height: 400px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .infra-grid, .services-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  header .nav-wrap nav { display: none; }
  .container { padding: 0 20px; }
  header { padding: 0 20px; height: 90px; }
  .logo { font-size: 20px; }
}