/* Approved Thailand - Custom Styles */
/* Color Scheme: Green (Trust) + Navy (Professional) */

:root {
  /* Primary - Trust & Safety */
  --approved-green: #10B981;
  --approved-green-light: #34D399;
  --approved-green-dark: #059669;

  /* Secondary - Professional */
  --approved-navy: #1E3A5F;
  --approved-navy-light: #2D4A6F;
  --approved-navy-dark: #152A45;

  /* Accent - Certification */
  --approved-gold: #F59E0B;
  --approved-gold-light: #FBBF24;

  /* Neutrals */
  --approved-white: #FFFFFF;
  --approved-off-white: #F9FAFB;
  --approved-gray-light: #F3F4F6;
  --approved-gray: #6B7280;
  --approved-gray-dark: #374151;
  --approved-dark: #111827;
}

html {
  margin-left: 0 !important;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero-section {
  background: linear-gradient(135deg, var(--approved-navy-dark) 0%, var(--approved-navy) 50%, var(--approved-navy-light) 100%);
  color: var(--approved-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--approved-green), var(--approved-green-light));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--approved-white) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--approved-green-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ==================== */
/* Buttons              */
/* ==================== */

.btn {
  border-radius: 6px !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  border-radius: 8px !important;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  border-radius: 5px !important;
}

/* Primary CTA - Green */
.btn-approved {
  background: var(--approved-green);
  color: var(--approved-white);
  font-weight: 600;
  border: none;
}

.btn-approved:hover {
  background: var(--approved-green-dark);
  color: var(--approved-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Secondary - Navy */
.btn-navy {
  background: var(--approved-navy);
  color: var(--approved-white);
  border: none;
}

.btn-navy:hover {
  background: var(--approved-navy-dark);
  color: var(--approved-white);
}

.btn-outline-light {
  border: 2px solid var(--approved-white);
  color: var(--approved-white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--approved-white);
  color: var(--approved-navy);
}

.btn-outline-navy {
  border: 2px solid var(--approved-navy);
  color: var(--approved-navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--approved-navy);
  color: var(--approved-white);
}

.btn-outline-green {
  border: 2px solid var(--approved-green);
  color: var(--approved-green);
  background: transparent;
}

.btn-outline-green:hover {
  background: var(--approved-green);
  color: var(--approved-white);
}

/* ==================== */
/* Navbar               */
/* ==================== */

.navbar {
  background: var(--approved-navy) !important;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 600;
}

.navbar .btn-approved {
  background: var(--approved-green);
}

.navbar .btn-approved:hover {
  background: var(--approved-green-light);
}

/* ==================== */
/* Cards                */
/* ==================== */

.card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: var(--approved-navy) !important;
  color: var(--approved-white) !important;
  border-radius: 12px 12px 0 0 !important;
}

/* Category Cards */
.category-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--approved-green);
  transform: translateY(-4px);
}

.category-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--approved-green-light), var(--approved-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--approved-white);
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--approved-navy);
  margin-bottom: 0.75rem;
}

.category-desc {
  color: var(--approved-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==================== */
/* Feature Cards        */
/* ==================== */

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--approved-green-light), var(--approved-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--approved-white);
}

.feature-title {
  font-weight: 600;
  color: var(--approved-navy);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-card .text-muted {
  font-size: 1rem;
}

/* ==================== */
/* Certification Badge  */
/* ==================== */

.approved-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--approved-green), var(--approved-green-dark));
  color: var(--approved-white);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.approved-badge svg {
  width: 16px;
  height: 16px;
}

.approved-badge-gold {
  background: linear-gradient(135deg, var(--approved-gold), var(--approved-gold-light));
  color: var(--approved-dark);
}

/* ==================== */
/* Listing Cards        */
/* ==================== */

.listing-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.listing-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.listing-card-header {
  background: var(--approved-off-white);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.listing-card-body {
  padding: 1.25rem;
}

.listing-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--approved-navy);
  margin-bottom: 0.5rem;
}

.listing-category {
  display: inline-block;
  background: var(--approved-gray-light);
  color: var(--approved-gray-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.listing-desc {
  color: var(--approved-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--approved-gray);
  font-size: 0.875rem;
}

.listing-meta svg {
  width: 16px;
  height: 16px;
  color: var(--approved-green);
}

/* ==================== */
/* Section Styles       */
/* ==================== */

.section-light {
  background: var(--approved-off-white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--approved-navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--approved-gray);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--approved-green-light), var(--approved-green));
  color: var(--approved-white);
  position: relative;
}

.cta-section h2 {
  color: var(--approved-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
  background: var(--approved-navy);
  color: var(--approved-white);
  padding: 3rem 0;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--approved-green-light);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== */
/* Footer               */
/* ==================== */

.site-footer {
  background: var(--approved-navy-dark);
  color: var(--approved-white);
  padding: 2.5rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--approved-green), var(--approved-green-light));
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--approved-green-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--approved-green-light);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

/* ==================== */
/* Filter Buttons       */
/* ==================== */

.filter-btn {
  background: var(--approved-white);
  border: 2px solid #e5e7eb;
  color: var(--approved-gray-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--approved-green);
  color: var(--approved-green);
}

.filter-btn.active {
  background: var(--approved-green);
  border-color: var(--approved-green);
  color: var(--approved-white);
}

/* ==================== */
/* Info Box             */
/* ==================== */

.info-box {
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  border: 1px solid #C7D2FE;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-box-green {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-color: #A7F3D0;
}

.info-box-title {
  font-weight: 600;
  color: var(--approved-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box-title svg {
  color: var(--approved-green);
}

/* ==================== */
/* Typography           */
/* ==================== */

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--approved-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--approved-navy);
}

h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.small, small {
  font-size: 0.9375rem !important;
}

.text-muted {
  color: var(--approved-gray) !important;
}

a {
  color: var(--approved-green);
}

a:hover {
  color: var(--approved-green-dark);
}

/* ==================== */
/* Utility Classes      */
/* ==================== */

.bg-approved-light {
  background: var(--approved-gray-light);
}

.text-approved-green {
  color: var(--approved-green);
}

.text-approved-navy {
  color: var(--approved-navy);
}

.border-approved {
  border-color: var(--approved-green) !important;
}

/* ==================== */
/* Mobile Adjustments   */
/* ==================== */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

  .category-icon {
    width: 56px;
    height: 56px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ==================== */
/* Animation            */
/* ==================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-out;
}
