@import "tailwindcss";



body {
  font-family: "Inter", sans-serif;
  /* font-family: "Delius", cursive; */
  overflow-x:hidden;
  background:white;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #123458;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #a9850e;
  border-radius: 3px;
}

::selection {
  background-color: #b08a0e;
  color: #222;
}

.section_padding{
    padding:5rem 1rem;
  }


/* Header  */

header{
 position: sticky;
  top:0;
  z-index: 11111111;
  background: #fff;
}

#topnav {
  height: 10vh;
  margin: auto;
}

/* Hero Section */

.hero_section {
  height: calc(100vh - 10vh);
  margin-top:10vh;
}

.video_container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero_content{
  background-color: #0000008a;
  padding: 3rem 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.hero_content_p {
  font-size: 0.9rem !important;
  font-weight: 300;
}

/*.search-bar {*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  padding: 1rem 1rem;*/
/*  flex-wrap: wrap;*/
/*  gap: 10px;*/
/*}*/

/*.search-bar input,*/
/*.search-bar select {*/
/*  padding: 0.7rem;*/
/*  border-radius: 6px;*/
/*  border: 1px solid #ccc;*/
/*  min-width: 180px;*/
/*}*/


.hero_section a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #a9850e;
  color: #222;
  transition: all 0.3s ease-in-out;
}

.hero_section a:hover::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #a9850e;
  color: #222;
  transition: all 0.3s ease-in-out;
}

.pigibankSection img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(30%);
}

.sticky-footer {
    display:none;
  width: 100%;
  background: #222;
  color: #fff;
  display: flex;
  justify-content: space-around;
  font-size: 0.9rem;
  z-index: 99;
  position: static;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out, position 0s ease-in-out 0.3s;
}

.sticky-footer.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}



/* Choose Section */


#searchSection {
  overflow: hidden;
  color: #222;
  z-index: 111;
  background: white;
  /*border-radius: 1rem;*/
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: color 0.6s ease;
}

#searchSection:hover {
  color: #222;
}

#searchSection input,
#searchSection select {
  border: 1px solid #ccc;
  transition: all 0.3s ease;
   height:50px !important;
}

#searchSection input:focus,
#searchSection select:focus {
  border-color: #ccc;
  outline: none;
}

#searchSection input:hover,
#searchSection select:hover {
  border-color: #87650b;
}

#searchSection input[type="checkbox"] {
  accent-color: #a9850e;
  cursor: pointer;
}

#searchButton:hover {
  background: #87650b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero_content {
  background-color: #0000008a;
  padding: 3rem 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.condo_br {
  padding: 0rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.5rem;
}

/* === Media Queries === */

@media (max-width: 1024px) {
  #mobileMenu a {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .close {
    display: block;
    width: 32px;
    height: auto;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
  }

  .toggle {
    display: block;
    cursor: pointer;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 100%;
    width: 70%;
    height: 100vh;
    background: #123458;
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    visibility: hidden;
    opacity: 0;
  }

  .navbar.active {
    left: 30%;
  }

  .navbar a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }

  .navbar a:hover {
    color: #a9850e;
  }
}

/* Common Style */

.search_btn{
    text-align: center;
  position: relative;
  cursor: pointer;
  background: #a9850e;
  color: white;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  overflow: hidden; 
  z-index: 1;
  transition: color 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.home_btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.5rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  background: #a9850e;
  color: white;
  border-radius: 50px;
  font-weight: 500;
  font-size: 18px;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

.home_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #123458;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
  z-index: -1;
}

.home_btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.a_hover {
  color: #a9850e;
  position: relative;
  text-decoration: none;
}

.a_hover::before {
  content: "";
  position: absolute;
  width: 95%;
  height: 2px;
  border-radius: 4px;
  background-color: #a9850e;
  bottom: -5px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.a_hover:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}


@media (max-width: 768px) {
  .dot {
    display: none;
  }
  .hero_content h1 {
    font-size: 2rem;
  }

  .hero_content p {
    font-size: 1rem;
  }

  .hero_content {
    font-size: 1rem;
  }

}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }
  .search-bar input,
  .search-bar select {
    width: 85%;
  }
}

@media (max-width: 500px) {
  .hero_content {
    padding: 1rem;
  }

  .hero_content h1 {
    font-size: 1.6rem;
  }

  .hero_content p {
    font-size: 0.9rem;
  }

  .hero_content {
    font-size: 0.9rem;
  }

  .promo-section {
    text-align: center;
  }

  .sticky-footer a {
    padding: 0.1rem 0.5rem;
  }
}

@media (max-width: 450px) {
  
    h1{
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  p{
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }

  a{
    font-size: 0.7rem !important;
  }

  .home_btn {
    padding: 0.6rem 1rem !important;
    font-size: 12px !important;
  }

    .choose_container {
    padding: 0px !important;
  }

  #searchSection {
    border-radius: 0px;
  }

  .condo_br {
    padding: 0.5rem 0.5rem;
    border: 1px solid #87650b;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.3rem;
  }
  
}


@media (max-width: 1024px) {

  #mobileMenu a{
    font-size: 16px;
  }

  .contact_flex img {
    width: 100%;
    height: 500px;
  }
}

@media (max-width: 768px) {

  .site_logo{
   
    z-index: 11111111111111111;
  }

  .close{
    display: block;
    width: 32px;
    height: auto;
    object-fit: cover;
     position: absolute;
    top:2rem;
    right:3rem
  }

  .toggle{
    display: block;
  }

  .navbar{
    position: absolute;
    top:0;left:100%;
    width: 100vw;
    height: 100vh;
    background: #123458;
    z-index: 11;
    flex-direction: column;
    align-items: center;
    gap:2rem
  }

  .navbar a{
    color:white !important;
    font-size: 1.5rem !important;
  }
  .navbar a:hover{
    color:#a9850e !important;
    font-size: 1.5rem !important;
  }

  .contact_flex img {
    height: auto;
  }

  form input {
    padding: 0.8rem 1rem;
  }

  form button {
    padding: 0.5rem 1rem;
    margin-left: 0.2rem;
  }
}



/*Tiny Home CSS*/
/* Afforable Tiny Home Style Here */

.tiny_home_section_img{
  border-radius: 8px;
}


/* Incentive */
.Incentives_p_box {
  display: grid;
  height: 400px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  border: 1px solid #123458;
  gap: 1rem;
  padding: 2rem;
}

.Incentives_p_box p {
  border: 1px solid #46709c;
  padding: 1rem 2rem;
}

.Incentives_p_box p span {
  -webkit-text-stroke: 1px #46709c;
  color: transparent;
}

/* CHMC */
.CMHC img{
  /*min-height: 400px !important;*/
}

/* ByLaw Card */
.bylaw_card {
  padding: 2rem;
  border: 1px solid #c4c4c4;
  transition: all 0.5s ease;
}

.bylaw_card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.226);
}

/* Laneway Section */
.Laneway_section_card {
  border: 1px solid #c4c4c4;
  padding: 4rem 1rem;
  border-radius: 8px;
  transition: all 0.5s ease;
}

.Laneway_section_card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.226);
}

/*  */

@media (max-width: 1024px) {


  .tiny_home_sectionTwo_btn {
    margin-top: 2rem;
  }

  .tiny_home_sectionTwo h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {

   h1 {
    font-size: 2rem;
  }

  h2{
    font-size: 1.5rem !important;
  }

  h3{
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }

  .hero_content {
    font-size: 1rem;
  }

  .tiny_section {
    flex-direction: column;
    height: auto !important;
    min-height:  !important;
  }


  .tiny_home_section_img,
  .CMHC .container{
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  .tiny_home_sectionTwo_btn{
    margin-top: 1rem;
  }
  
  .tiny_home_content{
      margin-top:2rem ;
  }

  .Incentives_p_box {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .CMHC .container,
  .rental .container {
    flex-direction: column;
    text-align: center;
  }


}

@media (max-width: 500px) {
  .hero_content {
    padding: 1rem;
  }

   h1 {
    font-size: 1.6rem;
  }

   h2{
    font-size: 1.3rem !important;
  }

   p {
    font-size: 0.9rem;
  }

  .hero_content {
    font-size: 0.9rem;
  }

  .Accordion button{
    font-size: 0.9rem;
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 1rem;
    line-height: auto;
  }

   p,
   li {
    font-size: 0.7rem;
  }

  h2{
    font-size: 1rem !important;
  }

  h3{
    font-size: .9rem;
  }

  .home_btn {
    padding: 0.6rem 1rem !important;
    font-size: 12px !important;
  }

  /*.tiny_home_sectionTwo_imgBox {*/
  /*  height: auto;*/
  /*  padding: 0.5rem;*/
  /*}*/

  /*.tiny_home_sectionTwo_btn {*/
  /*  margin-top: 1.5rem;*/
  /*  font-size: 0.9rem;*/
  /*  padding: 0.6rem 1.2rem;*/
  /*}*/

  /*.tiny_home_content{*/
  /*  margin-top: 2rem;*/
  /*}*/

  .Laneway_section_cardBox{
    gap:1rem;
  }

  .Incentives_p_box span{
    font-size: 1rem;
  }

   table {
    font-size: 0.9rem;
  }
  th, td {
    padding: 0.5rem; 
  }
}

