/*
 * Lorne Cloud House — "Canopy" public site styles.
 * Loaded after styles.css on every public page (layouts/public.blade.php).
 * Plain CSS on purpose: styles.css is a prebuilt Tailwind file, so new utility
 * classes would not exist in it.
 */

/* ---------- Base ---------- */
.cn-page { background: #f6f1e7; color: #22302a; font-family: 'Outfit', system-ui, sans-serif; }
.cn-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.cn-wrap { max-width: 1200px; margin: 0 auto; }
.cn-pad { padding-left: 48px; padding-right: 48px; }
.cn-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #8c5b47; }
.cn-h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(38px, 4.4vw, 52px); font-weight: 500; line-height: 1.05; }
.cn-h3 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.1; }
.cn-muted { color: #4b5a52; }

.cn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.cn-btn--primary { background: #3f6b4d; color: #fff; }
.cn-btn--primary:hover { background: #26382d; color: #fff; }
.cn-btn--outline { border: 1px solid #22302a; color: #22302a; background: transparent; }
.cn-btn--outline:hover { background: #22302a; color: #f6f1e7; }
.cn-btn--earth { background: #8c5b47; color: #fff; }
.cn-btn--earth:hover { background: #6b4b3a; color: #fff; }
.cn-btn--cream { background: #f3ead8; color: #22302a; font-weight: 600; }
.cn-btn--cream:hover { background: #fff; color: #22302a; }
.cn-btn--ghost { border: 1px solid #a8d5ba; color: #f3ead8; background: transparent; }
.cn-btn--ghost:hover { background: rgba(168, 213, 186, 0.15); color: #fff; }
.cn-btn:focus-visible, .cn-link:focus-visible { outline: 3px solid #3f6b4d; outline-offset: 3px; }
.cn-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #3f6b4d; font-weight: 500; text-decoration: none; }
.cn-link:hover { color: #26382d; }

.cn-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 1px 0 rgba(34, 48, 42, 0.06), 0 12px 32px rgba(34, 48, 42, 0.06); }

/* ---------- Inner page hero ---------- */
.cn-pagehero { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.cn-pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cn-pagehero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 28, 22, 0.8) 0%, rgba(18, 28, 22, 0.3) 55%, rgba(18, 28, 22, 0.45) 100%); }
.cn-pagehero__copy { position: relative; width: 100%; box-sizing: border-box; padding-top: 140px; padding-bottom: 56px; color: #fff; display: flex; flex-direction: column; gap: 14px; }
.cn-pagehero__copy .cn-eyebrow { color: #d9e8dd; }
.cn-pagehero h1 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(44px, 5.6vw, 72px); font-weight: 500; line-height: 1.02; }
.cn-pagehero p { margin: 0; max-width: 620px; font-size: 18px; font-weight: 300; line-height: 1.5; color: #eef2ee; }

/* ---------- Home: hero + booking bar ---------- */
.cn-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cn-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cn-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 28, 22, 0.8) 0%, rgba(18, 28, 22, 0.25) 50%, rgba(18, 28, 22, 0.4) 100%); }
.cn-hero__copy { position: relative; max-width: 900px; padding-top: 140px; padding-bottom: 40px; color: #fff; display: flex; flex-direction: column; gap: 18px; }
.cn-hero__copy .cn-eyebrow { color: #d9e8dd; }
.cn-hero h1 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(46px, 6.4vw, 86px); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; }
.cn-hero p { margin: 0; max-width: 600px; font-size: 19px; font-weight: 300; line-height: 1.5; color: #eef2ee; }

.cn-book { position: relative; margin-bottom: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; padding: 22px 24px; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(18, 28, 22, 0.22); max-width: 980px; }
.cn-book label { flex: 1 1 170px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6b5040; }
.cn-book input, .cn-book select { min-height: 48px; padding: 0 12px; border: 1px solid #d8d1c3; border-radius: 10px; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: #22302a; background: #fbf8f2; }
.cn-book .cn-btn { flex: 1 1 200px; }
.cn-hero .cn-book__note { flex: 1 1 100%; margin: 0; font-size: 13px; font-weight: 400; color: #4b5a52; }

/* ---------- Home: sections ---------- */
.cn-facts { list-style: none; margin: 0 auto; padding: 24px 0 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 24px; }
.cn-facts li { display: flex; align-items: center; gap: 14px; }
.cn-facts svg { flex: none; width: 30px; height: 30px; }
.cn-facts strong { display: block; font-weight: 600; }
.cn-facts span span { font-size: 14px; color: #4b5a52; }

.cn-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 40px; padding-bottom: 96px; }
.cn-intro__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.cn-intro__text p { margin: 0; }
.cn-intro__lead { font-size: 18px; color: #3a4740; }
.cn-intro__photos { flex: 1 1 460px; position: relative; min-height: 520px; }
.cn-intro__big { position: absolute; top: 0; right: 0; width: 88%; height: 420px; object-fit: cover; border-radius: 18px; }
.cn-intro__small { position: absolute; bottom: 0; left: 0; width: 44%; height: 240px; object-fit: cover; border-radius: 18px; border: 8px solid #f6f1e7; }

.cn-gallery { background: #fbf8f2; padding-top: 96px; padding-bottom: 96px; }
.cn-gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.cn-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 14px; }
.cn-mosaic button { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #e9e1d2; }
.cn-mosaic button:first-child { grid-column: span 2; grid-row: span 2; }
.cn-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.cn-mosaic button:hover img { transform: scale(1.03); }
.cn-mosaic button:focus-visible { outline: 3px solid #3f6b4d; outline-offset: 3px; }
.cn-mosaic__tag { position: absolute; left: 16px; bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(18, 28, 22, 0.6); color: #fff; font-size: 13px; }
.lightbox button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }

.cn-rooms { padding-top: 96px; padding-bottom: 96px; }
.cn-rooms__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 32px; }
.cn-rooms article { display: flex; flex-direction: column; gap: 14px; }
.cn-rooms img { width: 100%; height: 260px; object-fit: cover; border-radius: 16px; }
.cn-rooms h3 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; }
.cn-rooms p { margin: 0; color: #4b5a52; }

.cn-location { background: #e9e1d2; padding-top: 96px; padding-bottom: 96px; }
.cn-location__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.cn-location__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.cn-location dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; font-size: 17px; }
.cn-location dt { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; line-height: 1; }
.cn-location dd { margin: 0; padding-bottom: 14px; border-bottom: 1px solid #d3c8b4; }
.cn-location dd:last-of-type { border-bottom: 0; padding-bottom: 0; }
.cn-location figure { flex: 1 1 440px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cn-location figure img { width: 100%; height: 420px; object-fit: cover; border-radius: 18px; }
.cn-location figcaption { font-size: 14px; color: #4b5a52; }

.cn-know { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cn-know > div { padding: 22px; border-radius: 16px; background: #fbf8f2; }
.cn-know span { display: block; }
.cn-know__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6b5040; }
.cn-know__value { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 600; }
.cn-know__note { font-size: 14px; color: #4b5a52; }

.cn-cta { background: #26382d; color: #f3ead8; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.cn-cta__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cn-cta h2 { color: #f3ead8; font-size: clamp(42px, 5vw, 60px); }
.cn-cta p { margin: 0; font-size: 18px; color: #d4ddd5; }
.cn-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Availability ---------- */
.cn-avail { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-top: 48px; padding-bottom: 96px; }
.cn-avail__cal { flex: 3 1 560px; min-width: 0; }
.cn-avail__side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.cn-avail__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cn-avail__nav h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; font-weight: 600; }
.cn-iconbtn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #d8d1c3; background: #fbf8f2; color: #22302a; cursor: pointer; }
.cn-iconbtn:hover { background: #e9e1d2; }
.cn-iconbtn:focus-visible { outline: 3px solid #3f6b4d; outline-offset: 2px; }
.cn-hint { margin: 0 0 20px; font-size: 15px; color: #4b5a52; }
.cn-legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; font-size: 14px; color: #4b5a52; }
.cn-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cn-swatch { width: 18px; height: 18px; border-radius: 5px; box-sizing: border-box; }

.cn-cal .calendar { gap: 6px; }
.cn-cal .calendar-header { padding: 8px 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6b5040; }
.cn-cal .calendar-day { gap: 2px; border-radius: 10px; font-size: 15px; transition: background-color 120ms ease; }
.cn-cal .calendar-day.available { background: #fff; color: #22302a; border: 1px solid #bcd9c5; }
.cn-cal .calendar-day.available:hover { background: #e3efe6; color: #22302a; border-color: #3f6b4d; transform: none; box-shadow: none; }
.cn-cal .calendar-day.booked { background: #ece6da; color: #7a7f7b; border: 1px solid #ece6da; }
.cn-cal .calendar-day.disabled { background: transparent; color: #a6aaa7; border: 1px solid transparent; text-decoration: none; }
.cn-cal .calendar-day.in-range { background: #dcebe0; color: #22302a; border: 1px solid #dcebe0; }
.cn-cal .calendar-day.selected-checkin,
.cn-cal .calendar-day.selected-checkout { background: #3f6b4d; color: #fff; border: 1px solid #3f6b4d; font-weight: 600; }
.cn-cal .calendar-day.today { box-shadow: 0 0 0 2px #8c5b47; }
.cn-cal .not-available-label, .cn-cal .holiday-label { font-size: 9px; letter-spacing: 0.04em; opacity: 0.85; text-align: center; padding: 0 2px; }
.cn-cal .public-holiday, .cn-cal .school-holiday { color: inherit; }

.cn-stay__dates { margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; background: #e3efe6; color: #26382d; font-weight: 500; }
.cn-stay__buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.cn-stay__buttons .cn-btn { width: 100%; }

/* ---------- Arrival guide ---------- */
.cn-guide { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding-top: 48px; padding-bottom: 96px; }
.cn-guide__toc { flex: 1 1 220px; max-width: 260px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.cn-guide__toc p { margin: 0 0 10px; }
.cn-guide__toc a { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; color: #3a4740; text-decoration: none; font-size: 15px; }
.cn-guide__toc a:hover { background: #e9e1d2; color: #22302a; }
.cn-guide__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cn-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.cn-quick div { padding: 16px 18px; border-radius: 14px; background: #fbf8f2; }
.cn-quick span { display: block; }
.cn-quick .cn-know__value { font-size: 24px; }
.cn-gsec { scroll-margin-top: 100px; }
.cn-gsec__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cn-gsec__icon { flex: none; width: 46px; height: 46px; border-radius: 999px; background: #e3efe6; color: #3f6b4d; display: flex; align-items: center; justify-content: center; }
.cn-gsec__icon svg { width: 22px; height: 22px; }
.cn-gsec p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; color: #3a4740; }
.cn-gsec p:last-child { margin-bottom: 0; }
.cn-gsec ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.65; color: #3a4740; }
.cn-gsec li + li { margin-top: 6px; }
.cn-gsec figure { margin: 18px 0 0; }
.cn-gsec figure img, .cn-gsec iframe { display: block; width: 100%; border-radius: 14px; border: 0; }
.cn-gsec iframe { height: 360px; }
.cn-tip { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #fbf1e8; color: #5a3a22; font-size: 16px; }
.cn-wifi { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 18px 20px; border-radius: 14px; background: #fbf8f2; font-size: 17px; }
.cn-wifi dt { color: #6b5040; font-weight: 600; }
.cn-wifi dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
    .cn-pad { padding-left: 20px; padding-right: 20px; }
    .cn-card { padding: 22px; border-radius: 16px; }
    .cn-book { margin-bottom: 24px; padding: 18px; }
    .cn-intro { gap: 40px; padding-bottom: 72px; }
    .cn-intro__photos { min-height: 380px; }
    .cn-intro__big { height: 300px; }
    .cn-intro__small { height: 170px; }
    .cn-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
    .cn-gallery, .cn-rooms, .cn-location, .cn-cta { padding-top: 72px; padding-bottom: 72px; }
    .cn-location figure img { height: 300px; }
    .cn-pagehero { min-height: 360px; }
    .cn-pagehero__copy { padding-top: 120px; padding-bottom: 40px; }
    .cn-avail, .cn-guide { padding-top: 28px; padding-bottom: 72px; }
    .cn-avail__side, .cn-guide__toc { position: static; }
    .cn-guide__toc { max-width: none; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
    .cn-guide__toc p { display: none; }
    .cn-guide__toc a { flex: none; background: #fbf8f2; white-space: nowrap; }
    .cn-avail__nav h2 { font-size: 26px; text-align: center; }
    .cn-cal .calendar { gap: 3px; }
    .cn-cal .calendar-day { font-size: 13px; border-radius: 8px; }
    .cn-gsec iframe { height: 280px; }
}
