/* ===========================
   SECTION: SERVICE PERKS
   =========================== */
.service-perks {
  padding: 60px 0;
  background-color: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.perks-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.perks-content {
  flex: 1;
  max-width: 600px;
}

.perks-title {
  font-family: "Playfair Display", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #c47a3f; /* Màu nâu cam nhạt tiêu đề */
  margin-bottom: 15px;
  text-transform: uppercase;
}

.perks-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: #8b1e14;
  margin-bottom: 20px;
}

.perks-list {
  list-style: disc;
  padding-left: 20px;
  color: #8b1e14;
  line-height: 1.8;
  font-size: 15px;
}

.perks-list li strong {
  font-weight: 700;
}

.perks-note {
  margin-top: 20px;
  font-style: italic;
  color: #8b1e14;
}

.perks-image {
  flex: 1;
}
.perks-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  border-radius: 4px;
}


/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background-color: #F8F5F1; /* Màu nền kem nhạt */
  padding: 60px 0 20px 0;
  color: #1a1a1a;
  font-size: 13px;
  font-family: sans-serif; /* Font chữ nội dung footer */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr; /* Chia tỉ lệ cột */
  gap: 40px;
  margin-bottom: 60px;
}

.footer-heading {
  font-family: "Playfair Display", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.footer-text {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
}

.footer-logo {
  margin-bottom: 20px;
}

.address-group {
  margin-bottom: 20px;
}
.address-group strong {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* --- Khối màu cam bên phải --- */
.club-col {
  background-color: #E35237; /* Màu cam đậm */
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.club-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
}

.club-desc {
  font-size: 15px;
  line-height: 1.6;
}

.zalo-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}


.lang-btn {
  border: 1px solid #ccc;
  padding: 8px 16px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Responsive: Mobile */
@media (max-width: 900px) {
  .perks-container {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 cột trên tablet */
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 cột trên mobile */
  }
  .club-col {
    margin-top: 20px;
  }
}



/* ===========================
   SITE FOOTER STYLING
   =========================== */

/* 1. NỀN VÀ BỐ CỤC CHUNG */
.site-footer {
  background-color: #F9F9F9; /* Màu nền xám kem rất nhạt */
  padding-top: 60px;
  padding-bottom: 30px;
  color: #1a1a1a;
  font-family: sans-serif;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* 2. CHỈNH LỀ RIÊNG CHO FOOTER (30px) */
/* Selector này sẽ ghi đè class .container chung của web */
.site-footer .container {
  padding-left: 30px !important;
  padding-right: 30px !important;
  max-width: 100%; /* Cho phép giãn rộng ra nếu muốn, hoặc giữ 1280px */
  box-sizing: border-box;
}

/* 3. LƯỚI CỘT (GRID) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr; /* Chia tỉ lệ các cột */
  gap: 40px;
  margin-bottom: 50px;
}

/* 4. TYPOGRAPHY (CHỮ) */
.footer-heading {
  font-family: "Playfair Display", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #1a1a1a;
  opacity: 0.9;
}

.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.address-group {
  margin-bottom: 15px;
}
.address-group strong {
  font-weight: 600;
  font-size: 13px;
  color: #333;
}

/* 5. KHỐI MÀU CAM (JOIN BAKES CLUB) */
.club-col {
  background-color: #E35237; /* Màu cam thương hiệu */
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 2px; /* Bo góc nhẹ cho mềm */
}

.club-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #fff;
}

.club-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.zalo-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin-top: 5px;
  display: inline-block;
}
.zalo-link:hover {
  opacity: 0.8;
}

/* 6. PHẦN DƯỚI CÙNG (FOOTER BOTTOM) */
.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 25px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 600;
}

/* --- LANGUAGE DROPDOWN (Đã chỉnh đẹp ở bước trước) --- */
.lang-dropdown {
    position: relative;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #555;
    z-index: 100;
    transform: translateY(-8px); 
}

.lang-selected {
    border: 1px solid #e0e0e0; 
    padding: 8px 12px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 130px;         
    transition: all 0.3s ease;
    border-radius: 2px;
}

.lang-selected:hover {
    border-color: #8b1e14;    
    color: #8b1e14;
}

.lang-list {
    position: absolute;
    top: calc(100% + 4px); 
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown.active .lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-list li {
    padding: 10px 12px;
    cursor: pointer;
    color: #666;
    font-size: 11px;
    transition: all 0.2s;
}

.lang-list li:hover {
    background-color: #fafafa;
    color: #8b1e14;
    padding-left: 16px;
}
.lang-list li.hidden { display: none; }


/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Tablet: 2 cột */
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .site-footer .container {
    padding-left: 20px !important; /* Mobile giảm lề còn 20px */
    padding-right: 20px !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr; /* Mobile: 1 cột */
  }
  
  .footer-bottom {
    flex-direction: column-reverse; /* Đảo ngược để copyright nằm dưới */
    gap: 20px;
    align-items: flex-start;
  }
  
  .club-col {
    margin-top: 20px;
  }
}