/* Main Section - Hero/About */
main {
  min-height: calc(100vh - 75px);
  padding-top: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container {
  max-width: 1200px;
  width: 100%;
  min-height: 500px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.about {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #20305a;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.about h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ea6c4b 0%, transparent 100%);
  border-radius: 2px;
}

.about p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.cv-button {
  width: fit-content;
  padding: 16px 32px;
  background: #20305a;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(32, 48, 90, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cv-button:hover {
  background: #2a4178;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(32, 48, 90, 0.3);
}

.cv-button:active {
  transform: translateY(-1px);
}

/* Images Section */
.images {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.images-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.first-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 10px rgba(234, 108, 75, 0.1),
    0 0 0 20px rgba(234, 108, 75, 0.05);
  transition: all 0.4s ease;
  border: 5px solid #fff;
}

.first-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.2),
    0 0 0 10px rgba(234, 108, 75, 0.15),
    0 0 0 20px rgba(234, 108, 75, 0.08);
}

/* Alternative shape options - uncomment to use */

/* Rounded Square */
/*
.first-image {
  border-radius: 30px;
  clip-path: none;
}
*/

/* Hexagon Shape */
/*
.first-image {
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  border-radius: 0;
}
*/

/* Blob Shape */

.first-image {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  clip-path: none;
}


/* Diamond Shape */
/*
.first-image {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}
*/

/* Decorative elements behind image */
.images-container::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ea6c4b 0%, #20305a 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1;
  animation: pulse 3s ease-in-out infinite;
}

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

/* Tablet Styles */
@media screen and (max-width: 1024px) {
  .about-container {
    padding: 50px 30px;
    gap: 50px;
  }

  .about h1 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 900px) {
  main {
    min-height: auto;
  }

  .about-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 30px;
    min-height: auto;
  }

  .about {
    max-width: 100%;
    align-items: center;
  }

  .about h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .images {
    max-width: 350px;
  }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .about-container {
    padding: 50px 20px;
    gap: 40px;
  }

  .about h1 {
    font-size: 2.2rem;
  }

  .about p {
    font-size: 1.05rem;
  }

  .images {
    max-width: 300px;
  }

  .images-container {
    max-width: 300px;
  }
}

@media screen and (max-width: 600px) {
  .about-container {
    padding: 40px 20px;
  }

  .cv-button {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .images {
    max-width: 280px;
  }
}

@media screen and (max-width: 480px) {
  main {
    padding-top: 75px;
  }

  .about-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .about h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
  }

  .cv-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .images {
    max-width: 250px;
  }

  .images-container {
    max-width: 250px;
  }
}

@media screen and (max-width: 360px) {
  .about-container {
    padding: 25px 12px;
  }

  .about h1 {
    font-size: 1.6rem;
  }

  .about p {
    font-size: 0.9rem;
  }

  .images {
    max-width: 220px;
  }

  .images-container {
    max-width: 220px;
  }
}