/* About Page Styles */

/* Hero Section */
.about-hero {
  position: relative;
  height: 60vh;
  background-image: url('/images/Sapa/Trekking in Sapa 9.jpg');
  background-image: image-set(url('/images/Sapa/Trekking%20in%20Sapa%209.webp') type('image/webp'), url('/images/Sapa/Trekking%20in%20Sapa%209.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
@media (max-width: 800px) {
  .about-hero { background-image: image-set(url('/images/Sapa/Trekking%20in%20Sapa%209-800.webp') type('image/webp'), url('/images/Sapa/Trekking%20in%20Sapa%209.jpg') type('image/jpeg')); }
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.about-hero-content {
  position: relative;
  color: var(--white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Content Section */
.about-content {
  padding: 4rem 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-main {
  background-color: var(--white);
}

.about-intro {
  margin-bottom: 3rem;
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 1.5rem;
}

.profile-details {
  text-align: center;
}

.profile-details h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.profile-info {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-info li {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
}

.profile-info li i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.about-story {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-story h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.about-story p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.about-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.about-section p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-image-container {
  margin: 2rem 0;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 0.95rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

.about-closing {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: center;
  margin-top: 2rem;
}

/* Sidebar */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background-color: var(--gray-50);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.favorite-places {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.favorite-places li a {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}

.favorite-places li a:hover h4 {
  color: var(--primary);
}

.favorite-places li img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.favorite-places li h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.favorite-places li p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-buttons {
  margin-top: 1.5rem;
}

.contact-buttons .btn {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--gray-200);
  color: var(--gray-700);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Media Queries */
@media (min-width: 768px) {
  .about-profile {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }
  
  .profile-details {
    text-align: left;
  }
  
  .profile-info {
    align-items: flex-start;
  }
  
  .profile-info li {
    justify-content: flex-start;
  }
  
  .about-story {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  
  .profile-image {
    width: 250px;
    height: 250px;
  }
  
  .favorite-places li img {
    width: 100px;
    height: 75px;
  }
}