/* Tap Doan Page Specific Styles */

/* Main Content */
.main-content {
  padding: 50px 0;
  background-color: white;
}

.main-content .container {
  max-width: 1800px;
  padding: 0 80px;
}

.alliance-title {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  color: #333;
  margin-bottom: 60px;
  line-height: 1.2;
  text-transform: uppercase;
}

.alliance-title .highlight {
  color: #da9841;
  font-size: 56px;
}

/* Brand Cards Section */
.brand-cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  justify-items: center;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 20px;
}

.brand-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.brand-card-link {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.brand-card-link:hover {
  transform: translateY(-5px);
}

.brand-card-link:hover .brand-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-card {
  width: 346px;
  height: 189px;
  border-radius: 20px;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.brand-card.kim66 {
  background: linear-gradient(135deg, #4a90e2, #357abd);
}

.brand-card.kim88 {
  background-color: #fff9f0;
}

.brand-card.kim99 {
  background: linear-gradient(135deg, #1a1a1a, #000);
}

.brand-image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.brand-logo-wrapper {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.detail-btn {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 30px;
  background-color: white;
  color: #da9841;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.detail-btn:hover {
  background-color: #da9841;
  color: white;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Separator Line */
.separator-line {
  width: 100%;
  height: 2px;
  background-color: #b21c24;
  margin: 60px 0;
}

/* Info Sections */
.info-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.info-title {
  font-size: 24px;
  font-weight: 800;
  color: #da9841;
  margin: 0;
  line-height: 1.3;
}

.info-text {
  font-size: 18px;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

/* Responsive */
@media (min-width: 1286px) {
  .brand-cards-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1623px) and (min-width: 1286px) {
  .info-title {
    font-size: 18px;
  }

  .info-text {
    font-size: 16px;
  }
}

@media (max-width: 1285px) {
  .brand-cards-section {
    grid-template-columns: 1fr;
  }

  .info-sections {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 1200px) {
  .brand-cards-section {
    gap: 30px;
  }

  .info-sections {
    gap: 30px;
  }

  .info-title {
    font-size: 20px;
  }

  .info-text {
    font-size: 17px;
  }
}

@media (max-width: 968px) {
  .alliance-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .alliance-title .highlight {
    font-size: 42px;
  }

  .brand-cards-section {
    gap: 60px;
  }

  .brand-card {
    width: 100%;
    max-width: 346px;
  }

  .info-sections {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 1137px) {
  .brand-cards-section {
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  .alliance-title {
    font-size: 32px;
    margin-bottom: 50px;
  }

  .alliance-title .highlight {
    font-size: 48px;
  }

  .info-sections {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .info-title {
    font-size: 18px;
  }

  .info-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 30px 0;
  }

  .alliance-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .alliance-title .highlight {
    font-size: 32px;
  }

  .brand-cards-section {
    gap: 40px;
  }

  .brand-card {
    width: 100%;
    max-width: 346px;
  }

  .detail-btn {
    font-size: 14px;
    padding: 10px 25px;
    bottom: -28px;
  }

  .separator-line {
    margin: 40px 0;
  }

  .info-title {
    font-size: 18px;
  }

  .info-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .alliance-title {
    font-size: 18px;
  }

  .alliance-title .highlight {
    font-size: 26px;
  }

  .brand-card {
    height: 150px;
  }

  .detail-btn {
    font-size: 12px;
    padding: 8px 20px;
    bottom: -25px;
  }

  .brand-logo {
    height: 30px;
  }

  .info-title {
    font-size: 18px;
  }

  .info-text {
    font-size: 14px;
  }

  .brand-logo {
    height: 30px;
  }

  .info-title {
    font-size: 16px;
  }
}
