/* About Me Page Specific Styles */

/* Hero Banner */
.about-hero {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}

.about-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #fff 0%, #a5dada 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Sections General */
.about-section {
  max-width: 1000px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.about-section-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Professional Story Layout */
.profile-story-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.profile-story-img-wrapper {
  flex: 0 0 250px;
  position: sticky;
  top: 100px;
}

.profile-story-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(14, 165, 164, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-story-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(14, 165, 164, 0.4);
}

.profile-story-text {
  flex: 1;
}

.profile-story-text h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 1rem;
  margin-top: 0;
}

.profile-story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

/* Hobbies & Strava Cards */
.hobbies-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 3rem;
  text-align: left;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.strava-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.strava-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.strava-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 164, 0.15);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
}

.strava-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.strava-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.strava-card:hover .strava-img {
  transform: scale(1.08);
}

.strava-type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.strava-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.strava-title {
  font-size: 1.4rem;
  color: #111827;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.strava-date {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.strava-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1.2rem;
}

.strava-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.strava-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: 0.2rem;
}

.strava-stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .about-hero {
    height: 300px;
  }
  
  .about-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .profile-story-container {
    flex-direction: column;
  }
  
  .profile-story-img-wrapper {
    flex: none;
    width: 60%;
    margin: 0 auto 2rem;
    position: relative;
    top: 0;
  }
  
  .strava-grid {
    grid-template-columns: 1fr;
  }
}
