/*
Theme Name: Barauli Paradise Resort
Theme URI: https://dotnp.co/
Author: dotnp.co
Author URI: https://dotnp.co/
Description: Custom minimal theme for Barauli Paradise Resort, Chitwan. Native Gutenberg blocks, no page builders.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: barauli-paradise
*/

/* ============ Barauli Paradise Resort — base theme styles ============ */
:root {
  --b-ink: #1f2422;
  --b-muted: #5d6864;
  --b-line: #e3e8e4;
  --b-sage: #5f7268;
  --b-deep: #43544a;
  --b-mist: #edf1ec;
  --b-cream: #faf8f3;
  --b-dark: #141817;
  --b-radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--b-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--b-deep); }
a:hover { color: var(--b-ink); }
::selection { background: var(--b-sage); color: #fff; }
:focus-visible { outline: 2px solid var(--b-sage); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--b-ink); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 8px; top: 8px; }

h1, h2, h3, h4 { font-family: Cardo, Georgia, serif; font-weight: 400; line-height: 1.15; color: var(--b-ink); margin: 0 0 0.6em; }
h1, .b-title { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.b-header { background: var(--b-cream); border-bottom: 1px solid var(--b-line); position: sticky; top: 0; z-index: 50; }
.b-header-inner {
  max-width: 1400px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; gap: 32px;
}
.b-brand img { display: block; max-height: 64px; width: auto; }
.b-brand-text { font-family: Cardo, Georgia, serif; font-size: 1.3rem; color: var(--b-ink); text-decoration: none; }
.b-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.b-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.b-menu a {
  display: block; padding: 10px 14px; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--b-ink); border-radius: 999px; white-space: nowrap;
}
.b-menu a:hover { color: var(--b-deep); background: var(--b-mist); }
.b-menu .current-menu-item > a { color: var(--b-deep); background: var(--b-mist); }
.b-book {
  margin-left: 12px; background: var(--b-ink); color: #fff !important;
  padding: 12px 26px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.b-book:hover { background: var(--b-deep); }
.b-nav-check { display: none; }
.b-nav-btn { display: none; cursor: pointer; padding: 10px; margin-left: auto; }
.b-nav-btn span { display: block; width: 24px; height: 2px; background: var(--b-ink); margin: 5px 0; }

/* ---------- Layout helpers ---------- */
.b-main { display: block; }
.b-narrow { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.b-pad { padding-top: 72px; padding-bottom: 72px; }
.b-center { text-align: center; }
.b-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--b-sage); margin: 0 0 12px;
}
.b-btn {
  display: inline-block; background: var(--b-ink); color: #fff;
  padding: 13px 28px; border-radius: 999px; font-size: 14px; font-weight: 700;
  text-decoration: none;
}
.b-btn:hover { background: var(--b-deep); color: #fff; }
.b-list { list-style: none; margin: 24px 0; padding: 0; }
.b-list li { padding: 12px 0; border-bottom: 1px solid var(--b-line); }
.b-list a { text-decoration: none; font-size: 1.1rem; }

/* ---------- Blocks polish ---------- */
.wp-block-cover { margin: 0; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover p { color: #fff; }
.wp-block-button__link { border-radius: 999px !important; padding: 13px 28px !important; font-size: 14px !important; font-weight: 700 !important; text-decoration: none !important; }
.wp-block-image img { border-radius: var(--b-radius); }
.wp-block-gallery.has-nested-images { gap: 10px !important; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 10px !important; }
.wp-block-table { overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table th, .wp-block-table td { padding: 12px 14px; border: 1px solid var(--b-line); text-align: left; }
.wp-block-table thead th { background: var(--b-ink); color: #fff; border-color: var(--b-ink); font-weight: 600; }
.wp-block-table tbody tr:nth-child(even) { background: var(--b-mist); }
.wp-block-quote { border-left: 3px solid var(--b-sage); margin: 2rem 0; padding: 0.5rem 0 0.5rem 1.5rem; font-size: 1.15rem; }
.wp-block-quote cite { display: block; margin-top: 0.75rem; font-size: 0.85rem; font-style: normal; color: var(--b-muted); }

/* ---------- Contact Form 7 ---------- */
.wpcf7-form { display: grid; gap: 14px; }
.wpcf7-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.wpcf7-form input:not([type="submit"]), .wpcf7-form textarea, .wpcf7-form select {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15px;
  border: 1px solid var(--b-line); border-radius: 10px; background: #fff; color: var(--b-ink);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus { outline: 2px solid var(--b-sage); outline-offset: 1px; border-color: var(--b-sage); }
.wpcf7-form input[type="submit"] {
  justify-self: start; border: none; cursor: pointer;
  background: var(--b-ink); color: #fff; padding: 14px 32px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
}
.wpcf7-form input[type="submit"]:hover { background: var(--b-deep); }

/* ---------- Legacy fallback content ---------- */
.barauli-legacy-row { max-width: 1120px; margin: 0 auto; padding: 28px 20px; }
.barauli-legacy-heading { font-family: Cardo, Georgia, serif; color: var(--b-ink); }
.barauli-legacy-text { line-height: 1.65; }
.barauli-legacy-img { border-radius: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .b-header-inner { padding: 10px 20px; gap: 16px; flex-wrap: wrap; }
  .b-nav-btn { display: block; }
  .b-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .b-nav-check:checked ~ .b-nav { display: flex; }
  .b-menu { flex-direction: column; align-items: stretch; }
  .b-menu a { padding: 12px 6px; }
  .b-book { margin: 8px 0 4px; text-align: center; }
  .b-pad { padding-top: 52px; padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
