:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;

  --field-bg: #f6fbff;
  --field-bg2: #ffffff;
  --field-border: #c9dcff;

  --field-text: #121426;
  --field-placeholder: #121426;

  --text: #111827;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER ================= */

.header-wrap {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #c9dcff;
  z-index: 50;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.brand img {
  height: 80px;
  width: auto;
  display: block;
}

/* Desktop nav */
.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-weight: 600;
  color: #374151;
  text-decoration: none;
}

/* Social icons */
.social {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #c9dcff;
  border-radius: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #c1c1c1;
  font-size: 16px;
  text-decoration: none;

  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  color: #a7c7f5;
  border-color: #a7c7f5;
  background: #f6fbff;
}

/* Hamburger button (hidden on desktop) */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #c9dcff;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-bars {
  width: 18px;
  height: 2px;
  background: #121426;
  position: relative;
  display: block;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #121426;
}

.menu-bars::before {
  top: -6px;
}

.menu-bars::after {
  top: 6px;
}

/* X state */
.menu-btn.is-open .menu-bars {
  background: transparent;
}
.menu-btn.is-open .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-btn.is-open .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile dropdown menu (hidden by default) */
.mobile-menu {
  display: none;
  border: 1px solid #c9dcff;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #fff;
  padding: 10px;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
}

.mobile-menu a:hover {
  background: #f6fbff;
  color: #121426;
}

/* ================= HERO ================= */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 40px;
}

/* ================= CARD ================= */

.card {
  background: white;
  border: 1px solid #c9dcff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.card h2 {
  margin-top: 0;
}

.form-intro {
  margin: 6px 0 12px;
  font-size: 14px;
  color: #121426;
}

/* ================= HINNAKIRI ================= */

.price-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 16px;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #121426;
  margin: 6px 0;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #dbeafe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check::before {
  content: "✓";
  font-size: 12px;
  color: #3b82f6;
  font-weight: 800;
}

/* ================= FORM ================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.grid-occasion-date {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.date-price {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: center;
}

.field {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid var(--field-border);
  background: linear-gradient(180deg, var(--field-bg), var(--field-bg2));
  font-size: 14px;
  font-weight: 400;
  color: var(--field-text);
}

.field::placeholder {
  opacity: 1;
  color: var(--field-placeholder);
}

.field-date {
  text-align: center;
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

/* ✅ PARANDUS:
   12px vahe “KES tervitavad” ja “Tervituse sisu” vahel */
input.field + textarea.field {
  margin-top: 12px;
}

/* PRICE */
.price-box {
  font-size: 14px;
  color: #ff00a8;
}

.hidden {
  display: none;
}

/* BUTTON */
.btn {
  width: 100%;
  padding: 14px;
  background: #8adaf6;
  color: #086489;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn:hover {
  background: #3abfee;
  color: #FFFFFF;
}

/* ================= RIGHT ================= */

.right {
  display: flex;
  flex-direction: column;
}

.photo-card img {
  width: 100%;
  display: block;
  border-radius: 20px 20px 0 0;
}

.banner {
  height: 130px;
  background: #ffba00;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.banner-img {
  max-width: 100%;
  max-height: 100%;
}



.banner-2 {
  width: 100%;
  height: 80px;
  background: #e2f6fd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
}

.banner-2 img {
  max-height: 100%;
  max-width: 100%;
}

/* Teenuste tekstiriba */
.service-strip {
  margin-top: 12px;
  font-size: 14px;
  color: #121426;
  line-height: 1.45;
}

/* FOOTER */
footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #c9dcff;
  font-weight: 400;
  color: #c9dcff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .photo-card {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

  .mobile-menu.open {
    display: grid;
  }
}

@media (max-width: 520px) {
  header {
    gap: 10px;
  }

  .brand img {
    height: 40px;
  }

  .grid-2,
  .grid-occasion-date,
  .date-price {
    grid-template-columns: 1fr;
  }
}
