* {
  box-sizing: border-box;
}

:root {
  --card-background: #171717;
  --card-accent: #d4af65;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 30px 15px;
  background: #090909;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: #f5f5f5;
}

.card {
  width: 100%;
  max-width: 430px;
  background: var(--card-background);
  border: 1px solid var(--card-accent);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.cover {
  height: 125px;
  background: linear-gradient(135deg, #16120b, var(--card-accent), #16120b);
}

/* Sirket gorseli */

.company-banner {
  width: 100%;
  height: 190px;
  margin-top: 20px;
  padding: 0;
  background: #242424;
  overflow: hidden;
}

.company-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Profil */

.profile {
  text-align: center;
  padding: 0 25px 25px;
}

.avatar {
  width: 105px;
  height: 105px;
  margin: -52px auto 18px;
  border-radius: 50%;
  background: #28231a;
  border: 4px solid var(--card-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--card-accent);
  font-size: 32px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

h1 {
  font-size: 27px;
  margin: 0 0 9px;
  overflow-wrap: anywhere;
}

.job {
  color: var(--card-accent);
  font-size: 16px;
  margin: 0 0 8px;
}

.company {
  color: #ccc;
  margin: 0 0 14px;
}

.bio {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.bio:empty {
  display: none;
}

/* Baglantilar */

.links {
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-button {
  width: 100%;
  min-height: 54px;
  padding: 15px;
  background: #222;
  border: 1px solid var(--card-accent);
  border-radius: 12px;
  color: #f5f5f5;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
  text-align: left;
  overflow-wrap: anywhere;
}

.link-button:hover {
  background: #302819;
  transform: translateY(-2px);
}

.link-icon {
  color: var(--card-accent);
  font-size: 20px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

/* Islem butonlari */

.actions {
  padding: 25px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.save-button,
.share-button {
  display: block;
  width: 100%;
  padding: 17px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

.save-button {
  background: var(--card-accent);
  color: #171717;
  border: none;
}

.share-button {
  background: transparent;
  color: var(--card-accent);
  border: 1px solid var(--card-accent);
}

.save-button i,
.share-button i {
  margin-right: 8px;
}

.save-button:hover,
.share-button:hover {
  filter: brightness(1.12);
}

.share-button:hover {
  background: #302819;
}

.action-status {
  color: var(--card-accent);
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  padding: 0 22px;
  margin: 15px 0;
  min-height: 18px;
}

.manage-link {
  display: block;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  margin: 20px 0;
}

.manage-link:hover {
  color: var(--card-accent);
}

footer {
  text-align: center;
  color: #777;
  padding: 0 0 25px;
  font-size: 12px;
}

/* Hata sayfasi */

.error-page {
  width: 100%;
  max-width: 430px;
  margin-top: 60px;
  padding: 40px 25px;
  background: #171717;
  border: 1px solid #4a3b21;
  border-radius: 22px;
  text-align: center;
}

.error-page > i {
  font-size: 48px;
  color: #d4af65;
  margin-bottom: 25px;
}

.error-page h1 {
  color: #d4af65;
  font-size: 24px;
}

.error-page p {
  color: #aaa;
  line-height: 1.6;
}

/* Mobil */

@media (max-width: 480px) {
  body {
    padding: 0;
  }

  .card {
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
  }

  .company-banner {
    height: 170px;
  }

  .error-page {
    margin: 40px 15px;
  }
}
