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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

.page {
  max-width: 1024px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);
}

/* ================= HEADER ================= */

.hero {
  position: relative;
  width: 100%;
  height: 380px;
  background: #1f3a52;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url("../images/Head_BG.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

/* Email sus dreapta */
.profile-email {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  background: rgba(0,0,0,0.4);
  padding: 6px 12px;
  border-radius: 4px;
}

/* Card profil jos stânga */
.profile-card {
  position: absolute;
  bottom: -50px;
  left: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portrait {
  width: 240px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.contact-label {
  margin-top: 12px;
  font-size: 14px;
  color: #ffffff;
  background: rgba(0,0,0,0.55);
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}

.contact-label:hover {
  background: rgba(0,0,0,0.8);
}

/* ================= INTRO ================= */

.intro-text {
  padding: 100px 50px 40px;
}

.intro-text h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.intro-text p {
  font-size: 18px;
  max-width: 700px;
}

/* ================= MENU ================= */

.menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.menu a {
  color: #444;
  text-decoration: none;
  font-size: 18px;
}

.menu a.active {
  font-weight: bold;
  border-bottom: 2px solid #444;
}

/* ================= VIDEOS ================= */

.videos {
  padding: 20px 50px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.video-item iframe {
  width: 100%;
  height: 320px;
  border-radius: 6px;
  border: none;
}

.video-info h3 {
  font-size: 22px;
  margin-top: 10px;
}

.video-info p {
  opacity: 0.8;
}

/* ================= FOOTER ================= */

.footer {
  padding: 40px 50px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .socials img {
  width: 28px;
  opacity: 0.7;
  transition: 0.2s;
}

.footer .socials img:hover {
  opacity: 1;
}
