/* ============================================================
   THEME-PRO.CSS — Professional dark/red theme with subtle motion
   ============================================================ */

:root {
  --bg-1: #060608;
  --bg-2: #0b0d10;
  --bg-3: #0f1218;
  --card: #0f141c;
  --muted-2: #a9b0bd;
  --muted-3: #7d8596;
  --border-strong: rgba(255, 255, 255, 0.08);
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 25px 55px rgba(0, 0, 0, 0.55);
  --blur: blur(14px);
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.1), transparent 32%),
              linear-gradient(140deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));
  color: #f5f6f9;
}

a { color: #f5f6f9; }

a:hover { color: #fff; }

/* Navigation */
nav#main-nav {
  background: rgba(8, 10, 14, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow-1);
}

nav#main-nav.scrolled {
  background: rgba(8, 10, 14, 0.9);
}

nav#main-nav ul li a {
  color: #cfd5e4;
  letter-spacing: 0.4px;
}

nav#main-nav ul li a:hover,
nav#main-nav ul li a.active {
  color: #fff;
}

/* Hero */
#header {
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.4), rgba(6, 8, 10, 0.9)),
              radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.12), transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08), transparent 35%),
              #050608;
}

.header-row {
  min-height: 90vh;
  gap: 32px;
}

.header-text h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-subtext {
  color: var(--muted-2);
  font-size: 18px;
}

.hero-btns .btn,
.hero-btns .btn-resume-premium {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.hero-image img {
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.55));
}

/* Cards / Projects */
.compact-project-card,
.service-card,
.work,
.card {
  background: linear-gradient(160deg, rgba(15, 20, 28, 0.9), rgba(10, 14, 20, 0.9));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-1);
}

.compact-project-card:hover,
.service-card:hover,
.work:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: rgba(37, 99, 235, 0.25);
}

.card-title,
.service-card h2,
.timeline-text h3 {
  color: #fdfdff;
}

.card-desc,
.service-card p,
.timeline-text p,
.hero-subtext,
.about-text p,
.skill-list li,
.contact-cta,
.journey-subtitle {
  color: #c6ccd8;
}

.card-tags span,
.service-card .badge,
.timeline-year {
  background: rgba(37, 99, 235, 0.08);
  color: #ffcfe0;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.btn,
.btn-link {
  border-radius: 999px;
}

/* Sections */
section,
#about,
#skills-tools,
#my-projects,
#services,
#tech-journey,
#contact {
  background: transparent;
}

#services {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.9), rgba(7, 8, 12, 0.9));
  border-top: 1px solid var(--border-strong);
}

#skills-tools {
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.85), rgba(5, 7, 10, 0.95));
}

#contact {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.9), rgba(5, 6, 9, 0.92));
  border-top: 1px solid var(--border-strong);
}

.sub-title,
.section-title {
  letter-spacing: -0.5px;
}

/* About */
.about-col-1 img {
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-2);
}

.about-text a {
  color: #ff6b9d;
}

/* Skills */
.skill-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
}

.skill-category h3 {
  color: #f7f8fb;
}

.skill-list li::before {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}

/* Timeline */
.timeline::before {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0));
}

.timeline-content {
  background: linear-gradient(160deg, rgba(17, 22, 30, 0.92), rgba(10, 12, 18, 0.9));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-1);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

/* Contact */
.contact-left .social-icons a {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

form input,
form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  color: #f5f6f9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

form input:focus,
form textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

/* Buttons */
.btn-primary,
.btn-link,
.btn-resume-premium {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border: none;
}

.btn-resume-premium {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.btn-resume-premium:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.14));
}

/* CTA links */
.btn-link.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: #e4e7ef;
}

/* Scroll-top */
.scroll-top {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

/* SVG backgrounds subtlety */
.svg-background,
.section-svg-bg {
  opacity: 0.55;
}

@media (max-width: 900px) {
  .svg-background,
  .section-svg-bg { opacity: 0.22; }
}

/* Focus states */
:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

/* Animation tuning: subtle motion */
.animate-hidden { opacity: 0; transform: translateY(26px); }
.animate-visible { opacity: 1; transform: translateY(0); }

/* Form submit button */
form button[type="submit"],
form .btn {
  width: fit-content;
  padding-inline: 32px;
}

/* Footer tweak */
footer,
.footer {
  background: rgba(5, 7, 11, 0.85);
  border-top: 1px solid var(--border-strong);
}

