/* style.css */

/* ==== Root Variables ==== */
:root {
  --clr-primary: #0d47a1;
  --clr-secondary: #1976d2;
  --clr-light: #ffffff;
  --clr-dark: #333333;
  --transition: 0.3s;
}

/* ==== Reset & Base ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--clr-dark);
  background: var(--clr-light);
  line-height: 1.6;
}
a {
  color: var(--clr-primary);
  text-decoration: none;
}
ul {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--clr-dark);
}

/* ==== Container ==== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==== Header ==== */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-left h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}
.subtitle {
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}
.contacts-list {
  margin-top: 10px;
}
.contacts-list li {
  margin-bottom: 5px;
  font-size: 0.95rem;
}
.header-right .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==== Language Switch ==== */
.lang-switch {
  margin-left: auto;
}
.lang-switch button {
  margin-left: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-weight: 600;
  transition: var(--transition);
}
.lang-switch button:hover {
  color: var(--clr-primary);
}

/* ==== Main Grid ==== */
.main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 40px 0;
}
@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

/* ==== Section Headings ==== */
.left-col h2,
.right-col h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--clr-primary);
}

/* ==== Skills Bars ==== */
.skill {
  margin-bottom: 12px;
}
.skill span {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}
.skill .bar {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}
.skill .bar div {
  height: 100%;
  background: var(--clr-secondary);
  border-radius: 3px;
}

/* ==== Experience Jobs ==== */
.left-col .job {
  margin-bottom: 30px;
}
.left-col .job h3 {
  font-size: 1.1rem;
  color: var(--clr-dark);
  margin-bottom: 4px;
}
.left-col .job small {
  font-size: 0.85rem;
  color: #777;
}
.left-col .job time {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 8px;
}
.left-col .job ul {
  list-style: disc inside;
  margin-left: 16px;
}
.left-col .job ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* ==== Summary & Key Expertise ==== */
.right-col p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--clr-secondary);
}

/* ==== Languages ==== */
.lang {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.lang span {
  flex: 1;
  font-weight: 500;
}
.dots {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eee;
}
.dot.full {
  background: var(--clr-secondary);
}
.dot.half {
  background: linear-gradient(
    90deg,
    var(--clr-secondary) 50%,
    #eee 50%
  );
}
.dot.empty {
  background: #eee;
}

/* ==== Tools List ==== */
.tools-list {
  columns: 2;
  column-gap: 20px;
  margin-bottom: 20px;
}
.tools-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* ==== Volunteering ==== */
.vol h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.vol small {
  font-size: 0.85rem;
  color: #777;
}
.vol time {
  display: block;
  color: #777;
  margin-bottom: 6px;
}
.vol ul {
  list-style: disc inside;
  margin-left: 16px;
}
.vol ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* ==== Footer ==== */
.site-footer {
  border-top: 1px solid #eee;
  padding: 20px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer .social a {
  margin-left: 10px;
}
.site-footer .social img {
  width: 24px;
  height: 24px;
}

/* ==== Buttons ==== */
.btn {
  padding: 8px 16px;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}
.btn:hover {
  background: var(--clr-secondary);
}

/* ==== Toast Notification ==== */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--clr-secondary);
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  opacity: 0.9;
  font-size: 0.9rem;
}
