/* About Me Page Specific Styles */

.about {
  min-height: 100vh;
  padding: var(--spacing-xxl) var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xxxl);
  flex-wrap: wrap;
}

.about__header {
  text-align: center;
  z-index: var(--z-base);
}

.about__title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

/* Floral Ring */
.about__ring {
  width: clamp(280px, 45vw, 400px);
  height: clamp(280px, 45vw, 400px);
  z-index: var(--z-base);
  cursor: pointer;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.about__ring:hover,
.about__ring:focus {
  transform: scale(1.05);
  outline: 3px solid var(--color-yellow-warm);
  outline-offset: 4px;
  border-radius: 50%;
}

.about__ring-icon {
  width: 100%;
  height: 100%;
  color: var(--color-white);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Ring details */
.about__ring-flower {
  transform-origin: center;
}

/* Breeze animation classes */
.about__ring.is-breezing .about__hibiscus-petal {
  animation: breeze-petal var(--transition-slow) ease-in-out;
}

.about__ring.is-breezing .about__hibiscus-petal:nth-child(1) {
  animation-delay: 0s;
}

.about__ring.is-breezing .about__hibiscus-petal:nth-child(2) {
  animation-delay: 0.1s;
}

.about__ring.is-breezing .about__hibiscus-petal:nth-child(3) {
  animation-delay: 0.2s;
}

.about__ring.is-breezing .about__hibiscus-petal:nth-child(4) {
  animation-delay: 0.15s;
}

.about__ring.is-breezing .about__hibiscus-petal:nth-child(5) {
  animation-delay: 0.05s;
}

@keyframes breeze-petal {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(-3px) translateY(2px) rotate(-2deg);
  }
  50% {
    transform: translateX(-5px) translateY(1px) rotate(-4deg);
  }
  75% {
    transform: translateX(-2px) translateY(3px) rotate(-1deg);
  }
}

@keyframes breeze-leaf {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(2px) translateY(-1px) rotate(1deg);
  }
  50% {
    transform: translateX(4px) translateY(-2px) rotate(2deg);
  }
  75% {
    transform: translateX(1px) translateY(-3px) rotate(0.5deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
  
  .about__ring {
    width: clamp(240px, 60vw, 320px);
    height: clamp(240px, 60vw, 320px);
  }
}

@media (max-width: 480px) {
  .about__layout {
    gap: var(--spacing-xl);
  }
}
