/* About Page Styles */
:root {
  --coffee-brown: #8b4513;
  --light-coffee: #d2b48c;
  --clean-white: #ffffff;
  --accent-blue: #4a90e2;
  --coffee-dark: #3c2414;
  --coffee-medium: #6f4e37;
  --purple-accent: #6b46c1;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
}

/* Hero Section */
.about-hero {
  position: relative;
  height: 50vh;
  min-height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../../../assets/images/bg2.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--clean-white);
}

.hero-content {
  max-width: 600px;
  padding: 0 20px;
}

.hero-title {
  font-family: 'Bellefair', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Heritage Section */
.heritage-section {
  padding: 0;
  background: var(--clean-white);
  margin-bottom: 0;
}

.heritage-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.heritage-image {
  overflow: hidden;
  margin-bottom: 0;
}

.heritage-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.heritage-image img.lazy {
  filter: blur(5px);
}

.heritage-image img.loaded {
  filter: blur(0);
}

.heritage-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--clean-white);
}

.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.heritage-text {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
}

.learn-more-btn {
  background: var(--coffee-dark);
  color: var(--clean-white);
  border: none;
  padding: 1rem 2rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 1rem;
  border-radius: 4px;
}

.learn-more-btn:hover {
  background: var(--coffee-medium);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 36, 20, 0.4);
}

/* Career Section */
.career-section {
  padding: 0;
  background: var(--clean-white);
  margin-top: 0;
}

.career-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.career-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--clean-white);
  order: 1;
}

.career-image {
  overflow: hidden;
  order: 2;
  margin-top: 0;
}

.career-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.career-image img.lazy {
  filter: blur(5px);
}

.career-image img.loaded {
  filter: blur(0);
}

.career-text {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Responsive Design */

/* Tablets and small desktops (992px and below) */
@media (max-width: 992px) {
  .heritage-container,
  .career-container {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .heritage-content,
  .career-content {
    padding: 3rem 2rem;
    order: 2;
  }

  .heritage-image,
  .career-image {
    order: 1;
  }

  .heritage-image img,
  .career-image img {
    height: 400px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .heritage-content,
  .career-content {
    padding: 2.5rem 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .heritage-text,
  .career-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .heritage-image img,
  .career-image img {
    height: 300px;
  }

  .learn-more-btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.85rem;
    width: 100%;
    margin-top: 1.5rem;
  }
}

/* Mobile phones (576px and below) */
@media (max-width: 576px) {
  .about-hero {
    height: 40vh;
    min-height: 250px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .heritage-content,
  .career-content {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }

  .heritage-text,
  .career-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .heritage-image img,
  .career-image img {
    height: 250px;
  }

  .learn-more-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    margin-top: 1rem;
  }
}

/* Extra small phones (480px and below) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .heritage-content,
  .career-content {
    padding: 1.5rem 0.8rem;
  }

  .heritage-text,
  .career-text {
    font-size: 0.9rem;
  }

  .heritage-image img,
  .career-image img {
    height: 200px;
  }
}
