/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --violet: #6B2D8B;
  --violet-light: #9B59B6;
  --white: #FFFFFF;
  --black: #0D0D0D;
  --gray: #1A1A1A;
  --gray-light: #2A2A2A;
  --text-muted: #999999;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 60px;
  color: var(--white);
  font-weight: 400;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 52px;
  width: auto;
}

.nav__logo-text,
.footer__logo-text {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.nav__logo-eleven {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--violet-light);
}

.nav__logo-yolo {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  color: var(--violet-light);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.nav__links a:hover {
  color: var(--violet-light);
}

.nav__cta {
  background: var(--violet);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease !important;
}

.nav__cta:hover {
  background: var(--violet-light) !important;
  color: var(--white) !important;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(107, 45, 139, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(155, 89, 182, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--black) 0%, #0a0a12 50%, var(--black) 100%);
  z-index: 0;
}

.hero__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236B2D8B' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero__icon {
  width: 100px;
  height: auto;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--violet-light);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 6px;
}

.btn--primary:hover {
  background: var(--violet-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 45, 139, 0.35);
}

/* ========== TEASER ========== */
.teaser {
  padding: 120px 0;
  background: var(--black);
}

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

.teaser__card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.teaser__card-inner {
  background: var(--gray);
  border: 1px solid rgba(107, 45, 139, 0.2);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  filter: blur(2px);
  position: relative;
}

.teaser__card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 45, 139, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 12px;
}

.teaser__card:hover .teaser__card-inner {
  filter: blur(0);
  border-color: rgba(155, 89, 182, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107, 45, 139, 0.2);
}

.teaser__card:hover .teaser__card-inner::before {
  opacity: 1;
}

.teaser__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--violet-light);
}

.teaser__text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== EXPERIENCE ========== */
.experience {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--black) 0%, #0e0816 50%, var(--black) 100%);
}

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

.experience__block {
  text-align: center;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(107, 45, 139, 0.15);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.experience__block:hover {
  border-color: rgba(155, 89, 182, 0.4);
  background: rgba(107, 45, 139, 0.06);
  transform: translateY(-4px);
}

.experience__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.experience__heading {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.experience__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== LOCALISATION ========== */
.localisation {
  padding: 120px 0;
  text-align: center;
  background: var(--black);
}

.localisation__text {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 60px;
}

.localisation__map {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 320px;
  margin: 0 auto 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cpath d='M250 60 C220 80 180 100 170 140 C155 190 160 220 175 260 C185 290 150 310 140 340 C130 370 160 400 190 420 C220 440 260 440 290 430 C320 420 340 390 350 360 C360 330 350 300 340 270 C330 240 350 210 340 180 C330 150 310 120 290 90 C275 70 260 55 250 60 Z' fill='none' stroke='%236B2D8B' stroke-width='1' opacity='0.3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.localisation__map-dots {
  position: absolute;
  inset: 0;
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--violet);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--violet-light);
  border-radius: 50%;
  animation: ripple 2s ease-in-out infinite;
}

.dot--1 { top: 30%; left: 48%; animation-delay: 0s; }
.dot--2 { top: 55%; left: 35%; animation-delay: 0.5s; }
.dot--3 { top: 65%; left: 55%; animation-delay: 1s; }
.dot--4 { top: 45%; left: 60%; animation-delay: 1.5s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.localisation__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.localisation__confirmation,
.contact__confirmation {
  margin-top: 16px;
  color: var(--violet-light);
  font-size: 0.9rem;
  min-height: 1.4em;
}

/* ========== INPUTS ========== */
.input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 14px 20px;
  background: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

.input::placeholder {
  color: #666;
}

.input:focus {
  border-color: var(--violet-light);
}

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

/* ========== CONTACT ========== */
.contact {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--black) 0%, #0e0816 100%);
}

.contact__subtitle {
  text-align: center;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: -40px;
  margin-bottom: 50px;
  font-size: 1.05rem;
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__row {
  display: flex;
  gap: 16px;
}

.contact__form .btn {
  align-self: center;
  margin-top: 8px;
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--black);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
  height: 60px;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--violet-light);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: var(--violet-light);
}

.footer__bottom {
  padding-top: 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: #555;
  font-weight: 300;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .teaser__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s ease;
  }

  .nav__links.open {
    right: 0;
  }

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

  .contact__row {
    flex-direction: column;
  }

  .localisation__form {
    flex-direction: column;
    padding: 0 20px;
  }

  .hero__title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 40px;
  }

  .localisation__map {
    height: 220px;
  }
}
