/* Modern Professional Design with Style */
:root {
  --primary: #1a1a1a;
  --secondary: #4a4a4a;
  --accent: #4169e1;
  --accent-light: #6495ed;
  --accent-dark: #1e3a8a;
  --text: #1a1a1a;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Color Animation für alle farbigen Elemente */
@keyframes smoothColorShift {
  0% { 
    filter: hue-rotate(0deg) saturate(1) brightness(1);
  }
  12.5% { 
    filter: hue-rotate(45deg) saturate(1.1) brightness(1.05);
  }
  25% { 
    filter: hue-rotate(90deg) saturate(1.2) brightness(1.1);
  }
  37.5% { 
    filter: hue-rotate(135deg) saturate(1.1) brightness(1.05);
  }
  50% { 
    filter: hue-rotate(180deg) saturate(1.2) brightness(1.1);
  }
  62.5% { 
    filter: hue-rotate(225deg) saturate(1.1) brightness(1.05);
  }
  75% { 
    filter: hue-rotate(270deg) saturate(1.2) brightness(1.1);
  }
  87.5% { 
    filter: hue-rotate(315deg) saturate(1.1) brightness(1.05);
  }
  100% { 
    filter: hue-rotate(360deg) saturate(1) brightness(1);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "acumin-pro", sans-serif;
  font-weight: 100;
  line-height: 1.6;
  color: var(--text);
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(156, 163, 175, 0.02) 0%, transparent 40%),
    linear-gradient(135deg, #fdfdfd 0%, #fafafa 100%);
  background-attachment: fixed;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Lavalampen-Effekt */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(65, 105, 225, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(100, 149, 237, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(70, 130, 180, 0.05) 0%, transparent 60%);
  z-index: -2;
  animation: lavaMove 80s ease-in-out infinite;
}

/* Dauerhafter Farbfader */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(65, 105, 225, 0.02) 0%,
    rgba(100, 149, 237, 0.03) 25%,
    rgba(70, 130, 180, 0.02) 50%,
    rgba(95, 158, 160, 0.03) 75%,
    rgba(65, 105, 225, 0.02) 100%
  );
  z-index: -1;
  animation: colorFade 240s ease-in-out infinite;
}

@keyframes lavaMove {
  0%, 100% {
    background: 
      radial-gradient(circle at 25% 25%, rgba(65, 105, 225, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 75% 75%, rgba(100, 149, 237, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 50% 90%, rgba(70, 130, 180, 0.05) 0%, transparent 60%);
  }
  12.5% {
    background: 
      radial-gradient(circle at 40% 60%, rgba(255, 165, 0, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 80% 30%, rgba(220, 20, 60, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 15% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 60%);
  }
  25% {
    background: 
      radial-gradient(circle at 60% 70%, rgba(50, 205, 50, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 30% 20%, rgba(255, 20, 147, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 80% 40%, rgba(30, 144, 255, 0.05) 0%, transparent 60%);
  }
  37.5% {
    background: 
      radial-gradient(circle at 70% 15%, rgba(255, 69, 0, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 25% 85%, rgba(0, 191, 255, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 90% 50%, rgba(148, 0, 211, 0.05) 0%, transparent 60%);
  }
  50% {
    background: 
      radial-gradient(circle at 80% 30%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(0, 250, 154, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 70% 10%, rgba(199, 21, 133, 0.05) 0%, transparent 60%);
  }
  62.5% {
    background: 
      radial-gradient(circle at 30% 80%, rgba(64, 224, 208, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 85% 25%, rgba(255, 105, 180, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 10% 40%, rgba(75, 0, 130, 0.05) 0%, transparent 60%);
  }
  75% {
    background: 
      radial-gradient(circle at 40% 80%, rgba(255, 99, 71, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 90% 40%, rgba(72, 61, 139, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 10% 60%, rgba(0, 255, 127, 0.05) 0%, transparent 60%);
  }
  87.5% {
    background: 
      radial-gradient(circle at 65% 45%, rgba(255, 192, 203, 0.06) 0%, transparent 50%),
      radial-gradient(circle at 15% 55%, rgba(34, 139, 34, 0.04) 0%, transparent 50%),
      radial-gradient(circle at 85% 75%, rgba(255, 140, 0, 0.05) 0%, transparent 60%);
  }
}

@keyframes colorFade {
  0%, 100% {
    opacity: 1;
    background: linear-gradient(
      45deg,
      rgba(65, 105, 225, 0.02) 0%,
      rgba(100, 149, 237, 0.03) 25%,
      rgba(70, 130, 180, 0.02) 50%,
      rgba(95, 158, 160, 0.03) 75%,
      rgba(65, 105, 225, 0.02) 100%
    );
  }
  12.5% {
    opacity: 0.85;
    background: linear-gradient(
      90deg,
      rgba(255, 165, 0, 0.025) 0%,
      rgba(220, 20, 60, 0.035) 25%,
      rgba(138, 43, 226, 0.025) 50%,
      rgba(50, 205, 50, 0.035) 75%,
      rgba(255, 165, 0, 0.025) 100%
    );
  }
  25% {
    opacity: 0.8;
    background: linear-gradient(
      135deg,
      rgba(255, 20, 147, 0.025) 0%,
      rgba(30, 144, 255, 0.035) 25%,
      rgba(255, 69, 0, 0.025) 50%,
      rgba(0, 191, 255, 0.035) 75%,
      rgba(255, 20, 147, 0.025) 100%
    );
  }
  37.5% {
    opacity: 0.9;
    background: linear-gradient(
      180deg,
      rgba(148, 0, 211, 0.03) 0%,
      rgba(255, 215, 0, 0.04) 25%,
      rgba(0, 250, 154, 0.03) 50%,
      rgba(199, 21, 133, 0.04) 75%,
      rgba(148, 0, 211, 0.03) 100%
    );
  }
  50% {
    opacity: 0.9;
    background: linear-gradient(
      225deg,
      rgba(64, 224, 208, 0.03) 0%,
      rgba(255, 105, 180, 0.04) 25%,
      rgba(75, 0, 130, 0.03) 50%,
      rgba(255, 99, 71, 0.04) 75%,
      rgba(64, 224, 208, 0.03) 100%
    );
  }
  62.5% {
    opacity: 0.8;
    background: linear-gradient(
      270deg,
      rgba(72, 61, 139, 0.025) 0%,
      rgba(0, 255, 127, 0.035) 25%,
      rgba(255, 192, 203, 0.025) 50%,
      rgba(34, 139, 34, 0.035) 75%,
      rgba(72, 61, 139, 0.025) 100%
    );
  }
  75% {
    opacity: 0.7;
    background: linear-gradient(
      315deg,
      rgba(255, 140, 0, 0.025) 0%,
      rgba(65, 105, 225, 0.035) 25%,
      rgba(255, 165, 0, 0.025) 50%,
      rgba(70, 130, 180, 0.035) 75%,
      rgba(255, 140, 0, 0.025) 100%
    );
  }
  87.5% {
    opacity: 0.85;
    background: linear-gradient(
      360deg,
      rgba(100, 149, 237, 0.025) 0%,
      rgba(220, 20, 60, 0.035) 25%,
      rgba(50, 205, 50, 0.025) 50%,
      rgba(138, 43, 226, 0.035) 75%,
      rgba(100, 149, 237, 0.025) 100%
    );
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 200;
}

.lead {
  font-size: 1rem;
  color: var(--text);
  font-weight: 200;
  line-height: 1.7;
  margin-bottom: 2rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
  animation: smoothColorShift 240s ease-in-out infinite;
}

a:hover {
  color: var(--accent-dark);
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Page Transition */
.page-transition {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  z-index: 9999;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.page-transition.active {
  left: 0;
}

.page-transition.exit {
  left: 100%;
}

.page-transition::after {
  content: "Lädt...";
  opacity: 0.8;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

/* Header Farbfader synchron mit body */
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(65, 105, 225, 0.01) 0%,
    rgba(100, 149, 237, 0.015) 25%,
    rgba(70, 130, 180, 0.01) 50%,
    rgba(95, 158, 160, 0.015) 75%,
    rgba(65, 105, 225, 0.01) 100%
  );
  z-index: -1;
  animation: colorFade 240s ease-in-out infinite;
  pointer-events: none;
}

.nav-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-link {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 200;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  animation: smoothColorShift 240s ease-in-out infinite;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Hero Section */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 2rem 100px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text h1 {
  font-weight: 400;
}

.hero-subtext {
  font-size: 0.9rem;
  color: var(--text-lighter);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  margin-bottom: 0;
  text-transform: uppercase;
}

.role {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 200;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.4;
  font-weight: 200;
}

.hero-accent {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  position: relative;
  width: 300px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
  transform: rotate(-2deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition);
}

.hero-image:hover img {
  filter: grayscale(0%);
}

.image-glow {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: 30px;
  opacity: 0.2;
  z-index: -1;
  filter: blur(20px);
  animation: smoothColorShift 240s ease-in-out infinite;
}

.hero-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.vision-subtitle {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: center;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 0;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
  animation: smoothColorShift 240s ease-in-out infinite;
}

/* Vision Grid */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.vision-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vision-card h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.vision-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-image {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }
}

/* Page Layout */
.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 2rem 100px;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0 auto;
  border-radius: 2px;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.content {
  margin-top: 3rem;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.lead {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* About Page */
.about-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.philosophy {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.philosophy h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.profile-card {
  position: relative;
  width: 280px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, var(--accent) 100%);
  opacity: 0.1;
}

/* Project Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: smoothColorShift 240s ease-in-out infinite;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  margin: -2rem -2rem 1.5rem -2rem;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  height: 200px;
  position: relative;
}

.project-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: smoothColorShift 240s ease-in-out infinite;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(20%) saturate(1.1);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
  filter: grayscale(0%) saturate(1.2);
}

.project-content {
  padding: 0;
}

/* Current Projects - Featured on Homepage */
.current-projects {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.current-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.current-project-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.current-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: smoothColorShift 240s ease-in-out infinite;
}

.current-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

.current-project-image {
  margin: -2rem -2rem 1.5rem -2rem;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  height: 250px;
  position: relative;
}

.current-project-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: smoothColorShift 240s ease-in-out infinite;
}

.current-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(10%) saturate(1.1);
}

.current-project-card:hover .current-project-image img {
  transform: scale(1.08);
  filter: grayscale(0%) saturate(1.3);
}

.current-project-content {
  padding: 0;
}

.current-project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.current-project-header h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.current-project-category {
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--bg-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.current-project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--accent);
  animation: smoothColorShift 240s ease-in-out infinite;
}

.current-project-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

/* Vision Section */
.vision-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}

.card-header h3 {
  margin-bottom: 0;
}

.category {
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--bg-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.project-location svg {
  opacity: 0.8;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.external-link:hover {
  transform: translateX(2px);
}

.coming-soon {
  color: var(--text-lighter);
  font-style: italic;
  font-size: 0.9rem;
}

/* Publications & Sermons Lists */
.publications-list,
.sermons-list {
  display: grid;
  gap: 1.5rem;
}

.publication-item,
.sermon-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.publication-item {
  position: relative;
  padding-left: 2.5rem;
  border-radius: 10px;
}

.publication-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent), var(--accent-dark));
  border-radius: 10px 0 0 10px;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.publication-item:hover,
.sermon-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.publication-dates {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(59, 130, 246, 0.2);
}

.date-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.date-item .date {
  color: var(--color-primary);
  font-weight: 500;
  min-width: 160px;
  flex-shrink: 0;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.date-item .date-title {
  color: var(--color-text-secondary);
  flex: 1;
}

.pub-meta,
.sermon-meta {
  display: flex;
  align-items: flex-start;
}

.year,
.date {
  font-size: 0.9rem;
  color: var(--text-lighter);
  font-weight: 600;
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-align: center;
}

.pub-content h3,
.sermon-content h3 {
  margin-bottom: 0.5rem;
}

.subtitle,
.journal,
.text {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.audio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--accent);
  transition: var(--transition);
}

.audio-link:hover {
  color: var(--accent-dark);
  transform: translateX(2px);
}

.sermon-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  transition: var(--transition);
}

.read-more:hover {
  color: var(--accent-dark);
  transform: translateX(2px);
}

.sermon-content h3 a {
  color: var(--primary);
  transition: var(--transition);
}

.sermon-content h3 a:hover {
  color: var(--accent);
}

/* Sermon Single Page */
.sermon-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sermon-meta-header {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.sermon-date,
.sermon-text {
  font-size: 0.9rem;
  color: var(--text-lighter);
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
}

.sermon-text {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
}

.sermon-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.sermon-content p {
  margin-bottom: 1.5rem;
}

.sermon-navigation {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--accent-dark);
  transform: translateX(-2px);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: smoothColorShift 240s ease-in-out infinite;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  margin: -2rem -2rem 1.5rem -2rem;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  height: 200px;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: smoothColorShift 240s ease-in-out infinite;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: grayscale(30%) saturate(1.1);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
  filter: grayscale(0%) saturate(1.2);
}

.service-content {
  padding: 0;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: left;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.service-footer {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.service-footer h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.service-footer p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-visual {
  margin-top: 2rem;
}

.contact-card-image {
  width: 200px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  animation: smoothColorShift 240s ease-in-out infinite;
}

.contact-info .label {
  font-size: 0.8rem;
  color: var(--text-lighter);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-info a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
}

.contact-card-extended {
  grid-column: span 2;
}

.contact-card-full {
  grid-column: span 2;
}

.contact-info-extended {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-description {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
  margin: 0;
}

.contact-info-extended .external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
  margin-top: 0.5rem;
}

.contact-info-extended .external-link:hover {
  color: var(--accent-dark);
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .contact-card-extended,
  .contact-card-full {
    grid-column: span 1;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container,
  .hero,
  .page {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .nav-content {
    padding: 0 1.5rem;
  }
  
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .publication-item,
  .sermon-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .current-projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .current-projects {
    padding: 3rem 1.5rem;
  }
  
  .vision-section {
    padding: 3rem 1.5rem;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .page {
    padding-top: 120px;
  }
}

/* Footer */
.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer p {
  color: var(--text-lighter);
  font-size: 0.9rem;
  margin: 0;
}

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

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Smooth animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.page {
  animation: fadeInUp 0.8s ease-out;
}