/*
Theme Name: GIM DECOR - GIM INTERIOR
Theme URI: https://giminteriors.art/
Author: GIM DECOR
Author URI: https://yourwebsite.com/
Description: Giao diện WordPress cho công ty thiết kế - thi công GIM DECOR
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gim-decor
*/




/* BANNER */
.banner {
  width: 100%;
  height: 610px;
  position: relative;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slide-caption.active {
  opacity: 1;
}

.slide-title {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.0;
  margin-bottom: 20px;
}

.slide-subtitle {
  font-size: 45px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.slide-description {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 800px;
}

@media (max-width: 900px) {
  .banner {
    height: 340px;
  }
}
@media (max-width: 600px) {
  .banner {
    height: 200px;
  }
}






/* Dấu tích dạng mảnh, nghiêng */
ul.custom-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 8px;
  border-left: 2.5px solid #f97316;  /* màu cam */
  border-bottom: 2.5px solid #f97316;
  transform: translateY(-50%) rotate(-45deg);
  box-sizing: border-box;
  border-radius: 2px;
}






/* Chữ dự án tiêu biểu  */
.see-more-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: 1rem;
}

.see-more-link .see-more-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  stroke: #000000;
  transition: stroke 0.3s ease;
}

.see-more-link:hover {
  color: #f97316; /* cam nhạt */
}

.see-more-link:hover .see-more-icon {
  stroke: #f97316;
}

/* Ảnh dự án kt cố định  */
.custom-image-height {
  height: 250px; /* chiều cao ảnh */
  width:  364px; /* chiều cao ảnh */
}








/*Dịch Vụ Của Chúng Tôi */
/* Chữ mặc định dịch vụ */
.custom-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.custom-text {
  font-size: 15px;
  color: #4B5563;
}







/* HÀNH TRÌNH VỚI GIM DECOR */
.work-process {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: -50px;
  margin-bottom: 24px;
}

.work-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
  margin: 0 14px;
}

.work-title {    /* THI CÔNG HOÀN THIỆN */
  font-size: 20px;
  font-weight: bold;
  color: #111827;
  margin-bottom: 5px;
  white-space: nowrap;
}

.work-desc {     /* XÂY TÔ ỐP LÁT */
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 20px;
  white-space: nowrap;
}

.work-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 10px;
}

.line {
  width: 38px;
  height: 2px;
  background-color: #d1d5db;
  border-radius: 2px;
}

.work-dot {
  width: 8px;
  height: 8px;
  background-color: #f97316;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 900px) {
  .work-process { flex-direction: column; }
  .work-line { margin: 18px 0; }
  .work-block { min-width: 120px; }
}









/* quy trình làm việc */
.workflow-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  margin-top: -40px;  /* KHOẢNG CÁCH GIỮ ICON VÀ LINE */
}

.workflow-item {
  text-align: center;
  cursor: pointer;
}

.workflow-item img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid white;
  transition: border-color 0.3s ease;
  display: block;
  margin: 0 auto 12px; /* <-- thêm khoảng cách dưới ảnh */
}

.workflow-item p {
  font-size: 16px;
  color: #4B5563; /* text-gray-600 */
  line-height: 1.2;       /* Khoảng cách giữa các dòng */
  margin: 2px 0;          /* Khoảng cách giữa 2 thẻ <p> */
}


.workflow-item:hover img {
  border-color: #f97316;
}

.workflow-item:hover p {
  color: #f97316;
}

.workflow-title,
.workflow-desc {
  font-size: 16px;    /* cùng size */
  line-height: 1.4;   /* giữ độ cao dòng đều */
  color: #4B5563; /* text-gray-600 */
}

/* khoảng cách giữa title và desc */
.workflow-title {
  margin-bottom: 1px;
}

/* Hover effect */
.workflow-item:hover .workflow-icon {
  filter: brightness(1.2);
}
.workflow-item:hover .workflow-title,
.workflow-item:hover .workflow-desc {
  color: #f97316;
}

/* Responsive */
@media (max-width: 1024px) {
  .workflow-container { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .workflow-container { grid-template-columns: repeat(2, 1fr); }
}









/* GET QUOTATION THEME*/
/* Căn giữa toàn bộ section GET QUOTATION theo cả ngang và dọc */
.quotation-section {
  margin-top: 60px;             /*khoảng cách phía trên */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;           /* Căn giữa theo chiều dọc */
  padding: 40px 20px;
  background-image: url('https://giminteriors.art/wp-content/themes/gim-decor/images/slider2.jpg');  /* nền, bạn có thể thay */
  background-size: cover;        /* ảnh phủ kín toàn bộ */
  background-position: center;   /* canh giữa ảnh */
  background-repeat: no-repeat;  /* không lặp lại ảnh */
  color: white;                  /* chữ trắng để nổi trên nền */
  font-family: 'Roboto', sans-serif;
  z-index: 1;
}

.quotation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* lớp phủ tối 60% */
  z-index: 0;
}

.quotation-left, .quotation-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* đảm bảo nội dung nằm trên overlay */
}

.quotation-left-content {
  text-align: center;
}

.quotation-left h3,
.quotation-left p {
  color: #fff; /* trắng để nổi bật trên ảnh nền */
}

/*Mỗi ngôi nhà là một giấc mơ */
.quotation-left h3 {
  font-size: 22px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}


/*Chúng tôi sẽ gửi báo giá chi tiết dựa trên yêu cầu của bạn*/
.quotation-left p {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

.quotation-right-content {
  text-align: center;
}

/*Ô TƯ VẤN VÀ BÁO GIÁ*/
.quotation-right button {
  padding: 8px 24px;          /* Chỉnh size ô viền */
  font-size: 18px;            /* Chỉnh size chữ */
  background: rgba(0, 0, 0, 0.1); /* nền đen mờ */
  color: #ffffff;
  border: 2px solid #f97316; /* viền ô */
  border-radius: 8px;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.quotation-right button:hover {
  background: #f97316;
}






/* Ô BÁO GIÁ HIỆN RA*/
/* Overlay nền tối */
.popup-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Popup content */
.popup-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: url('https://giminteriors.art/wp-content/themes/gim-test/images/1.JPG') center/cover no-repeat;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  color: #ff0000;
  transform: translateY(-60px);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}
.popup-overlay.active .popup-content {
  transform: translateY(0);
  opacity: 1;
}

/* Nút đóng */
.close-btn {
  position: absolute;
  top: 12px; right: 15px;
  font-size: 28px;
  background: none;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2;
}
.close-btn:hover {
  color: #f97316;
}

/* Form Đăng Kí Tư Vấn & Báo Giá */
.form-wrapper {
  background: transparent;
  padding: 0px;
  border-radius: 15px;
  color: #ffffff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

/* Tiêu đề & mô tả popup */
.form-wrapper h2 {
  font-size: 24px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/*Nhận báo giá các công trình đã thi công*/
.form-wrapper p {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 400;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

/* Input & textarea - màu chữ khi gõ vào mục thông tin*/
.form-wrapper input,
.form-wrapper textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.18); /* nền trắng mờ nhẹ */
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.3s;
  outline: none;
  resize: none;
}
.form-wrapper input:focus,
.form-wrapper textarea:focus {
  border-color: #f97316;
  background: rgba(255, 255, 255, 0.22);
}
.form-wrapper input::placeholder,
.form-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.93);
}

/* Nút gửi thông tin */
.form-wrapper button[type="submit"] {
  width: 30%;
  padding: 5px 0;
  font-size: 16px;
  background: rgba(0,0,0,0.1);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 5px;
  transition: background 0.3s;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 1px 6px rgba(0,0,0,0.13);
  font-family: 'Montserrat', sans-serif;
}
.form-wrapper button[type="submit"]:hover {
  background: #f97316;
}

/* Thông báo thành công */
.quote-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none !important;
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  margin: 42px auto 18px auto;
  min-width: 0;
  max-width: 90vw;
  text-align: center;
  letter-spacing: 0.2px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}
.quote-success .checkmark {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-success .checkmark svg {
  width: 48px;
  height: 48px;
  display: block;
}


/* Responsive */
@media (max-width: 600px) {
  .popup-content {
    padding: 24px 8px 18px 8px;
    max-width: 98vw;
  }
  .form-wrapper h2 {
    font-size: 18px;
  }
  .form-wrapper p {
    font-size: 15px;
  }
}



















/*TIN TỨC*/
/* Reset đơn giản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: transparent;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

/* line cam dưới tin tức */
.orange-line {
  display: block;
  height: 4px;
  width: 60px;
  background: #f97316;  /* màu cam */
  border-radius: 8px;
  margin: 2px auto 0;    /* KHOẢNG CÁCH GIỮA LINE VÀ TIN TỨC */
}

/* Tiêu đề */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  color: #111;
}

/* Grid layout */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cột đều nhau */
  gap: 30px;
}


/* News Card */
.news-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Thumbnail */
.news-thumb {
  position: relative;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Lớp phủ đen quét ngang */
.black-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  transition: left 0.8s ease;
  z-index: 1;
}

/* Kích hoạt hiệu ứng khi hover */
.news-item:hover .black-sweep {
  left: 0;
}


/* Chữ hiện trên ảnh khi hover */
.thumb-text {
  position: absolute;
  top: 50%;      /*Canh giữa ảnh theo chiều dọc */
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 2;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}


.thumb-text .line1 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.thumb-text .line2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 6px;
}

.news-item:hover .thumb-text {
  opacity: 1;
  transform: translate(-50%, -50%);   /* Trượt đúng vào giữa */
}


/* Info text */
.news-info {
  padding: 20px;
}

.news-date {
  font-size: 13px;
  color: #ff8315;
  margin-bottom: 6px;
}
.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

/* Hover đổi màu title */
.news-item:hover .news-title {
  color: #ff8315; /* Màu khi hover */
}

.news-desc {
  font-size: 15px;
  color: #555;
}

/* Bỏ gạch chân liên kết */
.news-item a {
  text-decoration: none;
}











/*ĐỐI TÁC*/
/*LOGO BRAND*/

.orange-line {
  margin-top: 1px;
}

.brand-slider {
  overflow: hidden;
  background: #f9fafb; /*MÀU NỀN LOGO BRAND*/
  padding: 30px 0;     /*KHOẢNG CÁCH LOGO BRAND*/
  margin-top: -40px;    /* KHOẢNG CÁCH LOGO BRAND + LINE */
  margin-bottom: -30px;    /* KHOẢNG CÁCH LOGO BRAND + footer */
}

.brand-wrapper {
  width: 100%;
  overflow: hidden;
}

.brand-track {
  display: flex;
  width: fit-content;
  animation: scroll-loop 30s linear infinite;
}

.brand-group {
  display: flex;
}

.brand {
  flex: 0 0 180px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand img {
  width: 250px;
  height: 80px;
  background: #ffffff; /*MÀU KHUNG LOGO BRAND*/
  border-radius: 12px;
  padding: 10px;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0,0,0,0);   /*ĐỘ ĐẬM NHẠT CHO KHUNG LOGO BRAND*/
}

.brand-container {
  max-width: 1450px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

@keyframes scroll-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}













