/* =============================================
   SERVICES — Phone Hero, Service Features,
   Mini Player, Piano Keys, Call Action
   Used on: services.html (also index.html for contact-phone-hero)
   Abdullah Limozen | Top Class Limousine
   ============================================= */

/* Contact Phone Hero Section */
.contact-phone-hero {
	text-align: center;
	margin: 0 auto 50px;
	max-width: 1000px;
	padding: 50px 40px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(212, 175, 55, 0.2);
	border-radius: 30px;
	backdrop-filter: blur(20px);
	position: relative;
	overflow: hidden;
}

.contact-phone-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	transition: all 1s ease;
}

.contact-phone-hero:hover::before {
	left: 100%;
}

.phone-number-large {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	margin-bottom: 35px;
	padding: 40px;
	background: rgba(212, 175, 55, 0.1);
	border: 2px solid var(--gold);
	border-radius: 25px;
	position: relative;
	transition: all 0.3s ease;
}

.phone-number-large:hover {
	background: rgba(212, 175, 55, 0.15);
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2);
}

.phone-icon-large {
	font-size: 3.5rem;
	color: var(--gold);
	filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.phone-number-text {
	font-family: 'Cormorant Garamond', serif;
	font-size: 4rem;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: 3px;
	filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.booking-notice {
	margin-top: 10px;
}

.booking-notice h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	color: var(--text-light);
	margin-bottom: 15px;
	font-weight: 600;
}

.booking-notice p {
	font-size: 1.2rem;
	color: var(--text-muted);
	line-height: 1.6;
	opacity: 0.9;
}

/* Service Features List */
.service-features {
	margin-bottom: 30px;
}

.service-feature {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-check {
	width: 24px;
	height: 24px;
	background: var(--gold);
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	flex-shrink: 0;
}

.call-action {
	text-align: center;
	padding: 25px;
	background: rgba(212, 175, 55, 0.1);
	border-radius: 16px;
	border: 1px solid var(--gold);
}

.call-action h4 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.3rem;
	color: var(--gold-light);
	margin-bottom: 10px;
}

.call-action p {
	font-size: 1rem;
	color: var(--text-muted);
}

/* Contact Hero Card */
.contact-hero-card {
	text-align: center;
}

.contact-hero-header {
	margin-bottom: 20px;
}

.contact-badge {
	font-size: 0.75rem;
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.contact-hero-card h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	color: var(--gold-light);
	margin-bottom: 25px;
}

.phone-display {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-bottom: 20px;
	padding: 20px;
	background: rgba(212, 175, 55, 0.1);
	border-radius: 16px;
	border: 1px solid var(--gold);
}

.phone-icon {
	font-size: 1.8rem;
}

.phone-number {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: 2px;
}

.service-hours {
	margin-bottom: 20px;
}

.hours-label {
	font-size: 1rem;
	color: var(--text);
	margin-bottom: 5px;
	font-weight: 600;
}

.service-note {
	font-size: 0.9rem;
	color: var(--text-muted);
	letter-spacing: 1px;
}

.cta-note {
	font-size: 0.85rem;
	color: var(--text-muted);
	opacity: 0.8;
	padding-top: 15px;
	border-top: 1px solid var(--glass-border);
}

/* ---- Mini Player ---- */
.mini-player {
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	border-radius: 24px;
	padding: 30px;
	max-width: 500px;
	width: 100%;
	backdrop-filter: blur(20px);
	position: relative;
	z-index: 10;
}

.player-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 25px;
	min-height: 110px;
}

.song-info {
	flex: 1;
}

.now-playing {
	font-size: 0.75rem;
	color: var(--red);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 5px;
}

.song-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--gold-light);
}

.player-controls {
	display: flex;
	align-items: center;
	gap: 15px;
	align-self: center;
}

.control-btn {
	width: 50px;
	height: 50px;
	min-height: 44px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	touch-action: manipulation;
}

.play-btn {
	background: linear-gradient(135deg, var(--gold) 0%, #b8960c 100%);
	color: #000;
	font-size: 1.2rem;
}

.play-btn:hover {
	transform: scale(1.12);
	box-shadow: 0 0 30px rgba(212, 175, 55, 0.45);
}

.play-btn:focus-visible,
.nav-btn:focus-visible,
.control-btn:focus-visible {
	outline: 2px solid rgba(212, 175, 55, 0.75);
	outline-offset: 3px;
}

.nav-btn {
	width: 36px;
	height: 36px;
	background: var(--glass-bg);
	border: 1px solid var(--glass-border);
	color: var(--text-muted);
	font-size: 0.9rem;
}

.nav-btn:hover {
	color: var(--gold);
	border-color: var(--gold);
}

/* Song Selector */
.song-selector {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	height: 54px;
}

.song-tab {
	flex: 1;
	padding: 10px 12px;
	height: 54px;
	background: transparent;
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	color: var(--text-muted);
	font-family: 'Outfit', sans-serif;
	font-size: 0.8rem;
	line-height: 1.3;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	touch-action: manipulation;
}

.song-tab:hover {
	border-color: var(--gold);
	color: var(--gold);
}

.song-tab.active {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
	border-color: var(--gold);
	color: var(--gold);
}

/* Progress Bar */
.progress-container {
	margin-bottom: 20px;
}

.progress-bar {
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 2px;
	overflow: hidden;
	cursor: pointer;
}

.progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--red) 0%, var(--gold) 100%);
	border-radius: 2px;
	transition: width 0.1s linear;
}

.time-display {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: 8px;
}

/* ---- Mini Piano ---- */
.mini-piano-container {
	background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
	border-radius: 12px;
	padding: 15px 10px 20px;
	overflow: hidden;
}

.mini-piano {
	display: flex;
	justify-content: center;
	position: relative;
	height: 80px;
}

.mini-key {
	position: relative;
	cursor: pointer;
	transition: all 0.1s ease;
}

.mini-key.white {
	width: 28px;
	height: 80px;
	background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
	border: 1px solid #ccc;
	border-radius: 0 0 4px 4px;
	margin: 0 1px;
	z-index: 1;
}

.mini-key.white:hover {
	background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
}

.mini-key.white.active {
	background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
	transform: translateY(2px);
}

.mini-key.black {
	position: absolute;
	width: 18px;
	height: 50px;
	background: linear-gradient(180deg, #333 0%, #111 100%);
	border-radius: 0 0 3px 3px;
	z-index: 2;
	top: 0;
}

.mini-key.black:hover {
	background: linear-gradient(180deg, #444 0%, #222 100%);
}

.mini-key.black.active {
	background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
	transform: translateY(2px);
}

/* ---- Player Controls Row ---- */
.player-controls-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.control-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.control-label {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.control-slider {
	width: 80px;
	height: 4px;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 2px;
	cursor: pointer;
}

.control-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	background: var(--gold);
	border-radius: 50%;
	cursor: pointer;
}

.control-slider::-moz-range-thumb {
	width: 14px;
	height: 14px;
	background: var(--gold);
	border-radius: 50%;
	cursor: pointer;
	border: none;
}

.control-value {
	font-size: 0.75rem;
	color: var(--gold);
	min-width: 30px;
}

/* Repeat Toggle */
.repeat-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
}

.toggle-switch {
	position: relative;
	width: 42px;
	height: 22px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 11px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.toggle-switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	background: var(--text-muted);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.toggle-switch.active {
	background: rgba(212, 175, 55, 0.3);
}

.toggle-switch.active::after {
	left: 23px;
	background: var(--gold);
}

.repeat-icon {
	font-size: 0.9rem;
	opacity: 0.5;
	transition: all 0.3s ease;
}

.repeat-toggle.active .repeat-icon {
	opacity: 1;
	color: var(--gold);
}

/* Legacy speed control */
.speed-control {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
}

.speed-label {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.speed-slider {
	width: 100px;
	height: 4px;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 2px;
	cursor: pointer;
}

.speed-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	background: var(--gold);
	border-radius: 50%;
	cursor: pointer;
}

.speed-value {
	font-size: 0.75rem;
	color: var(--gold);
	min-width: 35px;
}

.keyboard-hint {
	text-align: center;
	font-size: 0.7rem;
	color: var(--text-muted);
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid var(--glass-border);
	opacity: 0.7;
}

/* Desktop enhancement */
@media (min-width: 1200px) {
	.contact-phone-hero {
		max-width: 900px;
	}

	.phone-number-text {
		font-size: 4rem;
	}
}
