
/* ===========================
   RESET & BASE STYLES
=========================== */

/* Reset basic spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  font-size: 100%; /* respect user browser font size */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #211B18;
  background-color: #f9f9f9;
}

/* Links */
a {
  color: #0000CC;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
}
h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
h3 {
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1rem;
}

ul {  
  padding-bottom: 2rem;
}

/* Containers */
.container {
  width: 90%;
  max-width: 726px; /* wide enough for 2-column layouts */
  margin: 0 auto;  
}

/* ===========================
   HEADER & NAVIGATION
=========================== */

header {
  background: #211B18;
  color: #fff;
  padding: 1rem 0;
}
header h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
nav a {
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}
nav a:hover,
nav a.current {
  background: #444;
}

/* ===========================
   MAIN CONTENT SECTIONS
=========================== */

main {
  flex: 1;  
  display: flex;
  flex-direction: column;
  margin: 0; /* prevent top gap before first section */
}

main .section:last-of-type {
  flex: 1; /* stretch the last section */
}

.section {
  padding: 2rem 0;
}

/* Alternating backgrounds */
.section:nth-of-type(odd) {
  background: #f2f2f2;
}
.section:nth-of-type(even) {
  background: #d3cbc5;
}

/* ===========================
   TEXT-ONLY SECTIONS
=========================== */
.text-only .container {
  max-width: 65ch; /* readable width */
}

/* ===========================
   IMAGE + TEXT SECTIONS
=========================== */

.image-text .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.image-text img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.image-text .text-content {
  text-align: left;
  max-width: 65ch; /* keep text readable */
}

.image-text .text-content h2 {
  margin-top: 0; /* prevent margin collapse */
}

.image-text .text-content a {
  display: inline-block;
  margin-top: 1rem;
  background: #211B18;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.image-text .text-content a:hover {
  background: #0000CC;
}

/* Side-by-side on larger screens */
@media (min-width: 768px) {
  .image-text .container {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .image-text img {
    flex: 1;
    max-width: 300px;
    margin-bottom: 0;
  }

  .image-text .text-content {
    flex: 2;
  }

  blockquote { 
  padding-top: 5rem;
 }
 
}

/* ===========================
   BLOCKQUOTES
=========================== */
blockquote {  
  max-width: 50ch;  /* keep readable line length */
  margin-top: 0; /* prevent margin collapse */
  margin-bottom: 1.5rem;   
  color: #211B18;
}
blockquote p {
  margin-bottom: 0.5rem;
}

/* Bold Blockquote Text */
.bolden {  
  font-weight: bold;
  font-size: 1.4em;
}

/* Frame image */
.frame {
  border: thick solid #B6A99F;
  border-radius: 10px;
}

/* ===========================
   GALLERY GRID
=========================== */

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect */
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===========================
   Contact page list
=========================== */

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.contact-list a {
  color: #0000CC;
  font-weight: bold;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Add space between image top and text */
.cp {    
  margin-top: 3rem;
}

/* ===========================
   FOOTER
=========================== */

footer {
  background: #211B18;
  color: #ccc;
  padding: 1rem 0;
  font-size: 0.9rem;
  text-align: center;
}
