@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

/* ============================================
   GLOBAL – Warmcreme-Basis passend zum Logo
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #FAF8F4;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: #2C2420;
  background-color: #FAF8F4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #2C2420;
}

/* ============================================
   LOGO-TYPOGRAFIE
   ============================================ */
.logo-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  color: #2C2420;
  line-height: 1;
}

.logo-caps {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #4e3226;
}

.logo-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a5440;
}

/* ============================================
   BUTTONS – schlicht, elegant, tinte-basiert
   ============================================ */
.btn-primary {
  @apply inline-block font-caps text-sm tracking-widest uppercase
         bg-primary-900 hover:bg-ink-900 text-cream-100
         py-3 px-8 border border-primary-900
         transition-all duration-300
         focus:outline-none focus:ring-2 focus:ring-primary-700 focus:ring-offset-2;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
}

.btn-secondary {
  @apply inline-block font-caps text-sm tracking-widest uppercase
         bg-transparent hover:bg-primary-900 text-primary-900 hover:text-cream-100
         py-3 px-8 border border-primary-900
         transition-all duration-300
         focus:outline-none focus:ring-2 focus:ring-primary-700 focus:ring-offset-2;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
}

.btn-ghost {
  @apply inline-block font-caps text-sm tracking-widest uppercase
         bg-transparent hover:bg-cream-200 text-cream-100 hover:text-primary-900
         py-3 px-8 border border-cream-300
         transition-all duration-300;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.18em;
}

/* ============================================
   CARDS – kein schwerer Schatten, dezente Linie
   ============================================ */
.card {
  @apply bg-cream-50 rounded-none p-8 border border-primary-200;
  box-shadow: 0 2px 16px 0 rgba(44, 36, 32, 0.06);
}

.card-hover {
  @apply card transition-all duration-300 hover:border-primary-400;
  &:hover {
    box-shadow: 0 4px 28px 0 rgba(44, 36, 32, 0.10);
  }
}

/* ============================================
   FORMULARE
   ============================================ */
.input-field {
  @apply w-full px-4 py-3 border border-primary-300 bg-cream-50
         focus:ring-1 focus:ring-primary-700 focus:border-primary-700
         transition-colors duration-200 rounded-none;
  color: #2C2420;
}

.textarea-field {
  @apply w-full px-4 py-3 border border-primary-300 bg-cream-50
         focus:ring-1 focus:ring-primary-700 focus:border-primary-700
         transition-colors duration-200 resize-y min-h-[120px] rounded-none;
  color: #2C2420;
}

/* ============================================
   ORNAMENTE & TRENNER
   ============================================ */
.divider-botanical {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;

  &::before,
  &::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #D4C3A6;
  }

  span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #8A7355;
    letter-spacing: 0.1em;
  }
}

.section-title-ornament {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;

  &::after {
    content: '— ✦ —';
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.875rem;
    color: #A68D64;
    letter-spacing: 0.3em;
  }
}

/* ============================================
   ANIMATIONEN
   ============================================ */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
