/* ===================================
   Source of Mind - Modern Design 2025
   Dunkelblau/Schwarz & Lila Theme
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
  /* Hauptfarben - Dunkelblau/Schwarz & Lila */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d0d1a;
  --bg-tertiary: #12122a;
  --bg-card: #1a1a2e;

  /* Lila Akzentfarben */
  --purple-light: #a855f7;
  --purple-main: #8b5cf6;
  --purple-dark: #7c3aed;
  --purple-deeper: #6d28d9;

  /* Gradient Farben */
  --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6d28d9 100%);
  --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
  --gradient-card: linear-gradient(145deg, rgba(26, 26, 46, 0.8) 0%, rgba(13, 13, 26, 0.9) 100%);

  /* Text Farben */
  --white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(139, 92, 246, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 35%),
    radial-gradient(circle at 40% 80%, rgba(109, 40, 217, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 35%);
  animation: backgroundGlow 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 60% 10%, rgba(139, 92, 246, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 10% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(109, 40, 217, 0.07) 0%, transparent 30%);
  animation: backgroundGlow2 25s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: -1;
}

@keyframes backgroundGlow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-3%, -3%) scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: translate(3%, 3%) scale(1);
    opacity: 1;
  }
}

@keyframes backgroundGlow2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(5%, -2%) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate(-2%, 5%) scale(1);
    opacity: 0.7;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  transition: all var(--transition-base);
}

header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: var(--gradient-purple);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

nav a:hover,
nav a.active {
  color: var(--white);
  background: var(--purple-main);
}

nav a:hover::before,
nav a.active::before {
  opacity: 0;
}

/* Social Icons in Header */
.social-icons {
  display: flex;
  gap: var(--space-sm);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.social-icons a:hover {
  color: var(--white);
  background: var(--purple-main);
  border-color: var(--purple-main);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(109, 40, 217, 0.1) 0%, transparent 40%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-5%, -5%) rotate(5deg); }
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: var(--space-lg);
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span:last-child {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-weight: 300;
}

/* Hero Video Background */
.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Video Container / Showreel */
.video-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: var(--shadow-glow);
}

.showreel-video {
  width: 100%;
  display: block;
  background: var(--bg-card);
}

/* =====================
   SECTIONS
   ===================== */
section {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}

.section-dark {
  background: var(--bg-primary);
}

.section-alt {
  background: var(--bg-secondary);
}

.container {
  max-width: 1290px;
  margin: 0 auto;
  padding-left: 200px;
  padding-right: 200px;
}

@media (max-width: 1400px) {
  .container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media (max-width: 1100px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

/* Section Titles */
.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-purple);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

/* =====================
   GLASSMORPHISM CARDS
   ===================== */
.glass-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

/* =====================
   PORTFOLIO GRID
   ===================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.1);
  display: flex;
  flex-direction: column;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--bg-tertiary);
  display: block;
}

.portfolio-item-content {
  padding: var(--space-md);
  background: var(--bg-card);
}

.portfolio-item h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Portfolio Category Section */
.portfolio-category {
  margin-bottom: var(--space-3xl);
}

.portfolio-category h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.portfolio-category h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-purple);
  border-radius: var(--radius-full);
}

.portfolio-category > p {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.portfolio-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.portfolio-images a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.portfolio-images a:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-glow);
}

.portfolio-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.portfolio-images a:hover img {
  transform: scale(1.05);
}

/* More Link */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--purple-light);
  font-weight: 600;
  margin-top: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.more-link::after {
  content: '\2192';
  transition: transform var(--transition-base);
}

.more-link:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--white);
}

.more-link:hover::after {
  transform: translateX(5px);
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .about-section {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.about-title-logo {
  height: 1.2em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--gradient-purple);
  border-radius: var(--radius-xl);
  opacity: 0.1;
  z-index: -1;
  filter: blur(40px);
}

.about-image img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: var(--shadow-lg);
}

.quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--purple-light);
  border-left: 4px solid var(--purple-main);
  padding-left: var(--space-md);
  margin-top: var(--space-xl);
  background: rgba(139, 92, 246, 0.05);
  padding: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-author {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-style: normal;
}

/* =====================
   PRICES SECTION
   ===================== */
.prices-table {
  max-width: 800px;
  margin: 0 auto;
}

.prices-table h2 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  margin-top: var(--space-2xl);
}

.prices-table h2:first-of-type {
  margin-top: 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
}

.price-row:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
  padding-left: var(--space-md);
}

.price-service {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: var(--space-xl);
  font-style: italic;
}

/* =====================
   FEATURE HIGHLIGHT SECTION
   ===================== */
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: var(--space-lg);
}

/* Faire Salon spezielle Farben */
.feature-content h2.faire-salon-title {
  color: #800020;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #800020;
  background-clip: unset;
}

.btn.faire-salon-btn {
  background: linear-gradient(135deg, #3b032f, #800020);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
}

.btn.faire-salon-btn:hover {
  background: linear-gradient(135deg, #4d0a3d, #990029);
  border: none;
  box-shadow: 0 8px 30px rgba(128, 0, 32, 0.5);
  transform: translateY(-3px);
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.feature-content .btn {
  margin-top: var(--space-md);
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .feature-highlight {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-image {
    order: -1;
  }

  .feature-image img {
    max-width: 80%;
  }
}

@media (max-width: 600px) {
  .feature-image img {
    max-width: 100%;
  }
}

/* =====================
   CONTACT HERO BANNER
   ===================== */
.contact-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.contact-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.85) 0%,
    rgba(109, 40, 217, 0.4) 50%,
    rgba(10, 10, 15, 0.85) 100%
  );
  z-index: 1;
}

.contact-hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 4px 30px rgba(139, 92, 246, 0.5);
}

/* Simple Hero without background image */
.contact-hero-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  margin-top: 70px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-hero-simple .contact-hero-title {
  margin: 0;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  padding: var(--space-sm);
  background: rgba(139, 92, 246, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.contact-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
}

.contact-item i {
  font-size: 1.3rem;
  color: var(--purple-light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-full);
}

.contact-form {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background: rgba(10, 10, 15, 0.8);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--white);
}

/* Form Messages */
.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.form-message i {
  font-size: 1.2rem;
}

/* Form button container - centered */
.contact-form .btn {
  display: block;
  margin: var(--space-lg) auto 0;
}

.contact-form .form-message {
  text-align: center;
  justify-content: center;
}

/* Honeypot fields - completely hidden from users and screen readers */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-xl);
  background: var(--gradient-purple);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
}

.btn:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--purple-main);
  color: var(--purple-light);
}

.btn-outline:hover {
  background: var(--gradient-purple);
  color: var(--white);
  border-color: transparent;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--bg-secondary);
  padding: var(--space-2xl) var(--space-lg);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--gradient-purple);
  border-radius: var(--radius-full);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
  color: var(--text-secondary);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  color: var(--white);
  background: var(--purple-main);
  border-color: var(--purple-main);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--purple-light);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =====================
   IMPRESSUM PAGE
   ===================== */
.impressum-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--space-3xl) + 60px) var(--space-lg) var(--space-3xl);
}

.impressum-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.impressum-section {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(139, 92, 246, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.impressum-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.impressum-section h3 {
  font-size: 1.1rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: var(--text-primary);
}

.impressum-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.impressum-section ul {
  color: var(--text-secondary);
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.impressum-section li {
  margin-bottom: var(--space-xs);
}

.impressum-section a {
  color: var(--purple-light);
  transition: color var(--transition-base);
}

.impressum-section a:hover {
  color: var(--white);
}

/* =====================
   THANK YOU PAGE
   ===================== */
.thankyou-content {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.thankyou-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--space-md);
}

.thankyou-content p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

/* =====================
   LIGHTBOX
   ===================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: var(--space-md);
}

.lightbox:target {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: var(--shadow-glow-strong);
}

/* Lightbox Overlay (used by JavaScript on index.html) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Closing animation class */
.lightbox-overlay.closing {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
  transform: scale(0.8) translateY(30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.4s ease;
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox-overlay.closing .lightbox-content {
  transform: scale(0.85) translateY(-20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.3s ease;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 3px solid var(--purple-main);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.6),
              0 0 80px rgba(139, 92, 246, 0.3),
              0 25px 50px rgba(0, 0, 0, 0.5);
  animation: lightboxImageGlow 3s ease-in-out infinite alternate;
}

@keyframes lightboxImageGlow {
  0% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6),
                0 0 80px rgba(139, 92, 246, 0.3),
                0 25px 50px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.8),
                0 0 100px rgba(139, 92, 246, 0.4),
                0 25px 50px rgba(0, 0, 0, 0.5);
  }
}

.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 50px;
  height: 50px;
  background: rgba(30, 30, 40, 0.9);
  border: 2px solid var(--purple-main);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
  transform: scale(0) rotate(-180deg);
  opacity: 0;
}

.lightbox-overlay.active .lightbox-close {
  transform: scale(1) rotate(0deg);
  opacity: 1;
  transition-delay: 0.2s;
}

.lightbox-overlay.closing .lightbox-close {
  transform: scale(0) rotate(180deg);
  opacity: 0;
  transition-delay: 0s;
}

.lightbox-close:hover {
  background: var(--purple-main);
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

/* Clickable images indicator */
.service-preview-image img {
  cursor: zoom-in;
  transition: transform var(--transition-slow),
              box-shadow var(--transition-base);
}

.service-preview-image img:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =====================
   SIDE NAVIGATION (DEAKTIVIERT)
   Siehe side-nav-backup.html für den kompletten Code
   ===================== */
/*
.side-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-nav-item {
  display: flex;
  align-items: center;
  background: var(--purple-main);
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  margin-bottom: 2px;
}

.side-nav-item:first-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.side-nav-item:last-child {
  border-radius: 0 0 var(--radius-sm) 0;
  margin-bottom: 0;
}

.side-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.side-nav-text {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  width: 0;
  overflow: hidden;
  opacity: 0;
  padding-right: 0;
  transition: all var(--transition-base);
}

.side-nav:hover .side-nav-item {
  width: auto;
}

.side-nav:hover .side-nav-icon {
  width: 35px;
  height: 35px;
  font-size: 0.9rem;
}

.side-nav:hover .side-nav-text {
  width: 110px;
  opacity: 1;
  padding-right: var(--space-sm);
}

.side-nav-item:hover {
  background: var(--purple-dark);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  z-index: 10;
}

.side-nav-item:hover .side-nav-icon {
  font-size: 1rem;
}

.side-nav-item:hover .side-nav-text {
  font-weight: 600;
}

.side-nav-item.active {
  background: var(--purple-dark);
}

@media (max-width: 900px) {
  .side-nav {
    display: none;
  }
}
*/

/* =====================
   RESPONSIVE - TABLET (max 900px)
   ===================== */
@media (max-width: 900px) {
  header {
    padding: var(--space-sm);
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-3xl) var(--space-lg);
    transition: right var(--transition-base);
    border-left: 1px solid rgba(139, 92, 246, 0.2);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  nav a {
    font-size: 1.2rem;
    padding: var(--space-sm);
  }

  .social-icons {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-images {
    grid-template-columns: 1fr;
  }

  .portfolio-images img {
    height: 250px;
  }

  /* About section tablet */
  .about-section {
    text-align: center;
  }

  .about-content h2 {
    justify-content: center;
  }

  /* Feature highlight tablet */
  .feature-highlight {
    text-align: center;
  }

  /* Section title */
  .section-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
}

/* =====================
   RESPONSIVE - MOBILE (max 600px)
   ===================== */
@media (max-width: 600px) {
  /* Reduce padding on sections */
  section {
    padding: var(--space-2xl) var(--space-sm);
  }

  /* Hero section mobile */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: var(--space-sm);
  }

  .hero-video {
    object-position: center;
  }

  /* Header mobile adjustments */
  .logo-img {
    height: 32px;
  }

  /* About section mobile */
  .about-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .about-title-logo {
    height: 1em;
  }

  .about-content p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    line-height: 1.7;
  }

  .quote {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    padding: var(--space-sm);
  }

  /* Service section mobile */
  .service-header {
    text-align: center;
  }

  .service-header h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .service-header p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .service-preview-image img {
    height: 300px;
  }

  /* Feature highlight mobile */
  .feature-content h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .feature-content p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .feature-image img {
    max-width: 100%;
    border-radius: var(--radius-md);
  }

  /* Buttons mobile */
  .btn {
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1.5rem, 5vw, 2rem);
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    width: 100%;
    justify-content: center;
  }

  /* Video container mobile */
  .video-container {
    border-radius: var(--radius-md);
  }

  /* FAQ mobile */
  .faq-question {
    padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .faq-answer {
    padding: 0 clamp(1rem, 4vw, 1.5rem);
  }

  .faq-item.active .faq-answer {
    padding: 0 clamp(1rem, 4vw, 1.5rem) clamp(0.75rem, 3vw, 1rem);
  }

  /* Contact section mobile */
  .contact-hero {
    height: 25vh;
    min-height: 150px;
    margin-top: 60px;
  }

  .contact-hero-simple {
    padding: var(--space-xl) var(--space-sm);
    margin-top: 60px;
  }

  .contact-hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .contact-info h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .contact-info > p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .contact-item {
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
    padding: clamp(0.6rem, 2.5vw, 0.8rem);
  }

  .contact-item i {
    width: clamp(30px, 10vw, 38px);
    height: clamp(30px, 10vw, 38px);
    font-size: clamp(1rem, 3.5vw, 1.2rem);
  }

  .contact-form {
    padding: clamp(1rem, 4vw, 1.5rem);
  }

  .form-group label {
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: clamp(0.6rem, 2.5vw, 0.8rem);
  }

  /* Footer mobile */
  .footer-content {
    gap: var(--space-md);
  }

  .footer-logo {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .footer-social {
    gap: clamp(0.5rem, 2vw, 0.75rem);
  }

  .footer-social a {
    width: clamp(40px, 12vw, 48px);
    height: clamp(40px, 12vw, 48px);
    font-size: clamp(1rem, 3.5vw, 1.2rem);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer-links a {
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  }

  .footer-copyright {
    font-size: clamp(0.75rem, 2.8vw, 0.85rem);
    text-align: center;
  }

  /* Prices table mobile */
  .prices-table h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: clamp(0.75rem, 3vw, 1rem) clamp(0.5rem, 2vw, 0.75rem);
  }

  .price-service {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .price-amount {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
  }

  /* Impressum mobile */
  .impressum-content {
    padding: calc(var(--space-2xl) + 60px) var(--space-sm) var(--space-2xl);
  }

  .impressum-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .impressum-section {
    padding: var(--space-md);
  }

  .impressum-section h2 {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
  }

  .impressum-section p {
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
    word-break: break-word;
  }

  /* Lightbox mobile */
  .lightbox-content img {
    max-width: 95vw;
    max-height: 80vh;
    border-width: 2px;
  }

  .lightbox-close {
    top: -15px;
    right: -10px;
    width: 40px;
    height: 40px;
  }

  .lightbox-close::before,
  .lightbox-close::after {
    width: 14px;
  }

  /* Section title mobile */
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .section-title::after {
    width: clamp(50px, 15vw, 70px);
    height: 3px;
  }
}

/* =====================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ===================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .portfolio-item img {
    height: clamp(180px, 45vw, 220px);
  }

  .contact-form {
    padding: clamp(0.75rem, 3vw, 1rem);
  }

  /* Service images smaller */
  .service-preview-image img {
    height: 250px;
  }

  /* Portfolio carousel mobile */
  .carousel-arrow {
    width: clamp(36px, 10vw, 44px);
    height: clamp(36px, 10vw, 44px);
  }

  .arrow-icon {
    width: clamp(8px, 2.5vw, 12px);
    height: clamp(8px, 2.5vw, 12px);
    border-width: 2px;
  }

  /* Cookie banner mobile */
  .cookie-banner {
    padding: var(--space-md);
  }

  .cookie-banner h3 {
    font-size: clamp(1rem, 4vw, 1.15rem);
  }

  .cookie-banner p {
    font-size: clamp(0.8rem, 3vw, 0.9rem);
  }

  .cookie-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cookie-buttons button {
    width: 100%;
  }

  /* About section very small */
  .about-section {
    gap: var(--space-lg);
  }

  /* Contact details tighter */
  .contact-details {
    gap: clamp(0.5rem, 2vw, 0.75rem);
  }
}

/* =====================
   TOUCH DEVICE OPTIMIZATIONS
   ===================== */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  nav a {
    padding: var(--space-md);
    min-height: 44px;
  }

  .btn {
    min-height: 48px;
  }

  .social-icons a,
  .footer-social a {
    min-width: 44px;
    min-height: 44px;
  }

  /* Remove hover effects that don't work on touch */
  .portfolio-item:hover {
    transform: none;
  }

  .portfolio-item:hover img {
    transform: none;
  }

  .service-preview-image:hover img {
    transform: none;
  }

  /* Better tap feedback */
  .btn:active {
    transform: scale(0.98);
  }

  .portfolio-item:active {
    transform: scale(0.98);
  }
}

/* =====================
   LANDSCAPE MOBILE
   ===================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  .hero-video {
    object-fit: cover;
  }

  .contact-hero {
    height: 50vh;
    min-height: 150px;
  }
}

/* =====================
   iOS SAFE AREA SUPPORT
   ===================== */
@supports (padding: max(0px)) {
  header {
    padding-left: max(var(--space-sm), env(safe-area-inset-left));
    padding-right: max(var(--space-sm), env(safe-area-inset-right));
  }

  footer {
    padding-bottom: max(var(--space-2xl), env(safe-area-inset-bottom));
  }

  .cookie-banner {
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }
}

/* =====================
   UTILITY CLASSES
   ===================== */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

/* Glow Effects */
.glow-purple {
  box-shadow: var(--shadow-glow);
}

.glow-purple-strong {
  box-shadow: var(--shadow-glow-strong);
}

/* =====================
   SERVICE CARDS (Home)
   ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  align-items: center;
}

.service-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.service-card-content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.service-card-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-card-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    order: -1;
  }
}

/* =====================
   CAROUSEL / SLIDER
   ===================== */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.carousel-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - var(--space-md) * 2 / 3);
  min-width: calc(33.333% - var(--space-md) * 2 / 3);
}

.carousel-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all var(--transition-base);
  cursor: pointer;
}

.carousel-slide img:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--purple-main);
  color: var(--white);
  transform: scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--purple-main);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .carousel-slide {
    flex: 0 0 calc(50% - var(--space-md) / 2);
    min-width: calc(50% - var(--space-md) / 2);
  }
}

@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .carousel-slide img {
    height: 220px;
  }
}

/* Service Section with Preview */
.service-section {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: none;
  position: relative;
}

.service-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
  border-radius: 2px;
}

.service-section:last-child {
  margin-bottom: 0;
}

.service-section:last-child::after {
  display: none;
}

.service-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.service-header.reversed {
  grid-template-columns: 2fr 1fr;
}

.service-header.reversed .service-text {
  order: 2;
}

.service-header.reversed .service-preview-image {
  order: 1;
}

.service-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.service-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.service-preview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-preview-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  background: var(--bg-tertiary);
  transition: transform var(--transition-slow);
}

.service-preview-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .service-header {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .service-header.reversed {
    grid-template-columns: 1fr;
  }

  .service-preview-image {
    order: -1;
  }

  .service-header.reversed .service-text {
    order: 1;
  }

  .service-header.reversed .service-preview-image {
    order: -1;
  }

  .service-preview-image img {
    height: 350px;
  }
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */

/* Base state for all animated elements */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Slide from left */
.slide-left {
  transform: translateX(-80px);
}

/* Slide from right */
.slide-right {
  transform: translateX(80px);
}

/* Slide from bottom */
.slide-up {
  transform: translateY(60px);
}

/* Slide from top */
.slide-down {
  transform: translateY(-60px);
}

/* Fade in with scale */
.fade-scale {
  transform: scale(0.9);
}

/* Visible state - when element is in viewport */
.scroll-animate.visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* Staggered delays for grid items */
.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================
   FAQ ACCORDION
   ===================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.faq-item.active {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.05);
}

.faq-question span {
  flex: 1;
  padding-right: var(--space-md);
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--purple-light);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 var(--space-lg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* ===================================
   Toast Notifications
   =================================== */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--purple-main);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  max-width: 350px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast-success {
  border-color: #22c55e;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.toast.toast-error {
  border-color: #ef4444;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.toast.toast-info {
  border-color: var(--purple-main);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.1) 100%);
}
