/* ============================================
   GEBURTSTAGSWÜNSCHE-ONLINE.DE
   Warm, Joyful, Premium Birthday Wishes Design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Warm Celebratory Colors */
  --color-primary: #E85D75;
  --color-primary-dark: #C94D63;
  --color-secondary: #FFB347;
  --color-accent: #6B5B95;
  --color-gold: #D4AF37;
  
  /* Background Colors */
  --bg-cream: #FFF9F0;
  --bg-soft-pink: #FFF0F3;
  --bg-soft-yellow: #FFFBEB;
  --bg-white: #FFFFFF;
  
  /* Text Colors */
  --text-dark: #2D2A32;
  --text-body: #4A4553;
  --text-light: #6B6574;
  --text-white: #FFFFFF;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #FFE5EC 0%, #FFF0E5 50%, #FFF9E5 100%);
  --gradient-warm: linear-gradient(135deg, #E85D75 0%, #FFB347 100%);
  --gradient-soft: linear-gradient(180deg, #FFF9F0 0%, #FFFFFF 100%);
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(232, 93, 117, 0.1);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(232, 93, 117, 0.2);
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 1.5rem;
  --container-max: 1200px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '🎂';
  position: absolute;
  font-size: 15rem;
  opacity: 0.05;
  right: -5%;
  bottom: 10%;
  pointer-events: none;
}

.hero-content {
  max-width: 850px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-white);
  color: var(--color-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--gradient-warm);
  color: var(--text-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--text-white);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--text-white);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--bg-white);
}

.section-cream {
  background: var(--bg-cream);
}

.section-pink {
  background: var(--bg-soft-pink);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.15rem;
}

/* ---------- Wish Cards ---------- */
.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.wish-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.wish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
}

.wish-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.wish-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.wish-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.wish-text {
  font-style: italic;
  color: var(--text-body);
  padding: 1.25rem;
  background: var(--bg-soft-yellow);
  border-radius: var(--radius-md);
  margin: 1rem 0;
  position: relative;
}

.wish-text::before {
  content: '❝';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 2rem;
  color: var(--color-secondary);
  opacity: 0.5;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--color-primary);
  color: var(--text-white);
}

.copy-btn.copied {
  background: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

/* ---------- Categories Section ---------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  text-decoration: none;
}

.category-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.category-content h3 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.category-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Featured Wishes ---------- */
.featured-wish {
  background: var(--gradient-warm);
  color: var(--text-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.featured-wish::before {
  content: '✨';
  position: absolute;
  font-size: 8rem;
  opacity: 0.1;
  top: -20px;
  right: -20px;
}

.featured-wish h3 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.featured-wish blockquote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ---------- FAQ Section ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 500px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--gradient-warm);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '🎈';
  position: absolute;
  font-size: 5rem;
  opacity: 0.15;
}

.cta-section::before {
  top: 10%;
  left: 5%;
}

.cta-section::after {
  bottom: 10%;
  right: 5%;
  content: '🎁';
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-section .btn {
  background: var(--bg-white);
  color: var(--color-primary);
}

.cta-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  max-width: var(--container-max);
  margin: 0 auto 3rem;
}

.footer-brand .logo {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  padding: 10rem 1.5rem 4rem;
  background: var(--gradient-hero);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb span {
  color: var(--color-primary);
}

/* ---------- Content Pages ---------- */
.content-section {
  padding: 4rem 1.5rem;
  background: var(--bg-white);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.content-wrapper h3 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #E5E5E5;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(232, 93, 117, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ---------- Image Styling ---------- */
.img-rounded {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.img-full {
  width: 100%;
  height: auto;
  display: block;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 1rem;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 7rem 1rem 4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .wishes-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-wish {
    padding: 2rem;
  }
  
  .featured-wish blockquote {
    font-size: 1.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ---------- Utility Classes ---------- */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}

/* ---------- Print Styles ---------- */
@media print {
  .header,
  .footer,
  .copy-btn,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
