:root {
  --bg: #0a0a0a;
  --card: #151515;
  --gold: #c8a35f;
  --text: #f2f2f2;
  --muted: #9a9a9a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

/* NAV */
.nav {
  position: fixed;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.logo span { color: var(--gold); }

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: var(--text);
  text-decoration: none;
}

/* HERO */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.8)),
    url("https://images.unsplash.com/photo-1600891964599-f61ba0e24092")
    center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
}

.badge {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: .75rem;
}

.btn {
  border: 1px solid var(--gold);
  padding: .8rem 2rem;
  color: var(--gold);
  text-decoration: none;
}

/* SECTION */
.section {
  padding: 6rem 3rem;
}

.dark {
  background: #070707;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--gold);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 4rem;
}

/* CARDS */
.recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
}

.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .4s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  color: var(--gold);
}

.card-body p {
  color: var(--muted);
}

.card button {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .6rem 1.4rem;
  cursor: pointer;
}

/* TEXT */
.long-text {
  max-width: 900px;
  margin: auto;
  line-height: 1.9;
  color: var(--muted);
}

/* FORM */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid #222;
  padding: 1rem;
  color: var(--text);
}

.contact-form button {
  border: 1px solid var(--gold);
  background: none;
  color: var(--gold);
  padding: 1rem;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111;
  max-width: 800px;
  padding: 2rem;
}

.close {
  float: right;
  cursor: pointer;
}

/* ANIMACE */
.fade-in {
  animation: fade 1.2s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}



@keyframes fade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


