/* ============================================
   REVO ENDÜSTRI – COMPONENT STYLES
   Navbar, Footer, Cards, Buttons, Tables, etc.
   ============================================ */

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: var(--z-navbar);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

.navbar-logo img {
  height: 32px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
  box-shadow: 0 0 8px var(--color-primary-glow);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--text-primary);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--transition-fast);
  margin-left: 2px;
}

.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  transform: translateX(-50%) translateY(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  color: var(--color-primary);
  background: rgba(0, 212, 255, 0.05);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 4px;
  font-size: 0.8rem;
}

.lang-switch button {
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
  color: var(--text-muted);
}

.lang-switch button.active {
  background: var(--color-primary);
  color: var(--text-on-primary);
}

.lang-switch button:hover:not(.active) {
  color: var(--text-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 1);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--text-on-primary);
  box-shadow: 0 0 20px var(--color-primary-dim);
}

.btn-primary:hover {
  background: #00e5ff;
  box-shadow: var(--shadow-glow-md);
  transform: translateY(-2px);
  color: var(--text-on-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: inset 0 0 20px var(--color-primary-dim);
}

.btn-secondary:hover {
  background: var(--color-primary-dim);
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-2px);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* --- Cards --- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-sm);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-dim);
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h4 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
}

/* Product Card */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-md);
}

.product-card-image {
  position: relative;
  padding: 40px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}

.product-card-image img {
  max-height: 220px;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

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

.product-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.product-card-body p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex: 1;
}

.product-card-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-card-specs .spec {
  font-size: 0.8rem;
  padding: 6px 12px;
  background: var(--color-primary-dim);
  border-radius: 100px;
  color: var(--color-primary);
  font-weight: 500;
  white-space: nowrap;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* --- Specs Table --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
}

.specs-table tr:hover {
  background: var(--bg-surface-hover);
}

.specs-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
  width: 50%;
}

.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-heading);
}

/* --- Accordion (FAQ) --- */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.accordion-item.active {
  border-color: var(--border-glow);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: var(--bg-surface-hover);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-dim);
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-content {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Stats Counter --- */
.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 0 30px var(--color-primary-glow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Progress Bars --- */
.progress-item {
  margin-bottom: 24px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.progress-label span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.progress-label span:last-child {
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-heading);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-surface);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 0 12px var(--color-primary-glow);
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
  position: relative;
  z-index: var(--z-content);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-brand img {
  height: 28px;
}

.footer h5 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact-icon {
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .holding-logo {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.footer-bottom .holding-logo:hover {
  opacity: 1;
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* Radio group */
.radio-group {
  display: flex;
  gap: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.radio-label input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  transition: all var(--transition-fast);
  position: relative;
}

.radio-label input[type="radio"]:checked {
  border-color: var(--color-primary);
}

.radio-label input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* --- Contact Form --- */
.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-radio-group {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.form-radio {
  flex: 1;
  cursor: pointer;
}

.form-radio input[type="radio"] {
  display: none;
}

.form-radio-btn {
  display: block;
  text-align: center;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
  border-right: 1px solid var(--border-color);
}

.form-radio:last-child .form-radio-btn {
  border-right: none;
}

.form-radio input[type="radio"]:checked + .form-radio-btn {
  background: var(--color-primary);
  color: #fff;
}

.form-alert {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

#contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

#contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: var(--z-lightbox);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  background: var(--bg-glass);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--bg-surface-hover);
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-sm);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-3d-container {
  position: absolute;
  top: 0;
  right: -5%;
  width: 55%;
  height: 100%;
  z-index: 3;
}

/* Page Hero (for inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--navbar-height) + 80px) 0 80px;
  overflow: hidden;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Loading Overlay --- */
.model-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 5;
  transition: opacity var(--transition-slow);
}

.model-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Accessory Card --- */
.accessory-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.accessory-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-sm);
}

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

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

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

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

.accessory-card-body h4 {
  margin-bottom: 10px;
}

.accessory-card-body p {
  font-size: 0.9rem;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-accent), var(--color-secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 24px;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary-glow);
  border: 2px solid var(--bg-primary);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.timeline-item h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.timeline-item p {
  font-size: 0.9rem;
}

/* --- Video Showcase --- */
.video-showcase {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #000;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.video-showcase video,
.video-showcase iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-showcase .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(5, 5, 8, 0.5);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 2;
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  color: var(--color-primary);
  transition: transform var(--transition-base), color var(--transition-base);
  filter: drop-shadow(0 0 20px var(--color-primary-glow));
}

.video-play-btn svg {
  width: 100%;
  height: 100%;
}

.video-showcase:hover .video-play-btn {
  transform: scale(1.1);
  color: #fff;
}

/* --- News Cards --- */
.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-sm);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.news-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.news-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.news-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.news-card-link:hover {
  color: var(--color-secondary);
}

.video-play-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- References Marquee --- */
.references-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.references-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.reference-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8) invert(1);
  opacity: 0.6;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.reference-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Footer Social --- */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

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

/* ===== NEWS ARTICLE DETAIL ===== */
.article-hero {
  padding: 140px 0 40px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  transition: opacity var(--transition-fast);
}

.article-back:hover {
  opacity: 0.7;
}

.article-meta {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
}

.article-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-bottom-nav {
  max-width: 800px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
