/* Padora — layout and section styles. Colours and fonts live in theme.json. */

:root {
	--padora-pad-x: clamp(20px, 5vw, 72px);
	--padora-section-y: clamp(72px, 9vw, 128px);
	--padora-line: #DCCFC0;
	--padora-line-dark: #3C5E55;
}

/* Header, main and footer sit flush against each other. */
.wp-site-blocks { position: relative; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.site-main.is-front > .wp-block-post-content > *:first-child { margin-block-start: 0; }
.site-main:not(.is-front) { padding-block: clamp(48px, 6vw, 96px); }
.page-title { margin-block-end: 32px; }

/* ---------- Header ---------- */
.header-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.header-solid { background: var(--wp--preset--color--forest); }
.site-header { padding-block: 28px; color: var(--wp--preset--color--cream); }
.site-header a { color: var(--wp--preset--color--cream); }
.site-header a:hover { color: var(--wp--preset--color--copper-light); }
.site-header .brand { gap: 14px; }
.site-header__inner { flex-wrap: nowrap !important; }
.site-header .wp-block-site-logo img { height: 40px; width: auto; }
.site-header .brand-name,
.site-header .brand-name a { font-family: var(--wp--preset--font-family--display); font-size: 26px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.main-nav { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; gap: clamp(16px, 2.4vw, 36px); }
.main-nav .nav-cta > a { border: 1px solid currentColor; border-radius: 999px; padding: 13px 22px; }
.main-nav .nav-cta > a:hover { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--forest); }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--forest) !important; color: var(--wp--preset--color--cream) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 18px; }

/* ---------- Shared bits ---------- */
.eyebrow { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--wp--preset--color--copper); margin-block-end: 16px !important; font-weight: 500; }
.section { padding-block: var(--padora-section-y); }
.section h2 { margin-block: 0 22px; }
.section p { color: var(--wp--preset--color--body); }
.section .eyebrow { color: var(--wp--preset--color--copper); }
.section-intro { text-align: center; margin-block-end: 56px; }
.section-intro > * { margin-inline: auto; }

.section.is-green { background: var(--wp--preset--color--forest); color: var(--wp--preset--color--cream); }
.section.is-green h2,
.section.is-green h3 { color: var(--wp--preset--color--cream); }
.section.is-green p { color: var(--wp--preset--color--mist); }
.section.is-green .eyebrow { color: var(--wp--preset--color--copper-light); }
.section.is-sand { background: var(--wp--preset--color--sand); }

/* Image looks (also offered in the editor's Styles panel). */
.wp-block-image img { display: block; width: 100%; object-fit: cover; }
.wp-block-image.is-style-arch img { border-radius: 999px 999px 0 0; }
.wp-block-image.is-style-soft img { border-radius: 20px; }
.wp-block-image figcaption,
.wp-block-image .wp-element-caption { margin-top: 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted); text-align: left; }

/* Outline button for dark backgrounds. */
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; border: 1px solid var(--wp--preset--color--cream); color: var(--wp--preset--color--cream); padding: 16px 27px; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--forest); }

/* ---------- Hero ---------- */
.padora-hero.wp-block-cover { padding: 140px var(--padora-pad-x) 56px; }
.padora-hero .wp-block-cover__inner-container { color: var(--wp--preset--color--cream); max-width: 1296px; width: 100%; margin-inline: auto; }
.padora-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; }
.padora-hero .eyebrow { color: #F0CDB6; font-size: 14px; margin-block-end: 18px !important; }
.padora-hero .hero-title { color: var(--wp--preset--color--cream); max-width: 820px; margin-block: 0 !important; }
.padora-hero .hero-lead { max-width: 560px; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--wp--preset--color--cream); margin-block: 22px 40px !important; }
.booking-bar { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); padding: 24px 28px; border-radius: 20px; max-width: 980px; gap: 20px 28px; margin-left: 0 !important; }
.booking-bar p { margin: 0; color: var(--wp--preset--color--body); font-size: 16px; line-height: 1.6; }
.booking-bar p strong { display: inline-block; margin-bottom: 4px; font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

/* ---------- Welcome ---------- */
.intro-columns { gap: clamp(40px, 6vw, 96px) !important; }
.stats { gap: 28px 48px; margin-top: 44px !important; padding-top: 32px; border-top: 1px solid var(--padora-line); }
.stat > * { margin: 0 !important; }
.stat-number { font-family: var(--wp--preset--font-family--display); font-size: 44px; line-height: 1.2; color: var(--wp--preset--color--copper) !important; }
.stat-label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; }
.arch-pair { gap: 20px; align-items: flex-end; }
.arch-pair > .wp-block-image { margin: 0; min-width: 0; }
.arch-pair > .wp-block-image:first-child { flex: 1 1 60%; }
.arch-pair > .wp-block-image:last-child { flex: 1 1 40%; }
.arch-pair > .wp-block-image:first-child img { height: clamp(360px, 40vw, 560px); }
.arch-pair > .wp-block-image:last-child img { height: clamp(240px, 27vw, 380px); }

/* ---------- Cards (apartment, materials) ---------- */
.section-head { margin-block-end: 56px !important; }
.section-head p { max-width: 420px; margin-left: auto; }
.cards { gap: 28px !important; }
.cards .wp-block-image img { height: 360px; }
.cards--small .wp-block-image img { height: 300px; }
.cards h3 { margin-block: 24px 10px; }
.cards--small h3 { font-size: 22px; margin-block: 20px 8px; }
.cards p { font-size: 16px; }
.cards--small p { font-size: 15px; }

/* ---------- Amenities ---------- */
.is-sand .wp-block-columns { gap: clamp(40px, 5vw, 72px); }
.is-sand .wp-block-column > .wp-block-image img { height: 420px; }
.amenity-pair { gap: 20px !important; margin-top: 20px !important; }
.amenity-pair .wp-block-image img { height: 300px !important; }
.wp-block-list.is-style-ruled { list-style: none; padding: 0; margin-top: 32px; font-size: 17px; }
.wp-block-list.is-style-ruled li { padding: 16px 0; border-top: 1px solid #CDBFAE; }
.wp-block-list.is-style-ruled li:last-child { border-bottom: 1px solid #CDBFAE; }

/* ---------- Ways to stay ---------- */
.stays { gap: 28px !important; }
.wp-block-column.is-style-arch-card { border: 1px solid var(--padora-line); border-radius: 999px 999px 24px 24px; padding: 72px 36px 40px; text-align: center; background: var(--wp--preset--color--paper); }
.wp-block-column.is-style-arch-card h3 { font-size: 28px; margin-block: 0 8px; }
.wp-block-column.is-style-arch-card .price { font-size: 15px; color: var(--wp--preset--color--muted); }
.wp-block-column.is-style-arch-card p { font-size: 16px; }
.wp-block-column.is-style-arch-card.is-featured { background: var(--wp--preset--color--forest); border-color: var(--wp--preset--color--forest); }
.wp-block-column.is-style-arch-card.is-featured h3 { color: var(--wp--preset--color--cream); }
.wp-block-column.is-style-arch-card.is-featured p { color: var(--wp--preset--color--mist); }

/* ---------- Location ---------- */
.is-green .wp-block-columns { gap: clamp(40px, 6vw, 96px); }
.wp-block-table.distances { margin-top: 36px; }
.wp-block-table.distances table { border-collapse: collapse; width: 100%; font-size: 17px; }
.wp-block-table.distances td { border: 0; border-top: 1px solid var(--padora-line-dark); padding: 16px 0; color: var(--wp--preset--color--cream); }
.wp-block-table.distances tr:last-child td { border-bottom: 1px solid var(--padora-line-dark); }
.wp-block-table.distances td:last-child { text-align: right; color: var(--wp--preset--color--copper-light); white-space: nowrap; padding-left: 16px; }
.map-card { background: #2B5148; border-radius: 999px 999px 24px 24px; min-height: 560px; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 40px; box-sizing: border-box; }
.map-card h3 { color: var(--wp--preset--color--cream); margin: 0 0 12px; }
.map-card p { font-size: 15px; }
.map-card iframe { width: 100%; border: 0; border-radius: 16px; }

/* ---------- Gallery ---------- */
.padora-gallery.wp-block-gallery { gap: 16px; margin-top: 40px; }
.padora-gallery.wp-block-gallery .wp-block-image img { height: 380px; border-radius: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wp--preset--color--forest-deep); color: var(--wp--preset--color--cream); padding: clamp(72px, 9vw, 112px) var(--padora-pad-x) 40px; }
.site-footer h2 { color: var(--wp--preset--color--cream); font-size: clamp(34px, 4.5vw, 60px); margin-block: 0 18px; }
.site-footer p { color: var(--wp--preset--color--mist); font-size: 15px; line-height: 2; }
.site-footer a { color: var(--wp--preset--color--cream); }
.site-footer a:hover { color: var(--wp--preset--color--copper-light); }
.site-footer .eyebrow { color: var(--wp--preset--color--copper-light); font-size: 12px; letter-spacing: .2em; margin-block-end: 8px !important; line-height: 1.4; }
.footer-cta { padding-bottom: 72px; border-bottom: 1px solid #2E4A43; }
.footer-cta > p { font-size: 18px; line-height: 1.7; margin-block-end: 32px; }
.footer-columns { padding-block: 56px; gap: 40px 72px !important; }
.footer-columns .wp-block-column > * { margin-block-start: 0; }
.wp-block-image.is-style-footer-logo img { height: 150px; width: auto; }
.site-footer .copyright { font-size: 13px; color: #9FB0AA; margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.padora-hero.wp-block-cover { min-height: 640px !important; padding-top: 130px; }
	.site-header .brand-name, .site-header .brand-name a { font-size: 19px; }
	.site-header .wp-block-site-logo img { height: 32px; }
	.section-head p { margin-left: 0; }
	.arch-pair { flex-wrap: nowrap !important; }
	.cards .wp-block-image img { height: 300px; }
	.padora-gallery.wp-block-gallery .wp-block-image img { height: 240px; }
	.map-card { min-height: 380px; }
	.booking-bar { padding: 20px; }
}
