/* ====================================================================
   RESET based on Piccalilli Modern Reset  https://piccalil.li/blog/a-more-modern-css-reset/
   ==================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
  text-size-adjust: 100%; 			/* Prevents browsers on mobile from automatically increasing font size, but allows user zooming */
  font-size: 18px;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, h6, p,
figure, blockquote, dl, dd {
	margin: 0;
	padding: 0;
}

img, picture {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}


/* ============================================================
   BASE TYPOGRAPHY + LAYOUT
   ============================================================ */

body {
	background: #fafafa;
	color: #2f2f2f;
	display: flex;
	flex-direction: column;	
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	min-height: 100vh;
	margin: 0;
}

a {
  color: #2f2f2f;
  font-weight: 600;
  text-decoration: none;
	border-radius: 4px;
}

a:hover {
  background-color: #d5d5d5;
  color: #2f2f2f;
  text-decoration: none;
}

.page-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}


/* ============================================================
   HEADER
   ============================================================ */

#header-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 30px;
  padding-bottom: 10px;
}

#site-title a{
  font-size: 2rem;
  padding: 6px;
  text-decoration: none;
}

#site-tagline {
  font-size: 1rem;
}

/* Style for About, Contact, Privacy links */
#top-submenu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1.1rem;
  text-decoration: none;
}

#top-submenu a{
	font-weight: 500;
	text-decoration: none;
}


/* ============================================================
   SEARCH
   ============================================================ */

.search-row {
  align-items: center; /* Locks input and buttons onto the exact same baseline */
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  max-width: 500px;
}

#searchBox {
  border: 1px solid #ccc;
  border-radius: 6px;
  flex: 1 1 240px;
  font-size: .9rem;
  padding: 5px 7px;
}

#searchButton,
#clearButton {
  cursor: pointer;
  font-size: .8rem;
  padding: 5px 8px;
  background: #e3e3e3;
  border: 1px solid #bbb;
  border-radius: 3px;
}

#searchButton:hover,
#clearButton:hover {
  background: #d5d5d5;
  border-color: #999;
}

#searchMessage {
  display: block;
  flex-basis: 100%;
  font-size: 1.5rem;
  margin-top: 10px;
  margin-bottom: 1px;
  min-height: 1.6em;
  text-align: center;
  color: #555;
}

#searchButton,
#clearButton {
  background: #eaeaea;
  border: none;
  border-radius: 4px;
}

#searchBox,
#searchButton,
#clearButton {
  box-sizing: border-box;
  height: 34px; /* Forces identical height across the input and flat buttons */
}


/* ============================================================
   GALLERY NAV — MOBILE FIRST (STACKED)
   ============================================================ */

#gallery-nav {
  margin: 0 auto 50px auto;
  max-width: 800px;
  text-align: center;
  font-size: 1.2rem;
  FONT-WEIGHT:500;
  LETTER-SPACING: .1EM;
}

#gallery-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#gallery-nav .nav-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 0; /* Let the parent block handle the 50px gap */
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

#gallery-nav .nav-row > li {
  width: 100%;
  text-align: left;
}

#gallery-nav .nav-row .arrow {
  display: inline-block;
  font-size: 0.6em; /* Shrinks the symbol to be proportional */
  transform: translateY(1px); /* Micro-adjustment to drop it perfectly on the text baseline */
}

#gallery-nav .nav-row a,
#gallery-nav .nav-row .dropbtn {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  text-decoration: none;
}

#gallery-nav .nav-row a,
#gallery-nav .nav-row .dropbtn,
#top-submenu a {
  padding: 4px 8px; /* Adds a clean, subtle background box cushion on hover */
}

.dd-title {
  padding: 6px 14px;
  font-weight: 500;
  font-size: 1.3em;
  color: #555;
  margin-top: 4px;
  TEXT-ALIGN: CENTER;
}



/* ============================================================
   GALLERY GRID — MOBILE FIRST
   ============================================================ */

/*
#gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 10px auto 0;
  padding-bottom: 40px;
}

#gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #555;
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}



#gallery {
  display: flex;
  flex-direction: column;
  gap: 32px; /* Generous spacing between rows keeps photos distinct  
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  max-width: 100%;
  padding-bottom: 40px;
}

#gallery img {
  border: 1px solid #555;
  border-radius: 4px;
  display: block;
  height: auto; /* Crucial: lets the height scale naturally with the photo's shape  
  max-width: 100%;
  width: 100%; /* Stretches the image to fill the phone viewport width safely  
}

*/


#gallery {
  display: grid;
  gap: 12px; /* A tighter, clean gap for small screens */
  grid-template-columns: repeat(2, 1fr); /* Forces exactly two equal columns */
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  max-width: 100%;
  padding-bottom: 40px;
}

#gallery img {
  aspect-ratio: 1 / 1; /* Makes every grid cell a clean uniform square on mobile too */
  border: 1px solid #555;
  border-radius: 4px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}


/* Tells the browser to display the menu when the .show class is applied */
.dropdown-content.show {
  display: block !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  margin-top: 50px;
  padding: 20px 0 30px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
}

/* ============================================================
   HELPERS
   ============================================================ */

.center-text{
  text-align: center;
}


/* ============================================================
   CONTACT FORM
   ============================================================ */

form.contact-form {
  max-width: 520px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form.contact-form input,
form.contact-form textarea {
  font-size: 1.1rem;
  padding: 10px 14px;
  border: 1px solid #bbb;
  border-radius: 6px;
  width: 100%;
}

form.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

form.contact-form button {
  font-size: 1.1rem;
  padding: 10px 18px;
  cursor: pointer;
  background: #e3e3e3;
  border: 1px solid #bbb;
  border-radius: 6px;
  width: fit-content;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++  */

/* Stacks your navigation items vertically on small screens */
#gallery-nav .nav-row {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
  width: 100%;
}

#gallery-nav .nav-row > li {
  text-align: left;
  width: 100%;
}

/* Mobile dropdown panel setup */
.dropdown-content {
  display: none; /* Keeps items hidden until they are toggled */
  list-style: none;
  margin-top: 8px;
  padding-left: 16px; /* Indents the choices so they look nested */
  position: static;   /* Disables floating desktop boxes so layout pushes down naturally */
}

/* The state class to reveal the panel */
.dropdown-content.show {
  display: block;
}






































/* ============================================================
   OVERRIDES for min-width: 499px
   ============================================================ */
   
@media (min-width: 499px) {

#header-top {
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Horizontal row for image menu below the header */
#gallery-nav .nav-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: center;
  margin: 40px auto 20px auto;
}

#gallery-nav .nav-row > li {
  position: relative;
  text-align: center;
  margin: 0 10px ;
  width: auto;
}

/* DESKTOP dropdowns */
.dropdown-content {
		TEXT-ALIGN: LEFT;
		FONT-FAMILY: INHERIT; 
		FONT-SIZE: .8EM;
  background: #fff;
  
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: none;
  left: 0;
  min-width: 220px;
  
  position: absolute;
  top: 100%;
  z-index: 999;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Disable .show on desktop */
.dropdown-content.show {
  display: none !important;
}

/* Add this below your .dropdown-content rule */
.dropdown-content a {
  display: block;
  padding: 4px 8px;   /* This creates clean spacing inside each item */
  text-decoration: none; 
}


 #gallery {
    display: grid;
    gap: 24px 16px;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    margin-top: 0;
  }
  
  #gallery img {
    aspect-ratio: 1 / 1; /* Locks everything into a clean square grid cell */
    height: 100%;
    object-fit: cover;
    width: 100%;
  }




/* Desktop gallery grid */
#gallery {
  gap: 24px 16px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

{
	
	
	
	
