/* style1.css 
   Author: Amy Burns
   Date:   2025

   Edit: Casey Haase 2026
*/


/* Blurred Text-Box */
.text-box {
  /* The magic happens here */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
  
  /* Add a semi-transparent background color so the blur is visible */
  background-color: rgba(255, 255, 255, 0.1); 
  
  padding: 20px 15px;
  border-radius: 15px;
  border: 1px solid #2a2c45; /* Optional: add a subtle border */
}


/* Wrapper */
#wrapper {
  width: 90%;          /* allow wrapper to shrink on mobile */
  max-width: 1200px;    /* optional desktop limit */
  margin: auto;
  padding: 20px;
  background-color: transparent;
}

/* Main two-column layout */
.mainTable {
  display: flex;
  flex-wrap: wrap;      /* allows stacking on small screens */
  gap: 20px;
  padding: 40px 20px;
}
@media (max-width: 874px) {
  .mainTable {
    padding: 20px 20px;  /* more vertical space on phones */
  }
}


.leftCol {
  flex: 2;              /* left column wider */
}

.rightCol {
  flex: 1;              /* right column narrower */
}
@media (max-width: 874px) {
  .rightCol div {
    text-align: left;
    font-size: 18px;   /* slightly smaller so it balances */
  }
}


@media (max-width: 874px) {
  .mainTable {
    flex-direction: column; /* stack vertically on phones */
  }
  .leftCol, .rightCol {
    flex: 1 1 100%;        /* full width each */
  }
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

img.circlePhoto {
  width: 100%;
  /* max-width: 250px;*/
  aspect-ratio: 1 / 1;   /* keep square */
  object-fit: cover;
  border-radius: 50%;    /* circle */
  display: block;
  margin: 0 auto;
}
@media (max-width: 874px) {
  img.circlePhoto {
    max-width: 350px;    /* allow slightly larger on small screens */
  }
}
td.verticalCenter img.circlePhoto, td.verticalTop img.circlePhoto {
  max-width: 350px;
}


/* Headings */
.headingMain {
  text-align: center;
  font-size: 75px;
  font-style: italic;
}
@media (max-width: 874px) {
  .headingMain {
    font-size: 48px;
	  text-align: center;
  }
}

/* Body */
body { 
  font-family: Georgia, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 19px;
  color: #2a2c45; /*almost black; blue undertone */  
  margin: 0px;  /* Get rid of annoying gaps around the edges */
  padding: 0;
  position: relative;  
  z-index: 0;
}
body.wood{
  background-color: #BDA27E;
  background-position: center;  /* centers the image */
  background-repeat: no-repeat; /* prevents tiling */
}

/* Background image layer */
body.wood::before {
  content: "";
  display: block;       /* ensures the pseudo-element renders */
  position: fixed;      /* covers the entire viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/Background for Home and About.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.6;         /* transparency */
  z-index: -1;          /* behind content */
}

/* Tables */
table {
  width: 100%;               /* let tables shrink */
  margin: auto;
}
td {
  /*word-wrap: break-word;  */    /* prevent overflow */
  vertical-align: top;
  padding: 1em;
}
td.verticalCenter {
  vertical-align: middle;   /* vertical centering within the cell */
  text-align: center;       /* horizontal centering */
}
td.verticalTop  {
	vertical-align: top;
	text-align: center;
}

/* Text alignment helpers */
.centerText { text-align: center; }
.leftText { text-align: left; }

/* Images */
img.mainPhoto,
img.circlePhoto,
.logo img {
  max-width: 100%;
  min-width: 40px;
  height: auto;
  text-align: center;
}

/* Service images */
img.photo {
  width: 100%;           /* fill the cell width */
  max-width: 400px;      /* cap size so they’re equal */
  aspect-ratio: 4 / 3;   /* force consistent shape */
  object-fit: cover;     /* crop edges if needed */
  display: block;
  margin: 0 auto;
}
@media (max-width: 874px) {
  img.photo {
    max-width: 100%;     /* allow full width on phones */
  }
}


/* Headings */
h1 {
  margin: 0px; /* Eliminates the large gap above and below h1 line */
}

/* Photo cells */
td.photo {
  max-height: none;   /* allow full height */
  overflow: visible;  /* don’t hide extra content */
}
div, td {
  height: auto;
  overflow: visible;
}

/* Nav table */
.navTable  { width: 90% }
.tableLeft { text-align: left; }
.tableRight { text-align: right; }

/* Links */
header a, nav a { text-decoration: none; }
header a:visited { color: #2a2c45; }
a { text-decoration: none; }
a:link { color: #2a2c45; }
a:active { color: #2a2c45; }
a:hover {color: #1928fc; }
/*a:visited { color: #ffffff; }*/

/* Buttons */
.myButton {
  background-color: #2a2c45;
  border-radius: 20px;
  border: 1px solid #000000;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-size: 18px;
  padding: 16px 10px;
  text-decoration: none;
  text-align: center;
  width: 80%;
}
.myButton:hover {
  font-style: italic;
  font-weight: bold;
}



/* Header */
.site-header {
  display: flex;
  justify-content: space-between; /* logo on left, nav on right */
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;                /* allow wrapping on small screens */
}

/* Desktop logo sizing */
.site-header .logo img {
  width: auto;
  max-width: 325px;   /* cap logo size on desktop */
  height: auto;
}


/* Navigation */
.site-header .nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-header .nav a {
  text-decoration: none;
  color: #2a2c45;
  font-weight: bold;
}

/* Mobile adjustments */
@media (max-width: 874px) {
  .site-header {
    flex-direction: column;
    align-items: center;
  }


  .site-header .logo img {
    width: 100%;       /* fill available width */
    max-width: 100%;   /* don’t let natural size force layout */
    height: auto;
  }

  .site-header .nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .site-header .nav a {
    display: block;
    padding: 10px;
    width: auto;
    background: #eee;
    border-radius: 5px;
  }
}

ul.hidden {
  list-style-type: none;
  margin: 0;
  padding: 0;
  white-space: nowrap; 
}

ul.hidden li {
  display: inline;
}

ul.hidden li a {
  display: inline-block;
  color: #000000;
  font-weight: bold;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}



td nav { text-align: right; }
td nav ul {
  text-align: right;
  list-style-type: none;
  margin: auto;
  padding: 0px;
  overflow: hidden;
}
td nav li { display: inline; float: none; }
td nav li a {
  display: inline-block;
  color: #000000;
  font-weight: bold;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
td nav li a:visited { color: #000000; font-weight: normal; }
td nav li a:hover:not(.active) {
  background-color: #ebe3d8;
  font-size: 110%;
  font-weight: bold;
}

/* Footer */
footer { 
  font-size: 85%;
  color:rgba(255, 255, 255, 0.425);
  text-align: center;
  padding: 10px;
  clear: both;
}

/* Floats */
.imgLeft  { float: left; padding-right: 10px; padding-bottom: 10px; }
.imgRight { float: right; padding-left: 10px; padding-bottom: 10px; }

/* Fix nowrap */
.nowrap { white-space: nowrap; }

/* Forms */
form table, form td { border: none; }
form td { text-align: right; }
form {
  max-width: 400px;
  margin: auto;
  padding: 1em;
  /*background: #f9f9f9;*/
  border-radius: 8px;
}
input, textarea, button {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.5em;
  background-color: #dadada;
  border-radius: 20px;
  border: 1px solid #000000;
}
.site-header .nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
@media (max-width: 874px) {
  .site-header .nav ul {
    list-style: none;     
    margin: 0;            /* remove default spacing */
    padding: 0;
    display: flex;
    /*flex-direction: column;*/
    gap: 10px;
    width: 100%;
    align-items: center;
	flex-direction: row;   /* keep horizontal */
    justify-content: center;
  }
}
@media (max-width: 874px) {
  .site-header .nav a {
    background: none;      /* remove white background */
    padding: 0;            /* reset padding */
  }
}

.site-header .nav li {
  display: inline;
}




/* Desktop/tablet layout: three columns */
.gallery-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Thumbnails column */
.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.thumbnails img:hover {
  border: 2px solid #ffca18;
}

/* Main photo column */
.mainG-photo {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;              /* consistent frame height */
}

.mainG-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills frame, crops if needed */
  border: 2px solid #2a2c45;
}

/* Text column */
.photo-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.photo-text h1 {
  font-size: 2rem;
  margin: 0 0 10px 0;
}

.photo-text p {
  font-size: 1rem;
  margin: 0;
}

/* 📱 Mobile layout */
@media (max-width: 874px) {
  .gallery-container {
    flex-direction: column;   /* stack vertically */
    align-items: center;
  }

  .thumbnails {
    flex-direction: row;      /* thumbnails horizontal on mobile */
    flex-wrap: wrap;
    justify-content: center;
  }

  .thumbnails img {
    width: 60px;
    height: 45px;
  }

  .mainG-photo {
    width: 100%;
    height: auto;
  }

  .mainG-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;      /* show full image on small screens */
  }

  .photo-text {
    text-align: center;
    margin-top: 20px;
  }

  .photo-text h1 {
    font-size: 1.5rem;
  }

  .photo-text p {
    font-size: 0.9rem;
  }
}
