/* ========================================
   Visa Services Brochure Styles - Image Edition
   签证服务招商手册样式 - 图片版
   ======================================== */

/* Hero Section with Background Image */
.brochure-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.85) 0%, rgba(30, 58, 138, 0.9) 100%),
              url('../images/pages/visa-services.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.brochure-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--color-white), transparent);
}

.brochure-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.brochure-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: white;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.brochure-hero h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.brochure-hero h1 span {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-normal);
  color: rgba(255,255,255,0.85);
  margin-top: var(--space-3);
}

.brochure-countries {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.brochure-country {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.brochure-country:hover {
  transform: scale(1.1);
}

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

/* Features Bar */
.features-bar {
  background: var(--color-white);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Country Section */
.country-section {
  padding: var(--space-20) 0;
}

.country-section:nth-child(odd) {
  background: var(--color-gray-50);
}

.country-section:nth-child(even) {
  background: var(--color-white);
}

.country-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.country-flag-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.country-flag-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-header h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}

.country-header h2 span {
  display: block;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Visa Cards with Images */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.visa-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
  transition: all 0.3s ease;
  position: relative;
}

.visa-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.visa-card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.visa-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.visa-card:hover .visa-card-image img {
  transform: scale(1.05);
}

.visa-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.usa-visa .visa-card-overlay { background: linear-gradient(to bottom, rgba(30, 58, 138, 0.2) 0%, rgba(30, 58, 138, 0.6) 100%); }
.au-visa .visa-card-overlay { background: linear-gradient(to bottom, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.6) 100%); }
.ca-visa .visa-card-overlay { background: linear-gradient(to bottom, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.6) 100%); }
.uk-visa .visa-card-overlay { background: linear-gradient(to bottom, rgba(30, 58, 138, 0.2) 0%, rgba(220, 38, 38, 0.6) 100%); }
.ie-visa .visa-card-overlay { background: linear-gradient(to bottom, rgba(22, 163, 74, 0.2) 0%, rgba(22, 163, 74, 0.6) 100%); }

.visa-tag {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 4px 12px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--font-bold);
  color: var(--color-primary);
  z-index: 2;
}

.visa-card-body {
  padding: var(--space-5);
}

.visa-card-body h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.visa-card-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.visa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.visa-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-text-secondary);
  background: var(--color-gray-50);
  padding: 4px 10px;
  border-radius: var(--radius-md);
}

.visa-meta span i {
  font-size: 10px;
  color: var(--color-primary);
}

/* Quick Match Section */
.matching-section {
  background: linear-gradient(135deg, var(--color-text-primary) 0%, #1e293b 100%);
  padding: var(--space-20) 0;
  color: white;
}

.matching-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.matching-header h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
}

.matching-header p {
  font-size: var(--text-lg);
  opacity: 0.8;
}

.matching-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.matching-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  text-align: center;
  transition: all 0.3s ease;
}

.matching-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.matching-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: var(--text-2xl);
}

.matching-card h4 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--color-secondary);
}

.matching-card p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Slogan Section */
.slogan-section {
  background: var(--color-white);
  padding: var(--space-16) 0;
  text-align: center;
}

.slogan-text {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.15em;
}

.slogan-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  margin: var(--space-6) auto;
  border-radius: var(--radius-full);
}

/* CTA Cards */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.cta-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  color: white;
  text-align: center;
}

.cta-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.cta-card p {
  font-size: var(--text-sm);
  opacity: 0.9;
  margin-bottom: var(--space-4);
}

/* Responsive */
@media (max-width: 1024px) {
  .visa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .matching-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brochure-hero h1 {
    font-size: var(--text-3xl);
  }
  
  .brochure-countries {
    flex-wrap: wrap;
  }
  
  .visa-grid {
    grid-template-columns: 1fr;
  }
  
  .matching-cards {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-cards {
    grid-template-columns: 1fr;
  }
}
