/* =============================================
   Oliver Twist Country Inn — Main Stylesheet
   Venue Digital Ltd
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F5F0E8;
  --stone: #E8E0D0;
  --warm-white: #FAF8F4;
  --ink: #1C1A16;
  --ink-light: #4A4540;
  --ink-muted: #8A847A;
  --gold: #B8962E;
  --gold-light: #D4B055;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--warm-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

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

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 72px;
  background: rgba(250,248,244,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,150,46,0.15);
}
.nav-logo {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.04em; color: var(--ink); text-decoration: none; line-height: 1.3;
}
.nav-logo span {
  display: block; font-size: 0.65rem; font-family: var(--sans); font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-top: 1px;
}
.nav-menu { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-menu a {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-light); text-decoration: none; transition: color var(--transition);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--gold); }
.nav-cta {
  background: var(--ink) !important; color: var(--warm-white) !important;
  padding: 0.55rem 1.4rem !important; border-radius: 1px;
  font-size: 0.72rem !important; letter-spacing: 0.15em !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--ink) !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1px; background: var(--ink); }

/* ── LAYOUT ── */
.site-main { padding-top: 72px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.8rem; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-body { font-size: 0.95rem; color: var(--ink-light); max-width: 540px; }
.gold-rule { width: 40px; height: 1px; background: var(--gold); margin: 1.5rem 0; }
.gold-rule.center { margin: 1.5rem auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 2.2rem; transition: all var(--transition); cursor: pointer; border: none;
}
.btn-light { background: rgba(255,255,255,0.95); color: var(--ink); border: 1px solid transparent; }
.btn-light:hover { background: var(--gold); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-dark { background: var(--ink); color: var(--warm-white); border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--warm-white); }

/* ── PAGE BANNER ── */
.page-banner {
  position: relative; height: 360px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.page-banner .banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.55);
}
.page-banner-content { position: relative; text-align: center; color: #fff; padding: 2rem; }
.page-banner-content .section-label { color: rgba(212,176,85,0.9); }
.page-banner-content h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300;
}

/* ── HERO ── */
.hero {
  position: relative; height: calc(100vh - 72px); min-height: 560px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.62);
}
.hero-content {
  position: relative; text-align: center; color: #fff; padding: 2rem;
  animation: fadeUp 1.2s ease forwards;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(212,176,85,0.9); margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300; line-height: 1.05; margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 300;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.85); margin-bottom: 2.5rem;
  max-width: 400px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── AWARDS BAR ── */
.awards-bar {
  background: var(--stone); padding: 1.8rem 0; text-align: center;
  border-top: 1px solid rgba(184,150,46,0.2);
}
.awards-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.award { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); }
.award strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }
.award-divider { width: 1px; height: 30px; background: rgba(0,0,0,0.15); }

/* ── FEATURES STRIP ── */
.features-strip { background: var(--ink); color: var(--warm-white); padding: 3.5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.feature-icon { font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--gold-light); font-family: var(--serif); font-style: italic; }
.feature-title { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.4rem; font-weight: 400; }
.feature-desc { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.5; }

/* ── SPLIT SECTION ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-img { position: relative; }
.split-img img { width: 100%; }
.split-img::after {
  content: ''; position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%; border: 1px solid rgba(184,150,46,0.3); z-index: -1;
}

/* ── HIGHLIGHT CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.highlight-card { position: relative; overflow: hidden; cursor: pointer; text-decoration: none; display: block; }
.highlight-card img { width: 100%; height: 360px; object-fit: cover; transition: transform 0.6s ease; }
.highlight-card:hover img { transform: scale(1.04); }
.card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(28,26,22,0.85));
  padding: 2rem 1.5rem 1.5rem; color: #fff;
}
.card-tag { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem; }
.card-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; }

/* ── TESTIMONIAL ── */
.testimonial-section { background: var(--cream); }
.testimonial-quote {
  font-family: var(--serif); font-size: clamp(1.3rem,2.5vw,1.8rem);
  font-weight: 300; font-style: italic; line-height: 1.5; color: var(--ink); margin-bottom: 1.5rem;
}
.testimonial-cite {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); font-style: normal;
}

/* ── ROOMS ── */
.rooms-intro { background: var(--cream); padding: 4rem 0; }
.room-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--stone); }
.room-entry:nth-child(even) .room-img { order: 2; }
.room-entry:nth-child(even) .room-info { order: 1; }
.room-img img { width: 100%; height: 420px; object-fit: cover; }
.room-info {
  padding: 3.5rem; display: flex; flex-direction: column;
  justify-content: center; background: var(--warm-white);
}
.room-price { font-family: var(--serif); font-size: 0.85rem; font-weight: 300; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.room-name { font-family: var(--serif); font-size: 2rem; font-weight: 300; margin-bottom: 0.8rem; line-height: 1.2; }
.room-desc { font-size: 0.88rem; color: var(--ink-light); margin-bottom: 1.5rem; }
.room-amenities { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-bottom: 2rem; list-style: none; }
.room-amenities li { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.room-amenities li::before { content: '— '; color: var(--gold); }

/* ── DINING ── */
.menu-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--stone); margin-bottom: 3rem; flex-wrap: wrap; }
.menu-tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); padding: 1rem 1.8rem;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--transition);
}
.menu-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.menu-tab:hover { color: var(--ink); }
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-panel-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.menu-panel-inner img { width: 100%; height: 340px; object-fit: cover; }
.menu-panel h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; margin-bottom: 0.8rem; }
.menu-panel p { font-size: 0.88rem; color: var(--ink-light); margin-bottom: 1rem; }
.menu-panel .menu-times { font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 1.5rem; }

.service-times { background: var(--cream); border-left: 3px solid var(--gold); padding: 1.5rem 2rem; margin-bottom: 3rem; }
.service-times h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; margin-bottom: 0.8rem; }
.times-grid { display: grid; grid-template-columns: 1fr; gap: 0.3rem; }
.time-row { display: flex; justify-content: space-between; gap: 1.5rem; font-size: 0.82rem; color: var(--ink-light); padding: 0.2rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.time-day { font-weight: 400; white-space: nowrap; }
.time-row span:last-child { text-align: right; }

.menu-cta-banner {
  background: var(--ink); color: #fff; padding: 3.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.menu-cta-banner h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; }
.menu-cta-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 0.3rem; }

/* ── GALLERY ── */
.gallery-masonry { columns: 3; column-gap: 2px; }
.gallery-item { break-inside: avoid; margin-bottom: 2px; overflow: hidden; }
.gallery-item img { width: 100%; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.03); }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail h4 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.contact-detail p, .contact-detail a { font-size: 0.92rem; color: var(--ink-light); text-decoration: none; display: block; line-height: 1.8; }
.contact-detail a:hover { color: var(--gold); }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--stone); background: var(--warm-white);
  font-family: var(--sans); font-size: 0.88rem; font-weight: 300; color: var(--ink);
  outline: none; transition: border-color var(--transition); -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.map-strip iframe { width: 100%; height: 300px; border: none; display: block; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: #fff; margin-bottom: 0.8rem; }
.footer-tagline { font-size: 0.8rem; line-height: 1.6; color: rgba(255,255,255,0.45); }
.site-footer h5 { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; font-weight: 400; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.82rem; transition: color var(--transition); }
.site-footer ul li a:hover { color: var(--gold-light); }
.site-footer p.small { font-size: 0.82rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── FIND US ── */
.find-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.find-us-grid iframe { width: 100%; height: 260px; border: none; display: block; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--warm-white); padding: 1.5rem 2rem; border-bottom: 1px solid var(--stone); gap: 1.2rem; }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-img::after { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .room-entry { grid-template-columns: 1fr; }
  .room-entry:nth-child(even) .room-img, .room-entry:nth-child(even) .room-info { order: unset; }
  .room-img img { height: 280px; }
  .gallery-masonry { columns: 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .times-grid { grid-template-columns: 1fr; }
  .menu-cta-banner { flex-direction: column; align-items: flex-start; }
  .find-us-grid { grid-template-columns: 1fr; gap: 2rem; }
  .menu-panel-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-nav { padding: 0 1rem; }
  section { padding: 3.5rem 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .room-info { padding: 2rem 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
}


/* ── BLOG (added 11 Aug 2026) ── */
.post-content { font-size: 1.02rem; line-height: 1.85; color: var(--ink-light); }
.post-content p { margin-bottom: 1.1rem; }
.post-content > p:first-of-type { font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; color: var(--ink); }
.post-content h2, .post-content h3, .post-content h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 2.4rem 0 0.9rem; }
.post-content h2 { font-size: 1.7rem; }
.post-content h3 { font-size: 1.35rem; }
.post-content ul, .post-content ol { margin: 0 0 1.3rem 1.3rem; }
.post-content li { margin-bottom: 0.45rem; }
.post-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.post-content a:hover { color: var(--gold); }
.post-content blockquote { border-left: 2px solid var(--gold); margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.post-content strong { color: var(--ink); font-weight: 500; }
.post-content img { max-width: 100%; height: auto; margin: 2rem 0; }

.blog-item { padding: 2.8rem 0; border-bottom: 1px solid rgba(28,26,22,0.08); }
.blog-meta { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.blog-item h2 { font-family: var(--serif); font-size: 2rem; font-weight: 400; margin: 0.5rem 0 0.7rem; line-height: 1.15; }
.blog-item h2 a { color: inherit; text-decoration: none; transition: color var(--transition); }
.blog-item h2 a:hover { color: var(--gold); }
.blog-excerpt { font-size: 0.95rem; color: var(--ink-light); line-height: 1.75; max-width: 62ch; }
.blog-more { display: inline-block; margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; text-decoration: none; }
.blog-more:hover { color: var(--gold); }

.pagination-wrap { margin-top: 3rem; text-align: center; }
.pagination-wrap .page-numbers { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; padding: 0.4rem 0.8rem; color: var(--ink-light); text-decoration: none; }
.pagination-wrap .page-numbers.current { color: var(--gold); border-bottom: 1px solid var(--gold); }
.pagination-wrap .page-numbers:hover { color: var(--gold); }


/* ── BLOG THUMBNAILS (added 11 Aug 2026) ── */
.blog-item.has-thumb { display: flex; gap: 2.2rem; align-items: flex-start; }
.blog-thumb { flex: 0 0 260px; display: block; overflow: hidden; }
.blog-thumb img { width: 260px; height: 180px; object-fit: cover; display: block; transition: transform var(--transition); }
.blog-thumb:hover img { transform: scale(1.04); }
.blog-item-body { flex: 1; min-width: 0; }
@media (max-width: 700px) {
  .blog-item.has-thumb { flex-direction: column; gap: 1.2rem; }
  .blog-thumb, .blog-thumb img { width: 100%; flex-basis: auto; height: auto; aspect-ratio: 16/10; }
}
