/* ============================================================
   HatfieldRooms.uk — Brand layer on top of Semantic UI
   Brand: purple #4F46E5 / yellow #FBBF24 / Plus Jakarta Sans
   ============================================================ */

:root {
  --purple: #4F46E5;
  --purple-dark: #3730A3;
  --purple-light: #EEF2FF;
  --yellow: #FBBF24;
  --yellow-dark: #D97706;
  --green: #10B981;
  --pink: #EC4899;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --dark: #111827;
  --mid: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 16px;
  --radius-xl: 28px;
}

/* ---- Base / typography overrides ---- */
html { background: var(--white); }
body {
  font-family: 'Plus Jakarta Sans', 'Lato', sans-serif !important;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
  min-height: 100%;
}
h1, h2, h3, h4, h5,
.ui.header { font-family: 'Plus Jakarta Sans', sans-serif !important; letter-spacing: -0.5px; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---- NAV ---- */
nav.site-nav {
  padding: 0 5%; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .logo { font-size: 1.3rem; font-weight: 900; text-decoration: none; color: var(--purple); letter-spacing: -0.5px; }
.site-nav .logo .dot { color: var(--yellow); }
.site-nav ul { list-style: none; display: flex; gap: 26px; align-items: center; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; color: var(--mid); font-size: 0.9rem; font-weight: 600; transition: color .2s; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--purple); }
.nav-pill {
  background: var(--purple) !important; color: #fff !important;
  padding: 10px 22px !important; border-radius: 999px; font-weight: 700; font-size: 0.875rem;
  text-decoration: none; transition: background .2s, transform .2s;
}
.nav-pill:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--purple); cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 5% 18px; background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 70px; z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 0; text-decoration: none; color: var(--mid); font-weight: 600; border-bottom: 1px solid var(--off-white); }

/* ---- Buttons ---- */
.btn-yellow {
  background: var(--yellow) !important; color: var(--dark) !important;
  padding: 15px 34px; border-radius: 999px !important; font-weight: 800; font-size: 1rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s; box-shadow: none !important;
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
}
.btn-yellow:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(251,191,36,0.4) !important; color: var(--dark) !important; }
.btn-purple {
  background: var(--purple) !important; color: #fff !important;
  padding: 15px 34px; border-radius: 999px !important; font-weight: 800; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  transition: background .2s, transform .2s; box-shadow: none !important;
}
.btn-purple:hover { background: var(--purple-dark) !important; transform: translateY(-2px); color: #fff !important; }
.btn-white-outline {
  border: 2px solid rgba(255,255,255,0.5); color: #fff !important;
  padding: 13px 32px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all .2s; background: transparent;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff !important; }

/* ---- HERO ---- */
.hero {
  background: var(--purple); position: relative; overflow: hidden;
  padding: 70px 5% 60px; color: #fff;
}
.hero.hero-tall { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.15; z-index: 0; }
.hero-blob { position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(251,191,36,0.2) 0%, transparent 70%); border-radius: 50%; }
.hero-blob-2 { position: absolute; bottom: -150px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  background: rgba(255,255,255,0.15); color: #fff;
  padding: 7px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; gap: 7px;
}
.chip.yellow { background: var(--yellow); color: var(--dark); border-color: transparent; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; color: #fff; line-height: 1.05;
  letter-spacing: -2px; margin: 0 0 22px;
}
.hero h1 .highlight { background: var(--yellow); color: var(--dark); padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(-1deg); }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 580px; font-weight: 500; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 20px; }
.hero-card-num { font-size: 1.9rem; font-weight: 900; color: var(--yellow); letter-spacing: -1px; }
.hero-card-label { color: rgba(255,255,255,0.78); font-size: 0.78rem; font-weight: 600; margin-top: 4px; }

/* ---- MARQUEE ---- */
.marquee-wrap { background: var(--yellow); padding: 14px 0; overflow: hidden; }
.marquee { display: flex; gap: 40px; white-space: nowrap; animation: marquee 24s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.875rem; color: var(--dark); }
.marquee-dot { width: 6px; height: 6px; background: var(--purple); border-radius: 50%; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---- SECTIONS ---- */
.section { padding: 90px 5%; max-width: 1200px; margin: 0 auto; }
.section.full { max-width: none; }
.section-header { text-align: center; margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-pill {
  display: inline-block; background: var(--purple-light); color: var(--purple);
  padding: 6px 18px; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.section h2, h2.brand { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; letter-spacing: -1px; line-height: 1.15; margin: 0; color: var(--dark); }
.section-header p { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }
.lead { font-size: 1.08rem; color: var(--mid); }

/* ---- ROOM CARDS ---- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room-card { border-radius: var(--radius-xl); overflow: hidden; border: 2px solid var(--border); background: #fff; transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.room-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(79,70,229,.12); }
.room-card.featured { border-color: var(--purple); }
.room-thumb { height: 230px; position: relative; overflow: hidden; background: var(--purple-light); }
.room-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-label { position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 6px; }
.label-available { background: var(--green); color: #fff; }
.label-popular { background: var(--purple); color: #fff; }
.label-sept { background: var(--yellow); color: var(--dark); }
.room-body { padding: 24px; }
.room-type { font-size: 0.72rem; font-weight: 800; color: var(--purple); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.room-title { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.room-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.perk-tag { background: var(--off-white); border: 1px solid var(--border); font-size: 0.72rem; font-weight: 600; color: var(--mid); padding: 4px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.room-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.price { font-size: 1.45rem; font-weight: 900; color: var(--dark); letter-spacing: -0.5px; }
.price sub { font-size: 0.68rem; font-weight: 400; color: var(--muted); }

/* ---- WHAT'S INCLUDED ---- */
.tinted { background: var(--purple-light); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 30px; border: 2px solid transparent; transition: border-color .25s, transform .25s; }
.feature-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.feature-card .ic { font-size: 1.8rem; color: var(--purple); margin-bottom: 14px; }
.feature-card h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 8px; color: var(--dark); }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---- COMPARE TABLE ---- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.compare-table th { padding: 18px 20px; text-align: left; font-size: 0.85rem; font-weight: 800; background: var(--dark); color: #fff; }
.compare-table th.ours { background: var(--purple); }
.compare-table td { padding: 16px 20px; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--off-white); }
.compare-table td.ours { background: var(--purple-light); font-weight: 700; color: var(--purple); }
.compare-table tr:nth-child(even) td.ours { background: #e0e7ff; }
.check { color: var(--green); font-weight: 900; }
.cross { color: #EF4444; font-weight: 900; }
.maybe { color: var(--muted); }

/* ---- PROCESS ---- */
.dark-section { background: var(--dark); color: #fff; }
.dark-section h2 { color: #fff !important; }
.dark-section .section-pill { background: rgba(251,191,36,.15); color: var(--yellow); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-num { width: 54px; height: 54px; border-radius: 16px; background: rgba(79,70,229,.3); border: 2px solid rgba(79,70,229,.5); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; color: var(--yellow); margin-bottom: 18px; }
.step h3 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.step p { color: #9CA3AF; font-size: 0.875rem; line-height: 1.65; margin: 0; }

/* ---- REVIEWS ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.review-stars { color: var(--yellow); margin-bottom: 12px; }
.review-text { font-size: 0.9rem; color: var(--mid); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; font-weight: 900; display: flex; align-items: center; justify-content: center; color: #fff; }
.reviewer-name { font-weight: 800; font-size: 0.875rem; }
.reviewer-course { font-size: 0.75rem; color: var(--muted); }

/* ---- FAQ ACCORDION ---- */
.faq-accordion { max-width: 820px; margin: 0 auto; }
.faq-item { border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: var(--purple); }
.faq-q { width: 100%; text-align: left; background: #fff; border: none; padding: 22px 24px; font-weight: 800; font-size: 0.98rem; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-q .chev { color: var(--purple); transition: transform .25s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.faq-a.open { padding: 0 24px 22px; max-height: 600px; }

/* ---- CTA ---- */
.cta-section { padding: 90px 5%; background: linear-gradient(135deg, var(--purple) 0%, #7C3AED 50%, var(--pink) 100%); text-align: center; position: relative; overflow: hidden; color: #fff; }
.cta-blob { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(251,191,36,.2) 0%, transparent 65%); border-radius: 50%; }
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); position: relative; margin: 0; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-top: 16px; position: relative; }
.cta-form { display: flex; gap: 12px; max-width: 480px; margin: 40px auto 0; flex-wrap: wrap; justify-content: center; position: relative; }
.cta-form input { flex: 1; min-width: 220px; padding: 16px 20px; border-radius: 999px; border: none; outline: none; font-size: 0.95rem; font-family: inherit; }
.cta-form button { background: var(--yellow); color: var(--dark); padding: 16px 32px; border: none; border-radius: 999px; font-weight: 800; font-size: 0.95rem; cursor: pointer; font-family: inherit; transition: transform .2s; }
.cta-form button:hover { transform: scale(1.03); }
.cta-trust { color: rgba(255,255,255,.65); font-size: 0.8rem; margin-top: 16px; position: relative; }
.cta-contacts { margin-top: 30px; position: relative; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ---- Generic content (legal/about) ---- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--dark); }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--dark); }
.prose p, .prose li { color: var(--mid); font-size: 0.98rem; line-height: 1.8; }
.prose ul { padding-left: 22px; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--purple); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* two-column content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius-xl); display: block; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); display: block; }

/* ---- FOOTER ---- */
footer.site-footer { background: var(--dark); padding: 60px 5% 30px; color: #fff; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #1F2937; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #fff; text-decoration: none; }
.footer-logo .dot { color: var(--yellow); }
.footer-desc { color: #6B7280; font-size: 0.875rem; line-height: 1.7; margin-top: 12px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: #1F2937; color: #D1D5DB; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s; }
.footer-social a:hover { background: var(--purple); color: #fff; }
footer.site-footer h4 { color: #fff; font-size: 0.875rem; font-weight: 800; margin: 0 0 18px; }
footer.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; }
footer.site-footer ul a { color: #6B7280; text-decoration: none; font-size: 0.875rem; transition: color .2s; }
footer.site-footer ul a:hover { color: #D1D5DB; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #4B5563; font-size: 0.8rem; margin: 0; }

/* ---- FLOATING WHATSAPP BUTTON ---- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,0.55); color:#fff !important; }
.wa-float::after {
  content: "Chat on WhatsApp"; position: absolute; right: 70px;
  background: var(--dark); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover::after { opacity: 1; }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; font-size: 1.5rem; right: 16px; bottom: 16px; } .wa-float::after { display: none; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .site-nav ul { display: none; }
  .nav-toggle { display: block; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .rooms-grid, .feature-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: 0.78rem; }
  .compare-table th, .compare-table td { padding: 12px 12px; }
}
@media (max-width: 600px) {
  .rooms-grid, .feature-grid, .reviews-grid, .steps-grid, .hero-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 5%; }
}
