/** 
 * main.css
 * Tema central para VeryWebArg - Basado en Bootstrap 5.3 + skill.md
 */

/* ================= 1. Variables & Root ================= */
:root {
  --color-default: #333333;
  --color-primary: #054ada;     /* IBM Blue */
  --color-secondary: #00f2ff;   /* DevOps Cyan */
  --color-dark: #161616;        /* Dark Slate */
  --color-light: #f4f7f6;       /* Background Light */
  
  --font-default: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-heading: 'Raleway', sans-serif;
  --font-nav: 'Raleway', sans-serif;
  --font-code: 'Roboto Mono', monospace;
}

/* ================= 2. General Settings ================= */
body {
  color: var(--color-default);
  background-color: var(--color-light);
  font-family: var(--font-default);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ================= 3. Buttons (skill.md guidelines) ================= */
.btn-getstarted, .btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid transparent;
}

.btn-getstarted:hover, .btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ================= 4. Section Titles ================= */
.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--color-dark);
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  bottom: 0;
  left: calc(50% - 20px);
}

/* ================= 5. Service Cards ================= */
.service-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  height: 100%;
  border-bottom: 4px solid var(--color-primary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.1);
}

.card-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(5, 74, 218, 0.1); /* Transparent IBM Blue */
  position: absolute;
  right: 20px;
  top: 10px;
}

.card-content h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

.card-content p {
  line-height: 24px;
  font-size: 15px;
}

/* ================= 6. Navigation ================= */
.navbar {
  background-color: var(--color-dark);
  padding: 15px 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.nav-link {
  font-family: var(--font-nav);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-secondary) !important;
}

/* ================= 7. Custom Components ================= */
/* Terminal / Hero */
.hero-code {
  font-family: var(--font-code);
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-secondary);
}

/* Obso calculator tweaks for Bootstrap */
.calculator-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-control, .form-select {
  border-radius: 8px;
  padding: 12px 15px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(5, 74, 218, 0.25);
}

/* Typed Config CSS */
.typed-cursor {
  color: var(--color-secondary);
  font-size: inherit;
  font-weight: bold;
}
