/* =========================
   Reset & Base Styles
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
}
.content a {
  position: relative;
  color: #f39c12;
  text-decoration: none;
}

.content a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #f39c12;
  transition: width 0.3s ease;
}

.content a:hover::after,
a:focus::after {
  width: 100%;
}


/* =========================
   Header & Navigation
   ========================= */
.site-header {
  padding: 10px 20px;
  background: linear-gradient(90deg, #0a3d62, #07406e);
  color: #fff;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #f39c12;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.site-header .logo {
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}




/* Logo container */
.site-header .logo .brand {
  display: flex;
  align-items: center;
  text-decoration: none; /* no underline */
  color: inherit;        /* inherit header color */
}

.site-header .logo:hover {
  text-decoration: none; /* prevent underline on hover */
}

/* Logo image */
.site-header .logo img {
  height: 40px;       /* compact logo size */
  margin-right: 8px;  /* spacing between logo and text */
  display: block;
}

/* Logo text */
.site-header .logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;          /* remove default h1 margins */
  line-height: 1;     /* keep text snug */
  color: #fff;        /* brand text white */
}

/* Tagline */
.site-header .tagline {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Navigation list */
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

/* Navigation links */
.site-header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

/* Hover underline effect only for nav links */
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f39c12;
  transition: width 0.3s ease;
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
  width: 100%;
}

.site-header .phone a {
  font-size: 1rem;
  font-weight: bold;
  color: #f39c12;
  text-decoration: none;
}

.site-header .phone a:hover {
  text-decoration: underline;
}

/* Nav Button */
.btn-nav {
  background: #f39c12;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-nav:hover {
  background: #d35400;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  position: relative;
  text-align: center;
  background: #eee;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 500px; /* optional cap */
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 61, 98, 0.70);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 90%;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: #f39c12;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #d35400;
}

/* =========================
   Content Sections
   ========================= */
.content {
  flex: 1; /* ensures footer stays at bottom */
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}


.services,
.about,
.location,
.contact,
.directions,
.intro {
  margin-bottom: 2rem;
}
.contact .map {
  width: 100% !important;
  max-width: 1100px !important;
}

.contact {
  width: 100%;          /* always fill the .content width */
  max-width: 1100px;    /* match .content cap */
  margin: 0 auto 2rem;
  text-align: left;
}

.content img {
  display: block;       /* ensures it sits on its own line */
  max-width: 600px;
  margin: 1.5rem auto;  /* centers horizontally and adds spacing */
  height: auto;
  border-radius: 8px;      /* optional: rounded corners */
}
.reviews-rotator h2,
.services h2,
.about h2,
.location h2,
.contact h2,
.directions h2,
.intro h2 {
  color: #0a3d62;
  margin-bottom: 1rem;
  border-bottom: 2px solid #f39c12;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.services h3,
.about h3,
.location h3,
.contact h3,
.directions h3,
.intro h3 {
  color: #0a3d62;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f39c12;
  display: inline-block;
  padding-bottom: 0.3rem;
}


.services ul {
  list-style: none;
  padding-left: 1rem;
}

.services li {
  margin-bottom: 0.5rem;
}


.about p,
.location p,
.directions p,
.contact p,
.intro p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.reviews {
  margin: 40px 0;
  padding: 20px;
  background: #fff8f0;
  border-radius: 8px;
}

.reviews h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.reviews blockquote {
  border-left: 4px solid #f39c12;
  margin: 20px auto;
  padding: 12px 16px;
  font-style: italic;
  background: #fdfdfd;
  border-radius: 4px;
  max-width: 600px;
}

.reviews footer {
  font-size: 0.85rem;
  color: #555;
  margin-top: 6px;
  text-align: right;
}
.about img {
  display: block;
  margin: 0 0 1rem 0;
  max-width: 400px;
  border-radius: 6px;
}
.image-with-text {
  text-align: center;
  margin: 20px 0;
}

.image-with-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.image-with-text .caption {
  font-size: 1rem;
  color: #333;
  margin-top: 8px;
}

.map {
  width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
}

.map iframe {
  display: block;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 0 auto;
  border: 2px solid #eee;       /* border on iframe */
  border-radius: 8px;
}


.directions {
  margin-top: 2rem;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #0a3d62;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
}

.site-footer p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #f39c12;
}

.menu-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #fff;
  }
  .contact-form {
  max-width: 600px;
  margin: 1.5rem auto;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.3;
}

.contact-form div {
  margin-bottom: 0;
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: .25rem;
  margin-top: .5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  padding-right: 2rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
}

.contact-form select {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  background-image: none;
  padding-right: 0.6rem;
  width: auto;
  min-width: 150px;
  max-width: 200px;
}
.contact-form button.btn {
  background: #f39c12;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button.btn:hover {
  background: #d35400;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #333;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
  border-color: #f39c12;
  box-shadow: 0 0 0 3px rgba(243,156,18,0.3);
  outline: none;
}

select option {
  padding: 0.5rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: #0a3d62;
}

/* Contact Form Status Messages */
#formStatus {
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
  color: green;
  transition: opacity 0.5s ease;
}

#formStatus.error {
  color: red;
}
.reviews-rotator {
  text-align: left;   /* heading aligns left */
  margin: 40px 0;
  height: 220px;  
}

.review-box {
  display: block; 
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  max-width: 900px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.8s ease;

}

.review-box.show {
  opacity: 1;
}

.review-box footer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #555;
  text-align: right;
}


#pauseBtn {
  margin-top: 8px;
  width: 16px;       /* compact size */
  height: 16px;
  border: none;
  border-radius: 50%; /* circular */
  /*background: rgba(243, 156, 18, 0.85); /* soft orange background */
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

#pauseBtn:hover {
  transform: scale(1.1);             /* slight grow effect */
}

#pauseBtn i {
  font-size: 0.7rem; /* small icon */
}


/* =========================
   Responsive Design
   ========================= */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;     /* stack items vertically */
    align-items: center;        /* center everything horizontally */
    position: relative;
  }
	
  .site-header .logo {
    position: static;           /* no absolute positioning on mobile */
    transform: none;
    margin-bottom: 0.25rem;      /* spacing below logo */
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .site-header .logo h1 {
    font-size: 1rem;
  }	
  
  .menu-toggle {
    display: block;             
    margin: 0;
    font-size: 1.3rem;
	line-height: 1;
	padding: 0;
    cursor: pointer;
    color: #fff;
  }

  .site-header nav ul {
    display: none;
    flex-direction: column;
    background: #0a3d62;
    padding: 1rem;
    width: 100%;
    text-align: center;
  }

  .site-header nav ul.show {
    display: flex;
  }

  .hero {
    text-align: left;
  }

  .hero img {
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  .hero-text {
    position: static;
    transform: none;
    margin: 1rem 0;
    padding: 1rem;
    max-width: 100%;
    background: #0a3d62;
    border-radius: 0;
    text-align: left;
  }

  .hero-text h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .hero-text p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .content {
    max-width: 100%;
    padding: 0 0.75rem;
  }

  .content img,
  .about img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
   }
  .reviews-rotator {
    min-height: 430px;
  }
  
}

