* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(to bottom, #fff7ed, #fde68a, #fef3c7);
  color: #1f2937;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav a {
  margin: 0 15px;
  color: #1f2937;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 90vh;
  background: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(120, 80, 40, 0.4);
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  animation: fadeIn 1.5s ease;
}

.hero h2 {
  font-size: 40px;
}

.hero button {
  margin-top: 20px;
  padding: 12px 25px;
  border: none;
  background: #f59e0b;
  color: white;
  border-radius: 6px;
}

/* SECTIONS (LESS SPACE NOW) */
.section {
  padding: 50px 20px;
  text-align: center;
}

.dark {
  background: #fef3c7;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 20px;
  margin-top: 30px;
}

/* FLIP CARD */
.flip-card {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 230px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

/* FRONT UPDATED (NO MORE WHITE) */
.flip-front {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  color: #78350f;
  font-weight: 600;
}

/* BACK */
.flip-back {
  background: linear-gradient(135deg, #92400e, #78350f);
  color: white;
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* CTA */
.cta {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.cta button {
  margin-top: 15px;
  padding: 10px 20px;
  background: white;
  border: none;
  color: #92400e;
}

/* FORM */
form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  max-width: 420px;
  margin-inline: auto;
}

input, textarea {
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* FOOTER */
footer {
  background: #78350f;
  color: white;
  padding: 30px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

.copy {
  text-align: center;
  margin-top: 15px;
}

/* ANIMATION */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}