/* --- Fonts & Base Styles --- */
:root {
  --dark: #0b0b0b;
  --cream: #f7f3ea;
  --accent: #cbb677;
  --overlay: rgba(0,0,0,0.7);
  --text-light: #f1f1f1;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: #111;
  line-height: 1.6;
}

/* --- Hero Section --- */  
/* group wrapper that holds the shared background for hero + story */
.hero-and-story{
  position: relative;
  background: center/cover no-repeat url("/aboutusbg.jpeg");
  background-attachment: scroll;
}

.heroo {
  height: 60vh;
  position: relative;
  color: var(--text-light);
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 2px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent);
  color: #000;
}

/* --- Story Section --- */
.story {
  /* simple dark transparent tint that covers the whole section */
  background-color: var(--overlay);
  color: var(--text-light);
  padding: 80px 20px;
  position: relative; /* for overlay pseudo-element */
}

/* keep container transparent so the tint covers the whole section; spacing kept for readability */
.story .container{
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 2; /* keep text above the overlay */
}

/* add a matching light overlay on top of the .story to match .hero-overlay */
.story::before{
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75); /* same as .hero-overlay */
  z-index: 1;
  pointer-events: none;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  text-align: left;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 20px 0;
}

.story p {
  max-width: 700px;
}

/* --- Heritage Section --- */
.heritage {
  background: var(--cream);
  padding: 80px 20px;
  color: #111;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: start;
}

.heritage-left h4,
.team-right h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--accent);
}

.timeline li {
  padding: 10px 0 10px 20px;
  position: relative;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 15px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.team-right img {
  width: 90%;
  max-width: 165px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* --- Mission Section --- */
.mission {
  padding: 80px 20px;
  background: var(--cream);
}

.mission h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #000;
}

.mission p {
  margin-top: 10px;
  color: #444;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .grid-2 {
    gap: 30px;
  }
}


.hero-sub{
    margin: 20px 0;
}



.hero-bggg{
  display: none; /* background is now provided by .hero-and-story */
}


.hero-overlay{
  position: absolute;
  background-color: rgba(0, 0, 0, 0.29);
  inset: 0;
  }