/*
 * Vollständiges CSS mit responsivem, modernem Design für Hair Passion
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #515151;
  color: #D3D3D3;
  line-height: 1.6;
  min-height: 100vh;       /* ← NEU */
  display: flex;           /* ← NEU */
  flex-direction: column;  /* ← NEU */
}

main {
  padding-top: 90px;
  animation: fadeIn 1.2s ease-in-out;
  flex: 1;  /* ← NEU: füllt den Leerraum zwischen Navbar und Footer */
}

/* Navbar Container */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #323232;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  box-sizing: border-box;
}

.navbar-left {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F69C85;
}

.navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo {
  height: 45px;
  animation: fadeIn 1s ease-in-out;
}

.navbar-right {
  display: flex;
  gap: 20px;
}

.navbar-right a {
  color: #D3D3D3;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar-right a:hover {
  color: #F69C85;
  text-decoration: underline;
}

main {
  padding-top: 90px;
  animation: fadeIn 1.2s ease-in-out;
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #444;
}

section h2 {
  color: #F69C85;
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

section p {
  font-size: 1.1rem;
  color: #D3D3D3;
  margin-bottom: 20px;
  text-align: center; /* bleibt für alle anderen Seiten */
}

/* NEU: nur dort wo linksbündig gewünscht */
.text-left {
  text-align: left;
}

section img {
  display: block;
  margin: 20px auto 0;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 1s ease-in-out;
}

/* Burger-Menü */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
  z-index: 1100;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #D3D3D3;
  transition: 0.3s ease;
}

.burger.active div:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active div:nth-child(2) {
  opacity: 0;
}

.burger.active div:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {

  .navbar {
    display: grid;
    grid-template-columns: 1fr auto; /* "Hair Passion" links, Burger rechts */
    grid-template-rows: auto auto;   /* Zeile 1: Logo, Zeile 2: Text + Burger */
    grid-template-areas:
      "logo    logo"
      "left    burger";
    padding: 10px 15px;
    gap: 6px;
  }

  /* Zeile 1: Logo zentriert */
  .navbar-center {
    grid-area: logo;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* Zeile 2 links: "Hair Passion" */
  .navbar-left {
    grid-area: left;
    text-align: left;
    align-self: center;
  }

  /* Zeile 2 rechts: Burger */
  .burger {
    grid-area: burger;
    display: flex;
    align-self: center;
    justify-self: end;
    padding-right: 0;
  }

  .navbar-right {
    position: fixed;
    top: 110px; /* Höhe der 2-zeiligen Navbar */
    left: -100%;
    flex-direction: column;
    background-color: #323232;
    width: 100%;
    text-align: center;
    transition: 0.3s ease;
    padding: 2rem 0;
    gap: 0;
    z-index: 1000;
  }

  .navbar.show-menu .navbar-right {
    left: 0;
  }

  .navbar-right a {
    margin: 1rem 0;
  }

  main {
    padding-top: 120px; /* Platz für 2-zeilige Navbar */
  }
}

/* Animationen */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Collage */
.collage-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.collage-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background-color: #323232;
  color: #D3D3D3;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 60px;
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 10px;
  text-align: center;
}

footer a {
  color: #F69C85;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-links a {
  color: #D3D3D3;
  margin: 0 15px;
}

.social-links a,
.social-links a:hover,
.social-links a:focus,
.social-links a:active,
.social-links a:visited {
  color: #d3d3d3;
  text-decoration: none;
  border-bottom: none;
}

.social-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  color: #d3d3d3;
  text-decoration: none;
}

a {
  color: #F69C85;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}