:root {
  --bg: #fdfaf6;
  --bg-soft: #f7f1ea;
  --accent: #d98a77;
  --accent-soft: #f3d5c9;
  --accent-deep: #b56a57;
  --text: #2b2a2e;
  --text-soft: #6b6870;
  --card: #ffffff;
  --border: #eadfd3;
  --shadow: 0 10px 40px rgba(180, 130, 110, 0.08);
  --shadow-hover: 0 20px 60px rgba(180, 130, 110, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(253, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 18px 0;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-btn {
  padding: 10px 24px;
  background: var(--accent);
  color: white !important;
  border-radius: 50px;
  transition: all 0.3s;
}
.nav-btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}
.nav-btn::after { display: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, #e8d5c4 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.hero-text {
  max-width: 700px;
}
.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--text);
}
.hero h1 span {
  color: var(--accent-deep);
  font-style: italic;
}
.hero-subtitle {
  font-size: 20px;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 138, 119, 0.3);
}
.btn-secondary {
  background: var(--card);
  color: var(--accent-deep);
  border: 2px solid var(--accent-soft);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* ===== PHOTO ===== */
.hero-photo {
  display: flex;
  justify-content: center;
}
.photo-wrapper {
  position: relative;
  width: 340px;
  height: 480px;
}
.photo-frame {
  width: 100%;
  height: 100%;
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow-hover);
  border: 4px solid var(--accent-soft);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft));
  color: var(--accent-deep);
}
.photo-placeholder span {
  font-size: 80px;
  margin-bottom: 16px;
}
.photo-placeholder p {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating badges */
.floating-badge {
  position: absolute;
  background: var(--card);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 15px 40px rgba(180, 130, 110, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
}
.badge-label {
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.badge-1 {
  top: 30px;
  left: -60px;
  animation-delay: 0s;
}
.badge-2 {
  bottom: 80px;
  right: -50px;
  animation-delay: 2s;
}
.badge-3 {
  bottom: -20px;
  left: 40px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
  position: relative;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
}
.section-desc {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 680px;
  margin-bottom: 64px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  background: var(--card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 28px;
  color: var(--text);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-info {
  flex: 1;
}
.contact-label {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.contact-value a {
  color: var(--accent-deep);
  text-decoration: none;
}
.contact-value a:hover { text-decoration: underline; }

.about-text p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== EDUCATION ===== */
.edu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.edu-card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.edu-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.edu-year {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-deep);
  padding-top: 4px;
}
.edu-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.edu-info p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.edu-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== MODERN TIMELINE ===== */
.experience {
  background: var(--bg-soft);
}
.modern-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.marker-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(217, 138, 119, 0.3);
  position: relative;
  z-index: 2;
}
.timeline-marker::after {
  content: '';
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 48px);
  background: linear-gradient(to bottom, var(--accent-soft), transparent);
}
.timeline-item:last-child .timeline-marker::after {
  display: none;
}
.timeline-content {
  background: var(--card);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 24px;
  width: 24px;
  height: 24px;
  background: var(--card);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}
.timeline-content:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-hover);
}
.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.timeline-period {
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.timeline-type {
  padding: 4px 12px;
  background: #f0e9e0;
  color: var(--text-soft);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.timeline-company {
  font-size: 14px;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 16px;
}
.timeline-list {
  list-style: none;
  margin-top: 16px;
}
.timeline-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}
.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 16px;
  font-weight: bold;
}

/* ===== SKILLS ===== */
.skills-section {
  background: var(--bg);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.skill-card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-soft));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.skill-card:hover::before {
  transform: scaleX(1);
}
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.skill-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.skill-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.skill-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  padding: 4px 12px;
  background: var(--bg-soft);
  color: var(--accent-deep);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* ===== EXTRA ===== */
.extra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.extra-card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.extra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.extra-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.extra-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}
.extra-card p, .extra-card ul {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}
.extra-card ul {
  list-style: none;
}
.extra-card ul li {
  padding: 4px 0;
  position: relative;
  padding-left: 18px;
}
.extra-card ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-link-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.contact-link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
  transform: scaleY(0);
  transition: transform 0.4s ease;
}
.contact-link-card:hover::before {
  transform: scaleY(1);
}
.contact-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.contact-link-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.contact-link-content {
  flex: 1;
}
.contact-link-title {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-link-value {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}
.contact-link-arrow {
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s;
}
.contact-link-card:hover .contact-link-arrow {
  transform: translateX(4px);
}

.contact-info-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-info-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.contact-info-content {
  flex: 1;
}
.contact-info-title {
  font-size: 12px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  color: #c9c5cc;
  padding: 60px 0 40px;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}
footer p {
  font-size: 14px;
  margin-bottom: 8px;
}
footer a {
  color: var(--accent-soft);
  text-decoration: none;
}
.footer-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto;
}
.footer-copy {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 20px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .photo-wrapper { width: 280px; height: 350px; }
  .floating-badge { padding: 12px 16px; }
  .badge-icon { width: 40px; height: 40px; font-size: 20px; }
  .badge-num { font-size: 20px; }
  .badge-1 { left: -40px; }
  .badge-2 { right: -30px; }
  .badge-3 { left: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .extra-grid { grid-template-columns: 1fr; }
  .edu-card { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .hero-stats { gap: 24px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 20px; }
  .marker-icon { width: 56px; height: 56px; font-size: 24px; }
  .timeline-content { padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .container { padding: 0 20px; }
}