@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@400;500;700&display=swap');
:root {
  --kraft: #d6c0a4;
  --berry: #b1133d;
  --emerald: #1f7a55;
  --gold: #c48a2a;
  --text: #2c1f1a;
  --muted: #5b4a40;
  --bg: #f7f1e9;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Lato', sans-serif;
  background: linear-gradient(180deg, var(--bg), #fff3e5);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
a img {
  display: block;
}
main img {
  max-width: 100%;
  height: auto;
  display: block;
}
a:hover {
  color: var(--berry);
}
header {
  min-height: 70px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--berry);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  padding: 0.35rem 0.75rem;
  border-radius: 24px;
  border: 1px solid transparent;
}
.nav-links a:hover {
  border-color: var(--gold);
  color: var(--berry);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text);
  transition: all 0.3s ease;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.25rem 1rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.mobile-menu a {
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: rgba(193, 144, 96, 0.1);
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  flex: 1 0 auto;
}
section {
  margin: 2rem 0;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--berry);
}
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.07);
}
.hero img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  max-height: 420px;
  object-fit: cover;
}
.tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0.75rem 0 1rem;
}
.cta-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  border: 2px solid var(--berry);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn.alt {
  background: var(--emerald);
  border-color: var(--emerald);
}
.btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border: 2px solid var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover {
  box-shadow: 0 12px 20px rgba(177, 19, 61, 0.25);
  transform: translateY(-2px) rotate(0.25deg);
}
.btn:hover::after {
  opacity: 1;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.idea-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.07);
  transform: rotate(-2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.idea-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}
.idea-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.1);
}
.tutorial-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.step {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.step.visible {
  transform: translateX(0);
  opacity: 1;
}
.highlight {
  color: var(--emerald);
  font-weight: 700;
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(177, 19, 61, 0.1);
  color: var(--berry);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(196, 138, 42, 0.3);
}
.list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
}
.testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
}
.footer {
  background: #311a15;
  color: #f7f1e9;
  padding: 2rem 1.25rem;
  margin-top: 3rem;
}
.footer a {
  color: #f4d7a1;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-meta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}
.legal-page {
  padding-left: 1rem;
  padding-right: 1rem;
}
.legal-section {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}
form {
  display: grid;
  gap: 0.75rem;
}
input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccb49b;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
}
textarea {
  min-height: 140px;
}
.policy-popup {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #fff;
  border: 1px solid #e7d8c5;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1rem;
  max-width: 320px;
  display: none;
  z-index: 20;
}
.popup-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  body {
    hyphens: auto;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu.show {
    display: flex;
  }
  .logo {
    font-size: 1rem;
  }
  main {
    width: 100%;
    padding: 0 1rem 2rem;
  }
  .nav-bar {
    padding: 0.75rem 1rem;
  }
  .hero {
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero img {
    max-width: 100%;
    width: 100%;
  }
  .tagline {
    font-size: 0.95rem;
    margin: 0.5rem 0 0.75rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1rem;
  }
  p {
    font-size: 0.9rem;
  }
  .cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .idea-card {
    padding: 0.875rem;
  }
  .tutorial-steps {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
  .step {
    padding: 0.875rem;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }
  section {
    margin: 1.5rem 0;
  }
  .footer {
    padding: 1.5rem 1rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-col {
    flex: 1 1 100%;
  }
  .policy-popup {
    max-width: calc(100% - 2rem);
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    padding: 0.875rem;
  }
  .popup-actions {
    flex-direction: column;
  }
  .popup-actions .btn {
    width: 100%;
  }
  .legal-page {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .legal-section {
    padding: 0.875rem;
  }
  form {
    gap: 0.65rem;
  }
  input, textarea {
    padding: 0.65rem;
    font-size: 0.9rem;
  }
  textarea {
    min-height: 120px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 0 0.75rem 1.5rem;
  }
  .nav-bar {
    padding: 0.65rem 0.75rem;
  }
  .hero {
    padding: 0.875rem;
  }
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  h3 {
    font-size: 0.95rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 1.25rem 0.75rem;
  }
  .footer-meta {
    font-size: 0.85rem;
  }
}
@media (max-width: 320px) {
  main {
    padding: 0 0.5rem 1.25rem;
  }
  .nav-bar {
    padding: 0.5rem 0.5rem;
  }
  .hero {
    padding: 0.75rem;
  }
  h1 {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1rem;
  }
  .btn {
    padding: 0.6rem 0.875rem;
    font-size: 0.85rem;
  }
  .footer {
    padding: 1rem 0.5rem;
  }
}

