/* ==========================================================================
   Kite House Dakhla — base styles
   Fonts, design tokens, reset, typography, page-builder grid, utilities.
   Values measured from the original WordPress site (Flash theme + child theme).
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+A720-A7FF; }
@font-face { font-family: "Satisfy"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/satisfy-latin-400-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --c-primary: #007798;        /* brand teal (theme link/primary colour) */
  --c-primary-dark: #006384;
  --c-icon: #0a7ea0;           /* facilities icon colour */
  --c-dark: #3c3c3b;           /* room titles, outline buttons, hover */
  --c-text: #333333;           /* theme body text */
  --c-content: #000000;        /* text inside page-builder blocks */
  --c-footer-text: #444444;
  --c-nav: #727b7f;
  --c-border: #dddddd;
  --c-alt-bg: #fafafa;
  --c-white: #ffffff;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Satisfy", "Brush Script MT", cursive;
  --container: 1200px;
  --gutter: 30px;
  --header-h: 211px;           /* top bar (41) + logo/nav bar (170); updated by JS */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 1.6;
  color: var(--c-text); background: var(--c-white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, iframe, video { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
a:hover { color: var(--c-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 1.5em; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
blockquote { margin: 0; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
th, td { border: 1px solid var(--c-border); padding: 8px 12px; text-align: left; }

.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.125em; flex-shrink: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; font-weight: 700; line-height: 1.6; color: var(--c-primary); }
h1, .h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; color: var(--c-text); }
h6 { font-size: 16px; }

/* Content utility classes inherited from the original child theme */
.col1 { color: var(--c-primary); }
.upper { text-transform: uppercase; }
.mid { max-width: 825px; margin-left: auto; margin-right: auto; }
.strong { font-weight: 700; }
.mar { margin-bottom: 15px; }
.doblemar { margin-bottom: 30px !important; }
.center { text-align: center; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 20px 15px 0; }
.alignright { float: right; margin: 0 0 15px 20px; }
.inherit-color h1, .inherit-color h2, .inherit-color h3, .inherit-color div, .inherit-color p { color: inherit !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100001; background: var(--c-primary); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }

/* ---------- Page-builder rows (converted from SiteOrigin layouts) ----------
   section.row            one builder row; contained to 1200px unless .row--full
   --row-pad / --row-bgc  row padding / background colour (from the original layout)
   .cell[--w]             column width in %; empty spacer columns are dropped and
                          remaining columns are centred, which reproduces the layout
   .block[--pad]          one widget, with its original padding                          */
.site-main { display: block; }
.row {
  position: relative; padding: var(--row-pad, 0); background-color: var(--row-bgc, transparent);
  background-position: center center; background-size: cover; background-repeat: no-repeat;
}
.row__inner {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start;
  gap: var(--gap, var(--gutter)); max-width: var(--container); margin: 0 auto;
}
.row--full > .row__inner { max-width: none; }
.row--middle > .row__inner { align-items: center; }
.row--alt { background-color: var(--c-alt-bg); }
.cell { flex: 0 0 var(--w, 100%); max-width: var(--w, 100%); min-width: 0; }
.block { padding: var(--pad, 0); color: var(--c-content); }
.block > :last-child { margin-bottom: 0; }
.row[style*="color"] .block { color: inherit; }

/* Background-image rows (lazy-loaded by js/main.js via data-bg; the URL is set inline) */
.row--image { background-color: #d9d4cc; }
.row--parallax.is-bg-loaded { background-attachment: fixed; }
@media (hover: none), (max-width: 1024px) { .row--parallax.is-bg-loaded { background-attachment: scroll; } }

.empty-page { min-height: 120px; }
