/* ==========================================================================
   SHYNE'S FARM VENTURES - About Page Specific Styles
   ========================================================================== */

/* ==========================================================================
   1. About Hero Section
   ========================================================================== */
.about-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background-color: var(--color-primary-dark);
}

.about-hero-section .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-hero-section .hero-background picture,
.about-hero-section .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(15, 61, 34, 0.95) 0%, 
    rgba(15, 61, 34, 0.85) 40%, 
    rgba(15, 61, 34, 0.5) 100%
  );
  z-index: 1;
}

.about-hero-section .hero-content {
  position: relative;
  z-index: 2;
  padding: var(--spacing-3xl) 0;
  max-width: 800px; /* Slightly wider for storytelling text */
}

.about-hero-section .hero-headline {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.03em;
}

.hero-text-block p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.hero-text-block p:last-child {
  margin-bottom: var(--spacing-xl);
}

/* ==========================================================================
   2. Our Story Section (Two-Column Layout)
   ========================================================================== */
.about-story-section {
  padding: var(--spacing-4xl) 0;
  background-color: var(--color-white);
}

.story-layout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  align-items: center;
}

.story-image {
  width: 100%;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: var(--transition-slow);
}

.story-image:hover img {
  transform: scale(1.03);
}

.story-content {
  width: 100%;
}

.story-content .section-title {
  text-align: left;
}

.story-content .section-title::after {
  left: 0;
  transform: none;
}

.story-text p {
  font-size: var(--font-size-lg);
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

@media (min-width: 1024px) {
  .story-layout {
    flex-direction: row;
  }
  
  .story-image,
  .story-content {
    flex: 1;
  }
}

/* ==========================================================================
   3. Content Blocks (Who We Are, What We Provide, Commitment, etc.)
   ========================================================================== */
.about-who-we-are-section,
.about-what-we-provide-section,
.about-commitment-section,
.about-why-choose-section,
.about-vision-section {
  padding: var(--spacing-3xl) 0;
}

/* Alternating backgrounds for visual rhythm */
.about-who-we-are-section { background-color: var(--color-gray-50); }
.about-what-we-provide-section { background-color: var(--color-white); }
.about-commitment-section { background-color: var(--color-gray-50); }
.about-why-choose-section { background-color: var(--color-white); }
.about-vision-section { background-color: var(--color-gray-50); }

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

.content-block p {
  font-size: var(--font-size-lg);
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

/* Feature List for "What We Provide" */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-lg) auto;
  max-width: 600px;
  text-align: left;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-lg);
  color: var(--color-gray-800);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
  font-weight: 800;
  font-size: var(--font-size-xl);
  line-height: 1.5;
}

/* ==========================================================================
   4. Founder Section - Premium Profile Layout
   ========================================================================== */
.about-founder-section {
  padding: var(--spacing-4xl) 0;
  background-color: var(--color-white);
}

.founder-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  align-items: center;
  background-color: var(--color-gray-50);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
}

.founder-image {
  width: 100%;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  /* Premium Framed Design */
  border: 4px solid var(--color-white);
  outline: 1px solid var(--color-gray-200);
  /* Mobile: Portrait */
  aspect-ratio: 3/4; 
  max-width: 360px;
  margin: 0 auto;
  transition: var(--transition-base);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-slow);
}

.founder-image:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-4px);
}

.founder-image:hover img {
  transform: scale(1.03);
}

.founder-text {
  width: 100%;
  background-color: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}

.founder-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-lg);
  color: var(--color-gray-900);
  line-height: 1.2;
  font-weight: 800;
  position: relative;
  padding-bottom: var(--spacing-md);
  text-align: center;
}

.founder-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

.founder-paragraphs {
  margin-bottom: var(--spacing-xl);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.founder-paragraphs p {
  font-size: var(--font-size-lg);
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.founder-signature {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-md);
  border-top: 2px solid var(--color-gray-100);
  display: inline-block;
  text-align: center;
  width: 100%;
}

.signature-name {
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  font-size: var(--font-size-xl);
  letter-spacing: -0.02em;
}

.signature-title {
  color: var(--color-secondary);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
  font-weight: 700;
}

/* ==========================================================================
   Desktop: Landscape Image, Text Underneath
   ========================================================================== */
@media (min-width: 1024px) {
  .founder-content-wrapper {
    flex-direction: column;
    gap: var(--spacing-3xl);
    padding: var(--spacing-4xl);
    align-items: center;
  }

  .founder-image {
    max-width: 100%;
    /* Cinematic Landscape for Desktop */
    aspect-ratio: 21/9; 
    height: auto;
    border-width: 6px;
  }

  .founder-text {
    max-width: 900px;
    padding: var(--spacing-2xl) var(--spacing-3xl);
  }

  .founder-title {
    font-size: var(--font-size-4xl);
  }
}

/* ==========================================================================
   Mobile Adjustments (Keeps Portrait)
   ========================================================================== */
@media (max-width: 767px) {
  .about-founder-section {
    padding: var(--spacing-2xl) 0;
  }

  .founder-content-wrapper {
    padding: var(--spacing-lg);
    gap: var(--spacing-xl);
  }

  .founder-image {
    /* Keep Portrait for Mobile */
    aspect-ratio: 3/4;
    max-width: 300px;
    border-width: 3px;
  }

  .founder-text {
    padding: var(--spacing-lg);
  }

  .founder-title {
    font-size: var(--font-size-2xl);
  }

  .founder-paragraphs p {
    font-size: var(--font-size-base);
  }
}
/* ==========================================================================
   5. Our Values Section
   ========================================================================== */
.about-values-section {
  padding: var(--spacing-4xl) 0;
  background-color: var(--color-white);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.value-card {
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-200);
  text-align: center;
  transition: var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-secondary-light);
}

.value-icon {
  margin-bottom: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  background-color: var(--color-gray-50);
  border-radius: 50%;
}

.value-icon svg {
  width: 36px;
  height: 36px;
}

.value-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-gray-900);
  font-weight: 700;
}

.value-description {
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   6. About Page Responsive Tweaks
   ========================================================================== */
@media (max-width: 767px) {
  .about-story-section,
  .about-who-we-are-section,
  .about-what-we-provide-section,
  .about-commitment-section,
  .about-why-choose-section,
  .about-vision-section,
  .about-values-section {
    padding: var(--spacing-2xl) 0;
  }
  
  .content-block p,
  .story-text p {
    font-size: var(--font-size-base);
  }
}

/* ==========================================================================
   Footer Spacing Adjustment
   ========================================================================== */
.site-footer {
    margin-top: var(--spacing-2xl); /* Adds 6rem (96px) of elegant space above the footer */
}
