/* =======================
   ROOT + RESET
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --text: #222;
    --muted: #666;
    --accent: #ff5c5c;
    --accent-dark: #ff3b3b;
    --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* =======================
   HEADER
======================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 120px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* =======================
   HERO (HOME PAGE)
======================= */
.hero {
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

    background: linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),
    url("herosection.jpg") center/cover no-repeat;
}

.hero h1 {
    font-size: 44px;
    max-width: 700px;
}

/* =======================
   CONTAINER
======================= */
.container {
    padding: 40px 20px;
    display: grid;
    gap: 20px;
    justify-items: center;
}

/* =======================
   SECTION TITLES
======================= */
.container h1 {
    font-size: 28px;
    margin-top: 30px;
}

hr {
    width: 70px;
    height: 3px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* =======================
   CARD DESIGN (MAIN)
======================= */
.card {
    background: var(--card);
    border-radius: 18px;
    padding: 16px;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    margin: 10px 0;
}

.card h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px;
}

/* =======================
   BUTTONS
======================= */
button,
.btn {
    margin-top: 10px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

button:hover,
.btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

/* =======================
   RECIPE PAGE STYLE
======================= */
.recipe-hero {
    text-align: center;
    padding: 60px 20px;
}

.recipe-hero h2 {
    font-size: 38px;
}

.recipe-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 30px;
}

.recipe-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.recipe-image img {
    width: 85%;
    max-width: 700px;
    height: 380px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

/* =======================
   BOXES (INGREDIENTS / STEPS)
======================= */
.box {
    background: white;
    padding: 18px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 300px;
}

.box h3 {
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

.box li {
    margin-bottom: 8px;
}

/* =======================
   ABOUT PAGE CARDS
======================= */
.card-a {
    background: white;
    padding: 20px;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

/* =======================
   TEAM SECTION
======================= */
.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.team-card {
    width: 220px;
    text-align: center;
}

/* =======================
   FOOTER
======================= */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    color: var(--muted);
}

/* =======================
   RESPONSIVE GRID
======================= */
@media (min-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .container h1,
    .container hr {
        grid-column: span 2;
    }
}

@media (min-width: 1100px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .container h1,
    .container hr {
        grid-column: span 3;
    }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

:root {
  --bg: #fff8f3;
  --card: #ffffff;
  --text: #2b1d18;
  --muted: #7a6660;
  --accent: #ff7043;
  --accent-dark: #e95528;
  --cream: #fff1e8;
  --shadow: 0 15px 35px rgba(90, 45, 20, 0.12);
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
header {
  width: 100%;
  padding: 16px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
  width: 130px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

nav a:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  min-height: 560px;
  background:
    linear-gradient(rgba(40, 20, 10, 0.55), rgba(40, 20, 10, 0.55)),
    url("herosection.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.small-hero {
  min-height: 420px;
}

.hero-content {
  max-width: 760px;
  color: white;
}

.hero-content span {
  background: rgba(255,255,255,0.18);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #f8e9df;
}

/* BUTTON */
.btn,
button {
  border: none;
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover,
button:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* INTRO */
.intro {
  text-align: center;
  max-width: 800px;
  margin: 60px auto 20px;
  padding: 0 20px;
}

.intro h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.intro p {
  color: var(--muted);
}

/* CONTAINER */
.container {
  width: 86%;
  margin: auto;
  padding: 40px 0 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.container h1 {
  grid-column: 1 / -1;
  font-size: 32px;
  margin-top: 35px;
}

hr {
  grid-column: 1 / -1;
  width: 80px;
  height: 4px;
  background: var(--accent);
  border: none;
  border-radius: 20px;
}

/* CARD */
.card {
  background: var(--card);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
}

.card h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.info {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
}

.info span {
  background: var(--cream);
  color: var(--accent-dark);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* ABOUT PAGE */
.about-container {
  width: 86%;
  margin: auto;
  padding: 60px 0;
  display: grid;
  gap: 25px;
}

.about-card {
  background: white;
  padding: 30px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.about-card h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.features div,
.team-card {
  background: var(--cream);
  padding: 20px;
  border-radius: 20px;
}

.features h3,
.team-card h3 {
  margin-bottom: 8px;
}

.team-container {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.team-card {
  flex: 1;
  min-width: 220px;
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 24px;
  background: #2b1d18;
  color: #fff1e8;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 650px) {
  header {
    flex-direction: column;
    gap: 14px;
  }

  nav ul {
    gap: 15px;
  }

  .container {
    grid-template-columns: 1fr;
    width: 92%;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }
}


/* CONTACT FORM */
.contact-card form {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card label {
  font-weight: 700;
  color: var(--text);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #f0cfc0;
  border-radius: 16px;
  font-size: 15px;
  background: #fffaf7;
  outline: none;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 112, 67, 0.15);
}

.contact-card textarea {
  resize: none;
}