/*
Theme Name: Anastasia & Billis
Theme URI: https://anastasiaandbillis.gr/
Author: Virtus Plus
Author URI: https://virtusplus.gr/
Description: Child theme for the Anastasia & Billis boutique accommodation on Thasos. Built on the Bootstrap 5 parent theme, faithful to the Figma design.
Template: bootstrap
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: anastasiaandbillis
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--ab-cream:        #fcfaf4;
	--ab-cream-2:      #f4efe4;
	--ab-cream-3:      #f7f2e8;
	--ab-ink:          #0b1f20;
	--ab-teal:         #003844;
	--ab-teal-accent:  #056e87;
	--ab-muted:        #556864;
	--ab-sand:         #d2c9b2;
	--ab-sand-veins:   rgba(219, 207, 180, 0.35);
	--ab-footer-text:  #d1ebeb;
	--ab-footer-text2: #c7e0e0;

	--ab-serif: "Noto Serif", Georgia, "Times New Roman", serif;
	--ab-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ab-shadow-card:   0 18px 34px rgba(8, 20, 20, 0.11);
	--ab-shadow-soft:   0 12px 24px rgba(8, 20, 20, 0.08);
	--ab-shadow-header: 0 10px 22px rgba(5, 20, 23, 0.06);

	--ab-radius:    18px;
	--ab-radius-sm: 14px;

	/* Bootstrap overrides */
	--bs-body-font-family: var(--ab-sans);
	--bs-body-color: var(--ab-ink);
	--bs-body-bg: var(--ab-cream);
	--bs-primary: #003844;
	--bs-border-radius: 14px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
	font-family: var(--ab-sans);
	color: var(--ab-ink);
	background-color: var(--ab-cream);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.ab-serif {
	font-family: var(--ab-serif);
	color: var(--ab-ink);
	font-weight: 600;
	letter-spacing: -0.01em;
}

a { color: var(--ab-teal-accent); text-decoration: none; }
a:hover { color: var(--ab-teal); }

::selection { background: var(--ab-teal); color: #fff; }

.container { max-width: 1200px; }

/* ==========================================================================
   Reusable helpers
   ========================================================================== */
.ab-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.ab-section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bg-cream    { background-color: var(--ab-cream) !important; }
.bg-cream-2  { background-color: var(--ab-cream-2) !important; }
.bg-cream-3  { background-color: var(--ab-cream-3) !important; }
.bg-ab-teal  { background-color: var(--ab-teal) !important; }
.text-ab-teal   { color: var(--ab-teal) !important; }
.text-ab-accent { color: var(--ab-teal-accent) !important; }
.text-ab-muted  { color: var(--ab-muted) !important; }

.ab-eyebrow {
	font-family: var(--ab-sans);
	font-weight: 700;
	font-size: 0.8125rem;   /* 13px */
	line-height: 1.4;
	color: var(--ab-teal-accent);
	margin-bottom: 0.75rem;
	display: inline-block;
}

.ab-title {
	font-family: var(--ab-serif);
	font-weight: 600;
	color: var(--ab-ink);
	line-height: 1.14;
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	letter-spacing: -0.015em;
}
.ab-title-lg { font-size: clamp(2.3rem, 5vw, 3.5rem); }
.ab-title-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.ab-lead {
	color: var(--ab-muted);
	font-size: 1.0625rem;
	line-height: 1.7;
}
.ab-body { color: var(--ab-muted); line-height: 1.7; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.ab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--ab-sans);
	font-weight: 700;
	font-size: 0.8125rem;    /* 13px */
	line-height: 1;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
	cursor: pointer;
	white-space: nowrap;
}
.ab-btn:hover { transform: translateY(-2px); }

.ab-btn--primary {
	background: var(--ab-teal);
	color: #fff;
	box-shadow: 0 18px 24px rgba(8, 20, 20, 0.16);
}
.ab-btn--primary:hover { background: #04252c; color: #fff; }

.ab-btn--light {
	background: #fff;
	color: var(--ab-teal);
	box-shadow: var(--ab-shadow-soft);
}
.ab-btn--light:hover { color: var(--ab-teal); background: #fff; }

.ab-btn--outline {
	background: transparent;
	color: var(--ab-teal);
	border-color: var(--ab-sand);
}
.ab-btn--outline:hover { border-color: var(--ab-teal); color: var(--ab-teal); }

.ab-btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,0.6);
}
.ab-btn--outline-light:hover { background: #fff; color: var(--ab-teal); }

.ab-btn--sm { padding: 0.6rem 1.1rem; font-size: 0.8125rem; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.ab-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: var(--ab-cream);
	box-shadow: var(--ab-shadow-header);
}
.ab-header .navbar-brand {
	font-family: var(--ab-serif);
	font-weight: 600;
	font-size: 1.375rem;
	color: var(--ab-ink);
}
.ab-nav-link {
	font-family: var(--ab-sans);
	font-weight: 500;
	font-size: 0.8125rem;
	color: var(--ab-muted);
	padding: 0.5rem 0.9rem;
	position: relative;
	transition: color 0.18s ease;
}
.ab-nav-link:hover { color: var(--ab-teal); }
.ab-nav-link.active { color: var(--ab-teal); font-weight: 700; }
.ab-nav-link.active::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -2px;
	width: 34px;
	height: 2px;
	background: var(--ab-teal-accent);
	border-radius: 2px;
}
.ab-header .navbar-toggler { border: none; padding: 0.25rem 0.5rem; }
.ab-header .navbar-toggler:focus { box-shadow: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ab-hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	color: #fff;
	overflow: hidden;
}
.ab-hero__bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}
.ab-hero__bg::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(105deg, rgba(4,26,30,0.72) 0%, rgba(4,26,30,0.45) 45%, rgba(4,26,30,0.15) 100%);
}
.ab-hero__inner { position: relative; z-index: 1; }
.ab-hero__eyebrow {
	color: #cfe6e6;
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}
.ab-hero__title {
	font-family: var(--ab-serif);
	font-weight: 600;
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	line-height: 1.05;
	color: #fff;
	margin: 0.75rem 0 1rem;
}
.ab-hero__subtitle {
	font-family: var(--ab-serif);
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	color: #eef7f7;
	font-weight: 500;
	margin-bottom: 1rem;
}
.ab-hero__copy { color: #dceaea; max-width: 620px; line-height: 1.7; }

/* stats card */
.ab-stats {
	background: #fff;
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow-card);
	padding: 1.5rem 1rem;
}
.ab-stats__num {
	font-family: var(--ab-serif);
	font-weight: 700;
	font-size: 2rem;
	color: var(--ab-ink);
	line-height: 1;
}
.ab-stats__label {
	font-size: 0.8125rem;
	color: var(--ab-muted);
	margin-top: 0.35rem;
}
.ab-stats__divider { width: 1px; background: #e7e0d0; }

/* ==========================================================================
   Cards (generic feature / experience)
   ========================================================================== */
.ab-card {
	background: #fff;
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow-soft);
	padding: 1.75rem;
	height: 100%;
	border: 1px solid rgba(210,201,178,0.35);
}
.ab-card__title {
	font-family: var(--ab-serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ab-ink);
	margin-bottom: 0.5rem;
}
.ab-card__text { color: var(--ab-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ==========================================================================
   Room card
   ========================================================================== */
.ab-room {
	background: #fff;
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow-card);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 18px;
}
.ab-room__media {
	border-radius: var(--ab-radius-sm);
	overflow: hidden;
	aspect-ratio: 324 / 238;
	margin-bottom: 1.1rem;
}
.ab-room__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ab-room:hover .ab-room__media img { transform: scale(1.05); }
.ab-room__title {
	font-family: var(--ab-serif);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--ab-ink);
	margin: 0 0 0.35rem;
	padding-inline: 4px;
}
.ab-room__meta {
	font-weight: 700;
	font-size: 0.75rem;
	color: var(--ab-teal-accent);
	padding-inline: 4px;
	margin-bottom: 0.6rem;
}
.ab-room__text {
	color: var(--ab-muted);
	font-size: 0.875rem;
	line-height: 1.7;
	padding-inline: 4px;
	flex-grow: 1;
}
.ab-room__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.5rem 4px 0;
}
.ab-room__icons { display: flex; gap: 0.5rem; color: var(--ab-teal); font-size: 1.15rem; }
.ab-room__icons i { opacity: 0.85; }
.ab-room__actions { display: flex; gap: 0.5rem; }

/* ==========================================================================
   Amenities grid
   ========================================================================== */
.ab-amenity {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}
.ab-amenity__icon {
	flex: none;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(5,110,135,0.08);
	color: var(--ab-teal);
	font-size: 1.25rem;
}
.ab-amenity__title { font-weight: 700; font-size: 0.95rem; color: var(--ab-ink); margin: 0 0 0.15rem; }
.ab-amenity__text  { font-size: 0.8rem; color: var(--ab-muted); margin: 0; line-height: 1.5; }

/* ==========================================================================
   Image / gallery
   ========================================================================== */
.ab-figure {
	border-radius: var(--ab-radius);
	overflow: hidden;
	position: relative;
	box-shadow: var(--ab-shadow-soft);
}
.ab-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-figure--tall { aspect-ratio: 4 / 5; }
.ab-figure--wide { aspect-ratio: 16 / 10; }
.ab-figure--square { aspect-ratio: 1 / 1; }
.ab-caption-box {
	position: absolute;
	inset: auto 1.25rem 1.25rem 1.25rem;
	background: rgba(0,56,68,0.9);
	color: #fff;
	border-radius: var(--ab-radius-sm);
	padding: 1.1rem 1.25rem;
}
.ab-caption-box h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.3rem; }
.ab-caption-box p { color: #dceaea; font-size: 0.85rem; margin: 0; }

.ab-gallery-tile {
	border-radius: var(--ab-radius-sm);
	overflow: hidden;
	position: relative;
	display: block;
}
.ab-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ab-gallery-tile:hover img { transform: scale(1.06); }

/* ==========================================================================
   Dark CTA band
   ========================================================================== */
.ab-cta {
	background: var(--ab-teal);
	color: #fff;
	border-radius: var(--ab-radius);
	overflow: hidden;
	position: relative;
}
.ab-cta h2 { color: #fff; }
.ab-cta p { color: #cfe6e6; }

/* marble vein texture (footer + accents) */
.ab-veins { position: relative; }
.ab-veins::before {
	content: "";
	position: absolute; inset: 0;
	background-image:
		repeating-linear-gradient(-4deg, transparent 0 46px, var(--ab-sand-veins) 46px 47px),
		repeating-linear-gradient(4deg, transparent 0 60px, var(--ab-sand-veins) 60px 61px);
	opacity: 0.5;
	pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ab-footer {
	background: var(--ab-teal);
	color: var(--ab-footer-text);
	position: relative;
	overflow: hidden;
}
.ab-footer__inner { position: relative; z-index: 1; }
.ab-footer__brand {
	font-family: var(--ab-serif);
	font-size: 2rem;
	color: #fff;
	margin-bottom: 1rem;
}
.ab-footer p, .ab-footer li, .ab-footer a { color: var(--ab-footer-text); }
.ab-footer a:hover { color: #fff; }
.ab-footer__heading {
	font-weight: 700;
	font-size: 0.875rem;
	color: #fff;
	margin-bottom: 1rem;
	letter-spacing: 0.01em;
}
.ab-footer__list { list-style: none; padding: 0; margin: 0; }
.ab-footer__list li { margin-bottom: 0.6rem; font-size: 0.9375rem; }
.ab-footer__divider { height: 1px; background: rgba(204,237,238,0.25); margin: 2rem 0 1.5rem; }
.ab-footer__bottom { color: var(--ab-footer-text2); font-size: 0.875rem; }

/* ==========================================================================
   Forms (booking / contact)
   ========================================================================== */
.ab-form-panel {
	background: #fff;
	border-radius: var(--ab-radius);
	box-shadow: var(--ab-shadow-card);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.ab-form-label { font-weight: 600; font-size: 0.85rem; color: var(--ab-ink); margin-bottom: 0.4rem; }
.ab-form-control,
.ab-form-panel .form-control,
.ab-form-panel .form-select {
	border-radius: 12px;
	border: 1.5px solid #e7e0d0;
	padding: 0.75rem 1rem;
	background: var(--ab-cream);
	color: var(--ab-ink);
}
.ab-form-panel .form-control:focus,
.ab-form-panel .form-select:focus {
	border-color: var(--ab-teal-accent);
	box-shadow: 0 0 0 0.2rem rgba(5,110,135,0.12);
	background: #fff;
}
.ab-info-panel {
	background: var(--ab-teal);
	color: var(--ab-footer-text);
	border-radius: var(--ab-radius);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	height: 100%;
}
.ab-info-panel h3, .ab-info-panel h2 { color: #fff; }
.ab-info-panel p, .ab-info-panel li { color: var(--ab-footer-text); }

/* ==========================================================================
   Contact Form 7 (booking form)
   ========================================================================== */
.ab-form-panel .wpcf7-form-control-wrap { display: block; }
.ab-form-panel .wpcf7 .form-control { width: 100%; }
.ab-form-panel .wpcf7-form .row > [class*="col-"] { margin-bottom: 0; }
.ab-form-panel .wpcf7-not-valid-tip {
	color: #b3261e;
	font-size: 0.8rem;
	margin-top: 0.35rem;
}
.ab-form-panel .wpcf7 .form-control.wpcf7-not-valid { border-color: #b3261e; }
.ab-form-panel .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.85rem 1.1rem;
	border-radius: 12px;
	border: 1px solid rgba(5,110,135,0.3);
	background: var(--ab-cream-3);
	color: var(--ab-ink);
	font-size: 0.9rem;
}
.ab-form-panel .wpcf7-form.invalid .wpcf7-response-output,
.ab-form-panel .wpcf7-form.unaccepted .wpcf7-response-output {
	border-color: #e6b8b4;
	background: #fbeceb;
	color: #8a2a22;
}
.ab-form-panel .wpcf7-form.sent .wpcf7-response-output {
	border-color: rgba(5,110,135,0.35);
	background: #eaf5f5;
	color: var(--ab-teal);
}
.ab-form-panel .wpcf7-spinner { margin: 0 0 0 0.75rem; background-color: var(--ab-teal); }
.ab-form-panel .wpcf7-submit { margin-top: 0.25rem; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.ab-page-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* ==========================================================================
   Room detail
   ========================================================================== */
.ab-room-hero {
	position: relative;
	color: #fff;
	overflow: hidden;
	min-height: 560px;
	display: flex;
	align-items: center;
}
.ab-room-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ab-room-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4,26,30,0.82) 0%, rgba(4,26,30,0.55) 45%, rgba(4,26,30,0.25) 100%); }
.ab-room-hero__inner { position: relative; z-index: 1; }
.ab-room-hero__eyebrow { color: #ccedee; font-weight: 700; font-size: 0.8125rem; }
.ab-room-hero__title { font-family: var(--ab-serif); font-weight: 600; color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.25rem); line-height: 1.08; margin: 0.75rem 0 1rem; }

.ab-booking-panel {
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--ab-shadow-card);
	padding: 1.75rem;
	color: var(--ab-ink);
}
.ab-booking-panel h3 { font-family: var(--ab-serif); font-weight: 700; font-size: 1.5rem; margin-bottom: 0.6rem; }
.ab-booking-panel__meta { font-weight: 700; font-size: 0.8125rem; color: var(--ab-teal); }

/* gallery feature caption bar + labeled tiles */
.ab-caption-bar {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: linear-gradient(90deg, rgba(0,56,68,0.94), rgba(0,56,68,0.72));
	color: #fff;
	padding: 1rem 1.25rem;
	font-family: var(--ab-serif);
	font-size: 1.1rem;
}
.ab-tile-label {
	position: absolute;
	left: 0.85rem; bottom: 0.85rem;
	background: #fff;
	color: var(--ab-teal);
	font-weight: 700;
	font-size: 0.75rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(8,20,20,.18);
}

/* ==========================================================================
   Location / map panel
   ========================================================================== */
.ab-map {
	position: relative;
	background: linear-gradient(160deg, #d7ecec 0%, #cfe7e4 100%);
	border-radius: var(--ab-radius-sm);
	min-height: 380px;
	overflow: hidden;
}
.ab-map::before {
	content: "";
	position: absolute;
	inset: 12% 10%;
	background: rgba(255,255,255,0.35);
	border-radius: 50% 50% 48% 52% / 55% 52% 48% 45%;
}
.ab-map__pin {
	position: absolute;
	left: 50%; top: 55%;
	transform: translate(-50%,-50%);
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ab-serif);
	font-weight: 600;
	color: var(--ab-teal);
	white-space: nowrap;
}
.ab-map__pin::before {
	content: "";
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--ab-teal);
	box-shadow: 0 0 0 6px rgba(0,56,68,0.15);
}
.ab-feature-list__title { font-weight: 700; font-size: 1rem; color: var(--ab-ink); margin: 0 0 0.25rem; }
.ab-feature-list__text  { color: var(--ab-muted); font-size: 0.9rem; margin: 0; }

.ab-note-bar {
	background: var(--ab-cream-3);
	border: 1px solid rgba(210,201,178,0.5);
	border-radius: var(--ab-radius-sm);
	padding: 1rem 1.25rem;
	color: var(--ab-muted);
	font-size: 0.95rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.ab-divider-soft { height: 1px; background: rgba(11,31,32,0.08); }
.rounded-ab { border-radius: var(--ab-radius) !important; }
.rounded-ab-sm { border-radius: var(--ab-radius-sm) !important; }
.shadow-ab { box-shadow: var(--ab-shadow-card) !important; }
.object-cover { object-fit: cover; }

@media (max-width: 991.98px) {
	.ab-hero { min-height: 520px; }
}
