/* -------------------------------------------------- */
/* 1. lower container				                */
/* -------------------------------------------------- */
.container {
  background-color: #E0BE9ACC; 
  max-width: 1200px;
  margin: 5vw auto;
  padding: 20px;
}
/* -------------------------------------------------- */
/* 2. Hero Section                                    */
/* -------------------------------------------------- */
.hero {
  /* Uses your cacao powder image as background */
  background: url("img/cacao_powder_wide.jpg") center center / cover no-repeat;
  position: relative;
  min-height: 50vh; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero::before {
  /* Dark overlay to slightly darken the background image (optional) */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Adjust darkness */
}

.hero-content {
  /* This “card” sits above the hero::before overlay */
  position: relative;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  padding: 2rem;
  text-align: center;
  border-radius: 6px; /* Slight rounding of corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* A soft shadow to pop it out */
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #333;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

/* -------------------------------------------------- */
/* 3. Info Box / Event Details Section                */
/* -------------------------------------------------- */
.info-box {
  background-color: #fff;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  /* Soft shadow */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
  color: #5a3e2b; /* Darker brown for headings */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.info-box p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* -------------------------------------------------- */
/* 3b. Clear Box     */
/* -------------------------------------------------- */
.clear-box {
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
}

.clear-box h3 {
  color: #5a3e2b; /* Darker brown for headings */
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.clear-box p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/*  width:40vw;height:auto;object-fit:contain; */
.image-resize {
  width: 30vw;
  height: auto;
  display: block;
}

/*  bio pics */
.bio-pics {
    max-width: 100%;
    height: auto;
	margin-top: 40px;
    object-fit: contain;
}

/* --- Info row (address and phone) --- */
.info-row {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 40px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.info-item {
  font-size: 1.5rem; /* adjust as needed */
  flex-shrink: 0;
  margin-top: 2px; /* helps visually center the emoji */
}
/* --- Horizontal line separator --- */
.divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 30px 0;
}

/* --- Map container --- */
.map-container {
  position: relative;
  padding-bottom: 60%; /* Gives map a responsive height (3:2 ratio) */
  height: 0;
  overflow: hidden;
}
.map-container img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  border: 0;
  cursor: pointer;
}

.map-div {
	padding: 20px;
	max-width: 800px;
	margin: 20px auto;
	background: #fdf4e3; /* Cream color */
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	display: flex;
	flex-direction: row;
	gap: 20px;
}

/* -------------------------------------------------- */
/* 4. Schedule Section                                */
/* -------------------------------------------------- */
.schedule {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.schedule h3 {
  color: #5a3e2b;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* CSS Grid for the schedule */
.schedule-grid {
  display: grid;
  /* ADDED: Increase Time column width & reduce font size */
  grid-template-columns: 20% 60% 20%; /* was 15% 50% 35%; */
  font-size: 0.9rem; /* slightly smaller text for better fit */
  border: 1px solid #ddd; /* outer border */
}

.schedule-grid a{
  color: #2F539B; /* Estoril Blue */
  text-decoration: none;
}
.schedule-grid blockquote{
  color: var(--light-brown);
}

.schedule-grid > div {
  padding: 10px;
  border-bottom: 1px solid #ddd; /* row separators */
  border-right: 1px solid #ddd;  /* column separators */
}

/* Remove right border from last column */
.schedule-grid > div:nth-child(3n) {
  border-right: none;
}

/* Remove bottom border from the last row */
.schedule-grid > div:last-of-type {
  border-bottom: none;
}

/* Header Cells */
.grid-header {
  background-color: #f2e7da; /* Light tan */
  font-weight: bold;
  color: #5a3e2b;
}

/* -------------------------------------------------- */
/* 5. Event Container (Chocolate Image & Details)     */
/* -------------------------------------------------- */
.event-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 2rem auto; /* centers the container */
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Left side: image section */
.image-section {
  flex: 1;
  min-width: 300px;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* Right side: event details */
.info-section {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center; /* Center-aligns text and inline elements */
}

.date-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 1.5rem;
  color: #4b2b17; /* A chocolatey color */
  margin-bottom: 1rem;
  font-weight: bold;
}

.description {
  font-size: 1rem;
  color: #333;
  margin-bottom: 2rem;
}

.details-button {
	display: inline-block;
	padding: 10px 20px;
	margin-top: 15px;
	font-size: 1em;
	color: #ffffff;
	background: #AE633F; /* Brown color */
	border: none;
	border-radius: 8px; /* Rounded edges */
	text-align: center;
	text-decoration: none;
}

.details-button:hover {
  background-color: #6d3c20;
}

/* -------------------------------------------------- */
/* 6. Media Queries (Grouped Together)                */
/* -------------------------------------------------- */

/* Hero Section: reduce sizes on smaller screens */
@media (max-width: 768px) {
	.hero-content {
		padding: 1.5rem;
	}
	.hero-content h2 {
		font-size: 1.8rem;
	}
	.hero-content p {
		font-size: 1rem;
	}
	.schedule-grid blockquote{
		margin: 0;
		padding: 0;
		border-left: none;
		font-style: normal;
		quotes: none;
	}
}

/* Event Container: stack columns on narrower screens */
@media (max-width: 600px) {
  .event-container {
	flex-direction: column;
  }
  .image-section,
  .info-section {
	min-width: 100%;
  }
	.image-resize {
	  width: 90vw;
	  height: auto;
	  display: block;
	}

  /* ADDED: Margin to prevent text from overlapping image on small screens */
  .info-section {
	margin-top: 2.5rem;
	min-width: min-content;
  }
  	.bio-pics {
	}

}
