@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,600;1,400;1,600&family=IM+Fell+English:ital@0;1&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Spectral:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cinzel:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

nav {
	grid-row: 1;
	grid-column: 1/3;
  background-color: #2C5F2E;
  padding: 0 20px;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-title {
  font-family: 'Cinzel', serif;
  color: #F5ECD7;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  padding-left: 0;
}

.nav-links li {
font-size: 0.98rem;
color:#F5ECD7;
margin-bottom: 0}


header {
	grid-row: 2;
	grid-column: 1/3;
  width: 100%;
  height: 420px;
  background-image: url('assets/images/bayou_header.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  background-color: rgba(245, 236, 215, 0.82);
  padding: 30px 50px;
  border-radius: 4px;
}

.tagline {
  font-style: italic;
  font-size: 1.1rem;
  color: #8B5E3C;
  margin-bottom: 0;
}




body {
	display: grid;
	grid-template-columns: 300px 1fr;
	grid-template-rows: auto auto 1fr;
	background-color: #F5ECD7;
	color:#8B5E3C;
	font-family: 'Lora', serif;
	font-size: 18px;
	line-height: 1.8;
	gap: 0;
	column-gap: 0;
}

main {
	grid-row: 3;
	grid-column: 2;
	margin-left: 0 auto;
	padding: 40px 20px;
	max-width: 70ch;  
}



h1 {
  font-family: 'Playfair Display', serif;
  color: #2C5F2E;
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #2C5F2E;
  font-size: 2rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dotted #8B5E3C;
}

p {
  font-size: 1.3rem; 
  color:#8B5E3C;
  font-family:lora; 
  margin-bottom: 16px;
}

section {
  margin-bottom: 50px;
}


a {
  color: #2C5F2E;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #2C5F2E;
  
}

a:hover {
  color: #8B5E3C; 
  text-decoration-color: #8B5E3C;
  text-decoration-style: solid;

}


nav a {
  color: #F5ECD7;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

nav a:hover {
  border-bottom: 2px solid #8B5E3C;
}

li {  
  font-size: 1.3rem; 
  color:#8B5E3C; 
  font-family:Lora; 
  margin-bottom: 10px;
}

ul {
  padding-left: 24px;
}

footer {
	grid-row: 4;
	grid-column: 1/3;
  background-color: #2C5F2E;
  color: #F5ECD7;
  text-align: center;
  padding: 30px 20px;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  margin-top: 60px;
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: #F5ECD7;
  text-decoration-color: #F5ECD7;
}

footer a:hover {
  color: #8B5E3C;
  text-decoration-color: #8B5E3C;
}


@media (max-width: 768px) {
/* Stack the grid into a single column */
  body {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* Move nav, header, sidenav, main, footer to single column */
  nav, header {
    grid-column: 1;
  }

  /* Push sidenav below the header, full width */
  aside {
    grid-row: 3;
    grid-column: 1;
  }

  main {
    grid-row: 4;
    grid-column: 1;
    margin-left: 0;
  }

  footer {
    grid-row: 5;
    grid-column: 1;
  }

  /* Make sidenav full width on mobile */
  .sidenav {
    width: 100%;
    margin: 0;
  }


  /* Nav bar stacks vertically */
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  /* Hero image shorter on mobile */
  header {
    height: 280px;
  }

  /* Hero text box fits the screen */
  .hero-text {
    padding: 20px 24px;
    margin: 0 16px;
  }

  /* Smaller heading on mobile */
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Less padding on main content */
  main {
    padding: 40px 16px;
  }

  /* Smaller body text */
  p, li {
    font-size: 1.1rem;
  }

}



.sidenav {
	width: 18rem;
	text-decoration-color: #F5ECD7;
	z-index: 1; 
	overflow-x: hidden;
	padding-top: 1.25rem;
	padding-left: 0.75rem;
	margin-top: 1rem;
	margin-left: 1rem;
	background:#2C5F2E	
}


.sidenav a {
	color: #F5ECD7;
	text-decoration: underline;
	text-decoration-style: dotted; 
	text-decoration-color: #F5ECD7;
}


.sidenav a:hover {
  color: #8B5E3C; 
  text-decoration-color: #8B5E3C;
  text-decoration-style: solid;
}

.sidenav p {
  font-size: 1rem; 
  color:#F5ECD7;
  margin-bottom: 16px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


aside {
	grid-row: 3;
	grid-column: 1;
}

