
* {
  margin: 0;
  padding: 0;
  font-family: "Noto Serif", serif;
  font-weight: 400;
}

.textRed {
  color: #801323;
}

.textWhite {
  color: #FFFFFF;
}

p {
  margin: 0;
}

.mainEm {
  color: #E1B12B;
  font-size: 1.15em;
  font-weight: bolder;
}

body {
  background-color: #801323;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #FFFFFF;
  height: 70px;
  padding: 5px 1em;
  display: flex;
  flex-direction: row;
}

header a {
  text-decoration: none;
}

header a:hover {
  color: #610D19;
  text-decoration: none;
}

header div {
  display: flex;
  align-items: center;
}

header div a {
  height: 100%;
}

header div a img {
  height: 100%;
}

header nav {
  font-size: 1.75em;
  width: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
}

header nav a {
  margin-left: 1rem;
}

#header-dropdown {
  display: none;
  width: auto;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
}

#header-dropdown button {
  margin-top: 0;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-toggle:focus {
  box-shadow: none !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.dropdown-toggle {
  background: none !important;
  border: none !important;
}

#header-dropdown .dropdown-item {
  text-align: center;
}

#header-dropdown .redButton {
  margin: .25rem 1.5rem;
  width: auto;
}

.redButton {
  background-color: #801323;
  max-height: 100%;
  padding: 5px;
  border-radius: 3px; 
}

.redButton:hover {
  background-color: #610D19;
  color: #FFFFFF;
}

.main-section1 {
  background-image: url("framedHouse.jpg");
  background-size: cover;
  background-position: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Drop shadow */
  z-index: 1;
  position: relative; /* Needed for z-index to work */
}

.main-section2 {
  padding: 2em;
  margin: 5% 0;
  font-size: 2em;
  color: #FFFFFF;
}

#wrapper1 {
  padding-left: 20%;
  padding-top: 25%;
  padding-bottom: 40%;
  font-size: 1.75em;
}

#wrapper1 p {
  margin-left: 10%;
}

footer {
  background-color: #610D19;
  margin-top: auto;
  padding-bottom: 5%;
}

footer ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 1em 5%;
}

footer ul li {
  display: inline;
  margin-left: auto;
  margin-right: auto;
}

footer a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 1.25em;
  font-weight: 300;
}

footer a:hover {
  color: #E1B12B;
  text-decoration: none;
}

.copyright {
  text-align: center;
  color: #E1B12B;
  font-size: 0.9em;
  margin-bottom: 1em;
}

#carousel {
  height: 800px;
  background-image: url("IMG_1324.jpg");
  background-position: center;
  background-size: cover;

  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
}

.spacer {
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3); /* Drop shadow */
}

.caroButton {
  all: unset;
  height: 80px;
  width: 80px;
  border-radius: 40px;
  opacity: 0.75;
  transition: opacity 0.25s;
}

.caroButton:hover {
  opacity: 1;
  background-color: rgba(0,0,0,0);
}

#caroLeft {
  float: left;
  background-image: url("leftArrow.png");
  background-size: cover;
  background-position: center;
  margin-right: calc((100% - 160px)/2);
}

#caroRight {
  float: right;
  background-image: url("rightArrow.png");
  background-size: cover;
  background-position: center;
  margin-left: calc((100% - 160px)/2);
}

.about-section1 {
  background-image: url("IMG_1324.jpg");
  background-size: cover;
  background-position: center;
}

.about-card {
  background-color: rgba(255, 255, 255, 0.5);
  margin: 35% 10%;
  display: flex;
  flex-direction: row;
  padding: 2em;
  border-radius: 10px;
}

.about-card img {
  width: 25%;
  object-fit: cover;
  margin-left: 1em
}

.about-head {
  font-weight: 600;
  font-size: 2em;
}

.about-body {
  font-size: 1.5em;
}

.about-section2 {
  padding: 2.5% 0;
}

.about-section2 h1 {
  text-align: center;
  font-size: 3em;
}

.services-block {
  height: 600px;
  background-size: cover;
  background-position: center;
}

.services-block h1 {
  color: #FFFFFF;
  margin-top: 450px;
  margin-left: 200px;
  font-size: 4em;
  position: relative; /* makes it easier to layer things if needed */
  z-index: 1; /* optional, ensures it's above other elements if needed */
}

#block1 {
  background-image: url('framedHouse.jpg');
}

#block2 {
  background-image: url('IMG_4179.jpg');
}

#block3 {
  background-image: url('IMG_0947.jpg');
}

#block4 {
  background-image: url('IMG_1360.jpg');
}

.services-note {
  color: #FFFFFF;
  text-align: center;
  font-style: italic;
  font-size: 1.5em;
  padding: 2em 1.5em;
}

.services-shadow {
  box-shadow: 0 -175px 100px rgba(0, 0, 0, 0.7);
}

/* CONTACT PAGE */
.container {
  min-width: 75%;
  margin: 50px auto;
  padding: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 2em;
}

label {
  display: block;
  margin: 15px 0 5px;
  font-size: 1.5em;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1.25em;
}

textarea {
  resize: vertical;
  min-height: 100px;
  margin-bottom: 4em;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #801323;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  font-size: 2em;
}

button:hover {
  background-color: #610D19;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

#service {
  font-size: 1.5em;
}

#size {
  font-size: 1.5em;
}

/* Blur background overlay */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      backdrop-filter: blur(8px); /* Blur effect */
      background-color: rgba(0, 0, 0, 0.3); /* Slight dark overlay */
      z-index: 999; /* Make sure it's on top */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* White box in the center */
    .hover-box {
      background-color: white;
      padding: 20px 30px;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      max-width: 500px;
      text-align: center;
      font-size: 1.5em;
      display: flex;
      flex-direction: column;
      align-items: center;
    } 
  
#dismiss {
  font-size: 1em;
  padding: 5px;
}


/* TODO: make make responsive, flip flex-dir to column */
.service-component-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 2em;
}

.service-component {
  width: 25%;
  margin: 0 2em;
  color: #E1B12B;
}

.service-component h2 {
  margin-bottom: 16px;
}

.service-component img {
  width: 75%; 
  height: auto;
}

.circle-background {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4); /* optional */
}

@media only screen and (max-width: 600px) {
  header {
    height: 48px;
    padding: 5px;
  } 

  header nav {
    display: none;
  }

  header div {
    width: calc(100vw - 50px);
  }

  #header-dropdown {
    display: block;
  }

  .main-section2 {
    padding: 1em;
    font-size: 1em;
  }

  .about-card {
    padding: 0.5em;
    margin: 35% 5%;
  }

  .about-card img {
    display: none;
  }

  .service-component-container {
    flex-direction: column;
    align-items: center;
  }
  
  .service-component {
    width: 50%;
    margin-bottom: 2em;
  }

  .services-block {
    height: 400px; 
  }

  .services-block h1 {
    margin-top: 250px;
    margin-left: 0;
    text-align: center;
    font-size: 3em;
  }

  .services-note {
    font-size: 1em;
  }

  footer a {
    font-size: 1em;
  }
}

