// Shared cottage data.
// NOTE: object keys (`buttercup`/`countryside`) are stable URL/section IDs.
// Buttercup = the GREEN/BARN cottage (sage tongue-and-groove, pot-belly stove,
//   vaulted rafters, French doors onto the hill).
// Countryside View = the STONE cottage (oak beams, wood-burner, slate floors,
//   shaker kitchen, wing-back chairs).
// The image folders on disk are still named `buttercup/` (= barn) and
// `countryside/` (= stone) — that's the original (pre-swap) naming the user
// uploaded under, so we leave the folders alone and just keep the bindings here.
const COTTAGES = {
  buttercup: {
    id: 'buttercup',
    name: 'Buttercup Cottage',
    tagline: 'A barn conversion with vaulted rafters and a hill at the door.',
    eyebrow: 'The barn',
    accent: 'var(--sage)',
    accentDeep: 'var(--sage-deep)',
    accentSoft: 'rgba(107, 127, 92, 0.10)',
    accentName: 'Sage · moss · hillside',
    sleeps: 2,
    bedrooms: 1,
    bathrooms: 1,
    beds: 1,
    pricePerNight: 157,
    minNights: 2,
    rating: 4.96,
    reviewCount: 98,
    hero: 'assets/countryside/exterior.jpg',
    bookingUrl: 'https://www.airbnb.com/rooms/000000',
    summary: [
      "Buttercup is a barn conversion on the edge of our working farm — lighter, more eclectic, slightly contemporary. Sage-green tongue-and-groove walls, a vaulted rafter ceiling, and French doors that open onto a stretch of pasture and the sweep of Exmoor beyond.",
      "A deep terracotta-red wood-burner. A cognac-leather sofa with embroidered kilim cushions. A brass splash-back, a marble worktop. The view is the furniture."
    ],
    feel: ['Vaulted rafters', 'Pot-belly stove', 'French doors', 'Marble worktop', 'Hill view'],
    gallery: [
      { src: 'assets/countryside/livingroom.jpg',     cap: 'Pot-belly stove and French doors to the hill.' },
      { src: 'assets/countryside/kitchen.jpg',        cap: 'Sage tongue-and-groove kitchen, vaulted rafters.' },
      { src: 'assets/countryside/kitchen-wide.jpg',   cap: 'Brass splash-back, marble worktop, kilim sofa.' },
      { src: 'assets/countryside/dining.jpg',         cap: 'Marble breakfast bar, the view through.' },
      { src: 'assets/countryside/bedroom.jpg',        cap: 'Bedroom under the rafters.' },
      { src: 'assets/countryside/bedroom-detail.jpg', cap: 'Painted dresser; sheep on the screen.' },
    ],
    amenities: [
      { icon: 'users',     label: 'Sleeps 2',         sub: '1 king bed' },
      { icon: 'dog',       label: 'Dog welcome',      sub: 'Secure lawn · towels by the door' },
      { icon: 'flame',     label: 'Pot-belly stove',  sub: 'Terracotta-red, lit on first night' },
      { icon: 'mountain',  label: 'Hill view',        sub: 'French doors onto pasture' },
      { icon: 'wifi',      label: 'WiFi',             sub: 'Fast enough for a film' },
      { icon: 'car',       label: 'Parking',          sub: 'On the gravel, by the gate' },
    ],
    notes: 'Best for: those who want the view at the door, and a little more room.',
  },
  countryside: {
    id: 'countryside',
    name: 'Countryside View',
    tagline: 'A 17th-century stone cottage with oak beams and a wood stove.',
    eyebrow: 'The classic',
    accent: 'var(--terracotta)',
    accentDeep: 'var(--terracotta-deep)',
    accentSoft: 'rgba(181, 102, 74, 0.10)',
    accentName: 'Terracotta · clay · fireside',
    sleeps: 2,
    bedrooms: 1,
    bathrooms: 1,
    beds: 1,
    pricePerNight: 135,
    minNights: 2,
    rating: 4.97,
    reviewCount: 142,
    hero: 'assets/buttercup/exterior-wide.jpg',
    bookingUrl: 'https://www.airbnb.com/rooms/000001',
    summary: [
      "Countryside View is a 17th-century stone cottage next door. The walls are uneven, the beams are real, and the floors are slate flags. We've kept everything that mattered and changed only what didn't.",
      "Inside there's a sage-green shaker kitchen, a wood-burning stove with a herringbone-brick surround, a wing-back armchair from Richard's grandmother, and a deep terracotta bedroom under the rafters. Outside, a secure lawn for dogs and a bench facing the hill."
    ],
    feel: ['Oak beams', 'Wood stove', 'Slate floors', 'Aga kitchen', 'Cottage garden'],
    gallery: [
      { src: 'assets/buttercup/livingroom.jpg',   cap: 'The snug, with William Morris armchairs.' },
      { src: 'assets/buttercup/fireplace.jpg',    cap: 'A working wood-burner, lit by us in winter.' },
      { src: 'assets/buttercup/kitchen.jpg',      cap: 'Sage-green shaker kitchen.' },
      { src: 'assets/buttercup/dining-table.jpg', cap: 'Pine table; tea, toast, the morning paper.' },
      { src: 'assets/buttercup/bedroom.jpg',      cap: 'Master bedroom under the original beams.' },
      { src: 'assets/buttercup/window-view.jpg',  cap: 'A small leaded window onto Exmoor.' },
    ],
    amenities: [
      { icon: 'users',     label: 'Sleeps 2',         sub: '1 king bed' },
      { icon: 'dog',       label: 'Dog welcome',        sub: 'Same secure lawn, shared with Buttercup' },
      { icon: 'flame',     label: 'Wood-burning stove', sub: 'Logs included' },
      { icon: 'utensils',  label: 'Aga kitchen',        sub: 'Bialetti · everything you need' },
      { icon: 'wifi',      label: 'WiFi',               sub: 'Same fibre as Buttercup' },
      { icon: 'car',       label: 'Parking',            sub: 'For two cars, on the gravel' },
    ],
    notes: 'Best for: couples on a slow weekend, with or without the dog.',
  },
};

window.COTTAGES = COTTAGES;
