/* src/styles/global.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

:root {
  --primary: #D4AF37;
  --primary-dark: #B5932D;
  --text-main: #1A1A1A; /* Text black cho nền sáng */
  --text-light: #6B6B6B;
  --bg-main: #ffffff; /* Nền trắng như ban đầu */
  --bg-light: #f8f9fa; /* Nền xám nhạt */
  --bg-subtle: #f0f4f8;
  --font-family: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 35px rgba(0,0,0,0.12);
  --radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: var(--font-serif);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-main) !important;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  color: var(--bg-main) !important;
}

.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg-main) !important;
}

/* Titles */
.section-title {
  font-size: 30px;
  color: var(--text-main);
  margin-bottom: 40px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.text-center.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-center {
  text-align: center;
}

/* Grids */
.grid {
  display: grid;
  gap: 30px;
}

/* Header Mobile Overrides */
@media (max-width: 991px) {
  .hide-on-mobile {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
  }
}
.mobile-nav-global {
  display: none;
  background: #fff;
  border-top: 1px solid #EAEAEA;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 999;
}
.mobile-nav-global.active {
  display: block;
}
.mobile-nav-global ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-global li {
  border-bottom: 1px solid #f5f5f5;
}
.mobile-nav-global li:last-child {
  border-bottom: none;
}
.mobile-nav-global a {
  display: block;
  padding: 12px 0;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

/* Stats Premium */
.stats-premium {
  padding: 30px 0;
  background: #FDFDFD;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 40px;
}
.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e5e5e5;
}
.stat-icon {
  color: #C19D5D;
}
.stat-icon svg {
  width: 40px;
  height: 40px;
}
.stat-text {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 4px;
  font-weight: 700;
}
.stat-label {
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-family);
}
@media (max-width: 768px) {
  .banner-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .services-section {
    padding: 20px 0 !important;
  }
  .section-title {
    font-size: 30px;
    color: #C19D5D !important;
    margin-bottom: 10px !important;
  }
  .section-title::after {
    display: none;
  }
  .services-grid, .project-grid, .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 10px !important;
  }
  .service-card .card-content, .project-card .project-content, .project-card .card-content {
    padding: 15px !important;
  }
  .service-card h2, .project-card h2, .project-card h3 {
    font-size: 20px !important;
    color: #C19D5D !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }
  .service-card p, .project-card p, .project-card .excerpt, .project-card .project-meta {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  .stats-premium {
    padding: 15px 0;
    margin-bottom: 0px !important;
  }
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px 10px !important;
  }
  .stat-item {
    flex-direction: row !important;
    text-align: left !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .stat-icon svg {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0;
  }
  .stat-text {
    align-items: flex-start !important;
  }
  .stat-number {
    font-size: 1.2rem !important;
    margin-bottom: 4px !important;
  }
  .stat-label {
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0px !important;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.about-content {
  padding-left: 20px;
}
.about-title {
  margin-bottom: 25px;
  line-height: 1.3;
}
.about-title .sub-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: #C19D5D;
  text-transform: uppercase;
}
.about-title .main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #C19D5D;
}
.about-desc p {
  font-size: 0.95rem;
  color: #000;
  line-height: 1.6;
  margin-bottom: 15px;
}
.about-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.about-actions .btn {
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}
.about-actions .btn-primary {
  background-color: #C19D5D;
  color: #fff;
  border: 1px solid #C19D5D;
}
.about-actions .btn-primary:hover {
  background-color: #a38249;
  border-color: #a38249;
}
.about-actions .btn-outline {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}
.about-actions .btn-outline:hover {
  background-color: #f5f5f5;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-content {
    padding-left: 0;
  }
  .about-title .main-title {
    font-size: 1.8rem;
  }
}


h1 {
  font-size: 30px;
  font-weight: 600;
}

h2 {
  font-size: 20px;
  font-weight: 500;
}

/* Table Styles for WordPress Content */
.category-description-bottom table,
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category-description-bottom table th, 
.category-description-bottom table td,
.post-content table th, 
.post-content table td {
  padding: 15px;
  border: 1px solid #eaeaea;
  text-align: left;
  vertical-align: top;
}

.category-description-bottom table th,
.post-content table th {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.category-description-bottom table tbody tr:nth-of-type(even),
.post-content table tbody tr:nth-of-type(even) {
  background-color: #fcfcfc;
}

/* Responsive Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 25px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category-description-bottom table,
.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background-color: #fff;
  margin: 0; /* Margin is now handled by .table-responsive */
}

@media (max-width: 768px) {
  .category-description-bottom table,
  .post-content table {
    min-width: 600px; /* Bắt buộc rộng để vuốt ngang */
  }
}
