/*
Theme Name: Aesthetic Lounge
Theme URI: https://aestheticlounge.clinic
Author: Aesthetic Lounge
Author URI: https://aestheticlounge.clinic
Description: A clean, medical-grade WordPress theme for Aesthetic Lounge clinic in Dubai Healthcare City. Built with Tailwind CSS and Fraunces/DM Sans typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://aestheticlounge.clinic
Text Domain: aesthetic-lounge
Tags: medical, clinic, aesthetic, dubai, healthcare
*/

/* =========================================================
   BASE STYLES
   (Tailwind utility classes handle layout/spacing/colour.
    This file covers only what Tailwind CDN cannot.)
   ========================================================= */

/* Smooth scrolling — also applied in html tag via header.php */
html {
	scroll-behavior: smooth;
}

/* Body line-height matches static HTML */
body {
	line-height: 1.65;
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-answer {
	display: none;
}

.faq-answer.open {
	display: block;
}

.faq-chevron {
	transition: transform 0.2s ease;
}

.faq-chevron.open {
	transform: rotate(180deg);
}

/* =========================================================
   CONTACT FORM FOCUS STATES
   ========================================================= */
input:focus,
textarea:focus,
select:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(42, 107, 92, 0.25);
	border-color: #2A6B5C;
}

/* =========================================================
   WHATSAPP FLOAT BUTTON ANIMATION
   ========================================================= */
@keyframes wa-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
	}
}

.whatsapp-float {
	animation: wa-pulse 2.5s ease-in-out infinite;
}

/* =========================================================
   SCREEN READER UTILITIES
   ========================================================= */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* =========================================================
   WORDPRESS CORE ALIGNMENT CLASSES
   ========================================================= */
.wp-block-image.aligncenter,
img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-image.alignleft,
img.alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.wp-block-image.alignright,
img.alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	border: 1px solid #E8E8E4;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	color: #6B6B6B;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
	margin: 0 0.125rem;
}

.pagination .page-numbers:hover {
	background-color: #F0F7F5;
	color: #2A6B5C;
}

.pagination .page-numbers.current {
	background-color: #2A6B5C;
	border-color: #2A6B5C;
	color: #ffffff;
}

.pagination .page-numbers.dots {
	border: none;
	pointer-events: none;
}
