/*
Theme Name: dreamland-villa
Theme URI: http://localhost/dreamland-villa
Author: Dreamland Villa
Author URI: http://localhost/dreamland-villa
Description: A custom block theme for a calm, elegant villa rental website.
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dreamland-villa
*/

html {
	scroll-behavior: smooth;
}

a {
	text-underline-offset: 0.18em;
}

.wp-site-blocks {
	min-height: 100vh;
}

.dv-shell {
	margin-inline: auto;
	max-width: 1180px;
	padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.dv-button,
.wp-block-button__link {
	border-radius: 6px;
	font-weight: 700;
}

.dv-button {
	background: #1f5b4a;
	color: #ffffff;
	display: inline-flex;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
}

.dv-button.is-secondary {
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(31, 47, 43, 0.24);
	color: #1f2f2b;
}

.dv-muted {
	color: #52625e;
}

.dv-header {
	backdrop-filter: blur(14px);
	background: rgba(248, 244, 238, 0.82);
	border-bottom: 1px solid rgba(31, 47, 43, 0.12);
	position: sticky;
	top: 0;
	z-index: 20;
}

.dv-header-inner,
.dv-footer-inner {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding-block: 1rem;
}

.dv-brand {
	color: #1f2f2b;
	font-size: 1.05rem;
	font-weight: 800;
	text-decoration: none;
}

.dv-footer {
	background: #1f2f2b;
	color: #f8f4ee;
}

.dv-footer a,
.dv-footer .wp-block-site-title a {
	color: #f8f4ee;
}

.dv-page-main {
	padding-block: clamp(3rem, 7vw, 5rem);
}

@media (max-width: 800px) {
	.dv-header-inner,
	.dv-footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}
