/* Reset und Basis-Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Header mit Bild */
.header {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.wedding-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wedding-photo:hover {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: white;
  padding: 30px 20px;
}

.title {
  font-family: "Dancing Script", cursive;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Main Content */
.main-content {
  padding: 40px 30px;
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-button {
  display: flex;
  align-items: center;
  padding: 20px;
  background: white;
  border: 2px solid #e1e8ed;
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.link-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.link-button:hover::before {
  left: 100%;
}

.link-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #ccbbdb;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.link-button.special {
  background: linear-gradient(135deg, #ccbbdb 0%, #ddd2e5 100%);
  color: white;
  border-color: #ccbbdb;
}

.link-button.special:hover {
  background: linear-gradient(135deg, #b8a8c8 0%, #ccbbdb 100%);
  transform: translateY(-3px) scale(1.02);
}

.button-icon {
  font-size: 2.5rem;
  margin-right: 20px;
  min-width: 60px;
  text-align: center;
  animation: bounce 2s infinite;
}

.button-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: inherit;
}

.button-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  color: inherit;
}

/* Footer */
.footer {
  background: #f8f9fa;
  padding: 25px 30px;
  text-align: center;
  border-top: 1px solid #e1e8ed;
}

.footer-text {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.date {
  font-family: "Dancing Script", cursive;
  font-size: 1.1rem;
  color: #ccbbdb;
  font-weight: 600;
}

/* Animationen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    margin: 10px;
    border-radius: 15px;
  }

  .header {
    height: 50vh;
  }

  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .main-content {
    padding: 30px 20px;
  }

  .link-button {
    padding: 15px;
  }

  .button-icon {
    font-size: 2rem;
    margin-right: 15px;
    min-width: 50px;
  }

  .button-content h3 {
    font-size: 1.1rem;
  }

  .button-content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 5px;
  }

  .header {
    height: 50vh;
  }

  .title {
    font-size: 2rem;
  }

  .main-content {
    padding: 20px 15px;
  }

  .link-button {
    padding: 12px;
  }

  .button-icon {
    font-size: 1.8rem;
    margin-right: 12px;
    min-width: 45px;
  }
}

/* Desktop Optimierungen */
@media (min-width: 769px) {
  .container {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .header {
    height: 65vh;
  }

  .title {
    font-size: 3.5rem;
  }

  .main-content {
    padding: 50px 40px;
  }

  .links-container {
    gap: 20px;
  }

  .link-button {
    padding: 25px;
  }
}

/* Hover-Effekte für Desktop */
@media (hover: hover) {
  .link-button:hover .button-icon {
    animation-duration: 1s;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  }

  .container {
    background: #2c3e50;
    color: #ecf0f1;
  }

  .link-button {
    background: #34495e;
    border-color: #4a5f7a;
    color: #ecf0f1;
  }

  .link-button:hover {
    background: linear-gradient(135deg, #34495e 0%, #3b4f66 100%);
    border-color: #ccbbdb;
  }

  .footer {
    background: #34495e;
    border-color: #4a5f7a;
  }

  .footer-text {
    color: #bdc3c7;
  }
}
