@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

/*
	Barber Shop Elite - Black Theme Overrides
*/

/* Black Color Scheme */
body {
	background: #000 !important;
	background-color: #000 !important;
}

#header {
	background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.8));
	color: #fff;
}

#header h1 {
	color: #FFD700;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#header h2 {
	color: #fff;
}

#main {
	background: #000;
}

#footer {
	color: #fff;
}

#footer h3 {
	color: #FFD700;
}

#footer p {
	color: #ccc;
}

/* Service Overlay Effect */
.image.fit {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.image.fit:hover {
	transform: scale(1.02);
}

.service-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7), transparent);
	padding: 20px;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.image.fit:hover .service-overlay {
	opacity: 1;
}

.service-overlay h3 {
	color: #FFD700;
	font-size: 1.2em;
	margin: 0 0 5px 0;
	font-weight: 400;
}

.service-overlay p {
	color: #fff;
	margin: 0;
	font-size: 1em;
}

/* Buttons */
.button {
	background-color: #FFD700;
	color: #000;
	border: 2px solid #FFD700;
	font-weight: 600;
	transition: all 0.3s ease;
}

.button:hover {
	background-color: #000;
	color: #FFD700;
	border: 2px solid #FFD700;
}

.button.special {
	background-color: #FFD700;
	color: #000;
	padding: 12px 30px;
	display: inline-block;
}

.button.special:hover {
	background-color: #FFA500;
}

/* Detail Page */
#preview {
	background: #000;
	color: #fff;
}

/* Layout: place image and content side-by-side on wider screens */
#preview .inner {
	display: flex;
	gap: 30px;
 	align-items: flex-start;
}

#preview .image.fit {
	flex: 0 0 45%;
 	max-width: 45%;
}

#preview .image.fit img {
	width: 100%;
	height: auto;
	display: block;
}

#preview .content {
 	flex: 1 1 55%;
 	min-width: 0;
}

#preview .content h2 {
	color: #FFD700;
	margin-bottom: 10px;
}

#preview .content p {
	color: #ccc;
}

.price-tag {
	color: #FFD700 !important;
	font-size: 1.5em !important;
	font-weight: bold !important;
	margin: 10px 0 20px 0 !important;
}

.lead {
	font-size: 1.1em !important;
	color: #fff !important;
	margin-bottom: 20px !important;
}

.full-description {
	color: #ccc;
	line-height: 1.8;
	white-space: pre-line;
}

/* Navigation Arrows */
.nav {
	background: rgba(255, 215, 0, 0.9);
	color: #000;
}

.nav:hover {
	background: rgba(255, 215, 0, 1);
}

/* Icons */
.icons li a {
	color: #FFD700;
}

.icons li a:hover {
	background-color: #FFD700;
	color: #000;
}

/* Footer Info Button */
.info {
	background: #FFD700;
	color: #000;
}

.info:hover {
	background: #FFA500;
}

/* Copyright */
.copyright {
	color: #999;
}

/* Make images sharper on hover */
.image.fit img {
	transition: all 0.3s ease;
	filter: brightness(0.9);
}

.image.fit:hover img {
	filter: brightness(1);
}

/* Header Preview Mode */
#header.preview {
	background: linear-gradient(to bottom, rgba(0,0,0,0.98), rgba(0,0,0,0.9));
}

/* Site logo styling */
.logo { display: inline-block; vertical-align: middle; margin-left: 18px; }
.logo .site-logo { width: 100%; height: auto; display: block; }

/* Responsive adjustments */
@media screen and (max-width: 736px) {
	.service-overlay {
		opacity: 1;
		background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
	}
	
	.service-overlay h3 {
		font-size: 1em;
	}
	
	.service-overlay p {
		font-size: 0.9em;
	}
}

/* On small screens stack image above content */
@media screen and (max-width: 980px) {
	#preview .inner {
		flex-direction: column;
	}
	#preview .image.fit {
		max-width: 100%;
		flex: 0 0 auto;
		margin-bottom: 15px;
	}
	#preview .content {
		flex: 1 1 auto;
	}
}

/* Arabic Text Support */
body {
	direction: rtl;
	text-align: right;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Cairo', sans-serif;
}

/* Action Buttons in Detail Page */
.action-buttons {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.action-buttons .button {
	flex: 1;
	text-align: center;
}

.action-buttons .button.big {
	padding: 10px 30px;
	font-size: 1.1em;
}

.action-buttons .button.alt {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    height: auto;
    line-height: 2.5;
}

.action-buttons .button.alt:hover {
	background: #FFD700;
	color: #000;
}

@media screen and (max-width: 736px) {
	.action-buttons {
		flex-direction: column;
	}
}

/* Loading State */
[v-cloak] {
	display: none;
}
