/* Định nghĩa các biến màu cho cả dark và light theme */
@import url("./header.css");
@import url("./main.css");
@import url("./switcher.css");
@import url("./layout.css");
@import url("./search-form.css");
@import url("./content.css");
@import url("./widgets.css");
@import url("./button.css");


:root {
  --primary: #ed1c24;
  --secondary: #214766;
  --text: #333;
  --bs-primary: #ed1c24;
  --bs-secondary: #214766;

  --bs-link-color: rgb(237, 28, 36);
  --bs-link-color-rgb: 237,28,36;
  --bs-link-decoration: none;
  --bs-link-hover-color: hsla(358, 85%, 52%, 0.7);
}
body {


}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary);
}

/* Links
--------------------------------------------- */
a {
  color: var(--text);
  text-decoration: none;
}

a:visited {
  color: var(--text);
}

a:hover,
a:focus,
a:active {
  color: var(--text);
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

button {
  background-color: var(--info);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 20px;
  cursor: pointer;
}

button:hover {
  background-color: var(--primary);
}
.content-container {
  padding-top: 80px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.comment-reply-title {
  font-size: 1.2rem;
  margin-top: 9px;
}
#cancel-comment-reply-link {
  margin-left: 9px;
}

.tag-slider,
.categories-slider {
  overflow: hidden;
  display: flex;
}

.slider-track {
  display: flex;
  width: calc(
    200%
  ); /* Extend width to twice the container width for smooth scrolling */
  animation: slide 60s linear infinite; /* Duration controls speed */
  gap: 3rem;
}

.slider-track-reserve {
  display: flex;
  width: calc(
    200%
  ); /* Extend width to twice the container width for smooth scrolling */
  animation: slide 60s linear infinite reverse; /* Duration controls speed */
  gap: 3rem;
  align-items: center;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Scroll half of the duplicated track */
  }
}

.slider-track .img {
  flex-shrink: 0;
  padding: 0 20px;
}
.slider-track-reserve .slide {
  flex-shrink: 0;
  padding: 0 20px;
  text-align: center;
}

.slider-track-reserve .slide,
.slider-track .slide {
  flex-shrink: 0;
  padding: 0 20px;
  text-align: center;
  height: 50px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-track:hover,
.slider-track:focus-within,
.slider-track-reserve:hover,
.slider-track-reserve:focus-within {
  animation-play-state: paused;
  transition: transform 0.5s ease-out;
}
.project-gallery-main {
  margin-bottom: 1rem;
}
.project-gallery-main .slick-slide img {
  max-height: 500px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}
.project-gallery-thumb .slick-slide {
  padding: 0 5px;
  cursor: pointer;
}
.project-gallery-thumb .slick-slide img {
  max-height: 100px;
  object-fit: cover;
  width: 100%;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.project-gallery-thumb .slick-slide img:hover,
.project-gallery-thumb .slick-current img {
  opacity: 1;
}
.slick-prev,
.slick-next {
  z-index: 1;
}
.slick-prev:before,
.slick-next:before {
  color: #000;
  font-family: bootstrap-icons !important;
}
@media (max-width: 767px) {
  .project-gallery-main .slick-slide img {
      max-height: 300px;
  }
  .project-gallery-thumb .slick-slide img {
      max-height: 80px;
  }
}

.footer-contact-form {
  max-width: 100%;
}

.footer-contact-form .wpcf7-form {
  max-width: 100%;
}

.footer-contact-form .input-group {
  width: 100%;
}

.footer-contact-form .form-control {
  font-size: 1.25rem; /* fs-4 */
  color: #495057;
  border-color: #ced4da;
  border-radius: 4px 0 0 4px;
  padding: 8px 12px;
  height: auto;
}

.footer-contact-form .btn-primary {
  font-size: 1.25rem; /* fs-4 */
  background-color: #007bff;
  border-color: #007bff;
  border-radius: 0 4px 4px 0;
  padding: 8px 20px;
}

.footer-contact-form .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.footer-contact-form .wpcf7-response-output {
  font-size: 1rem;
  margin-top: 10px;
  color: #6c757d;
}

.footer-contact-form .wpcf7-not-valid-tip {
  font-size: 0.9rem;
  color: #dc3545;
}

/* Responsive */
@media (max-width: 767px) {


  .site-footer {
      padding: 20px 0;
  }

  .list-group-item {
      padding: 8px 0;
  }

  .list-group-item i,
  .list-group-item a,
  .list-group-item span {
      font-size: 1.1rem !important; /* fs-4 nhỏ hơn trên mobile */
  }

  .footer-contact-form .form-control,
  .footer-contact-form .btn-primary {
      font-size: 1.1rem; /* Nhỏ hơn trên mobile */
      padding: 6px 10px;
  } 
}
.properland-about-slider .properland-post-item {
  transition: opacity 0.6s ease-in-out;
}
.properland-about-slider .properland-post-item {
  min-height: 300px;
}

.properland-about-slider .slick-next{
  top:95% !important;
  right: 0 !important;
}

.properland-about-slider .slick-prev{
  right: 50px !important;
  left: auto !important;
  top:95% !important;
}