* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: #0f0f0f;
  color: #f5f5f5;
  font-family: "Segoe UI", sans-serif;
}

.overlay {
  opacity: 0.05;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.navbar {
  position: fixed;
  width: 100%;
  text-align: center;
  background-color: #1a1a1a;
  padding: 0.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.navbar-button {
  box-shadow: 0;
  background-color: #1a1a1a;
  border-radius: 8px;
  border: 0;
  color: #f5f5f5;
  cursor: pointer;
}

.navbar-button:hover {
  transform: scale(1.05);
}

.navbar-text {
  margin-inline: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-sections {
  font-size: 100%;
  margin-inline: 0.5rem;
}

.container {
  margin: 0 auto;
  padding: 80px 0;

  left: 0;
  width: 100%;
}

.hero-section {
  flex-direction: row;
  justify-content: space-around;
  padding: 1rem 10% 2rem;
  min-height: 80vh;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .hero-content {
    align-items: center;
  }
}

.highlight {
  color: #fff;
  font-weight: bold;
  position: relative;
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.hero-buttons {
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: #f5f5f5;
  color: #0f0f0f;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90vw;
}

@media (max-width: 768px) {
  .blob-container {
    width: 250px;
    height: 250px;
  }
}

.blob {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1a1a1a, #333, #1a1a1a);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blob-morph 8s infinite ease-in-out;
  z-index: 1;
  filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.blob-outline {
  position: absolute;
  width: 110%;
  height: 110%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  animation: blob-morph 12s infinite ease-in-out reverse;
  z-index: 0;
}

.hero-img {
  position: relative;
  width: 180px;
  max-width: 60%;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
  animation: float 6s infinite ease-in-out;
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg);
  }
  33% {
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  }
  66% {
    border-radius: 67% 33% 47% 53% / 37% 48% 52% 63%;
  }
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.description {
  max-width: 80vw;
  font-size: clamp(15px, 2.5vw, 18px);
  color: #cccccc;
}

.hero-content .title,
.hero-content .description {
  text-align: left;
}

@media (max-width: 768px) {
  .hero-content .title,
  .hero-content .description {
    text-align: center;
  }
}

.project-description {
  font-size: 1rem;
  max-width: 500px;
}

.section {
  left: 0;
  width: 100%;
  min-height: 400px;
  background-color: #333;

  text-align: justify-content;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-inline: 1rem;
}

.section.alt {
  background-color: #0f0f0f;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  padding: 2rem;
}

.about-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.about-item .description {
  margin: 0;
  max-width: 100%;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.project:hover .video {
  opacity: 30%;
}

.project .description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  margin: 0;
  max-width: 100%;
  padding: 2rem 1rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  font-size: 0.9rem;
  pointer-events: none;
}

.project:hover .description {
  opacity: 1;
}

.project-title {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: bold;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.contact-section-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .contact-section-container {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .contact-brand {
    text-align: center;
  }
  
  .brand-name {
    font-size: 1.8rem;
  }
}

.contact-columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  z-index: 1;
}

.contact-column-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.contact-column-item:hover {
  transform: translateX(10px);
}

.contact-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.contact-value {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: #ffffff;
}

.contact-value img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.contact-value:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.contact-brand {
  flex: 1;
  text-align: right;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #555, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
  white-space: nowrap;
  user-select: none;
}

.bg-animation {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: float 10s infinite ease-in-out;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 30px);
  }
}

footer {
  width: 100%;
  padding: 4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.description.licence {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

img {
  max-width: 20vw;
}

.foto {
  padding: 5px;
  border-radius: 50px;
  max-width: 50px;
}
