/*
Theme Name: Campus Capital AG
Theme URI: https://campuscapital.ag
Author: Campus Capital AG
Author URI: https://campuscapital.ag
Description: A premium investment company WordPress theme with elegant dark design, smooth scroll animations, and split-screen sections. Perfect for private investment offices, financial services, and real estate investment firms.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: campus-capital
Tags: investment, finance, real-estate, corporate, dark, premium, responsive
*/

/* ============================================
   BASE STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #0B0B0D;
  --bg-secondary: #F5F2EC;
  --accent: #D4A03F;
  --text-primary: #F5F2EC;
  --text-secondary: #B8B2AA;
  --border: rgba(245, 242, 236, 0.12);
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.font-heading {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.font-mono-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.4;
}

/* ============================================
   TEXT COLORS
   ============================================ */

.text-accent { color: var(--accent); }
.text-primary-light { color: var(--text-primary); }
.text-secondary-light { color: var(--text-secondary); }

/* ============================================
   BACKGROUND COLORS
   ============================================ */

.bg-primary-dark { background-color: var(--bg-primary); }
.bg-secondary-light { background-color: var(--bg-secondary); }

/* ============================================
   NOISE OVERLAY
   ============================================ */

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(245, 242, 236, 0.25);
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   CHIPS
   ============================================ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(245, 242, 236, 0.25);
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   GOLD RULE
   ============================================ */

.gold-rule {
  height: 2px;
  background-color: var(--accent);
  transform-origin: left;
}

/* ============================================
   DIVIDER LINE
   ============================================ */

.divider-line {
  width: 1px;
  background-color: rgba(245, 242, 236, 0.12);
  transform-origin: top;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-indicator {
  animation: scrollBounce 2.5s ease-in-out infinite;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-pinned {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.section-flowing {
  position: relative;
  width: 100%;
}

/* ============================================
   IMAGE TREATMENT
   ============================================ */

.image-graded {
  filter: saturate(0.35) contrast(1.1);
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 242, 236, 0.12);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-input:focus {
  border-color: var(--accent);
  outline: none;
}

textarea.form-input {
  resize: none;
  min-height: 120px;
}

/* ============================================
   CARD HOVER
   ============================================ */

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
}

/* ============================================
   LINK UNDERLINE EFFECT
   ============================================ */

.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.link-underline:hover::after {
  transform: scaleX(1);
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 4vw;
  transition: all 0.5s ease;
}

.site-nav.scrolled {
  background-color: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 4vw;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

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

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.5s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--text-primary);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(11, 11, 13, 0.3));
}

.hero-divider {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: rgba(245, 242, 236, 0.12);
}

.hero-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--text-primary);
  max-width: 34vw;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 30vw;
  margin-bottom: 40px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 14vh;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll-line {
  width: 44px;
  height: 1px;
  background-color: rgba(245, 242, 236, 0.3);
}

/* ============================================
   SPLIT SECTIONS (Strategy, Portfolio, etc.)
   ============================================ */

.split-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.split-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}

.split-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}

.split-image-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.split-image-left img,
.split-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-image-left::after,
.split-image-right::after {
  content: '';
  position: absolute;
  inset: 0;
}

.split-image-left::after {
  background: linear-gradient(to right, transparent, rgba(11, 11, 13, 0.2));
}

.split-image-right::after {
  background: linear-gradient(to left, transparent, rgba(11, 11, 13, 0.2));
}

.split-image-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
}

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
  max-width: 36vw;
  margin-bottom: 16px;
}

.section-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 34vw;
  margin-bottom: 40px;
}

.section-list {
  list-style: none;
  margin-bottom: 40px;
}

.section-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-list li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.section-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
}

.stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 3vw, 48px);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.section-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* ============================================
   INSIGHTS SECTION
   ============================================ */

.insights-section {
  background-color: var(--bg-secondary);
  padding: 10vh 8vw;
}

.insights-header {
  margin-bottom: 64px;
}

.insights-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 11, 13, 0.6);
  margin-bottom: 16px;
}

.insights-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bg-primary);
  max-width: 600px;
  margin-bottom: 24px;
}

.insights-text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(11, 11, 13, 0.7);
  max-width: 52ch;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.insight-card {
  background-color: white;
  border: 1px solid rgba(11, 11, 13, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-6px);
}

.insight-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-card-image img {
  transform: scale(1.05);
}

.insight-card-content {
  padding: 24px;
}

.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.insight-card-category {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.insight-card-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(11, 11, 13, 0.5);
}

.insight-card-date svg {
  width: 12px;
  height: 12px;
}

.insight-card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--bg-primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.insight-card:hover .insight-card-title {
  color: var(--accent);
}

.insight-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 11, 13, 0.6);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.insight-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-card-link {
  color: var(--accent);
}

.insight-card:hover .insight-card-link svg {
  transform: translateX(4px);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  background-color: var(--bg-primary);
  padding: 10vh 8vw;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(212, 160, 63, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-value {
  color: var(--text-primary);
  text-decoration: none;
}

.contact-form-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 242, 236, 0.12);
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-success {
  text-align: center;
  padding: 48px 0;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(212, 160, 63, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.form-success-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.form-success-text {
  color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background-color: var(--bg-primary);
  padding: 40px 8vw;
  border-top: 1px solid rgba(245, 242, 236, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-logo span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-left,
  .split-image-left,
  .split-image-right {
    width: 100%;
    height: 45vh;
  }
  
  .hero-right,
  .split-left,
  .split-right {
    width: 100%;
    height: 55vh;
    top: 45vh;
    left: 0;
    padding: 0 6vw;
  }
  
  .hero-divider,
  .split-section .divider-line {
    display: none;
  }
  
  .hero-title,
  .section-title {
    max-width: 100%;
  }
  
  .hero-subtitle,
  .section-text {
    max-width: 100%;
  }
  
  .hero-scroll {
    display: none;
  }
  
  .section-pinned,
  .split-section {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .split-left,
  .split-right {
    position: relative;
    top: auto;
    height: auto;
    padding: 48px 6vw;
  }
  
  .split-image-left,
  .split-image-right {
    position: relative;
    top: auto;
    height: 45vh;
  }
}

@media (max-width: 768px) {
  .hero-title,
  .section-title,
  .contact-title {
    font-size: 32px;
  }
  
  .section-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.language-switcher {
  list-style: none;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(245, 242, 236, 0.25);
  color: var(--text-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-switcher a:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.lang-switcher a.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}

/* Mobile language switcher */
.mobile-menu .lang-switcher {
  justify-content: center;
  margin-top: 16px;
}

.mobile-menu .lang-switcher a {
  font-size: 14px;
  min-width: 48px;
  height: 36px;
}
