/* ========================================
   Персональный лендинг — Константин Таланцев
   Цветовая схема: Navy + Gold
   ======================================== */

:root {
  --bg-primary: #0a1628;
  --bg-secondary: #0d1f3c;
  --bg-card: #111d35;
  --bg-card-hover: #162540;
  --gold: #c9a84c;
  --gold-light: #d4b860;
  --gold-dark: #a8892e;
  --text-primary: #e8edf3;
  --text-secondary: #a0b4cc;
  --text-muted: #6b7d95;
  --border-subtle: rgba(201, 168, 76, 0.15);
  --border-gold: rgba(201, 168, 76, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.08);
  --transition: all 0.3s ease;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.3;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #c9a84c 50%, #d4b860 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVIGATION ===== */
.navbar-custom {
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: var(--transition);
}
.navbar-custom .navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.navbar-custom .navbar-brand span {
  color: var(--gold);
}
.navbar-custom .nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  transition: var(--transition);
  border-radius: 6px;
}
.navbar-custom .nav-link:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
              linear-gradient(180deg, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-name {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight:400;
  letter-spacing:0.5px;
  margin-bottom:24px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-tag {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight:500;
}
.hero-description {
  font-size:1.08rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 10px;
  line-height:1.7;
}
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap:16px;
  color: var(--text-muted);
  font-size:0.9rem;
  margin-bottom:36px;
}
.hero-credentials i {
  color: var(--gold);
  margin-right:6px;
}

/* ===== BUTTONS ===== */
.btn-gold {
  background: linear-gradient(135deg, #c9a84c, #a8892e);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight:600;
  font-size:0.95rem;
  letter-spacing:0.3px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(201, 168, 76,0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #d4b860, #c9a84c);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76,0.35);
  color: #fff;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--border-gold);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight:600;
  font-size:0.95rem;
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: rgba(201, 168, 76,0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-sm {
  padding: 10px 22px;
  font-size:0.85rem;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-links a {
  color: var(--text-muted);
  font-size:0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.hero-links a:hover {
  color: var(--gold);
}

/* ===== SECTIONS ===== */
.section-padding {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .badge {
  display: inline-block;
  background: rgba(201, 168, 76,0.12);
  color: var(--gold);
  border: 1px solid var(--border-subtle);
  padding: 6px 20px;
  border-radius: 50px;
  font-size:0.8rem;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin:0 auto;
  font-size:1.05rem;
}
.section-alt {
  background: var(--bg-secondary);
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

/* ===== CARD ===== */
.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.card-custom:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.card-custom .card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76,0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--gold);
}
.card-custom h3 {
  font-size:1.15rem;
  margin-bottom: 10px;
}
.card-custom p {
  color: var(--text-secondary);
  font-size:0.93rem;
  margin:0;
}

/* ===== PORTFOLIO CARD ===== */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.portfolio-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.portfolio-card .card-body {
  padding: 28px 32px;
}
.portfolio-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.portfolio-card .card-meta span {
  font-size:0.8rem;
  color: var(--text-muted);
}
.portfolio-card .card-meta i {
  color: var(--gold);
  margin-right:5px;
}
.portfolio-card h3 {
  font-size:1.2rem;
  margin-bottom: 8px;
}
.portfolio-card p {
  color: var(--text-secondary);
  font-size:0.9rem;
  margin-bottom: 18px;
}

/* ===== TRINING CARD ===== */
.training-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  height: 100%;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.training-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  border-left-color: var(--gold);
  transform: translateX(6px);
}
.training-card h3 {
  font-size:1.1rem;
  margin-bottom: 10px;
}
.training-card p {
  color: var(--text-secondary);
  font-size:0.9rem;
  margin:0;
}

/* ===== TOLS ===== */
.tool-group {
  margin-bottom: 32px;
}
.tool-group h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  font-weight: 600;
}
.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size:0.88rem;
  transition: var(--transition);
}
.tool-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76,0.06);
}

/* ===== EXPERIENCE ===== */
.exp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
}
.exp-card:hover {
  border-color: var(--border-gold);
}
.exp-card .exp-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.exp-card h3 {
  font-size:1.15rem;
  margin-bottom: 10px;
}
.exp-card p {
  color: var(--text-secondary);
  font-size:0.92rem;
  margin:0;
}
.exp-card .exp-highlight {
  background: rgba(201, 168, 76,0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
  border-left: 3px solid var(--gold);
}
.exp-card .exp-highlight p {
  color: var(--text-primary);
  font-size:0.9rem;
  font-style: italic;
}

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  top: -200px;
  right:-200px;
  width:600px;
  height:600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-card h2 {
  margin-bottom:12px;
}
.contact-card p {
  color: var(--text-secondary);
  margin-bottom:36px;
  font-size:1.05rem;
}
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  padding: 8px 0;
}
.contact-info-item i {
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-item:hover {
  color: var(--gold-light);
  text-decoration: none;
}
.contact-info-item:hover i {
  color: var(--gold-light);
}

/* ===== FOOTER ===== */
.footer-custom {
  background: #080f1c;
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  text-align: center;
}
.footer-custom p {
  color: var(--text-muted);
  font-size:0.9rem;
  margin:0;
}
.footer-custom .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}
.footer-custom .footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-custom .footer-links a:hover {
  color: var(--gold);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay:0.15s; }
.delay-2 { animation-delay:0.3s; }
.delay-3 { animation-delay:0.45s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 100px 0 50px; }
  .section-padding { padding: 60px 0; }
  .contact-card { padding: 28px 20px; }
  }

@media (max-width: 576px) {
  .hero-name { font-size:2rem; }
  .hero-tag { font-size:0.78rem; padding: 5px 14px; }
}