/* BestHolidays site styles: home page ("Am plecat și noi în vacanță!", design variant 3),
   inner pages (page.pug) and the shared footer */

/* Fonts are served from this site (no requests to Google) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2-variations');
  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: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations');
  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: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-ext-opsz-normal.woff2) format('woff2-variations');
  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: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-opsz-normal.woff2) format('woff2-variations');
  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: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/caveat-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+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: 'Caveat';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(../fonts/caveat-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;
}

:root {
  --navy: #0B2A4A;
  --ink-2: #2B4A68;
  --ink-3: #3E5873;
  --blue: #0067B8;
  --blue-dark: #014B9B;
  --accent: #FFC400;
  --line: #C9D7E6;
  --tint: #EAF3FB;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: #ffffff; color: var(--navy); font-family: 'DM Sans', system-ui, sans-serif; min-width: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.icon { flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 900px; overflow: hidden; background: #7EC8E3; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 28px 24px 72px; display: flex; flex-direction: column; gap: 56px; }

.topbar { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.logo { display: block; background: #ffffff; border-radius: 18px; padding: 12px 18px; line-height: 0; box-shadow: 0 10px 30px rgba(11, 42, 74, 0.18); }
.logo img { width: 170px; height: auto; }

.sign { display: flex; flex-direction: column; align-items: center; transform: rotate(4deg); transform-origin: 50% 0; }
.sign-ropes { display: flex; gap: 120px; }
.sign-ropes span { width: 2px; height: 34px; background: #5B3A1E; }
.sign-board { background: var(--accent); color: var(--navy); border-radius: 10px; padding: 14px 30px 16px; text-align: center; box-shadow: 0 14px 30px rgba(11, 42, 74, 0.25); border: 3px solid var(--navy); }
.sign-title { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: 0.06em; line-height: 1; }
.sign-sub { font-weight: 700; font-size: 15px; margin-top: 6px; }

/* ---------- Out-of-office card ---------- */
.card { background: #ffffff; border-radius: 28px; padding: 40px 40px 36px; max-width: 580px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 30px 60px rgba(11, 42, 74, 0.28); transform: rotate(-1.5deg); position: relative; }
.card-hole { position: absolute; top: 22px; right: 26px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #D7E3EF; }
.chip { align-self: flex-start; display: flex; gap: 8px; align-items: center; background: var(--tint); color: var(--blue-dark); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.card h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1.02; letter-spacing: -0.02em; color: var(--navy); }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); }

.progress { display: flex; flex-direction: column; gap: 10px; }
.progress-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }
.progress-track { height: 14px; background: #E3ECF5; border-radius: 999px; overflow: hidden; }
.progress-fill { width: 87%; height: 100%; background: var(--accent); border-radius: 999px; }

.status { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 16px; line-height: 1.4; border-top: 1px dashed var(--line); padding-top: 20px; }
.status dt { font-weight: 700; }
.status dd { margin: 0; color: var(--ink-2); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 700; font-size: 16px; border-radius: 999px; }
.btn-dark { background: var(--navy); color: #ffffff; padding: 15px 24px; }
.btn-dark:hover { background: #163E66; color: #ffffff; }
.btn-light { background: #ffffff; color: var(--navy); padding: 13px 22px; border: 2px solid var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }

.ps { margin: 0; font-family: 'Caveat', cursive; font-weight: 600; font-size: 28px; line-height: 1.1; color: var(--blue-dark); transform: rotate(-2deg); }

/* ---------- While we're away ---------- */
.away { max-width: 1280px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 40px; }
.away h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.01em; color: var(--navy); }
.away-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.away-item { display: flex; flex-direction: column; gap: 12px; }
.away-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.away-title { font-weight: 700; font-size: 20px; }
.away-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 700; font-size: 17px; }
.away-links a { text-decoration: none; }
.away p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--line); }
.foot { max-width: 1280px; margin: 0 auto; padding: 64px 24px 32px; display: flex; flex-direction: column; gap: 40px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.foot-col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col.brand { flex: 2 1 280px; gap: 16px; }
.foot-col.contact { flex: 1 1 220px; }
.foot-logo { background: #ffffff; border-radius: 14px; padding: 10px 14px; align-self: flex-start; line-height: 0; }
.foot-logo img { width: 140px; height: auto; }
.foot-col p { margin: 0; line-height: 1.6; max-width: 360px; }
.foot-head { color: #ffffff; font-weight: 700; font-size: 16px; }
.foot-col a { color: var(--line); text-decoration: none; }
.foot-col a:hover { color: #ffffff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(201, 215, 230, 0.25); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; height: 320px; overflow: hidden; background: #7EC8E3; }
.page-hero .hero-photo { object-position: 70% 62%; }
.page-hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 28px 24px; }

.menu { display: flex; flex-wrap: wrap; gap: 4px; background: #ffffff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(11, 42, 74, 0.18); }
.menu a { display: block; padding: 10px 18px; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.menu a:hover { background: var(--tint); color: var(--navy); }
.menu a[aria-current="page"] { background: var(--navy); color: #ffffff; }

.page { max-width: 1280px; margin: -150px auto 0; padding: 0 24px 24px; position: relative; }
.page-card { background: #ffffff; border-radius: 28px; padding: 48px 56px 56px; max-width: 920px; box-shadow: 0 30px 60px rgba(11, 42, 74, 0.18); display: flex; flex-direction: column; gap: 20px; }
.page-card h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.015em; color: var(--navy); overflow-wrap: anywhere; }

.page-body { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.page-body > :first-child { margin-top: 0; }
.page-body p { margin: 0 0 14px; }
.page-body h2, .page-body h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--navy); margin: 36px 0 14px; scroll-margin-top: 24px; }
.page-body ul, .page-body ol { margin: 0 0 14px; padding-left: 24px; }
.page-body li { margin-bottom: 6px; }
.page-body strong, .page-body b { color: var(--navy); }
.page-body a:not(.btn) { color: var(--blue); }
.page-body .note { font-size: 15px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 24px; }

.contact-list { margin: 0 0 24px; display: grid; gap: 10px; }
.contact-list > div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.contact-list dt { font-weight: 700; color: var(--navy); min-width: 80px; }
.contact-list dd { margin: 0; }
.contact-list a { font-weight: 700; text-decoration: none; }

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.doc { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid #DCE6F0; border-radius: 18px; text-decoration: none; color: var(--navy); font-weight: 700; }
.doc:hover { background: var(--tint); color: var(--navy); border-color: var(--tint); }

/* Old documents pasted from Word/Gmail: keep their structure, use the site's fonts and colours */
.legal { font-size: 16px; overflow-wrap: anywhere; }
.legal *:not(a) { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background: transparent !important; }
.legal a { color: var(--blue) !important; }
.legal p[style*="margin: 0px"] { margin: 0 !important; }
.legal.contract p[align="center"] { font-family: var(--display) !important; font-size: 20px !important; text-align: center; }

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .page-hero { height: 250px; }
  .page-hero-inner { padding: 20px 16px; }
  .topbar { gap: 16px; }
  .page-hero .logo img { width: 120px; }
  .menu { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 2px; padding: 4px; overflow-x: auto; }
  .menu a { padding: 8px 9px; font-size: 13.5px; white-space: nowrap; }
  .page { margin-top: -80px; padding: 0 12px 16px; }
  .page-card { padding: 28px 20px 32px; border-radius: 22px; }
  .page-body { font-size: 16px; }
  .legal { font-size: 15px; }
  .hero { min-height: 0; }
  .hero-inner { padding: 20px 16px 48px; gap: 32px; }
  .logo img { width: 130px; }
  .card { padding: 28px 22px 26px; }
  .card h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .away { padding: 56px 16px; }
  .away h2 { font-size: 30px; }
  .foot { padding: 48px 16px 28px; }
}
