/* BerlinOne Website - Minimal Prototype v=168 */

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

img {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

:root {
  --violet: #8B5CF6;
  --violet-dark: #7c3aed;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}

/* Header */
header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 6.3rem;
  width: auto;
  transition: opacity 0.3s;
  margin-top: 20px;
}

.logo:hover .logo-img {
  opacity: 0.8;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-cta {
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--slate-900);
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
}

.header-cta:hover {
  background: var(--slate-300);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  color: var(--white);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
}

.lang-dropdown-btn:hover {
  background: var(--slate-700);
}

.lang-dropdown-btn svg {
  color: rgb(129, 140, 248);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.lang-label {
  color: var(--slate-400);
  font-weight: 500;
  font-size: 0.75rem;
}

.lang-badge {
  background: #8B5CF6;
  color: var(--white);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 16rem;
  background: var(--slate-800);
  border: 1px solid var(--slate-600);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.lang-grid-item {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  border-radius: 0.5rem;
  background: var(--slate-700);
  transition: all 0.2s;
}

.lang-grid-item:hover {
  background: var(--slate-600);
}

.lang-grid-item.active {
  background: #8B5CF6;
  color: var(--white);
  font-weight: 500;
}

.lang-menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.lang-menu-header svg {
  width: 1rem;
  height: 1rem;
  color: var(--slate-400);
}

.lang-menu-header span {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: left;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--white);
  line-height: 1.2;
  padding-left: 1.5rem;
  border-left: 6px solid var(--violet);
  max-width: fit-content;
}

.hero .description {
  font-size: 1.125rem;
  color: var(--slate-400);
  margin-bottom: 3rem;
  max-width: 700px;
  padding-left: calc(1.5rem + 6px);
  margin-left: 0;
}

.hero .tagline {
  font-size: 2.8rem;
  color: var(--white);
  margin-top: 200px;
  margin-bottom: 3rem;
  max-width: 900px;
  padding-left: 1.5rem;
  margin-left: 0;
  font-weight: 700;
  border-left: 6px solid var(--violet);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 2.8rem;
  color: var(--white);
  margin-top: 160px;
  margin-bottom: 3rem;
  max-width: 900px;
  padding-left: 1.5rem;
  margin-left: 0;
  font-weight: 700;
  border-left: 6px solid var(--violet);
  line-height: 1.2;
}

.testimonial {
  max-width: 700px;
  margin: 5rem 0 4rem 0;
  padding: 2rem 2.5rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 0.5rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--violet);
  position: absolute;
  top: 0;
  left: 1rem;
  line-height: 1;
  opacity: 0.5;
}

.testimonial p {
  font-size: 1rem;
  color: var(--slate-300);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.event-showcase {
  margin: 2rem 0 4rem 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.date-item {
  position: absolute;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.date-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--violet);
  border-radius: 50%;
}

.date-top {
  top: -30px;
  left: 0;
  opacity: 0.6;
}

.date-bottom-left {
  bottom: 160px;
  left: 10%;
  opacity: 0.8;
  transform: rotate(-6deg);
}

.date-bottom-right {
  bottom: 130px;
  right: calc(10% + 500px);
  opacity: 0.5;
}

.date-above-jan {
  bottom: 200px;
  right: calc(10% + 480px);
  opacity: 0.7;
  transform: rotate(8deg);
}

.event-card {
  width: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.event-william {
  height: 65px;
}

.event-lea {
  height: 340px;
  opacity: 1;
  position: relative;
  top: -110px;
}

.hero-heading-2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 10rem;
  margin-bottom: 2rem;
  color: var(--white);
  line-height: 1.2;
  padding-left: 1.5rem;
  border-left: 6px solid var(--violet);
  max-width: 1000px;
}

.event-showcase + .hero-heading-2 {
  margin-top: 5rem;
  line-height: 1.2;
  padding-left: 1.5rem;
  border-left: 6px solid var(--violet);
  max-width: 1000px;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--slate-400);
  margin-bottom: 0;
  max-width: 700px;
  padding-left: calc(1.5rem + 6px);
  margin-left: 0;
}

.hero-image {
  margin-top: 2rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.prompt-ai-image {
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 85%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.prompt-ai-image img {
  width: 100%;
  height: auto;
  display: block;
}

.portal-section {
  position: relative;
  margin-bottom: 12rem;
}

.search-keyword {
  position: absolute;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  padding: 0.4rem 0.8rem;
  border-radius: 0.375rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.keyword-color-violet {
  color: var(--violet);
  border: 1px solid var(--violet);
}

.keyword-color-red {
  color: #ef4444;
  border: 1px solid #ef4444;
}

.keyword-color-green {
  color: #10b981;
  border: 1px solid #10b981;
}

.keyword-color-yellow {
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.keyword-color-white {
  color: var(--white);
  border: 1px solid var(--white);
}

.keyword-1 {
  bottom: -110px;
  left: 5%;
  opacity: 0.7;
}

.keyword-2 {
  bottom: -150px;
  left: 25%;
  opacity: 0.6;
  transform: rotate(-8deg);
}

.keyword-3 {
  bottom: -125px;
  right: 25%;
  opacity: 0.8;
}

.keyword-4 {
  bottom: -160px;
  right: 10%;
  opacity: 0.5;
  transform: rotate(12deg);
}

.keyword-5 {
  bottom: -115px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.65;
}

.keyword-6 {
  bottom: -195px;
  left: 15%;
  opacity: 0.6;
  transform: rotate(5deg);
}

.keyword-7 {
  bottom: -220px;
  right: 30%;
  opacity: 0.75;
}

.keyword-8 {
  bottom: -185px;
  left: 40%;
  opacity: 0.55;
  transform: rotate(-10deg);
}

.keyword-9 {
  bottom: -210px;
  right: 15%;
  opacity: 0.7;
}

.keyword-10 {
  bottom: -245px;
  left: 8%;
  opacity: 0.65;
}

.keyword-11 {
  bottom: -270px;
  left: 30%;
  opacity: 0.6;
}

.keyword-12 {
  bottom: -255px;
  left: 45%;
  opacity: 0.8;
  transform: rotate(-6deg);
}

.keyword-13 {
  bottom: -310px;
  left: 55%;
  opacity: 0.5;
  transform: rotate(15deg);
}

.keyword-14 {
  bottom: -260px;
  right: 5%;
  opacity: 0.7;
}

.keyword-15 {
  bottom: -295px;
  left: 20%;
  opacity: 0.65;
}

.cta-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  margin-left: calc(1.5rem + 6px);
  position: relative;
}

.cta-section .cta-button {
  position: relative;
  top: -30px;
}

.event-preview {
  height: 200px;
  width: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 700px;
  top: -65px;
  opacity: 0.85;
  transform: rotateX(20deg);
  filter: saturate(0%) contrast(1.1);
}

.center-image {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.wall-preview {
  width: 190px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0.85;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s;
}

.cta-button.primary {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.cta-button.primary:hover {
  background: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(124, 58, 237, 0.4);
}

.cta-button.secondary {
  background: var(--violet);
  color: var(--white);
  border: 2px solid var(--violet);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.cta-button.secondary:hover {
  background: var(--violet-dark);
  border-color: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(124, 58, 237, 0.4);
}

/* Bouton désactivé */
.cta-button:disabled {
  background: var(--slate-700);
  border-color: var(--slate-600);
  color: var(--slate-300);
  cursor: not-allowed;
  opacity: 0.85;
  box-shadow: none;
  transform: none;
}

.cta-button:disabled:hover {
  background: var(--slate-700);
  border-color: var(--slate-700);
  transform: none;
  box-shadow: none;
}

/* Wrapper et note d'invitation */
.invitation-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.invitation-note {
  font-size: 0.875rem;
  color: var(--slate-400);
  font-style: italic;
  margin: 0;
  margin-top: -1rem;
}

/* Footer */
footer {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--slate-700);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--violet);
}

.footer-description {
  color: var(--slate-400);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-700);
}

.footer-bottom p {
  color: var(--slate-400);
  font-size: 0.875rem;
  margin: 0;
}

/* About Page */
.about-content p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: var(--slate-300);
  line-height: 1.8;
}

.signature {
  margin-top: 3rem;
  font-size: 1.125rem;
  color: var(--white);
  font-weight: 600;
  text-align: left;
  font-style: italic;
}

.author-photo {
  margin: calc(5rem + 10px) 0 3rem 0;
  text-align: left;
}

.author-photo img {
  width: 170px;
  height: 170px;
  border-radius: 0.5rem;
  object-fit: cover;
  object-position: 88% 5%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--violet);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.25rem;
  }

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

  .hero {
    padding: 4rem 1.5rem;
  }
}
