:root {
  --primary: #c5a059;
  --primary-light: #e2c99d;
  --accent: #2c3e50;
  --bg-cream: #fdfbf7;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(197, 160, 89, 0.2);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.serif {
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Background Decoration */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.circle-1 {
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  opacity: 0.2;
}

.circle-2 {
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--primary);
  opacity: 0.1;
}

/* Header / Hero */
header {
  min-height: 40vh;
  padding: 3rem 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(253, 251, 247, 0) 0%, rgba(253, 251, 247, 1) 70%);
}

.profile-img-container {
  width: 240px;
  height: 320px;
  border-radius: 20px;
  padding: 6px;
  border: 2px solid var(--primary);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  animation: fadeInDown 1.2s ease-out;
}

.profile-img {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border-radius: 14px;
  object-fit: cover;
  background: #eee;
}

.slide {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
}

.slide-control:hover {
  background: rgba(0, 0, 0, 0.55);
}

.slide-control.prev {
  left: 14px;
}

.slide-control.next {
  right: 14px;
}

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  background: var(--white);
}

.hero-name {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}



/* Sections */
.section {
  padding: 2.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary);
}

/* Grid Layouts */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-title {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
}

.info-label {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-value {
  font-weight: 500;
  color: var(--accent);
}

.blur-text {
  filter: blur(5px);
  transition: filter 0.3s ease;
  user-select: none;
}

.blur-text:hover {
  filter: blur(0);
  cursor: pointer;
}

/* Family List */
.family-list {
  list-style: none;
}

.family-member {
  margin-bottom: 1rem;
}

.member-role {
  font-weight: 700;
  display: block;
  color: var(--primary);
}

.member-name {
  font-size: 1.1rem;
  color: var(--accent);
}

.member-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Timeline/Experience */
.timeline-item {
  padding-left: 20px;
  border-left: 2px solid var(--primary-light);
  margin-bottom: 1.2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.date {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 0;
  background: var(--accent);
  color: var(--white);
}

.footer-logo {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-name {
    font-size: 2.2rem;
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .profile-img-container {
    width: 200px;
    height: 270px;
    margin-bottom: 1.5rem;
  }

  header {
    height: auto;
    padding: 4rem 0;
  }

  .section {
    padding: 1.5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .glass-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 0.8rem;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .container {
    padding: 0 1.2rem;
  }
}