/* Typography and Layout */

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #f2e9dd;
  color: black;
  font-size: 18px;

  background-image: url("images/outside1.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  color: black; /* dark brown */
  text-decoration: none;
}

a:hover {
  color: #A9746E; /* light brown */
}

@media (max-width: 768px) {
  body {
    font-size: 20px;
  }
}

/* Header */
.site-header {
  background-color: #d8c3a5;
  text-align: center;
  padding: 20px 10px;
  color: #4b2e1e;
}

.site-header h1 {
  font-family: 'Georgia', serif;
  font-size: 32px;
  margin: 0;
}

.site-header h2 {
  font-family: 'Georgia', serif;
  font-size: 20px;
  margin: 0 0 5px 0;
}

@media (max-width: 768px) {
  .site-header h1 {
    font-size: 24px;
  }
}

/* Footer */
.site-footer {
  background-color: #d8c3a5;
  text-align: center;
  padding: 10px;
  color: #4b2e1e;
}

/* Fullstrip */
.fullstrip {
  width: 100%;
  background-color: #a05a2c;
  padding: 20px;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  text-align: center;
  box-sizing: border-box;
}

/* Main Container */
.maincontainer {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .maincontainer {
    padding: 5px;
    width: 100%;
  }
}

/* Xcells */
.xcell1, .xcell2 {
  box-sizing: border-box;
  padding: 10px;
}

.xcell1 {
  background-color: #4b2e1e;
  color: white;
  border-left: 5px solid white;
  border-right: 5px solid white;
  flex: 1;
}

.xcell2 {
  background-color: #d5e8d4;
  color: #1b4d1b;
  border-left: 5px solid white;
  border-right: 5px solid white;
  flex: 1;
}

.narrow500 {
  max-width: 490px;
}

@media (max-width: 768px) {
  .xcell1, .xcell2 .narrow500 {
    width: 100%;
    border: none;
  }
}

/* Xcell Horizontal Rule */
.xcellhr {
  width: 100%;
  height: 5px;
  background-color: white;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .xcellhr {
    height: 0;
    background: none;
  }
}

/* Image Fade Effects */
.fadeleft {
  opacity: 0;
  transform: translateX(-100px);
  animation: fadeInLeft 3s forwards;
}

.faderight {
  opacity: 0;
  transform: translateX(100px);
  animation: fadeInRight 3s forwards;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(50px); /* or X for horizontal effect */
  transition: opacity 3s ease, transform 3s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}



@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.responsive-img-h {
  width: 460px;
  height: 350px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .responsive-img-h {
    width: 90vw;
    height: auto;
  }
}


.photo-gallery {
  background-color: rgba(0, 0, 0, 0.4); /* 30% black */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px;
}

.photo-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

/* Visual enhancement on hover */
.photo-gallery img:hover {
  transform: scale(1.5);
}

/* Optionally size vertical vs horizontal */
.photo-gallery img.vertical {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .photo-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px;
  }

  .photo-gallery img.vertical,
  .photo-gallery img.horizontal {
    grid-row: auto;
    width: 100%;
  }
}
