/* ================================================================
   PAGES.CSS — Shared styles for Work & About standalone pages
   Extends styles.css (must be loaded after it)
   ================================================================ */

/* ========== PAGE HERO (shared) ========== */
.page-hero {
  padding: 160px 48px 72px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4A574;
  display: block;
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  color: #EBE4DA;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.page-hero__subtitle {
  font-size: 16px;
  color: rgba(235, 228, 218, 0.45);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== PAGE SECTION WRAPPER ========== */
.page-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 48px 100px;
}

/* ========== WORK PAGE — Feature Cards ========== */
.work-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(235, 228, 218, 0.03);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(235, 228, 218, 0.06);
  margin-bottom: 32px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.work-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 116, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.work-feature:nth-child(even) {
  direction: rtl;
}

.work-feature:nth-child(even) > * {
  direction: ltr;
}

.work-feature__image {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-feature__image-circle-1 {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -40px;
  right: -30px;
}

.work-feature__image-circle-2 {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  bottom: 30px;
  left: 40px;
}

.work-feature__badge {
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  position: relative;
  z-index: 1;
}

.work-feature__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-feature__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: #EBE4DA;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.work-feature__summary {
  font-size: 14px;
  color: rgba(235, 228, 218, 0.5);
  line-height: 1.75;
  margin-bottom: 18px;
}

.work-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.work-feature__pill {
  font-size: 11px;
  font-weight: 500;
  color: rgba(235, 228, 218, 0.4);
  background: rgba(235, 228, 218, 0.05);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(235, 228, 218, 0.05);
}

.work-feature__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.work-feature__tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 16px;
  letter-spacing: 0.3px;
}

.work-feature__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 2px solid;
  display: inline-block;
  align-self: flex-start;
  transition: opacity 0.3s ease;
}

.work-feature:hover .work-feature__link {
  opacity: 0.75;
}


/* ========== ABOUT PAGE ========== */
.about-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px 100px;
}

/* Intro row (photo + text) */
.about-page__intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.about-page__photo-wrap {
  position: sticky;
  top: 100px;
}

.about-page__photo {
  width: 290px;
  height: 300px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(168, 196, 217, 0.06));
  border: 1px solid rgba(235, 228, 218, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(235, 228, 218, 0.25);
}

.about-page__photo-icon {
  font-size: 48px;
  opacity: 0.6;
}

.about-page__photo-label {
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 2px;
  margin-top: 8px;
  color: rgba(235, 228, 218, 0.4);
}

.about-page__headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 400;
  color: #EBE4DA;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.about-page__text {
  font-size: 15px;
  color: rgba(235, 228, 218, 0.55);
  line-height: 1.85;
  margin-bottom: 16px;
}

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

/* Divider */
.about-page__divider {
  width: 60px;
  height: 1px;
  background: rgba(212, 165, 116, 0.3);
  margin: 56px auto;
}

/* Section blocks */
.about-page__section {
  margin-bottom: 0;
}

.about-page__section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #D4A574;
  display: block;
  margin-bottom: 24px;
}

.about-page__section-content {
  max-width: 680px;
}

/* What I Do — Pillars */
.about-page__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-page__pillar {
  background: rgba(235, 228, 218, 0.03);
  border: 1px solid rgba(235, 228, 218, 0.05);
  border-radius: 18px;
  padding: 28px 24px;
}

.about-page__pillar-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-page__pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: #EBE4DA;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.about-page__pillar-text {
  font-size: 14px;
  color: rgba(235, 228, 218, 0.45);
  line-height: 1.75;
}

/* Skills grid */
.about-page__skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-page__skill-group {
  background: rgba(235, 228, 218, 0.03);
  border: 1px solid rgba(235, 228, 218, 0.05);
  border-radius: 18px;
  padding: 28px;
}

.about-page__skill-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: #D4A574;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.about-page__skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-page__skill-pill {
  font-size: 13px;
  font-weight: 400;
  color: rgba(235, 228, 218, 0.55);
  background: rgba(235, 228, 218, 0.04);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(235, 228, 218, 0.07);
}

/* Education */
.about-page__education {
  display: grid;
  gap: 32px;
}

.about-page__edu-item {
  padding-left: 24px;
  border-left: 2px solid rgba(212, 165, 116, 0.25);
}

.about-page__edu-degree {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: #EBE4DA;
  margin-bottom: 4px;
}

.about-page__edu-school {
  font-size: 14px;
  color: #D4A574;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.about-page__edu-detail {
  font-size: 14px;
  color: rgba(235, 228, 218, 0.45);
  line-height: 1.7;
}

/* CTA Block */
.about-page__cta-block {
  max-width: 600px;
  margin: 0 auto;
}

.about-page__cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: #EBE4DA;
  line-height: 1.3;
  margin-top: 8px;
}

.about-page__cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.about-page__cta-btn {
  padding: 14px 36px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  cursor: pointer;
  display: inline-block;
}

.about-page__cta-btn--primary {
  background: #D4A574;
  color: #0B1628;
  border: 1.5px solid #D4A574;
}

.about-page__cta-btn--primary:hover {
  background: #C4915F;
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.25);
}

.about-page__cta-btn--secondary {
  background: transparent;
  color: #D4A574;
  border: 1.5px solid rgba(212, 165, 116, 0.35);
}

.about-page__cta-btn--secondary:hover {
  background: rgba(212, 165, 116, 0.1);
  border-color: rgba(212, 165, 116, 0.6);
}


/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .page-hero {
    padding: 130px 20px 56px;
  }

  .page-section {
    padding: 20px 20px 60px;
  }

  /* Work page */
  .work-feature {
    grid-template-columns: 1fr;
  }

  .work-feature:nth-child(even) {
    direction: ltr;
  }

  .work-feature__image {
    min-height: 200px;
  }

  .work-feature__body {
    padding: 24px 20px 28px;
  }

  .work-feature__title {
    font-size: 22px;
  }

  /* About page */
  .about-page {
    padding: 0 20px 60px;
  }

  .about-page__intro {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-page__photo-wrap {
    position: static;
    display: flex;
    justify-content: center;
  }

  .about-page__photo {
    width: 220px;
    height: 230px;
  }

  .about-page__headline {
    text-align: center;
  }

  .about-page__pillars {
    grid-template-columns: 1fr;
  }

  .about-page__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-page__cta-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
