/* css/about.css — About Us Page Styles for Xian Restaurant
   All header/footer/nav styles are inherited from css/shared.css
   This file only contains page-specific styles.
*/

/* ─── Prevent horizontal scroll on mobile ───────────────────────────────── */
body {
  overflow-x: hidden;
}

/* ─── Story Section ─────────────────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.08em;
}

.story-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-black);
}

.story-text-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--brand-black);
  line-height: 1.7;
}

.story-text {
  font-size: 0.95rem;
  color: var(--brand-charcoal);
  line-height: 1.75;
}

.story-images {
  position: relative;
  height: 480px;
}

.story-img-main {
  width: 75%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  top: 0;
  left: 0;
}

.story-img-overlap {
  width: 55%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  bottom: 0;
  right: 0;
  border: 4px solid var(--brand-white);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-images {
    height: 300px;
  }
  .story-img-main {
    width: 78%;
    height: 240px;
  }
  .story-img-overlap {
    width: 55%;
    height: 160px;
  }
}

/* ─── Pillars Section ────────────────────────────────────────────────────── */
.pillars-section {
  background-color: var(--brand-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red);
}

.pillar-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: rgba(210, 20, 20, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-black);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--brand-charcoal);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── Chef Spotlight Section ──────────────────────────────────────────────── */
.chef-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.chef-avatar-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.chef-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chef-info-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chef-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chef-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-black);
}

.chef-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brand-charcoal);
  line-height: 1.75;
  border-left: 3px solid var(--brand-red);
  padding-left: 16px;
}

html[lang="ar"] .chef-quote {
  border-left: none;
  border-right: 3px solid var(--brand-red);
  padding-left: 0;
  padding-right: 16px;
}

.chef-bio,
.chef-story-text {
  font-size: 0.95rem;
  color: var(--brand-charcoal);
  line-height: 1.75;
}

.chef-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chef-tag {
  background-color: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand-charcoal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .chef-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .chef-avatar-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  .chef-name {
    font-size: 1.6rem;
  }
}

/* ─── CTA Banner Section ─────────────────────────────────────────────────── */
.banner-section {
  background-color: var(--brand-black);
  padding: 80px 0;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.banner-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.08em;
}

.banner-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-white);
  line-height: 1.3;
}

.banner-desc {
  font-size: 0.95rem;
  color: #AAAAAE;
  line-height: 1.7;
}

.banner-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .banner-section {
    padding: 60px 0;
  }
  .banner-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .banner-image {
    display: none;
  }
  .banner-title {
    font-size: 1.75rem;
  }
}

/* ─── Scroll-to-Top Button ───────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--brand-red);
  color: var(--brand-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 900;
}

html[lang="ar"] .scroll-top-btn {
  right: auto;
  left: 24px;
}

.scroll-top-btn.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-3px);
}
