/* elbvibe Hamburg Skyline Design - 2026 */

:root {
  /* Primary Colors */
  --teal: #0099CC;
  --teal-light: #00A8B8;
  --navy: #1A2856;
  --navy-dark: #001F3F;
  --purple: #6C3FB3;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;

  /* Neutrals */
  --gray-100: #F9F9F9;
  --gray-200: #E8E8E8;
  --gray-300: #D0D0D0;
  --gray-600: #666666;
  --gray-700: #555555;
  --gray-900: #1A1A1A;

  /* Gradients */
  --gradient-primary: linear-gradient(90deg, var(--teal) 0%, var(--purple) 100%);
  --gradient-wave: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 50%, var(--purple) 100%);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'IBM Plex Sans', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--navy);
  background: var(--white);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Utility Classes */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  flex-shrink: 0;
  min-width: 160px;
}

.logo-img {
  width: 160px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.header-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: 2px solid transparent;
}

.header-nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.btn-cta-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.btn-cta-header:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.hero-section {
  background: var(--white);
  padding: 4rem 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 600px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -1px;
}

.hero-title.hero-gradient {
  background: linear-gradient(90deg, #0099CC 0%, #6C3FB3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #0099CC; /* Fallback for browsers without gradient support */
}

.hero-teal {
  color: var(--teal);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 500px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.hero-feature .feature-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
  border: 2px solid var(--teal);
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: inline-block;
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--light-gray);
  color: var(--navy);
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hamburg-skyline {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hamburg-skyline {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================================================
   FEATURES SECTION (5 Icons)
   ============================================================================ */

.features-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-card .feature-svg {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  color: var(--teal);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================================
   TARGET AUDIENCE SECTION
   ============================================================================ */

.target-section {
  background: var(--white);
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title .highlight {
  color: var(--teal);
}

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

.target-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  border-top: 3px solid var(--teal);
  transition: all 0.3s ease;
}

.target-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.target-card .target-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--teal);
}

.target-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.target-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================================
   COURSES SECTION
   ============================================================================ */

.courses-section {
  background: var(--light-gray);
  padding: 5rem 0;
  margin-bottom: 0;
}

.courses-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.courses-left {
  display: flex;
  flex-direction: column;
}

.courses-left .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.view-all {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.view-all:hover {
  opacity: 0.8;
}

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  border-left: 4px solid var(--teal);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.course-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  width: fit-content;
  letter-spacing: 0.5px;
}

.tag-teal {
  background: var(--teal);
  color: var(--white);
}

.tag-purple {
  background: var(--purple);
  color: var(--white);
}

.course-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.course-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.meta-item svg {
  color: var(--teal);
  flex-shrink: 0;
}

.btn-course {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: opacity 0.2s ease;
  align-self: flex-start;
}

.btn-course:hover {
  opacity: 0.9;
}

/* Workshops Promo Box */
.courses-right {
  position: sticky;
  top: 120px;
}

.workshops-promo {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 0.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 153, 204, 0.2);
}

.promo-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.workshops-promo h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.workshops-promo p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-promo {
  background: var(--white);
  color: var(--purple);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
}

.btn-promo:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

/* ============================================================================
   COMMUNITY SECTION (Dark Navy to Purple Gradient)
   ============================================================================ */

.community-section {
  background: linear-gradient(135deg, #1A2856 0%, #6C3FB3 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.community-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 153, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.community-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.community-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.community-icon {
  width: 60px;
  height: 60px;
  color: var(--white);
}

.community-left h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.community-left p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
}

.community-middle h3,
.community-right h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.event-date,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.event-date svg,
.event-location svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-event {
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s ease;
  width: fit-content;
  margin-top: 1rem;
}

.btn-event:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--white);
  border-radius: 50%;
  text-decoration: none;
  color: var(--white);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--white);
  color: var(--navy);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================================================
   FOOTER (Dark Navy to Purple Gradient)
   ============================================================================ */

.footer {
  background: linear-gradient(135deg, #1A2856 0%, #6C3FB3 100%);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--teal);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.logo-img-footer {
  width: 140px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .courses-container {
    grid-template-columns: 1fr;
  }

  .courses-right {
    position: static;
  }

  .workshops-promo {
    max-width: 400px;
  }

  .community-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-nav {
    order: 3;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .btn-cta-header {
    order: 2;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .course-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .features-section {
    padding: 3rem 0;
  }

  .target-section {
    padding: 3rem 0;
  }

  .courses-section {
    padding: 3rem 0;
  }

  .community-section {
    padding: 3rem 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hamburg-skyline {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .header-nav {
    display: none;
  }
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .target-card {
    padding: 1.5rem 1rem;
  }

  .course-card {
    padding: 1.5rem;
  }

  .workshops-promo {
    padding: 2rem 1rem;
  }

  .community-container {
    gap: 2rem;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================================
   ANIMATIONS & TRANSITIONS
   ============================================================================ */

@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hero-left {
    animation: slideInLeft 0.6s ease-out;
  }

  .hero-right {
    animation: slideInRight 0.6s ease-out;
  }

  .feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .feature-card:nth-child(n) {
    animation-delay: calc(0.1s * var(--item-index, 0));
  }

  .course-card {
    animation: fadeInUp 0.6s ease-out forwards;
  }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-gray: #2A2A2A;
    --gray-100: #1F1F1F;
    --gray-200: #3A3A3A;
    --gray-600: #999999;
    --gray-700: #AAAAAA;
    --white: #FFFFFF;
  }

  body {
    background: #1A1A1A;
    color: #FFFFFF;
  }

  .header {
    background: #1A1A1A;
    border-bottom-color: #3A3A3A;
  }

  .header-nav a {
    color: #FFFFFF;
  }

  .hero-title {
    color: #FFFFFF;
  }

  .section-title {
    color: #FFFFFF;
  }

  .feature-card,
  .target-card,
  .course-card {
    background: #2A2A2A;
    border-color: #3A3A3A;
    color: #FFFFFF;
  }

  .feature-card h3,
  .target-card h3,
  .course-card h3 {
    color: #FFFFFF;
  }

}
