/* ============================================================
   AHID Blush & Bloom – Custom Styles
   ============================================================ */

/* --- Global --- */
html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

/* --- Section Tag (uppercase label with dash) --- */
.ahid-section-tag {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.7rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.ahid-section-tag::before {
	content: '';
	width: 30px;
	height: 1px;
	background: currentColor;
}

.ahid-section-tag--center {
	justify-content: center;
}

.ahid-section-tag--light {
	color: var(--wp--preset--color--sage-light);
}

/* --- Text Button (underlined link with arrow) --- */
.ahid-text-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage-deep);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--wp--preset--color--sage-deep);
	transition: all 0.3s ease;
}

.ahid-text-btn:hover {
	color: var(--wp--preset--color--charcoal);
	border-color: var(--wp--preset--color--charcoal);
}

.ahid-text-btn svg {
	transition: transform 0.3s ease;
}

.ahid-text-btn:hover svg {
	transform: translateX(4px);
}

/* --- Navigation (centered logo layout) --- */
.ahid-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 24px 60px;
	transition: all 0.4s ease;
	background: transparent;
}

.ahid-header.scrolled {
	background: rgba(250, 246, 242, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 16px 60px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ahid-nav-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 1400px;
}

.ahid-nav-left,
.ahid-nav-right {
	display: flex;
	gap: 32px;
	list-style: none;
	align-items: center;
	margin: 0;
	padding: 0;
}

.ahid-nav-left a,
.ahid-nav-right a {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	position: relative;
	padding-bottom: 2px;
	transition: color 0.3s ease;
}

.ahid-header.scrolled .ahid-nav-left a,
.ahid-header.scrolled .ahid-nav-right a {
	color: var(--wp--preset--color--charcoal);
}

.ahid-nav-left a::after,
.ahid-nav-right a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--wp--preset--color--blush-light);
	transition: width 0.3s ease;
}

.ahid-header.scrolled .ahid-nav-left a::after,
.ahid-header.scrolled .ahid-nav-right a::after {
	background: var(--wp--preset--color--blush-deep);
}

.ahid-nav-left a:hover::after,
.ahid-nav-right a:hover::after {
	width: 100%;
}

.ahid-nav-left a:hover,
.ahid-nav-right a:hover {
	color: var(--wp--preset--color--blush-light);
}

.ahid-header.scrolled .ahid-nav-left a:hover,
.ahid-header.scrolled .ahid-nav-right a:hover {
	color: var(--wp--preset--color--blush-deep);
}

.ahid-nav-center {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ahid-nav-center a {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.ahid-nav-center img {
	filter: brightness(2);
	transition: filter 0.3s ease;
}

.ahid-header.scrolled .ahid-nav-center img {
	filter: brightness(1);
}

/* Nav CTA button */
.ahid-nav-book {
	background: var(--wp--preset--color--sage) !important;
	color: var(--wp--preset--color--white) !important;
	padding: 10px 28px !important;
	border-radius: 24px !important;
	transition: all 0.3s ease !important;
}

.ahid-nav-book::after {
	display: none !important;
}

.ahid-nav-book:hover {
	background: var(--wp--preset--color--sage-deep) !important;
	color: var(--wp--preset--color--white) !important;
}

/* --- Hero Section --- */
.ahid-hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	overflow: hidden;
}

.ahid-hero-slider {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ahid-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.ahid-hero-slide.active {
	opacity: 1;
}

.ahid-hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Block-editor slider: wp:image blocks as slides */
.ahid-hero-slider > .wp-block-image {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
	margin: 0;
}

.ahid-hero-slider > .wp-block-image.active {
	opacity: 1;
}

.ahid-hero-slider > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ahid-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg,
		rgba(44, 44, 44, 0.55) 0%,
		rgba(44, 44, 44, 0.3) 40%,
		rgba(44, 44, 44, 0.15) 70%,
		rgba(200, 142, 147, 0.15) 100%);
	z-index: 1;
}

/* Auto-generated overlay for block-based hero (no .ahid-hero-overlay div) */
.ahid-hero > .ahid-hero-overlay-auto {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg,
		rgba(44, 44, 44, 0.55) 0%,
		rgba(44, 44, 44, 0.3) 40%,
		rgba(44, 44, 44, 0.15) 70%,
		rgba(200, 142, 147, 0.15) 100%);
	z-index: 1;
	pointer-events: none;
}

.ahid-hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 80px;
	width: 60%;
	animation: ahidFadeUp 1s ease 0.3s both;
}

@keyframes ahidFadeUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ahid-hero-tag {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blush-light);
	margin-bottom: 20px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.ahid-hero-content h1 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 5vw, 5rem);
	font-weight: 300;
	line-height: 1.1;
	color: var(--wp--preset--color--white);
	margin-bottom: 24px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 4px 30px rgba(0, 0, 0, 0.2);
}

.ahid-hero-content h1 em,
.ahid-hero-content h2 em,
.ahid-hero-content .wp-block-heading em {
	font-style: italic;
	color: var(--wp--preset--color--blush-light);
}

.ahid-hero-subtitle {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.95);
	max-width: 480px;
	line-height: 1.7;
	margin-bottom: 40px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Block-based hero content overrides */
.ahid-hero-content .wp-block-heading {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3rem, 5vw, 5rem);
	font-weight: 300;
	line-height: 1.1;
	color: var(--wp--preset--color--white);
	margin-bottom: 24px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 4px 30px rgba(0, 0, 0, 0.2);
}

.ahid-hero-content .wp-block-buttons {
	margin-top: 0;
}

.ahid-hero-content .wp-block-button__link {
	box-shadow: none;
	text-shadow: none;
}

.ahid-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
	background: var(--wp--preset--color--blush);
	border: none;
	padding: 16px 36px;
	border-radius: 24px;
	transition: all 0.3s ease;
	width: fit-content;
}

.ahid-hero-btn:hover {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
}

.ahid-hero-btn svg {
	transition: transform 0.3s ease;
}

.ahid-hero-btn:hover svg {
	transform: translateX(4px);
}

.ahid-hero-dots {
	position: absolute;
	bottom: 40px;
	right: 80px;
	z-index: 3;
	display: flex;
	gap: 10px;
}

.ahid-hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ahid-hero-dot.active {
	background: var(--wp--preset--color--blush-light);
	border-color: var(--wp--preset--color--blush-light);
	transform: scale(1.2);
}

/* --- Intro / About Strip --- */
.ahid-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 80vh;
}

.ahid-intro-image {
	position: relative;
	overflow: hidden;
	border-radius: 0 32px 32px 0;
}

.ahid-intro-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 600px;
}

.ahid-intro-image::after {
	content: '';
	position: absolute;
	top: -30px;
	right: -30px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--wp--preset--color--blush-light);
	opacity: 0.5;
}

.ahid-intro-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 80px;
	background: var(--wp--preset--color--cream);
}

.ahid-intro-text h2 em,
.ahid-section-title em {
	font-style: italic;
	color: var(--wp--preset--color--blush-deep);
}

.ahid-intro-text p.ahid-body-text {
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.8;
	color: var(--wp--preset--color--charcoal-light);
	margin-bottom: 24px;
	max-width: 480px;
}

/* --- Projects Grid --- */
.ahid-projects {
	padding: 120px 80px;
	background: var(--wp--preset--color--white);
}

.ahid-projects-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 60px;
}

.ahid-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.ahid-project-card {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 3 / 4;
	border-radius: 16px;
}

.ahid-project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.ahid-project-card:hover img {
	transform: scale(1.05);
}

.ahid-project-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 30px 30px;
	background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, transparent 100%);
	border-radius: 0 0 16px 16px;
	transform: translateY(10px);
	opacity: 0;
	transition: all 0.4s ease;
}

.ahid-project-card:hover .ahid-project-card-overlay {
	transform: translateY(0);
	opacity: 1;
}

.ahid-project-card-overlay h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--wp--preset--color--white);
	margin-bottom: 4px;
}

.ahid-project-card-overlay span {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blush-light);
}

/* --- Testimonial --- */
.ahid-testimonial {
	padding: 100px 80px;
	background: var(--wp--preset--color--blush-light);
	text-align: center;
	position: relative;
	overflow: hidden;
	margin: 0 40px;
	border-radius: 32px;
}

.ahid-testimonial::before {
	content: '\201C';
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--wp--preset--font-family--display);
	font-size: 12rem;
	color: var(--wp--preset--color--blush);
	opacity: 0.5;
	line-height: 1;
}

.ahid-testimonial blockquote,
.ahid-testimonial .wp-block-quote {
	border: none;
	padding: 0;
	margin: 0;
}

.ahid-testimonial blockquote p,
.ahid-testimonial .wp-block-quote p {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 300;
	font-style: italic;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
	max-width: 800px;
	margin: 0 auto 30px;
	position: relative;
	z-index: 1;
}

.ahid-testimonial cite,
.ahid-testimonial .wp-block-quote cite {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal-light);
	font-style: normal;
}

/* --- Services --- */
.ahid-services {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 90vh;
}

.ahid-services-content {
	padding: 100px 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--wp--preset--color--cream-warm);
}

.ahid-services-list {
	list-style: none;
	margin-top: 40px;
	padding: 0;
}

.ahid-services-list li {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.4rem;
	font-weight: 400;
	padding: 18px 0;
	border-bottom: 1px solid rgba(44, 44, 44, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ahid-services-list li:hover {
	color: var(--wp--preset--color--blush-deep);
	padding-left: 12px;
}

.ahid-services-list li svg {
	width: 18px;
	height: 18px;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
	color: var(--wp--preset--color--blush-deep);
}

.ahid-services-list li:hover svg {
	opacity: 1;
	transform: translateX(0);
}

.ahid-services-image {
	position: relative;
	overflow: hidden;
	border-radius: 32px 0 0 32px;
}

.ahid-services-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Custom Furniture CTA --- */
.ahid-furniture-cta {
	padding: 100px 80px;
	background: var(--wp--preset--color--charcoal);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
	margin: 100px 40px 40px;
	border-radius: 32px;
}

.ahid-furniture-cta .ahid-section-tag {
	color: var(--wp--preset--color--blush);
}

.ahid-furniture-cta h2 {
	color: var(--wp--preset--color--white);
}

.ahid-furniture-cta h2 em {
	color: var(--wp--preset--color--blush-light);
}

.ahid-furniture-cta p {
	color: rgba(255, 255, 255, 0.7);
}

.ahid-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 40px;
	background: var(--wp--preset--color--blush);
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 24px;
	transition: all 0.3s ease;
}

.ahid-cta-btn:hover {
	background: var(--wp--preset--color--blush-light);
	color: var(--wp--preset--color--charcoal);
}

.ahid-furniture-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ahid-furniture-images img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
}

.ahid-furniture-images img:first-child {
	margin-top: 40px;
}

/* --- Newsletter --- */
.ahid-newsletter {
	padding: 100px 80px;
	background: var(--wp--preset--color--cream);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ahid-newsletter-form {
	display: flex;
	gap: 0;
	max-width: 500px;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	margin-top: 40px;
}

.ahid-newsletter-form input[type="email"] {
	flex: 1;
	padding: 16px 24px;
	border: 1px solid rgba(44, 44, 44, 0.15);
	border-right: none;
	background: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	color: var(--wp--preset--color--charcoal);
	outline: none;
	border-radius: 24px 0 0 24px;
	transition: border-color 0.3s ease;
}

.ahid-newsletter-form input[type="email"]:focus {
	border-color: var(--wp--preset--color--blush-deep);
}

.ahid-newsletter-form input[type="email"]::placeholder {
	color: #aaa;
}

.ahid-newsletter-form button {
	padding: 16px 32px;
	background: var(--wp--preset--color--sage);
	color: var(--wp--preset--color--white);
	border: none;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0 24px 24px 0;
	transition: background 0.3s ease;
}

.ahid-newsletter-form button:hover {
	background: var(--wp--preset--color--sage-deep);
}

/* --- Blog Cards --- */
.ahid-blog {
	padding: 120px 80px;
	background: var(--wp--preset--color--white);
}

.ahid-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.ahid-blog-card {
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.4s ease;
}

.ahid-blog-card:hover {
	transform: translateY(-4px);
}

.ahid-blog-card-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 16px;
	margin-bottom: 18px;
}

.ahid-blog-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ahid-blog-card:hover .ahid-blog-card-img img {
	transform: scale(1.04);
}

.ahid-blog-card-date {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
	margin-bottom: 8px;
}

.ahid-blog-card h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 8px;
}

.ahid-blog-card p {
	font-size: 0.85rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--wp--preset--color--charcoal-light);
}

/* --- Location / Visit Us --- */
.ahid-location {
	padding: 120px 80px;
	background: var(--wp--preset--color--cream-warm);
}

.ahid-location-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 60px;
}

.ahid-location-grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 24px;
}

.ahid-location-grid iframe {
	width: 100%;
	aspect-ratio: 4 / 3;
	border: none;
	border-radius: 24px;
}

.ahid-location-info {
	display: flex;
	gap: 60px;
	margin-top: 40px;
}

.ahid-location-info h4 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.1rem;
	font-weight: 500;
	margin-bottom: 8px;
}

.ahid-location-info p {
	font-size: 0.9rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--wp--preset--color--charcoal-light);
}

/* --- Instagram --- */
.ahid-instagram {
	padding: 80px;
	background: var(--wp--preset--color--white);
	text-align: center;
}

.ahid-instagram-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin-top: 40px;
}

.ahid-instagram-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: opacity 0.3s ease;
	cursor: pointer;
	border-radius: 16px;
}

.ahid-instagram-grid img:hover {
	opacity: 0.85;
}

.ahid-instagram-handle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.85rem;
	color: var(--wp--preset--color--charcoal-light);
	text-decoration: none;
	transition: color 0.3s ease;
}

.ahid-instagram-handle:hover {
	color: var(--wp--preset--color--blush-deep);
}

/* --- Footer --- */
.ahid-footer {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--cream);
	padding: 80px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 60px;
	margin: 40px 40px 0;
	border-radius: 32px 32px 0 0;
}

.ahid-footer-brand img {
	filter: brightness(2);
	height: 56px;
	width: auto;
	margin-bottom: 16px;
}

.ahid-footer-brand p {
	font-size: 0.85rem;
	font-weight: 300;
	line-height: 1.7;
	color: rgba(250, 246, 242, 0.6);
	max-width: 320px;
}

.ahid-footer-col h4 {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: var(--wp--preset--color--blush-light);
}

.ahid-footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ahid-footer-col ul li {
	margin-bottom: 10px;
}

.ahid-footer-col ul li a {
	font-size: 0.85rem;
	font-weight: 300;
	color: rgba(250, 246, 242, 0.6);
	text-decoration: none;
	transition: color 0.3s ease;
}

.ahid-footer-col ul li a:hover {
	color: var(--wp--preset--color--blush-light);
}

.ahid-footer-bottom {
	grid-column: 1 / -1;
	border-top: 1px solid rgba(250, 246, 242, 0.1);
	padding-top: 30px;
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	color: rgba(250, 246, 242, 0.4);
}

.ahid-social-icons {
	display: flex;
	gap: 20px;
}

.ahid-social-icons a {
	color: rgba(250, 246, 242, 0.5);
	transition: color 0.3s ease;
}

.ahid-social-icons a:hover {
	color: var(--wp--preset--color--blush-light);
}

/* --- Footer Developer Credit --- */
.ahid-footer-credit {
	grid-column: 1 / -1;
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	color: rgba(250, 246, 242, 0.3);
	padding-top: 20px;
}

.ahid-footer-credit a {
	color: rgba(250, 246, 242, 0.4);
	text-decoration: none;
	transition: color 0.3s ease;
}

.ahid-footer-credit a:hover {
	color: var(--wp--preset--color--blush-light);
}

/* --- Fade-in Animation --- */
.ahid-fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.8s ease;
}

.ahid-fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.ahid-header {
		padding: 16px 30px;
	}

	.ahid-header.scrolled {
		padding: 12px 30px;
	}

	.ahid-nav-left,
	.ahid-nav-right {
		gap: 20px;
	}

	.ahid-nav-left a,
	.ahid-nav-right a {
		font-size: 0.65rem;
	}

	.ahid-intro {
		grid-template-columns: 1fr;
	}

	.ahid-intro-image {
		border-radius: 0;
		max-height: 50vh;
	}

	.ahid-intro-text {
		padding: 60px 40px;
	}

	.ahid-projects {
		padding: 80px 40px;
	}

	.ahid-projects-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ahid-services {
		grid-template-columns: 1fr;
	}

	.ahid-services-image {
		border-radius: 0;
		min-height: 50vh;
		order: -1;
	}

	.ahid-services-content {
		padding: 60px 40px;
	}

	.ahid-furniture-cta {
		grid-template-columns: 1fr;
		margin: 20px;
		padding: 60px 40px;
		gap: 40px;
	}

	.ahid-blog {
		padding: 80px 40px;
	}

	.ahid-blog-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ahid-testimonial {
		margin: 0 20px;
		padding: 60px 40px;
	}

	.ahid-location {
		padding: 80px 40px;
	}

	.ahid-location-grid {
		grid-template-columns: 1fr;
	}

	.ahid-location-info {
		flex-wrap: wrap;
		gap: 30px;
	}

	.ahid-instagram {
		padding: 60px 40px;
	}

	.ahid-instagram-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ahid-footer {
		grid-template-columns: 1fr 1fr;
		margin: 20px 20px 0;
		padding: 60px 40px;
	}
}

@media (max-width: 768px) {
	.ahid-hero-content {
		width: 100%;
		padding: 0 30px;
	}

	.ahid-hero-dots {
		right: 30px;
		bottom: 30px;
	}

	.ahid-projects-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.ahid-projects-grid {
		grid-template-columns: 1fr;
	}

	.ahid-blog-grid {
		grid-template-columns: 1fr;
	}

	.ahid-furniture-images {
		grid-template-columns: 1fr;
	}

	.ahid-furniture-images img:first-child {
		margin-top: 0;
	}

	.ahid-footer {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ahid-footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}

	.ahid-social-icons {
		justify-content: center;
	}

	.ahid-newsletter-form {
		flex-direction: column;
		border-radius: 0;
	}

	.ahid-newsletter-form input[type="email"] {
		border-radius: 24px;
		border-right: 1px solid rgba(44, 44, 44, 0.15);
	}

	.ahid-newsletter-form button {
		border-radius: 24px;
		margin-top: 10px;
	}
}

/* --- WordPress Block Overrides --- */
.wp-block-post-content > * + * {
	margin-top: 0;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

/* --- Block Editor Compatibility --- */

/* wp:image inside custom full-bleed sections */
.ahid-intro-image .wp-block-image,
.ahid-services-image .wp-block-image {
	margin: 0;
	height: 100%;
}

.ahid-intro-image .wp-block-image img {
	min-height: 600px;
}

.ahid-location-grid .wp-block-image {
	margin: 0;
}

/* Furniture section images in blocks */
.ahid-furniture-images .wp-block-image {
	margin: 0;
}

.ahid-furniture-images .wp-block-image:first-child {
	margin-top: 40px;
}

/* Project cards inside wp:query — overlay on featured image */
.wp-block-post-template .ahid-project-card {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 3 / 4;
}

.wp-block-post-template .ahid-project-card .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.wp-block-post-template .ahid-project-card .wp-block-post-featured-image a,
.wp-block-post-template .ahid-project-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.wp-block-post-template .ahid-project-card:hover .wp-block-post-featured-image img {
	transform: scale(1.05);
}

.wp-block-post-template .ahid-project-card .ahid-project-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 30px 30px;
	background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, transparent 100%);
	border-radius: 0 0 16px 16px;
	transform: translateY(10px);
	opacity: 0;
	transition: all 0.4s ease;
	z-index: 1;
}

.wp-block-post-template .ahid-project-card:hover .ahid-project-card-overlay {
	transform: translateY(0);
	opacity: 1;
}

.ahid-project-card-overlay .wp-block-post-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--wp--preset--color--white);
	margin-bottom: 4px;
}

.ahid-project-card-overlay .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.ahid-project-card-overlay .wp-block-post-terms {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--blush-light);
}

.ahid-project-card-overlay .wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
}

/* Blog / Archive Grid (wp:post-template grid) */
.wp-block-post-template.is-layout-grid {
	gap: 30px !important;
}

.wp-block-post-template .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 16px;
	margin: 0;
}

.wp-block-post-template .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.wp-block-post-template .wp-block-post-featured-image:hover img {
	transform: scale(1.04);
}

.wp-block-post-template > li > .wp-block-group {
	gap: 16px;
}

/* Instagram section using wp:gallery */
.ahid-instagram .wp-block-gallery {
	margin-top: 40px;
}

.ahid-instagram .wp-block-gallery .wp-block-image img {
	border-radius: 16px;
}

/* Services 2-col grid on inner pages */
.ahid-services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

.ahid-services-grid > .wp-block-group {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: 48px;
}

.ahid-services-grid > .wp-block-group h3 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 1.4rem;
	margin-bottom: 16px;
}

.ahid-services-grid > .wp-block-group p {
	font-weight: 300;
	line-height: 1.8;
	color: var(--wp--preset--color--charcoal-light);
}

/* Shop product highlights grid */
.ahid-highlights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 40px auto 0;
}

.ahid-highlights-grid > .wp-block-group {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: 40px;
	text-align: center;
}

.ahid-highlights-grid > .wp-block-group h3 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 1.3rem;
	margin-bottom: 12px;
}

.ahid-highlights-grid > .wp-block-group p {
	font-weight: 300;
	line-height: 1.8;
	color: var(--wp--preset--color--charcoal-light);
}

/* Contact two-column layout */
.ahid-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: start;
}

.ahid-contact-grid > .wp-block-group:first-child {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: 48px;
}

@media (max-width: 1024px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.ahid-services-grid {
		gap: 30px;
	}

	.ahid-highlights-grid {
		grid-template-columns: 1fr;
	}

	.ahid-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr !important;
	}

	.ahid-services-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   Single Project – Details Box
   ============================================================ */
.ahid-project-details {
	float: right;
	width: 280px;
	margin: 0 0 24px 32px;
	padding: 28px 24px;
	background: var(--wp--preset--color--cream-warm);
	border: 1px solid var(--wp--preset--color--blush-light);
	border-radius: var(--wp--custom--radius--md);
}

.ahid-project-details__heading {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 400;
	margin: 0 0 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--wp--preset--color--blush-light);
	color: var(--wp--preset--color--charcoal);
}

.ahid-project-details__row {
	margin-bottom: 16px;
}

.ahid-project-details__row:last-child {
	margin-bottom: 0;
}

.ahid-project-details__label {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal-light);
	margin-bottom: 4px;
}

.ahid-project-details__value {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9rem;
	font-weight: 300;
	line-height: 1.6;
	color: var(--wp--preset--color--charcoal);
}

@media (max-width: 768px) {
	.ahid-project-details {
		float: none;
		width: 100%;
		margin: 0 0 28px;
	}
}

/* ============================================================
   Single Project – Gallery Grid
   ============================================================ */
.single-ahid_project .wp-block-gallery {
	clear: both;
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 12px !important;
}

.single-ahid_project .wp-block-gallery .wp-block-image {
	width: 100% !important;
	flex: none !important;
}

.single-ahid_project .wp-block-gallery .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1;
}

.single-ahid_project .wp-block-gallery .wp-block-image {
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.single-ahid_project .wp-block-gallery .wp-block-image img {
	transition: transform 0.4s ease;
	display: block;
	border-radius: var(--wp--custom--radius--md);
}

.single-ahid_project .wp-block-gallery .wp-block-image:hover img {
	transform: scale(1.04);
}

/* Charcoal overlay + expand icon on hover */
.single-ahid_project .wp-block-gallery .wp-block-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(44, 44, 44, 0.15);
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: var(--wp--custom--radius--md);
	pointer-events: none;
}

.single-ahid_project .wp-block-gallery .wp-block-image:hover::after {
	opacity: 1;
}

.single-ahid_project .wp-block-gallery .wp-block-image::before {
	content: '\2922';
	position: absolute;
	bottom: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	font-size: 1rem;
	color: var(--wp--preset--color--charcoal);
	opacity: 0;
	transform: translateY(6px);
	transition: all 0.3s ease;
	z-index: 1;
	pointer-events: none;
}

.single-ahid_project .wp-block-gallery .wp-block-image:hover::before {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1024px) {
	.single-ahid_project .wp-block-gallery {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 768px) {
	.single-ahid_project .wp-block-gallery {
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}

	.single-ahid_project .wp-block-gallery .wp-block-image::before {
		display: none;
	}
}

/* ============================================================
   Lightbox Overlay
   ============================================================ */
.ahid-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(44, 44, 44, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ahid-lightbox.active {
	opacity: 1;
	visibility: visible;
}

.ahid-lightbox__img {
	max-width: 88vw;
	max-height: 78vh;
	border-radius: var(--wp--custom--radius--sm);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
	object-fit: contain;
	transform: scale(0.92);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.ahid-lightbox.active .ahid-lightbox__img {
	transform: scale(1);
	opacity: 1;
}

/* Close / Prev / Next buttons */
.ahid-lightbox__btn {
	position: absolute;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(250, 246, 242, 0.3);
	background: rgba(250, 246, 242, 0.12);
	color: var(--wp--preset--color--cream);
	font-size: 1.2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s ease, border-color 0.25s ease;
	z-index: 1;
	line-height: 1;
	padding: 0;
}

.ahid-lightbox__btn:hover {
	background: rgba(250, 246, 242, 0.25);
	border-color: rgba(250, 246, 242, 0.5);
}

.ahid-lightbox__close {
	top: 24px;
	right: 24px;
	font-size: 1.4rem;
}

.ahid-lightbox__prev {
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
}

.ahid-lightbox__next {
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
}

/* Counter & caption */
.ahid-lightbox__counter {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: rgba(250, 246, 242, 0.6);
	margin-top: 16px;
}

.ahid-lightbox__caption {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-style: italic;
	font-weight: 300;
	color: rgba(250, 246, 242, 0.8);
	margin-top: 8px;
	max-width: 600px;
	text-align: center;
}

@media (max-width: 768px) {
	.ahid-lightbox__btn {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.ahid-lightbox__close {
		top: 16px;
		right: 16px;
	}

	.ahid-lightbox__prev {
		left: 12px;
	}

	.ahid-lightbox__next {
		right: 12px;
	}

	.ahid-lightbox__img {
		max-width: 94vw;
		max-height: 70vh;
	}
}
