/*
Theme Name: Vianyva Portfolio
Theme URI: https://vianyva.info
Author: Viany Cruz
Description: A general professional portfolio for vianyva.info — administrative, CRM, and sales support experience.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: vianyva
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terra: #C4714A;
  --terra-light: #F5E6DC;
  --terra-dark: #9A4F2F;
  --cream: #FDF6EE;
  --cream-mid: #F3E8DA;
  --brown-deep: #3B2314;
  --brown-mid: #7A4E35;
  --brown-light: #B07E5E;
  --sage: #8BA888;
  --sage-light: #EAF0E9;
  --white: #FFFFFF;
  --shadow: rgba(59,35,20,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--brown-deep);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,246,238,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-mid);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-deep);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--terra); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--terra); }

.nav-cta {
  background: var(--terra) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--terra-dark) !important; }

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--terra-light);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terra-light);
  color: var(--terra-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra);
  display: inline-block;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--brown-deep);
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--terra);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--brown-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--terra);
  color: var(--terra);
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 0.75rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--terra);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-mid);
}

.stat-num {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--terra);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--brown-light);
  font-weight: 500;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-float {
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 24px var(--shadow);
  border: 1px solid rgba(196,113,74,0.1);
}

.card-float-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--terra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.card-float-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-deep);
}

.card-float-sub {
  font-size: 0.78rem;
  color: var(--brown-light);
}

.task-list { list-style: none; }

.task-list li {
  font-size: 0.82rem;
  color: var(--brown-mid);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--cream-mid);
}

.task-list li:last-child { border-bottom: none; }

.task-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 1.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  color: var(--sage);
}

.pill-tag {
  display: inline-block;
  background: var(--terra-light);
  color: var(--terra-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  margin-right: 0.4rem;
}

/* ── SECTIONS ── */
section { padding: 6rem 2rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--brown-deep);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--brown-mid);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── SERVICES ── */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.75rem;
  border: 1px solid var(--cream-mid);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--shadow);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--terra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.65;
}

/* ── EXPERIENCE ── */
#experience { background: var(--cream); }

.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--cream-mid);
}

.exp-item:first-child { border-top: none; padding-top: 0; }

.exp-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terra-dark);
  padding-top: 0.2rem;
}

.exp-role {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 0.15rem;
}

.exp-company {
  font-size: 0.88rem;
  color: var(--brown-light);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.exp-item ul {
  list-style: none;
}

.exp-item li {
  font-size: 0.88rem;
  color: var(--brown-mid);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.exp-item li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 600;
}

/* ── ABOUT ── */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { position: relative; }

.about-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 24px;
  background: var(--terra-light);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.avatar-initials {
  font-family: 'Lora', serif;
  font-size: 5rem;
  font-weight: 600;
  color: var(--terra);
  opacity: 0.25;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  line-height: 1;
}

.avatar-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: var(--white);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 16px var(--shadow);
}

.avatar-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brown-deep);
}

.avatar-title {
  font-size: 0.8rem;
  color: var(--brown-light);
}

.about-content h2 { margin-bottom: 1.25rem; }

.about-content p {
  font-size: 1rem;
  color: var(--brown-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.tools-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.tools-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-pill {
  background: var(--cream);
  border: 1px solid var(--cream-mid);
  color: var(--brown-mid);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.industries-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.industry-tag {
  background: var(--terra-light);
  color: var(--terra-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ── CONTACT ── */
#contact {
  background: var(--brown-deep);
  color: var(--cream);
  text-align: center;
}

#contact .section-eyebrow { color: var(--terra-light); }
#contact .section-title { color: var(--cream); }
#contact .section-desc { color: var(--brown-light); max-width: 460px; margin-left: auto; margin-right: auto; }

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(196,113,74,0.15);
  border: 1px solid rgba(196,113,74,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--terra-light);
}

.contact-item-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--brown-light);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  text-align: left;
}

.contact-item-val {
  font-size: 1rem;
  color: var(--cream);
  text-align: left;
}

.contact-item-val a {
  color: var(--terra-light);
  text-decoration: none;
}

.contact-item-val a:hover { color: var(--white); }

/* Footer */
footer {
  background: #2A1A0E;
  padding: 2rem;
  text-align: center;
}

footer p {
  font-size: 0.82rem;
  color: var(--brown-light);
}

footer a { color: var(--terra-light); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero-inner, .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  section { padding: 4rem 1.25rem; }
  .btn-outline { margin-left: 0; margin-top: 0.75rem; display: inline-block; }
  .exp-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .contact-methods { flex-direction: column; align-items: center; gap: 1.5rem; }
}
