/* Edgewater refreshed stylesheet
   Keeps the existing Dreamweaver HTML structure, photos, links, and file names.
   Upload as css/styles.css after backing up the current styles.css.
*/

/* Basic reset */
html, body {
  margin: 0;
  padding: 0;
  border: 0;
}

* {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  background:
    linear-gradient(135deg, rgba(27, 62, 82, 0.92), rgba(93, 123, 112, 0.62)),
    radial-gradient(circle at top right, #f8f2df 0, #dce8e8 42%, #9eb9c0 100%);
  color: #263238;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.6;
}

/* Links */
a {
  color: #1f5f7a;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #8a4c18;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* Main layout */
#wrapper {
  width: 1040px;
  margin: 34px auto;
  display: flex;
  align-items: stretch;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
  border-radius: 18px;
  overflow: hidden;
  background: #f8f2df;
}

/* Left side */
#leftside {
  width: 350px;
  flex: 0 0 350px;
  background: #203846;
  color: #ffffff;
}

#name {
  margin: 0;
  padding: 34px 28px 26px;
  background: linear-gradient(180deg, #173142 0%, #203846 100%);
  text-align: center;
}

#name h2 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 34px;
  font-weight: normal;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

/* Navigation */
#leftnav {
  margin: 0 22px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

#leftnav ul {
  margin: 0;
  padding: 18px;
  list-style: none;
}

#leftnav li {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

#leftnav a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.06);
}

#leftnav a:visited {
  color: #ffffff;
}

#leftnav a:hover,
#leftnav a:focus {
  color: #203846;
  background: #f2d79b;
  text-decoration: none;
}

/* Left photo */
#search {
  padding: 0 23px 24px;
}

#search img {
  display: block;
  width: 303px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Contact block */
#leftside-bottom {
  padding: 10px 28px 32px;
}

#leftside-bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#leftside-bottom li {
  color: #e7eef1;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 3px;
  padding: 0;
  list-style: none;
}

#leftside-bottom a,
#leftside-bottom a:visited {
  color: #ffffff;
}

#leftside-bottom a:hover,
#leftside-bottom a:focus {
  color: #f2d79b;
}

/* Content */
#content {
  width: 690px;
  flex: 1;
  padding: 38px 48px 46px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.36)),
    #f8f2df;
}

#banner {
    width: auto;
    margin: 0 0 26px;
    text-align: center;
}
#banner img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(35, 50, 56, 0.18);
}

/* Fixes old typo in the original HTML: id="content=main" */
#content\=main {
  display: block;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  color: #203846;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
  line-height: 1.25;
}

#content h1 {
  font-size: 42px;
  margin: 20px 0 12px;
}

#content h2 {
  font-size: 36px;
  margin: 16px 0 16px;
  border-bottom: 2px solid rgba(138, 76, 24, 0.25);
  padding-bottom: 8px;
}

#content h3 {
  font-size: 24px;
  margin: 26px 0 8px;
  color: #1f5f7a;
}

#content p {
  color: #263238;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.7;
  margin: 14px 0;
}

#content strong {
  font-weight: bold;
  color: #203846;
}

#content a,
#content a:visited {
  color: #1f5f7a;
}

#content a:hover,
#content a:focus {
  color: #8a4c18;
}

/* Gallery support for existing pages */
#gallery {
  padding: 20px 0;
}

#gallery ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#gallery ul li {
  display: inline-block;
  list-style: none;
}

#gallery img {
  padding: 5px;
  border: 1px solid rgba(32, 56, 70, 0.25);
  border-radius: 8px;
  margin: 5px 10px 5px 0;
  background: #ffffff;
}

#gallery img:hover {
  border-color: #8a4c18;
}

/* Utility classes retained from old stylesheet */
.float-right { float: right; }
.float-left { float: left; }
.clear { clear: both; }

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }

.hide { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

/* Forms retained for compatibility */
label {
  display: block;
  margin: 5px 0 8px;
  font-size: 14px;
  text-transform: uppercase;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  max-width: 450px;
  color: #000;
  padding: 10px;
  border: 1px solid #aaa;
}

textarea {
  height: 120px;
}

.submit {
  padding: 8px 20px;
  width: 140px;
  margin-bottom: 20px;
}

/* Hide print-only and skip elements used by old template */
#print-header,
#print-footer,
#skip {
  display: none;
}

/* Mobile/tablet */
@media (max-width: 1080px) {
  #wrapper {
    width: calc(100% - 28px);
  }
}

@media (max-width: 820px) {
  #wrapper {
    display: block;
    margin: 18px auto;
  }

  #leftside,
  #content {
    width: 100%;
  }

  #leftside {
    flex: none;
  }

  #leftnav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #leftnav li {
    margin: 0;
  }

  #search {
    text-align: center;
  }

  #search img {
    margin: 0 auto;
  }

  #content {
    padding: 28px 24px 34px;
  }
}

@media (max-width: 520px) {
  #leftnav ul {
    grid-template-columns: 1fr;
  }

  #name h2 {
    font-size: 28px;
  }

  #content h2 {
    font-size: 30px;
  }

  #content p {
    font-size: 16px;
  }
}

/* Edgewater Photo Gallery */

.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

.photo-gallery figure {
    margin: 0;
    text-align: center;
}

.photo-gallery img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border: 1px solid #cccccc;
    padding: 4px;
}

.photo-gallery figcaption {
    margin-top: 8px;
    font-style: italic;
    font-size: 14px;
    color: #555555;
}

.photo-gallery img {
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}