/* ============================================
   BIYOLINE MEDIKAL - ANA STIL DOSYASI
   Profesyonel Medikal Cihaz Web Sitesi
   ============================================ */

/* ---------- CSS RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Renkler */
  --primary: #E8222E;
  --primary-dark: #C41230;
  --primary-light: #FDE8EC;
  --accent: #FF3344;
  --accent-light: #FBBFC8;
  --text-dark: #1A1A2E;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-dark: #1A1A2E;
  --border-color: #E5E7EB;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Tipografi */
  --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --header-height: 80px;
  --topbar-height: 40px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- UTILITY CLASSES ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--bg-dark);
  color: #fff;
  height: var(--topbar-height);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-left a {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.topbar-left a:hover {
  color: #fff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-social {
  display: flex;
  gap: 12px;
}

.topbar-social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.topbar-social a:hover {
  color: var(--accent);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.lang-switch a {
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.lang-switch a.active {
  background: var(--primary);
  color: #fff;
}

.lang-switch a:hover:not(.active) {
  color: #fff;
}

/* ---------- HEADER & NAVIGATION ---------- */
.header {
  background: #fff;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: 2.5px;
}

.logo-text .brand::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-top: 4px;
  border-radius: 1px;
}

.logo-text .brand .brand-bio {
  color: var(--text-dark);
  font-weight: 800;
}

.logo-text .tagline {
  font-size: 0.65rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  height: 100%;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  border-radius: 2px 2px 0 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 680px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
  border-top: 3px solid var(--primary);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mega-menu-item:hover {
  background: var(--bg-alt);
}

.mega-menu-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.mega-menu-item:hover .mega-menu-icon {
  background: var(--primary);
  color: #fff;
}

.mega-menu-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.mega-menu-content p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Dropdown (simpler) */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  pointer-events: none;
  border-top: 3px solid var(--primary);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 24px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-gray);
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.header-search:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SLIDER ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(155,14,38,0.7) 0%, rgba(196,18,48,0.45) 50%, rgba(232,51,74,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 650px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-dot.active {
  background: #fff;
  width: 36px;
  border-radius: 6px;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  pointer-events: all;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* ---------- CATEGORIES SECTION ---------- */
.categories {
  background: var(--bg-white);
  padding: 80px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition-normal);
}

.category-card:hover .category-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.category-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 12px;
  background: var(--primary-light);
  border-radius: 50px;
}

/* ---------- ABOUT PREVIEW SECTION ---------- */
.about-preview {
  background: var(--bg-alt);
  padding: 80px 0;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-preview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-preview-image .experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-preview-content .section-tag {
  margin-bottom: 12px;
}

.about-preview-content .section-title {
  margin-bottom: 16px;
}

.about-preview-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.about-feature .check {
  width: 24px;
  height: 24px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- STATS SECTION ---------- */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ---------- BRANDS SECTION ---------- */
.brands {
  background: var(--bg-white);
  padding: 80px 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.brand-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all var(--transition-normal);
}

.brand-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.brand-item img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-item .brand-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.brand-item:hover .brand-name {
  color: var(--primary);
}

/* ---------- NEWS SECTION ---------- */
.news {
  background: var(--bg-alt);
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-body {
  padding: 24px;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-body h3 {
  color: var(--primary);
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.news-card-link:hover {
  gap: 10px;
}

/* ---------- CTA SECTION ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta .section-title {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text .brand {
  color: var(--accent);
}

.footer-brand .logo-text .brand::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
}

.footer-brand .logo-text .brand .brand-bio {
  color: #fff;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 12px;
}

.footer-contact li .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  margin-top: 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ---------- PAGE BANNER (Subpages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb span {
  opacity: 0.5;
}

/* ---------- PRODUCTS PAGE ---------- */
.products-page {
  padding: 60px 0;
}

.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

/* Sidebar */
.products-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-gray);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card-image {
  height: 220px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.product-card-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.product-card-body {
  padding: 20px;
}

.product-card-brand {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-card-body p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.product-card-link:hover {
  gap: 10px;
}

/* ---------- ABOUT PAGE ---------- */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 60px 0;
}

.mv-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.mv-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ---------- SERVICES PAGE ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 60px 0;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.service-features {
  margin-top: 16px;
}

.service-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.contact-info-card .icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  background: var(--bg-alt);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,179,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- NEWS PAGE ---------- */
.news-page {
  padding: 60px 0;
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- PRODUCT DETAIL PAGE (Mindray-Inspired) ---------- */

/* === PRODUCT HERO (Clean white like Mindray) === */
.product-hero {
  position: relative;
  background: var(--bg-white);
  padding: 40px 0 60px;
  color: var(--text-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 0.85rem;
}

.product-hero .breadcrumb a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.product-hero .breadcrumb a:hover {
  color: var(--primary);
}

.product-hero .breadcrumb span {
  color: var(--text-light);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-content {
  z-index: 2;
}

.product-hero-brand {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.product-hero-category {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.product-hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.product-hero-desc {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-gray);
  max-width: 520px;
}

.product-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.product-hero-image img {
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-hero-image:hover img {
  transform: scale(1.02);
}

/* === PRODUCT SHOWCASE SECTIONS (Mindray-style) === */
.product-showcase {
  padding: 80px 0;
  overflow: hidden;
}

.product-showcase:nth-child(even) {
  background: var(--bg-alt);
}

.product-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-showcase.reverse .product-showcase-inner {
  direction: rtl;
}

.product-showcase.reverse .product-showcase-inner > * {
  direction: ltr;
}

.product-showcase-content {
  position: relative;
}

.product-showcase-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-showcase-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.product-showcase-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.product-showcase-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.product-showcase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.product-showcase-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E8222E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.product-showcase-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-showcase-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.1));
  transition: transform 0.5s ease;
}

.product-showcase-image:hover img {
  transform: scale(1.03);
}

.product-showcase-image::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
}

/* === PRODUCT DESCRIPTION === */
.product-description {
  padding: 80px 0 60px;
}

.product-description-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.product-description-text h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.product-description-text p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-gray);
}

/* === PRODUCT SPECS === */
.product-specs-section {
  padding: 60px 0 80px;
  background: var(--bg-alt);
}

.product-specs-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.spec-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-card-icon i {
  color: var(--primary);
  font-size: 1.1rem;
}

.spec-card-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* === PRODUCT FEATURES === */
.product-features-section {
  padding: 80px 0;
}

.product-features-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.product-features-list {
  max-width: 900px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #eee;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-row-content p {
  font-size: 1.02rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* === PRODUCT DETAIL BACK === */
.product-detail-back {
  padding: 20px 0 40px;
  text-align: center;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.search-overlay input {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.3rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  outline: none;
}

.search-overlay input::placeholder {
  color: rgba(255,255,255,0.5);
}

.search-overlay-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
