/*
  Ratul Variety Store — dedicated page
  Minimal standalone styling (matches the main site look & feel).
*/

:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --surface-2: #f6efe3;

  --ink-900: #0f172a;
  --ink-700: #24324a;
  --ink-500: #4b5b77;
  --ink-300: rgba(15, 23, 42, 0.25);
  --ink-200: rgba(15, 23, 42, 0.18);

  --accent-200: #cfeee6;
  --accent-100: #e7f6f2;
  --accent-blue-200: #d7e7ff;
  --accent-blue-100: #eef5ff;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 22px rgba(15, 23, 42, 0.06);

  --container: 1080px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink-900);
  background: radial-gradient(1200px 420px at 20% -10%, var(--accent-blue-100), transparent),
              radial-gradient(1200px 520px at 100% 10%, var(--accent-100), transparent),
              radial-gradient(900px 420px at 40% 110%, rgba(246, 239, 227, 0.92), transparent),
              var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--ink-900);
}
.skip-link:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-200);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--accent-200), var(--accent-100));
  border: 1px solid var(--ink-200);
}

.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-title {
  font-weight: 700;
  font-size: 14px;
  display: block;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-subtitle { font-size: 12px; color: var(--ink-500); }

.brand-emoji {
  font-size: 1.35em;
  line-height: 0;
  vertical-align: -0.15em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.site-nav {
  display: none;
  gap: 12px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 500;
  padding: 10px 10px;
  border-radius: 12px;
}

.nav-link:hover { background: var(--accent-blue-100); }
.nav-link:focus-visible { outline: 3px solid var(--accent-blue-200); outline-offset: 2px; }

.nav-toggle {
  appearance: none;
  border: 1px solid var(--ink-200);
  background: var(--surface);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.nav-toggle-bars {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink-700);
  box-shadow: 0 -6px 0 var(--ink-700), 0 6px 0 var(--ink-700);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile nav panel */
.site-header.nav-open .site-nav {
  display: grid;
  position: absolute;
  top: calc(var(--header-h) + 10px);
  right: 16px;
  left: auto;
  width: min(260px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow);
}

.site-header.nav-open .nav-link { padding: 10px 12px; }

@media (min-width: 920px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }

  .brand-title {
    max-width: none;
  }
}

@media (max-width: 720px) {
  /* Match the house site: keep photo + map side-by-side in portrait */
  .place-media {
    grid-template-columns: 1fr 1fr;
  }

  .place-tile {
    min-height: 220px;
  }

  .place-tile iframe {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }
}

/* Sections */
.section { padding: 72px 0; }
.hero { padding-top: 72px; }

.section-soft {
  background: linear-gradient(180deg, rgba(238, 245, 255, 0.70), rgba(251, 246, 238, 0));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-header {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

h1, h2, h3, h4 { margin: 0; }

h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: -0.02em;
}

.section-subtitle { margin: 0; color: var(--ink-500); }
.muted { color: var(--ink-500); }

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-welcome {
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--ink-700);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-900);
  background: linear-gradient(135deg, var(--accent-blue-200), var(--accent-100));
  border: 1px solid var(--ink-200);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.button:hover { filter: brightness(0.98); }

.button-ghost {
  background: rgba(255, 255, 255, 0.86);
}

/* Cards */
.grid { display: grid; gap: 14px; }
.cards { grid-template-columns: 1fr; }

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.card h3 { font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 10px 0 0; color: var(--ink-500); }

/* Google-style place card */
.place-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.place-card--hero { box-shadow: var(--shadow); }

.place-card--hero .place-media { min-height: clamp(280px, 42vw, 460px); }

.place-media {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 150px;
}

.place-media--one {
  grid-template-columns: 1fr;
}

.place-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-right: 1px solid var(--ink-200);
  text-decoration: none;
  color: inherit;
}

.place-media--one .place-tile {
  border-right: 0;
}

.place-tile:last-child { border-right: 0; }

.place-tile--glow {
  isolation: isolate;
}

.place-tile--glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(700px 240px at 30% 10%, rgba(207, 238, 230, 0.75), transparent 60%),
    radial-gradient(520px 200px at 90% 30%, rgba(215, 231, 255, 0.65), transparent 55%);
  filter: blur(14px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.place-tile--glow > * {
  position: relative;
  z-index: 1;
}

.place-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.place-tile--photo img {
  transform: scale(1.02);
}

.place-tile iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.place-tile-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  color: var(--ink-700);
  font-size: 13px;
}

.place-tile--map { background: var(--surface-2); }

.place-map-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.place-body { padding: 18px 18px 20px; }

.place-title--hero {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.04em;
}

.place-subtitle { margin: 8px 0 0; color: var(--ink-500); }

.place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--ink-200);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 14px;
}

.action-pill:hover { filter: brightness(0.98); }

.place-details {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 900px) {
  .place-details { grid-template-columns: 1fr 1fr; }
}

.place-details-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.info-list .label { color: var(--ink-500); font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink-200);
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.70);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-500);
  font-size: 13px;
}
/* Footer (professional / multi-section) */
.footer-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1.2fr;
    align-items: start;
  }
}

.footer-block p {
  margin: 0;
}

.footer-block p + p {
  margin-top: 8px;
}

.footer-title {
  color: var(--ink-700);
  font-weight: 700;
}

.footer-muted {
  color: var(--ink-500);
}

.footer-link { color: var(--ink-700); text-decoration: none; font-weight: 600; }
.footer-link:hover { text-decoration: underline; }

/* Slim premium footer */
.footer-slim {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-sep {
  opacity: 0.7;
}

@media (min-width: 720px) {
  .footer-slim {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Simple fade-in */
[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms ease, transform 450ms ease;
}

[data-animate].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}
