/* ==========================================================================
   Coiffeuse Shoushou - Main Stylesheet
   ========================================================================== */

/* Variables defaults (Can be overridden by Customizer inline styles) */
:root {
	--color-primary: #B76E79;
	--color-secondary: #E8C7CC;
	--color-accent: #C9A227;
	--color-dark: #171417;
	--color-light: #FFF9FA;
	--color-white: #FFFFFF;
	--color-gray: #f5f5f5;
	--color-text: #333333;
	--font-arabic: 'Cairo', sans-serif;
	--font-latin-head: 'Playfair Display', serif;
	--font-latin-body: 'Poppins', sans-serif;
	--transition: all 0.3s ease;
	--border-radius: 12px;
	--shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	padding: 0;
	font-family: var(--font-arabic);
	color: var(--color-text);
	background-color: var(--color-white);
	line-height: 1.6;
	overflow-x: hidden;
}
/* Use Latin fonts when dir="ltr" */
html[dir="ltr"] body { font-family: var(--font-latin-body); }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] h4 { font-family: var(--font-latin-head); }

h1, h2, h3, h4, h5, h6 {
	color: var(--color-dark);
	margin-top: 0;
	font-weight: 700;
}
p { margin-top: 0; margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-right: 0; margin-top: 0; }
li { list-style: none; }

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.text-center { text-align: center; }
.text-primary { color: var(--color-primary) !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.bg-light { background-color: var(--color-light); }
.section-padding { padding: 80px 0; }
.section-subtitle {
	display: inline-block;
	color: var(--color-accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
	font-size: 0.9rem;
}
.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	position: relative;
	display: inline-block;
}
.rounded-luxury { border-radius: var(--border-radius); overflow: hidden; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 28px;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	border: 2px solid transparent;
	transition: var(--transition);
	font-size: 1rem;
}
.btn-primary {
	background-color: var(--color-primary);
	color: var(--color-white);
}
.btn-primary:hover {
	background-color: var(--color-dark);
	color: var(--color-white);
}
.btn-secondary {
	background-color: var(--color-dark);
	color: var(--color-white);
}
.btn-secondary:hover {
	background-color: var(--color-accent);
	color: var(--color-white);
}
.btn-outline {
	background-color: transparent;
	border-color: var(--color-primary);
	color: var(--color-primary);
}
.btn-outline:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}
.btn-large {
	padding: 15px 35px;
	font-size: 1.1rem;
}
.btn-wa-header { padding: 8px 20px; font-size: 0.95rem; }
.btn-wa-full {
	width: 100%;
	background-color: #25D366;
	color: #fff;
	border-radius: 0;
	padding: 15px;
	font-size: 1.1rem;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 999;
}
.btn-wa-full:hover { background-color: #128C7E; color:#fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	box-shadow: 0 2px 15px rgba(0,0,0,0.05);
	padding: 15px 0;
	transition: var(--transition);
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.brand-logo img {
	max-height: 50px;
	width: auto;
}
.brand-text {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--color-dark);
	font-family: var(--font-latin-head);
}
.main-navigation ul {
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
}
.main-navigation a {
	color: var(--color-dark);
	font-weight: 600;
}
.main-navigation a:hover {
	color: var(--color-primary);
}
.nav-cta {
	display: flex;
	align-items: center;
	gap: 15px;
}
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}
.menu-toggle span {
	display: block;
	width: 25px;
	height: 2px;
	background-color: var(--color-dark);
	margin-bottom: 5px;
	transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 80px; /* Offset header */
	color: var(--color-white);
}
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}
.hero-default {
	background-color: var(--color-primary);
	background-image: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(23, 20, 23, 0.5); /* Dark overlay */
	z-index: 2;
}
.hero-content {
	position: relative;
	z-index: 3;
	max-width: 800px;
}
.hero-eyebrow {
	display: inline-block;
	background-color: rgba(255,255,255,0.1);
	padding: 5px 15px;
	border-radius: 50px;
	font-size: 0.9rem;
	margin-bottom: 20px;
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255,255,255,0.2);
}
.hero-title {
	font-size: 4rem;
	color: var(--color-white);
	margin-bottom: 20px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-desc {
	font-size: 1.2rem;
	margin-bottom: 30px;
	opacity: 0.9;
}
.hero-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-section {
	background-color: var(--color-white);
	padding: 40px 0;
	margin-top: -50px;
	position: relative;
	z-index: 4;
}
.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: var(--color-white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	padding: 30px;
}
.trust-card {
	text-align: center;
	padding: 20px;
}
.trust-card i {
	font-size: 2rem;
	color: var(--color-accent);
	margin-bottom: 15px;
}
.trust-card h4 {
	font-size: 1.1rem;
	margin: 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}
.about-image { position: relative; }
.decorative-border {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100%;
	height: 100%;
	border: 2px solid var(--color-accent);
	border-radius: var(--border-radius);
	z-index: 1;
}
.about-image img {
	position: relative;
	z-index: 2;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

/* ==========================================================================
   Services Section (Grid)
   ========================================================================== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.service-card {
	background: var(--color-white);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: var(--transition);
	text-align: right;
}
.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-image img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: var(--transition);
}
.service-card:hover .service-image img {
	transform: scale(1.05);
}
.service-info { padding: 25px; }
.service-info h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-info h3 a { color: var(--color-dark); }
.service-info h3 a:hover { color: var(--color-primary); }
.service-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	font-size: 0.95rem;
	margin-top: 10px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}
.contact-list {
	margin-top: 30px;
}
.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
}
.contact-list i {
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-top: 5px;
}
.contact-image-wrapper img {
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background-color: var(--color-dark);
	color: rgba(255,255,255,0.7);
	padding: 60px 0 20px;
	margin-bottom: 50px; /* Space for mobile sticky CTA */
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
.footer-title { color: var(--color-white); font-size: 1.8rem; margin-bottom: 15px;}
.footer-heading { color: var(--color-white); font-size: 1.2rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--color-accent); padding-right: 5px; }
.social-list { list-style: none; padding: 0; margin: 0; }
.social-list li { margin-bottom: 10px; }
.social-list a { color: rgba(255,255,255,0.7); display: inline-flex; align-items: center; gap: 10px; }
.social-list a:hover { color: var(--color-accent); }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9rem;
}
.mobile-sticky-cta { display: none; }

/* ==========================================================================
   Animations (Intersection Observer)
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
	.hero-title { font-size: 3rem; }
	.trust-grid { grid-template-columns: repeat(2, 1fr); }
	.about-container, .contact-container { grid-template-columns: 1fr; gap: 30px; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.main-navigation {
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background: var(--color-white);
		padding: 20px;
		box-shadow: 0 10px 10px rgba(0,0,0,0.05);
		transform: translateY(-150%);
		transition: var(--transition);
		z-index: 999;
	}
	.main-navigation.is-active {
		transform: translateY(0);
	}
	.main-navigation ul {
		flex-direction: column;
		gap: 15px;
	}
	.menu-toggle { display: block; }
	.btn-wa-header { display: none; }
	
	.hero-title { font-size: 2.5rem; }
	.hero-actions { flex-direction: column; }
	.services-grid { grid-template-columns: 1fr; }
	.trust-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
	
	.mobile-sticky-cta { display: block; }
}
