/* CSS-Variablen für die Hauptseite (Profilkarten) */
:root {
  /* Für Halit-Profile */
  --halit-scale: 1.4;
  --halit-translate: 20%;
  /* Für Murat-Profile */
  --murat-scale: 1.2;
  --murat-translate: 10%;
  /* Für Detailseiten: eigene Skalierung */
  --halit-detail-scale: 1;  /* Passe diesen Wert für Halit an */
  --murat-detail-scale: 1;  /* Passe diesen Wert für Murat an */
}

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

body {
  background-color: #121212;
  color: #fff;
  /* Candara Light als Standardschrift; Candara für Überschriften */
  font-family: "Candara Light", "Candara", sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Logo-Bereich */
.header-top {
  background-color: #000;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 15px; /* ca. 25 % vergrößert */
  font-weight: bold;
  color: #FFD700;
  font-family: "Candara", sans-serif;
}

.header-divider {
  height: 2px;
  background-color: #FFD700;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
}

/* Branding-Container in der Hero-Sektion */
.hero-branding {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-logo {
  max-height: 90px;
}

.hero-logo-text {
  font-size: 1.5rem;
  color: #FFD700;
  font-family: "Candara", sans-serif;
  font-weight: bold;
}

.hero h1 {
  font-size: 2.275rem; /* 40 % vergrößert gegenüber vorheriger Größe */
  margin-bottom: 10px;
  color: #FFD700;
  font-family: "Candara", sans-serif;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
}

.hero p .subtext {
  display: block;
  text-align: center;
}

/* Profilkarten (Hauptseite) */
.profiles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.profile-card {
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  width: 300px; /* Rahmen bleibt unverändert */
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: scale(1.03);
}

/* Individuelle Skalierung für die Profilkarten auf der Hauptseite */
.profile-card.halit .profile-image-container img {
  transform: translateY(var(--halit-translate)) scale(var(--halit-scale));
}

.profile-card.murat .profile-image-container img {
  transform: translateY(var(--murat-translate)) scale(var(--murat-scale));
}

/* Container für Profilbilder */
.profile-image-container {
  position: relative;
  width: 100%;
  height: 250px; /* Fester Rahmen, der den sichtbaren Bereich begrenzt */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Fallback-Regel (falls keine spezifische Skalierung gesetzt ist) */
.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Top gradient overlay (10% Höhe) */
.profile-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10%;
  background: linear-gradient(to bottom, #121212, transparent);
  pointer-events: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Bottom gradient overlay (10% Höhe) */
.profile-image-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10%;
  background: linear-gradient(to top, #121212, transparent);
  pointer-events: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Schriftboxen über den Bildern (transparent) */
.profile-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: transparent;
  padding: 5px 10px;
  border-radius: 4px;
}

.profile-info h2 {
  font-size: 1.2rem;
  color: #FFD700;
  margin-bottom: 5px;
  font-family: "Candara", sans-serif;
}

.profile-info p {
  font-size: 0.9rem;
  color: #fff;
}

/* Features Section */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 20px;
}

.feature {
  display: flex;
  align-items: center;
  max-width: 300px;
  background-color: #000; /* Gleicher dunkler Farbton wie im Header */
  padding: 15px;
  border: 1px solid #FFD700; /* Feine, goldene Linie */
  border-radius: 8px;
}

.feature-icon img {
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.feature-text h3 {
  font-size: 1rem;
  color: #FFD700;
  margin-bottom: 5px;
  font-family: "Candara", sans-serif;
}

.feature-text p {
  font-size: 1rem;
}

/* Footer (Kontaktbereich) */
footer {
  text-align: center;
  padding: 20px;
  background-color: transparent;
}

footer a {
  color: #FFD700;
}

/* Detailseiten – Person Detail Seite */
/* Auf Desktop: Bild links, Text rechts, gruppiert in der Mitte */
.person-detail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;  /* Container-Inhalt horizontal zentrieren */
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
  max-width: 800px;  /* Fester maximaler Breitenwert */
  margin: 0 auto;    /* Container zentriert im Browserfenster */
}

/* Standard-Regel für Detailbilder */
.person-detail .person-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

/* Individuelle Skalierung für Halit Detailseite */
.halit-detail .person-image img {
  transform: scale(var(--halit-detail-scale));
}

/* Individuelle Skalierung für Murat Detailseite */
.murat-detail .person-image img {
  transform: scale(var(--murat-detail-scale));
}

/* Person Info: Text linksbündig */
.person-info {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.person-info h1 {
  font-size: 2rem;
  color: #FFD700;
  margin-bottom: 10px;
  font-family: "Candara", sans-serif;
}

.person-info h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-family: "Candara", sans-serif;
}

.details {
  margin-top: 20px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.detail-icon img {
  width: 30px;
  height: 30px;
  margin-right: 15px;
}

.detail-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-family: "Candara", sans-serif;
}

/* Responsive Design */
/* Für Smartphones: Layout der Detailseiten wird in eine Spalte (Column) umgestellt */
@media (max-width: 767px) {
  .person-detail {
    flex-direction: column;
    align-items: center;
    max-width: 100%;  /* Volle Breite */
    margin: 0 auto;
  }
  .person-detail .person-image {
    width: 100%;
  }
  .person-detail .person-image img {
    max-width: none;
    width: 100%;
  }
}
