@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@600&family=Poppins:wght@400;600&family=Playfair+Display:wght@600&display=swap');

:root {
  --bg: #e9f8f2;
  --card: rgba(255, 255, 255, 0.7);
  --text: #1e1e1e;
  --accent: #046c4e;
  --accent-light: #d1fae5;
  --border: #ccc;
  --glass-blur: blur(6px);
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.1rem);
  padding: 0 20px;
  max-width: 960px;
  margin: auto;
}

h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 6vw, 2.6rem);
  color: var(--accent);
}

.subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--accent);
  font-weight: 500;
  margin-top: -10px;
  margin-bottom: 10px;
}

.subtitle.alt-font {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #444;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 8px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--accent);
  border-left: 5px solid var(--accent);
  padding-left: 15px;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Sticky compact nav */
#sticky-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
#sticky-navbar span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

/* Header section */
header {
  background: none;
  border: none;
  box-shadow: none;
  padding: 3rem 1rem 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Horizontal layout: photo left, text right */
.profile-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  flex-wrap: nowrap;
  padding-left: 2rem;
}

.profile-pic {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.profile-text {
  flex: 1;
  text-align: left;
  min-width: 0;
  padding-left: 1rem;
}

/* Download CV button */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
  margin-top: 12px;
}
.btn:hover {
  transform: scale(1.05);
}

/* Sections */
section {
  background: var(--card);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
}

/* Lists */
ul {
  padding-left: 1.2rem;
}
ul.skills-list,
ul.info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}
ul.skills-list li::before,
ul.info-list li::before {
  content: "▹ ";
  color: var(--accent);
  font-weight: bold;
  margin-right: 4px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--card);
  font-size: 0.9rem;
  box-shadow: var(--shadow) inset 0 6px 6px -6px rgba(0,0,0,0.3);
  backdrop-filter: var(--glass-blur);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    padding-left: 0;
  }

  .profile-pic {
    width: 130px;
    height: 130px;
  }

  .profile-text {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
