/* Container */
.container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* About szekció */
.about-section {
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  margin-top: 150px;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Content Layout */
.about-content {
  display: flex;
  max-width: 1920px;
  width: 100%;
  gap: 80px;
  align-items: flex-start;
  margin: 0 auto;
  padding: 20px;
  padding-top: 150px;
  box-sizing: border-box;
}

/* Szöveges rész */
.text {
  flex: 1;
  font-family: Sora, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  padding: 20px;
  max-width: 800px;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: bold;
  font-family: 'Arial Black', 'Arial Bold', 'Arial', sans-serif;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 1px;
  color: #fd3e81;
  margin-bottom: 20px;
}

.text p {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  padding-top: 20px;
  text-align: justify;
  margin: 0;
}

/* Kép konténer */
.image {
  flex: 1;
  max-width: 885px;
  padding: 20px;
  box-sizing: border-box;
}

.image img {
  width: 100%;
  height: auto;
  max-height: 775px;
  object-fit: cover;
  display: block;
}

/* CV szekció */
.cv {
  padding: 40px 15px;
  margin-top: 100px;
}

.cv h1 {
  font-size: 50px;
  margin-bottom: 10px;
  font-weight: 300;
}

.cv-link {
  color: #fd3e81;
  text-decoration: none;
  font-weight: 700;
}

.cv-link:hover {
  text-decoration: underline;
}

/* Recent Exhibitions szekció */
.exhibitions {
  padding: 40px 15px;
}

.exhibitions h1 {
  font-size: 50px;
  margin-bottom: 40px;
  font-weight: 300;
}

.exhibition-list p {
  font-size: 16px;
  font-weight: 300;
  margin: 50px 0;
}

/* Separator line */
hr {
  border: 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #fd3e81;
  margin: 10px 0;
}

/* Active nav link */
.nav-menu a.active {
  color: #ffffff;
  font-weight: bold;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .about-content {
    gap: 40px;
  }
  
  .cv h1,
  .exhibitions h1 {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .text, 
  .image {
    max-width: 100%;
  }

  .image img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .about-section {
    margin-top: 70px;
  }

  .about-content {
    padding: 10px;
    gap: 20px;
  }

  .text {
    padding: 10px;
  }

  .text h2 {
    margin-top: 80px;
    font-size: 22px;
  }

  .image {
    padding: 10px;
  }

  .cv,
  .exhibitions {
    padding: 20px 15px;
  }

  .cv {
    margin-top: 40px;
  }

  .cv h1,
  .exhibitions h1 {
    font-size: 32px;
  }

  .exhibition-list p {
    font-size: 14px;
    margin: 30px 0;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}