﻿/**
 * Professional Components
 * Perspektif Metal - Premium Card, Shadow & Border System
 * 
 * Bu dosya premium card tasarımları, shadow ve border stillerini tanımlar.
 */

/* ============================================
   PROFESSIONAL CARD SYSTEM
   ============================================ */

.pro-card {
  background: var(--bg-white, #ffffff);
  border-radius: var(--radius-lg, 12px);
  padding: var(--space-lg, 32px);
  box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.08));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  transition: 
    transform var(--duration-normal, 300ms) var(--ease-default, cubic-bezier(0.4, 0, 0.2, 1)),
    box-shadow var(--duration-normal, 300ms) var(--ease-default, cubic-bezier(0.4, 0, 0.2, 1)),
    border-color var(--duration-normal, 300ms) var(--ease-default, cubic-bezier(0.4, 0, 0.2, 1));
}

.pro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover, 0 16px 32px rgba(0, 0, 0, 0.12));
  border-color: rgba(15, 118, 110, 0.15);
}

/* Card variants */
.pro-card--flat {
  box-shadow: none;
  border: var(--border-light, 1px solid rgba(0, 0, 0, 0.1));
}

.pro-card--flat:hover {
  box-shadow: var(--shadow-lg, 0 8px 16px rgba(0, 0, 0, 0.1));
}

.pro-card--elevated {
  box-shadow: var(--shadow-lg, 0 8px 16px rgba(0, 0, 0, 0.1));
}

.pro-card--elevated:hover {
  box-shadow: var(--shadow-2xl, 0 20px 40px rgba(0, 0, 0, 0.15));
  transform: translateY(-8px);
}

/* Card with image */
.pro-card--media {
  padding: 0;
  overflow: hidden;
}

.pro-card--media .pro-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--duration-slow, 500ms) var(--ease-default);
}

.pro-card--media:hover .pro-card__image {
  transform: scale(1.05);
}

.pro-card--media .pro-card__content {
  padding: var(--space-md, 24px);
}

/* Card title */
.pro-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary, #1a202c);
  margin-bottom: var(--space-sm, 16px);
  line-height: 1.3;
}

/* Card description */
.pro-card__description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary, #4a5568);
  margin-bottom: var(--space-md, 24px);
}

/* Card link */
.pro-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-color, #0F766E);
  text-decoration: none;
  transition: 
    color var(--duration-fast, 150ms) var(--ease-default),
    gap var(--duration-fast, 150ms) var(--ease-default);
}

.pro-card__link:hover {
  color: var(--secondary-color, #0B3A3A);
  gap: 12px;
}

.pro-card__link::after {
  content: '→';
  transition: transform var(--duration-fast, 150ms) var(--ease-default);
}

.pro-card__link:hover::after {
  transform: translateX(4px);
}

/* ============================================
   ENHANCED EXISTING CARDS
   ============================================ */

/* Service cards enhancement */
.service-card,
.service-overview-card {
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.08));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  transition: 
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(15, 118, 110, 0.15);
}

/* Value cards enhancement */
.value-card,
.value-item {
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.06));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  transition: 
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover,
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Capability cards enhancement */
.capability-card-modern,
.capability-item {
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.06));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  transition: 
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.capability-card-modern:hover,
.capability-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.2);
}

/* Intro feature cards enhancement */
.intro-feature-card {
  border-radius: var(--radius-xl, 16px);
  box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.08));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  overflow: hidden;
  transition: 
    transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Equipment cards enhancement */
.equipment-item {
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-md, 0 4px 8px rgba(0, 0, 0, 0.08));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  transition: 
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.equipment-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/* Partner items enhancement */
.partner-item,
.partner-item-modern {
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.06));
  border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
  transition: 
    transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-item:hover,
.partner-item-modern:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.1);
  border-color: rgba(15, 118, 110, 0.2);
}

/* ============================================
   PROFESSIONAL BUTTON SYSTEM
   ============================================ */

.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  border: 2px solid transparent;
  cursor: pointer;
  transition: 
    transform var(--duration-fast, 150ms) var(--ease-default),
    box-shadow var(--duration-fast, 150ms) var(--ease-default),
    background-color var(--duration-fast, 150ms) var(--ease-default),
    border-color var(--duration-fast, 150ms) var(--ease-default);
}

.pro-btn--primary {
  background: linear-gradient(135deg, var(--primary-color, #0F766E) 0%, var(--secondary-color, #0B3A3A) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.pro-btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}

.pro-btn--primary:active {
  transform: translateY(0) scale(1);
}

.pro-btn--secondary {
  background: transparent;
  color: var(--primary-color, #0F766E);
  border-color: var(--primary-color, #0F766E);
}

.pro-btn--secondary:hover {
  background: var(--primary-color, #0F766E);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.2);
}

.pro-btn--accent {
  background: linear-gradient(135deg, var(--accent-color, #0F766E) 0%, #0B5E57 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.pro-btn--accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}

/* Button sizes */
.pro-btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.pro-btn--lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* ============================================
   ENHANCED EXISTING BUTTONS
   ============================================ */

.btn,
.btn-primary-modern,
.btn-secondary-modern,
.hero-cta {
  transition: 
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover,
.btn-primary-modern:hover,
.hero-cta:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary-modern:hover {
  transform: translateY(-2px);
}

/* ============================================
   PROFESSIONAL ICON CONTAINER
   ============================================ */

.pro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg, 12px);
  background: linear-gradient(135deg, var(--primary-color, #0F766E) 0%, var(--secondary-color, #0B3A3A) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
  transition: 
    transform var(--duration-normal, 300ms) var(--ease-default),
    box-shadow var(--duration-normal, 300ms) var(--ease-default);
}

.pro-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}

.pro-icon svg {
  width: 32px;
  height: 32px;
}

/* Icon sizes */
.pro-icon--sm {
  width: 48px;
  height: 48px;
}

.pro-icon--sm svg {
  width: 24px;
  height: 24px;
}

.pro-icon--lg {
  width: 80px;
  height: 80px;
}

.pro-icon--lg svg {
  width: 40px;
  height: 40px;
}

/* ============================================
   PROFESSIONAL DIVIDER
   ============================================ */

.pro-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 20%,
    rgba(0, 0, 0, 0.1) 80%,
    transparent 100%
  );
  margin: var(--space-xl, 48px) 0;
}

.pro-divider--accent {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color, #0F766E) 20%,
    var(--accent-color, #0F766E) 80%,
    transparent 100%
  );
}

/* ============================================
   PROFESSIONAL BADGE
   ============================================ */

.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-gray-100, #edf2f7);
  color: var(--text-secondary, #4a5568);
}

.pro-badge--primary {
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-color, #0F766E);
}

.pro-badge--accent {
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent-color, #0F766E);
}

.pro-badge--success {
  background: rgba(56, 161, 105, 0.1);
  color: var(--success-color, #38a169);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media screen and (max-width: 767px) {
  .pro-card {
    padding: var(--space-md, 24px);
  }
  
  .pro-card--media .pro-card__image {
    height: 180px;
  }
  
  .pro-btn {
    padding: 12px 24px;
    width: 100%;
  }
  
  .pro-btn--lg {
    padding: 14px 28px;
  }
}


/* ============================================
   Premium Breadcrumb Navigation
   Apple/Tesla Inspired Corporate Style
   ============================================ */
.breadcrumb {
  position: relative;
  padding: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* Subtle decorative background pattern */
.breadcrumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(15, 118, 110, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(15, 118, 110, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

/* Inner container with premium styling */
.breadcrumb-inner {
  position: relative;
  max-width: var(--container-max-width, 1200px);
  margin: 0 auto;
  padding: 20px var(--container-padding-mobile, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breadcrumb-list {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 12px 20px;
  max-width: var(--container-max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  /* Glass morphism effect */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 4px 20px rgba(15, 118, 110, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

/* Breadcrumb link with pill hover effect */
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary, #5a6270);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 20px;
  transition: 
    color 200ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.breadcrumb-link:hover {
  color: var(--primary-color, #0F766E);
  background: rgba(15, 118, 110, 0.08);
  transform: translateY(-1px);
}

.breadcrumb-link:active {
  transform: translateY(0);
}

/* Home icon styling */
.breadcrumb-link svg,
.breadcrumb-home-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: opacity 200ms ease, transform 200ms ease;
  flex-shrink: 0;
}

.breadcrumb-link:hover svg,
.breadcrumb-link:hover .breadcrumb-home-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Separator with chevron icon */
.breadcrumb-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary, #adb5bd);
  font-size: 0.75rem;
  margin: 0 2px;
  user-select: none;
  opacity: 0.5;
}

/* Replace "/" with chevron */
.breadcrumb-separator::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* Hide the "/" text */
.breadcrumb-separator {
  font-size: 0;
}

/* Current page - highlighted pill */
.breadcrumb-current {
  display: flex;
  align-items: center;
}

.breadcrumb-current span {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color, #0F766E) 0%, var(--secondary-color, #0B3A3A) 100%);
  box-shadow: 
    0 2px 8px rgba(15, 118, 110, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Breadcrumb home icon - inline SVG support */
.breadcrumb-home-icon {
  width: 14px;
  height: 14px;
  margin-right: 2px;
}

/* Animation for breadcrumb items */
.breadcrumb-item {
  animation: breadcrumbFadeIn 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.breadcrumb-item:nth-child(1) { animation-delay: 50ms; }
.breadcrumb-item:nth-child(2) { animation-delay: 100ms; }
.breadcrumb-item:nth-child(3) { animation-delay: 150ms; }
.breadcrumb-item:nth-child(4) { animation-delay: 200ms; }
.breadcrumb-item:nth-child(5) { animation-delay: 250ms; }

.breadcrumb-separator {
  animation: breadcrumbFadeIn 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.breadcrumb-list > .breadcrumb-separator:nth-of-type(1) { animation-delay: 75ms; }
.breadcrumb-list > .breadcrumb-separator:nth-of-type(2) { animation-delay: 125ms; }
.breadcrumb-list > .breadcrumb-separator:nth-of-type(3) { animation-delay: 175ms; }

@keyframes breadcrumbFadeIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 0;
  }
  
  .breadcrumb-list {
    padding: 10px 16px;
    gap: 4px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  }
  
  .breadcrumb-link {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .breadcrumb-current span {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
  
  .breadcrumb-separator::before {
    width: 4px;
    height: 4px;
  }
}

/* Very small screens - compact mode */
@media (max-width: 480px) {
  .breadcrumb-list {
    padding: 8px 12px;
  }
  
  .breadcrumb-link {
    padding: 4px 8px;
    font-size: 0.6875rem;
  }
  
  .breadcrumb-current span {
    padding: 4px 10px;
    font-size: 0.6875rem;
  }
  
  /* Hide middle items on very small screens, show only first and last */
  .breadcrumb-item:not(:first-child):not(:last-child),
  .breadcrumb-separator:not(:last-of-type) {
    display: none;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .breadcrumb-item,
  .breadcrumb-separator {
    animation: none;
    opacity: 1;
  }
  
  .breadcrumb-link:hover {
    transform: none;
  }
}
