/* Custom CSS for ObeseGH Barbering Salon Website */

:root {
	--primary-color: #00ff01;
	--secondary-color: #2c3e50;
	--accent-color: #e74c3c;
	--dark-color: #1a1a1a;
	--light-color: #f8f9fa;
	--text-color: #333;
	--border-color: #e0e0e0;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
}

/* Navigation */
.navbar {
	background: rgba(26, 26, 26, 0.95) !important;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	padding: 1rem 0;
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
	color: #fff !important;
	font-weight: 500;
	margin: 0 0.5rem;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(44, 62, 80, 0.8)), url("../images/hero-bg.jpg") center
	/ cover no-repeat;
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	color: white;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
}

.hero-section .container {
	position: relative;
	z-index: 2;
}

.hero-buttons .btn {
	margin: 0.5rem;
	padding: 0.75rem 2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
	background: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.hero-buttons .btn-primary:hover {
	background: transparent;
	color: var(--primary-color);
}

.hero-buttons .btn-outline-light:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.hero-image img {
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Service Cards */
.service-card {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid var(--border-color);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #00ff01);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2rem;
	color: white;
}

.service-card h5 {
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--secondary-color);
}

.service-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}

/* Gallery */
.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.gallery-item:hover {
	transform: scale(1.05);
}

.gallery-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: all 0.3s ease;
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(44, 62, 80, 0.9));
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	opacity: 0;
	transition: all 0.3s ease;
	padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-overlay h6 {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

/* Blog Cards */
.blog-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.blog-content {
	padding: 1.5rem;
}

.blog-category {
	background: var(--primary-color);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.blog-content h5 {
	margin: 1rem 0 0.5rem;
	font-weight: 600;
	color: var(--secondary-color);
}

/* Event Cards */
.event-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
}

.event-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.event-content {
	padding: 1.5rem;
	position: relative;
}

.event-date {
	position: absolute;
	top: -20px;
	right: 1.5rem;
	background: var(--primary-color);
	color: white;
	padding: 0.5rem;
	border-radius: 10px;
	text-align: center;
	min-width: 60px;
}

.event-date .day {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.event-date .month {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
}

.event-content h5 {
	margin: 1rem 0 0.5rem;
	font-weight: 600;
	color: var(--secondary-color);
}

/* Testimonial Cards */
.testimonial-card {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-align: center;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
	margin-bottom: 1rem;
}

.testimonial-rating .fa-star {
	font-size: 1.2rem;
	margin: 0 0.1rem;
}

.testimonial-card p {
	font-style: italic;
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.testimonial-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.testimonial-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-author h6 {
	margin: 0;
	font-weight: 600;
	color: var(--secondary-color);
}

.testimonial-author small {
	color: #666;
}

/* Contact Section */
.contact-info {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2rem;
	gap: 1rem;
}

.contact-item i {
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.contact-item h6 {
	margin: 0 0 0.5rem;
	font-weight: 600;
	color: var(--secondary-color);
}

.contact-item p {
	margin: 0;
	color: #666;
}

.contact-form {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
	border: 2px solid var(--border-color);
	border-radius: 10px;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.contact-form .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Newsletter */
.newsletter-form .input-group {
	border-radius: 50px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
	border: none;
	padding: 1rem 1.5rem;
	font-size: 1rem;
}

.newsletter-form .btn {
	border: none;
	padding: 1rem 2rem;
	font-weight: 600;
	color: var(--primary-color);
}

/* Footer - default (tablet/desktop) */
footer {
	background: var(--dark-color) !important;
	font-size: 0.875rem;
}

footer h5 {
	font-size: 1rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

footer h6 {
	font-size: 0.875rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

footer p {
	font-size: 0.8125rem;
	margin-bottom: 0.25rem;
	line-height: 1.4;
}

footer a {
	color: #ccc;
	text-decoration: none;
	font-size: 0.8125rem;
	transition: color 0.3s ease;
}

footer a:hover {
	color: var(--primary-color);
}

footer ul li {
	margin-bottom: 0.25rem;
}

footer ul li a {
	display: inline-block;
}

.social-links {
	margin-top: 0.5rem;
}

.social-links a {
	display: inline-block;
	width: 32px;
	height: 32px;
	background: var(--primary-color);
	color: white;
	border-radius: 50%;
	text-align: center;
	line-height: 32px;
	font-size: 0.875rem;
	margin-right: 0.35rem;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background: white;
	color: var(--primary-color);
	transform: translateY(-2px);
}

footer .footer-legal,
footer .footer-legal .mb-0,
footer .footer-legal a {
	font-size: 0.8rem;
}

/* Footer - mobile only: reduced font sizes */
@media (max-width: 767px) {
	footer {
		font-size: 0.75rem;
	}
	footer h5 {
		font-size: 0.875rem;
		margin-bottom: 0.35rem;
	}
	footer h6 {
		font-size: 0.75rem;
		margin-bottom: 0.35rem;
	}
	footer p {
		font-size: 0.7rem;
		margin-bottom: 0.2rem;
		line-height: 1.35;
	}
	footer a {
		font-size: 0.7rem;
	}
	footer ul li {
		margin-bottom: 0.2rem;
	}
	.social-links {
		margin-top: 0.35rem;
	}
	.social-links a {
		width: 26px;
		height: 26px;
		line-height: 26px;
		font-size: 0.7rem;
		margin-right: 0.25rem;
	}
	footer .footer-legal,
	footer .footer-legal .mb-0,
	footer .footer-legal a {
		font-size: 0.65rem;
	}
}

/* Buttons */
.btn {
	border-radius: 50px;
	padding: 0.75rem 2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: white;
}

.btn-primary:hover {
	background: transparent;
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.btn-outline-primary {
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.btn-outline-primary:hover {
	background: var(--primary-color);
	color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-section {
		text-align: center;
		padding: 2rem 0;
	}

	.hero-section h1 {
		font-size: 2.5rem;
	}

	.service-card,
	.blog-card,
	.event-card,
	.testimonial-card {
		margin-bottom: 2rem;
	}

	.contact-info {
		margin-bottom: 2rem;
	}

	.hero-buttons .btn {
		display: block;
		width: 100%;
		margin: 0.5rem 0;
	}
}

@media (max-width: 576px) {
	.hero-section h1 {
		font-size: 2rem;
	}

	.service-card,
	.contact-form,
	.contact-info {
		padding: 1.5rem;
	}

	.gallery-item img {
		height: 200px;
	}
}

/* Loading Animation */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Scroll to Top Button */
.scroll-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1000;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--secondary-color);
}
