:root {
  --color1: #2f2b2e;
  --color2: #675256;
  --color3: #123552;
  --color4: #888c9b;
  --color5: #edefdf;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--color1);
  overflow-x: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  object-fit: cover;
  z-index: -1;
  transform: translateZ(0);
  will-change: transform;
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.slide-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.morphing-shape {
  position: absolute;
  background: var(--color5);
  border-radius: 50%;
  opacity: 0.1;
  animation: morph 15s ease-in-out infinite;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 50% 50% 50% 50%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 60% 40% 30% 70%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 30% 70% 60% 40%;
    transform: rotate(180deg) scale(0.9);
  }
  75% {
    border-radius: 70% 30% 40% 60%;
    transform: rotate(270deg) scale(1.05);
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--color1), var(--color3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-effect {
  background: rgba(239, 237, 223, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 237, 223, 0.2);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(47, 43, 46, 0.1);
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  background: var(--color3);
  color: var(--color5);
  border-radius: 8px;
  transform: translateX(600px);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .parallax-bg {
    position: fixed;
    width: 100%;
    height: 100%;
  }

  .floating-element {
    animation: none;
  }
}

.custom-cursor {
  width: 20px;
  height: 20px;
  background: var(--color3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.section-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--color5);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(47, 43, 46, 0.98);
  backdrop-filter: blur(10px);
  padding: 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-icon {
  color: var(--color3);
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h3 {
  color: var(--color5);
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.cookie-text p {
  color: var(--color4);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cookie-link {
  color: var(--color3);
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: #1e4a6f;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--color3);
  color: var(--color5);
}

.cookie-btn-accept:hover {
  background: #1e4a6f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 53, 82, 0.3);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--color4);
  border: 2px solid var(--color4);
}

.cookie-btn-decline:hover {
  background: rgba(136, 140, 155, 0.1);
  color: var(--color5);
  border-color: var(--color5);
}

@media (max-width: 768px) {
  .cookie-consent {
    padding: 20px 16px;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-icon {
    align-self: center;
  }

  .cookie-text {
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
