:root{
    --primary-color-1: rgb(0, 87, 180);
    --text-color: rgb(65, 65, 65);
}

/* Tag */
html, body {
    font-family: "Manrope Variable";
    font-style: normal;
    font-size: large;
    font-weight: 200 800;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

h1 {
    /* font-family: 'Courier New', Courier, monospace; */
    text-align: center;
    font-size: 5rem;
}

h2 {
    /* font-family: 'Courier New', Courier, monospace;/ */
    text-align: center;
    font-size: 3rem;
}

section, footer {
    padding: 5rem 3rem;
    background-color: white;
    border-bottom: 1px solid gray;
}
footer a {
    color: var(--text-color);
}

section:nth-of-type(odd) {
    background-color: var(--primary-color-1);
    background: 
    linear-gradient(
      to bottom,
      var(--primary-color-1) 0%,
      black 100%
    );
    color: white;
}
section:nth-of-type(odd) a {
    color: white;
}
section:nth-of-type(even) {
    background-color: white;
    color: var(--text-color);
}
section:nth-of-type(even) a {
    color: var(--text-color);
}
section:nth-of-type(even) .review-link a {
    color: #007BFF
}

header {
    padding: 5rem;
    padding-top: 1rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    overflow-y: hidden;
    background: 
    linear-gradient(
      to bottom,
      rgba(0, 123, 255, 0.2) 0%,
      rgb(0, 123, 255, 0.5) 80%,
      var(--primary-color-1) 100%
    );
}

.header_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

a {
  text-decoration: none;
}

nav a {
    font-weight: bold;
    text-decoration: none;
    margin-right: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

header nav a{
    color: white;
}

nav a:hover {
    transform: translateY(-2px);
}

a:hover {
  cursor: pointer;
}






/* Space between each label+input pair */
label {
  font-size: 0.9rem;
  margin-bottom: 6px;
}


/* Inputs and selects */
input,
select,
textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1rem; /* spacing between fields */
}
input[type="checkbox"]{
    display: inline-block;
}

textarea {
  width: stretch;
}

/* Focus effect */
input:focus,
select:focus,
textarea:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

input[type="submit"] {
  background-color: var(--primary-color-1);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}
input[type="submit"]:hover {
  transform: translateY(-2px);
}
input[type="submit"]:active {
  transform: translateY(1px);
}

form {
    border-radius: 10px;
    border: 2px solid white;
    padding: 20px;
}



/* Class */
.title {
    background-color: rgb(36, 36, 36);
    border-radius: 50px;
    padding: 10px;
    margin-top: 4rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-underline:hover {
  text-decoration: underline;
}

.bg-img-1 {
    background: 
    linear-gradient(
      to bottom,
      rgba(0, 123, 255, 0.2) 0%,
      rgb(0, 123, 255, 0.7) 80%,
      var(--primary-color-1) 100%
    ),
    url('Images/trash-bin-cleaning-4.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;

}

.portrait {
    height: 256px;
    float: left;
    margin-right: 3rem;
    
}

.logo {
    height: 200px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.img-right:hover, .img-left:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 6px 6px 8px black;
}

.img-right {
    max-height: 300px;
    max-width: 80vw;
    border-radius: 5px;
    box-shadow: 4px 4px 6px black;
    float: right;
    margin-left: 3rem;
    margin-bottom: 3rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.img-left {
    max-height: 300px;
    max-width: 80vw;
    border-radius: 5px;
    box-shadow: 4px 4px 6px black;
    float: left;
    margin-right: 3rem;
    margin-bottom: 3rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mr-1 {
    margin-right: 1rem;
}
.mt-0 {
    margin-top: 0;
}
.mt-3 {
    margin-top: 3rem;
}
.mb-0 {
    margin-bottom: 0;
}
.mb-3 {
    margin-bottom: 3rem;
}
.mb-1 {
    margin-bottom: 1rem;
}
.mt-15 {
    margin-top: 15rem;
}
.d-ib {
    display: inline-block;
}
.d-i {
    display: inline;
}
.d-b {
    display: block;
}
.bg-primary {
    background-color: var(--primary-color-1);
}
.c-primary {
    color: white;
}
.ta-c {
    text-align: center;
}
.d-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.d-flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.fw-w {
    flex-wrap: wrap;
}
.fw-nw {
    flex-wrap: nowrap;
}
.jc-sa {
    justify-content: space-around;
}
.jc-c {
    justify-content: center;
}
.g-10 {
    gap: 10px;
}
.g-1rem {
    gap: 1rem;
}
.w-200 {
    width: 200px;
}
.w-100p {
    width: 100%;
}
.ai-s {
    align-items: start;
}

.review-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.76);
  max-width: 500px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.404);
}

.review-stars {
  font-size: 1.25rem;
  color: #FFD700; /* gold */
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.review-comment {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.review-link a {
  color: #007BFF;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.review-link a:hover {
  color: #0056c7;
  transform: scale(1.05);
}

.review-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 2;
  align-items: center;
  justify-content: center;
  gap: 1.5rem; /* space between cards */
}

.service-area-map {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.phone {
    background-color: var(--primary-color-1);
    color: white;
    border-radius: 15px;
    padding: 0.5rem;
}

.signature {
    color: var(--text-color);
    text-decoration: underline;
}

.social-channel {
    border: 2px solid white;
    border-bottom: 6px solid white;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    gap: 1rem;
    transition: transform 0.2s ease;
}
.social {
    transition: transform 0.2s ease;
}

.social-channel img,
.social img,
.social-channel svg {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: block;
}

.social-channel > div {
    flex: 1;
    min-width: 0;
}

.social-channel:hover, .social:hover {
    transform: translateY(-3px);
}
a .social-channel:hover {
    text-decoration: none;
}


.gallery {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.main-view {
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

.main-view img,
.main-view video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.main-view img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}


.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.left-btn { 
    left: 10px;
    width: 50px;
    height: 50px;
    padding: 0;
 }
.right-btn { 
    right: 10px;
    width: 50px;
    height: 50px;
    padding: 0;
 }



/* Horizontal thumbnail strip */
.thumb-row {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  scrollbar-width: thin;         /* Firefox */
  scrollbar-color: #888 #222;    /* Firefox */
}

.thumb-row img,
.thumb-row video {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.thumb-wrapper.active {
  outline: 3px solid #facc15;
  border-radius: 6px;
}

/* Chrome / Edge / Safari */
.thumb-row::-webkit-scrollbar {
  height: rem;
}

.thumb-row::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}

.thumb-row::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.thumb-wrapper {
  position: relative;
  cursor: pointer;
  pointer-events: auto;   /* wrapper receives clicks */
}

.thumb-wrapper video {
  pointer-events: none; /* video can't block clicks */
}



.requiredWarning {
  border: 2px solid red;
}

.warning {
  color: lightcoral;
}

/* ID */
#title {
    font-size: xx-large;
}

/* Responsive Design */
@media (max-width: 820px) {
  header {
    padding: 1rem;
    padding-bottom: 5rem;
  }
  section, footer {
    padding: 5rem 1rem;
  }
  h1 {
    font-size: 3rem;
  }
  .logo{
    height: 100px;
  }
  .img-left, .img-right, .portrait {
    max-width: 100%;
    float: none;
    margin: 0 auto 2rem auto;
    display: block;
  }
  .title {
    margin-top: 9rem;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .social-channel {
    flex-direction: column;
  }
  .social-channel svg {
    display: none;
  }
  .title {
    margin-top: 5rem;
  }
}