/* ═══════════════════════════════════════════════════════════════
   PAULS AUTOSERVICE — Components (components.css)
   Buttons, Cards, Forms, Navigation, UI Elements
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero Glassmorphism ────────────────────────────────────────── */
.hero-fullscreen {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-top: var(--header-height);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 29, 59, 0.4); /* Dark overlay for better text readability */
	z-index: 1;
}

.hero-container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-glass-card {
	background: rgba(255, 243, 224, 0.25); /* Frosted cream */
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--radius-xl);
	padding: var(--space-2xl);
	max-width: 650px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	color: var(--color-white);
}

.hero-glass-card .hero-kicker {
	font-weight: var(--font-weight-bold);
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	margin-bottom: var(--space-md);
	color: rgba(255, 255, 255, 0.9);
}

.hero-glass-card .hero-title {
	color: var(--color-white);
	font-size: var(--fs-hero-sm);
	line-height: var(--lh-tight);
	margin-bottom: var(--space-lg);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-glass-card .hero-features {
	margin-bottom: var(--space-lg);
	font-size: var(--fs-md);
	line-height: var(--lh-relaxed);
}

.hero-glass-card .hero-desc {
	margin-bottom: var(--space-xl);
	font-size: var(--fs-base);
	color: rgba(255, 255, 255, 0.95);
}

.hero-glass-card .hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
}

.btn-glass {
	background: rgba(255, 255, 255, 0.15);
	color: var(--color-white);
	border: 2px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
}

.btn-glass:hover {
	background: rgba(255, 255, 255, 0.25);
	color: var(--color-white);
	border-color: var(--color-white);
}

@media (max-width: 768px) {
	.hero-glass-card {
		padding: var(--space-xl) var(--space-lg);
	}
	.hero-glass-card .hero-actions {
		flex-direction: column;
	}
	.hero-glass-card .btn {
		width: 100%;
	}
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	padding: var(--space-sm) var(--space-xl);
	font-family: var(--font-primary);
	font-weight: var(--font-weight-bold);
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all var(--duration-normal) var(--ease-smooth);
	text-decoration: none;
	min-height: 48px; /* Touch target */
}

.btn .icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.btn-primary {
	background: var(--color-petrol);
	color: var(--color-cream);
}

.btn-primary:hover {
	background: var(--color-petrol-light);
	color: var(--color-cream);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: transparent;
	color: var(--color-petrol);
	border: 2px solid var(--color-petrol);
}

.btn-secondary:hover {
	background: var(--color-petrol);
	color: var(--color-cream);
	transform: translateY(-2px);
}

.btn-cherry {
	background: var(--color-cherry);
	color: var(--color-cream);
}

.btn-cherry:hover {
	background: var(--color-cherry-light);
	color: var(--color-cream);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
	background: #25D366;
	color: var(--color-white);
}

.btn-whatsapp:hover {
	background: #20bd5a;
	color: var(--color-white);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-large {
	padding: var(--space-md) var(--space-2xl);
	font-size: var(--fs-base);
	min-height: 56px;
}

.btn-block {
	width: 100%;
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-cream);
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(5px);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	color: var(--color-cream);
	transform: translateY(-2px);
}

/* ─── Service Cards ─────────────────────────────────────────────── */
.service-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: var(--space-xl);
	position: relative;
	overflow: hidden;
	transition: all var(--duration-normal) var(--ease-smooth);
	cursor: pointer;
	text-decoration: none;
	display: flex;
	flex-direction: column;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--color-petrol);
	transition: height var(--duration-normal) var(--ease-smooth);
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
	height: 8px;
	background: var(--color-cherry);
}

.service-card__icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-cream);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-lg);
	transition: all var(--duration-normal) var(--ease-smooth);
}

.service-card:hover .service-card__icon {
	background: var(--color-petrol);
	color: var(--color-cream);
}

.service-card__icon svg {
	width: 30px;
	height: 30px;
	color: var(--color-petrol);
	transition: color var(--duration-normal) var(--ease-smooth);
}

.service-card:hover .service-card__icon svg {
	color: var(--color-cream);
}

.service-card__title {
	font-size: var(--fs-md);
	margin-bottom: var(--space-sm);
}

.service-card__desc {
	font-size: var(--fs-sm);
	color: var(--color-concrete-dark);
	margin-bottom: var(--space-lg);
	flex-grow: 1;
}

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	font-weight: var(--font-weight-bold);
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	color: var(--color-petrol);
	transition: gap var(--duration-normal) var(--ease-smooth);
}

.service-card:hover .service-card__link {
	color: var(--color-cherry);
	gap: var(--space-md);
}

/* ─── Info Cards ────────────────────────────────────────────────── */
.info-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: var(--space-xl);
	box-shadow: var(--shadow-sm);
}

.info-card__label {
	font-weight: var(--font-weight-bold);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: var(--ls-stencil);
	color: var(--color-concrete-dark);
	margin-bottom: var(--space-xs);
}

.info-card__value {
	font-weight: var(--font-weight-bold);
	font-size: var(--fs-md);
	color: var(--color-petrol);
}

.info-card__value a {
	color: var(--color-petrol);
}

.info-card__value a:hover {
	color: var(--color-cherry);
}

/* ─── Contact Form ──────────────────────────────────────────────── */
.contact-form {
	max-width: var(--container-narrow);
}

.form-group {
	margin-bottom: var(--space-lg);
}

.form-label {
	display: block;
	font-weight: var(--font-weight-bold);
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	color: var(--color-petrol);
	margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
	width: 100%;
	padding: var(--space-sm) var(--space-md);
	font-family: var(--font-primary);
	font-size: var(--fs-base);
	color: var(--color-gray-cool);
	background: var(--color-white);
	border: 2px solid var(--color-concrete-light);
	border-radius: var(--radius-sm);
	transition: border-color var(--duration-fast) var(--ease-smooth);
	min-height: 48px;
}

.form-textarea {
	min-height: 140px;
	resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--color-petrol);
	box-shadow: 0 0 0 3px rgba(0, 29, 59, 0.1);
}

/* ─── Hamburger Menu Button ─────────────────────────────────────── */
.hamburger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: calc(var(--z-mobile-menu) + 1);
	padding: 0;
	gap: 6px;
}

.hamburger__line {
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-petrol);
	border-radius: 2px;
	transition: all var(--duration-normal) var(--ease-smooth);
	transform-origin: center;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Old mobile nav styles removed */

/* ─── Scroll Down Indicator ─────────────────────────────────────── */
.scroll-indicator {
	position: absolute;
	bottom: var(--space-xl);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-xs);
	color: var(--color-petrol);
	font-size: var(--fs-xs);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	opacity: 0.7;
	animation: bounce-down 2s infinite var(--ease-smooth);
}

.scroll-indicator__mouse {
	width: 24px;
	height: 40px;
	border: 2px solid var(--color-petrol);
	border-radius: 12px;
	position: relative;
}

.scroll-indicator__dot {
	width: 4px;
	height: 8px;
	background: var(--color-petrol);
	border-radius: 2px;
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	animation: scroll-dot 2s infinite var(--ease-smooth);
}

/* ─── Quick Services Strip ──────────────────────────────────────── */
.services-strip {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: center;
	padding-block: var(--space-lg);
}

.services-strip__item {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2xs);
	padding: var(--space-2xs) var(--space-md);
	background: rgba(0, 29, 59, 0.05);
	border-radius: var(--radius-pill);
	font-size: var(--fs-xs);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
	color: var(--color-petrol);
	white-space: nowrap;
}

.services-strip__item svg {
	width: 14px;
	height: 14px;
}

/* ─── CTA Section ───────────────────────────────────────────────── */
.cta-block {
	text-align: center;
	padding: var(--space-3xl) var(--container-padding);
	border-radius: var(--radius-lg);
	position: relative;
	overflow: hidden;
}

.cta-block__title {
	margin-bottom: var(--space-md);
}

.cta-block__text {
	margin-bottom: var(--space-xl);
	max-width: 50ch;
	margin-inline: auto;
}

.cta-block__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	justify-content: center;
}

/* ─── Booking Section ───────────────────────────────────────────── */
.booking-section {
	max-width: var(--container-narrow);
	margin-inline: auto;
}

.booking-card {
	padding: var(--space-2xl);
	border-radius: var(--radius-lg);
	text-align: center;
}

.booking-card h3 {
	margin-bottom: var(--space-md);
}

.booking-card p {
	margin-inline: auto;
	margin-bottom: var(--space-xl);
}

.booking-card .btn + .btn {
	margin-left: var(--space-md);
}

/* ─── Testimonials (Future) ─────────────────────────────────────── */
.testimonial-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: var(--space-xl);
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: var(--space-md);
	left: var(--space-lg);
	font-size: 4rem;
	font-weight: var(--font-weight-black);
	color: var(--color-concrete-light);
	line-height: 1;
}

/* ─── Opening Hours Table ───────────────────────────────────────── */
.hours-list {
	list-style: none;
	padding: 0;
}

.hours-list__item {
	display: flex;
	justify-content: space-between;
	padding: var(--space-sm) 0;
	border-bottom: 1px solid var(--color-concrete-light);
	font-size: var(--fs-sm);
}

.hours-list__item:last-child {
	border-bottom: none;
}

.hours-list__day {
	font-weight: var(--font-weight-bold);
	color: var(--color-petrol);
}

.hours-list__time {
	color: var(--color-gray-cool);
}
