/* =======================
   Global Reset & Base
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #e6e6e6;
  background: #1e2a36; /* deep navy-gray */
}

a {
  text-decoration: none;
  color: #4db8ff;
}

a:hover {
  opacity: 0.8;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: #ffffff;
}

p {
  margin-bottom: 1em;
  color: #dcdcdc;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =======================
   Layout wrappers
======================= */
.section {
  padding: 60px 20px;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
}

/* =======================
   Header / Navigation
======================= */
header.nav {
  position: sticky;
  top: 0;
  background: #263544; /* slightly lighter navy */
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 1000;
}

header.nav .brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: #4db8ff;
}

header.nav nav a {
  margin-left: 20px;
  font-weight: 600;
  color: #e6e6e6;
}

header.nav nav a.lang {
  color: #4db8ff;
}

/* =======================
   Hero Section
======================= */
.hero {
  background: #223140;
  text-align: left;
}

.hero-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-name h1 {
  margin-top: 12px;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4db8ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  color: #ffffff;
}

.hero-text p {
  margin-bottom: 1.5em;
  color: #cccccc;
}

/* =======================
   Buttons
======================= */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  background: #4db8ff;
  color: #0d1b26 !important;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #3399e6;
  color: #0d1b26 !important;
}

.btn--ghost {
  background: transparent;
  color: #4db8ff !important;
  border: 2px solid #4db8ff;
}

.btn--ghost:hover {
  background: #4db8ff;
  color: #0d1b26 !important;
}

/* =======================
   Tags
======================= */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tags li {
  background: #2f4355;
  color: #4db8ff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* =======================
   Project Cards
======================= */
.card {
  background: #2b3a48;
  border: 1px solid #3a4a59;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.card header {
  margin-bottom: 10px;
}

.card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.2em;
  color: #ffffff;
}

.card .meta {
  font-size: 0.9rem;
  color: #aaa;
}

.card ul {
  margin-left: 15px;
  list-style: disc;
}

.card ul li {
  margin-bottom: 5px;
  color: #dcdcdc;
}

/* =======================
   Collapsible Sections
======================= */
details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
  color: #4db8ff;
}

summary:hover {
  color: #66ccff;
}

details[open] summary {
  margin-bottom: 10px;
  color: #3399e6;
}

/* =======================
   Contact
======================= */
#contact a {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 10px;
  color: #4db8ff;
}

/* =======================
   Footer
======================= */
.footer {
  background: #18232f;
  color: #aaa;
  text-align: center;
  padding: 15px 10px;
  margin-top: 40px;
}

.footer small {
  font-size: 0.85rem;
  color: #666;
}
