/*
Theme Name: Faraday Elektronik
Theme URI: https://faradayelektronik.id
Author: Faraday Elektronik
Description: Custom WordPress theme untuk Faraday Elektronik.
Version: 1.0.0
Text Domain: faraday-theme
*/

/* =========================================================
   VARIABLES & RESET
========================================================= */

:root {
	--faraday-red: #dc2626;
	--faraday-dark-red: #b91c1c;
	--faraday-black: #050505;
	--faraday-dark: #111111;
	--faraday-gray: #4b5563;
	--faraday-light: #f9fafb;
	--faraday-border: #e5e7eb;
	--faraday-white: #ffffff;
	--faraday-radius: 16px;
	--faraday-container: 1280px;
	--faraday-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--faraday-light);
	color: #1f2937;
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.container {
	width: min(100% - 32px, var(--faraday-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

[hidden] {
	display: none !important;
}

/* =========================================================
   HEADER
========================================================= */

.faraday-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--faraday-black);
	color: var(--faraday-white);
	border-bottom: 1px solid #292929;
}

.faraday-header-inner {
	min-height: 80px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.faraday-brand {
	flex: 0 0 auto;
}

.faraday-brand a {
	display: inline-flex;
	align-items: center;
}

.faraday-brand__name,
.faraday-footer-logo {
	color: var(--faraday-white);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 1px;
	white-space: nowrap;
}

.faraday-brand__name strong,
.faraday-footer-logo strong {
	color: var(--faraday-red);
}

.custom-logo {
	max-width: 210px;
	max-height: 54px;
	width: auto;
}

.faraday-main-navigation {
	flex: 1;
}

.faraday-menu,
.faraday-mobile-menu__list,
.faraday-footer-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.faraday-menu a {
	display: block;
	padding: 8px 0;
	color: #d1d5db;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.2s ease;
}

.faraday-menu a:hover,
.faraday-menu .current-menu-item > a {
	color: var(--faraday-red);
}

.faraday-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.faraday-header-search {
	position: relative;
	display: flex;
	align-items: center;
}

.faraday-header-search input {
	width: 220px;
	height: 40px;
	padding: 0 42px 0 14px;
	border: 1px solid #333;
	border-radius: 6px;
	outline: none;
	background: #1c1c1c;
	color: var(--faraday-white);
	font-size: 13px;
}

.faraday-header-search input::placeholder {
	color: #888;
}

.faraday-header-search input:focus {
	border-color: var(--faraday-red);
}

.faraday-header-search button {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #aaa;
	font-size: 22px;
}

.faraday-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 40px;
	color: #d1d5db;
	font-size: 20px;
}

.faraday-cart-link:hover {
	color: var(--faraday-red);
}

.faraday-cart-count {
	position: absolute;
	top: 0;
	right: -7px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border: 2px solid var(--faraday-black);
	border-radius: 50%;
	background: var(--faraday-red);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
}

.faraday-login-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--faraday-red);
	border-radius: 5px;
	color: var(--faraday-red);
	font-size: 13px;
	font-weight: 800;
	transition: all 0.2s ease;
}

.faraday-login-button:hover {
	background: var(--faraday-red);
	color: #fff;
}

.faraday-mobile-toggle {
	display: none;
	margin-left: auto;
	padding: 7px 10px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 25px;
}

.faraday-mobile-menu {
	display: none;
	background: var(--faraday-black);
	border-top: 1px solid #292929;
}

.faraday-mobile-menu__list {
	display: block;
	padding: 12px 0 18px;
}

.faraday-mobile-menu__list li {
	border-bottom: 1px solid #242424;
}

.faraday-mobile-menu__list a {
	display: block;
	padding: 12px 0;
	color: #d1d5db;
	font-weight: 600;
}

/* =========================================================
   GENERAL CONTENT
========================================================= */

main {
	overflow: hidden;
}

.faraday-section {
	padding: 80px 0;
}

.faraday-section--white {
	background: #fff;
}

.faraday-section--gray {
	background: #f3f4f6;
}

.faraday-section-title {
	max-width: 720px;
	margin: 0 auto 45px;
	text-align: center;
}

.faraday-section-title h2 {
	margin: 0 0 12px;
	color: #111827;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
}

.faraday-section-title h2::after {
	display: block;
	width: 52px;
	height: 4px;
	margin: 14px auto 0;
	background: var(--faraday-red);
	content: "";
}

.faraday-section-title p {
	margin: 0;
	color: #6b7280;
	font-size: 15px;
}

/* =========================================================
   HERO
========================================================= */

.faraday-hero {
	position: relative;
	padding: 110px 0;
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(26, 5, 5, 0.98), rgba(42, 8, 8, 0.92), rgba(18, 3, 3, 0.98));
	color: #fff;
	border-bottom: 3px solid var(--faraday-red);
}

.faraday-hero__content {
	max-width: 800px;
}

.faraday-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	color: var(--faraday-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.faraday-hero__eyebrow::before {
	width: 48px;
	height: 2px;
	background: var(--faraday-red);
	content: "";
}

.faraday-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(40px, 7vw, 76px);
	font-weight: 900;
	line-height: 0.98;
	text-transform: uppercase;
}

.faraday-hero h1 strong {
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}

.faraday-hero h1 strong::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 6px;
	background: var(--faraday-red);
	content: "";
}

.faraday-hero p {
	max-width: 720px;
	margin: 24px 0 0;
	color: #d1d5db;
	font-size: 17px;
}

.faraday-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	transition: all 0.2s ease;
}

.faraday-button--red {
	background: var(--faraday-red);
	color: #fff;
}

.faraday-button--red:hover {
	background: var(--faraday-dark-red);
	transform: translateY(-2px);
}

.faraday-button--outline {
	border-color: #666;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
}

.faraday-button--outline:hover {
	border-color: #fff;
	background: #fff;
	color: #111;
}

.faraday-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

/* =========================================================
   GRID, CARD, CATEGORY & PRODUCT
========================================================= */

.faraday-category-grid,
.faraday-product-grid,
.faraday-feature-grid,
.faraday-testimonial-grid,
.faraday-portfolio-grid,
.faraday-article-grid {
	display: grid;
	gap: 24px;
}

.faraday-category-grid {
	grid-template-columns: repeat(3, 1fr);
}

.faraday-product-grid {
	grid-template-columns: repeat(3, 1fr);
}

.faraday-feature-grid,
.faraday-testimonial-grid {
	grid-template-columns: repeat(3, 1fr);
}

.faraday-portfolio-grid,
.faraday-article-grid {
	grid-template-columns: repeat(3, 1fr);
}

.faraday-card {
	padding: 30px;
	border: 1px solid var(--faraday-border);
	border-radius: var(--faraday-radius);
	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
	transition: all 0.25s ease;
}

.faraday-card:hover {
	border-color: var(--faraday-red);
	box-shadow: var(--faraday-shadow);
	transform: translateY(-4px);
}

.faraday-card h3 {
	margin: 0 0 10px;
	color: #111827;
	font-size: 20px;
	font-weight: 800;
}

.faraday-card p {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
}

.faraday-category-card {
	text-align: center;
}

.faraday-category-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	border-radius: 14px;
	background: #fef2f2;
	color: var(--faraday-red);
	font-size: 28px;
}

.faraday-category-card a {
	display: inline-block;
	margin-top: 22px;
	color: var(--faraday-red);
	font-size: 14px;
	font-weight: 800;
}

.faraday-product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
}

.faraday-product-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #111;
}

.faraday-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.faraday-product-card:hover .faraday-product-card__image img {
	transform: scale(1.05);
}

.faraday-product-card__content {
	padding: 22px;
}

.faraday-product-card__category {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 8px;
	border-radius: 4px;
	background: #111;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.faraday-product-card__price {
	display: block;
	margin-top: 18px;
	color: var(--faraday-red);
	font-size: 19px;
	font-weight: 900;
}

/* =========================================================
   FOOTER
========================================================= */

.faraday-site-footer {
	padding: 75px 0 0;
	background: var(--faraday-black);
	color: #d1d5db;
}

.faraday-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
	gap: 45px;
}

.faraday-footer-column h2 {
	margin: 0 0 20px;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	text-transform: uppercase;
}

.faraday-footer-brand p {
	max-width: 330px;
	margin: 20px 0 0;
	color: #9ca3af;
	font-size: 14px;
}

.faraday-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

.faraday-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #444;
	border-radius: 50%;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	transition: all 0.2s ease;
}

.faraday-footer-social a:hover {
	border-color: var(--faraday-red);
	background: var(--faraday-red);
}

.faraday-contact-list {
	display: grid;
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.faraday-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #d1d5db;
	font-size: 14px;
}

.faraday-contact-list a:hover,
.faraday-footer-menu a:hover {
	color: var(--faraday-red);
}

.faraday-contact-icon {
	flex: 0 0 20px;
	color: var(--faraday-red);
	font-weight: 800;
	text-align: center;
}

.faraday-footer-menu {
	display: grid;
	align-items: start;
	gap: 11px;
}

.faraday-footer-menu a {
	color: #9ca3af;
	font-size: 14px;
	transition: color 0.2s ease;
}

.faraday-showroom-map {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 190px;
	padding: 24px;
	border: 1px solid #292929;
	border-radius: 12px;
	background: #151515;
	color: #d1d5db;
	font-size: 14px;
	text-align: center;
	transition: border-color 0.2s ease;
}

.faraday-showroom-map:hover {
	border-color: var(--faraday-red);
}

.faraday-showroom-map--placeholder {
	flex-direction: column;
	gap: 10px;
	color: #888;
}

.faraday-showroom-map--placeholder span:first-child {
	color: var(--faraday-red);
	font-size: 28px;
}

.faraday-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 60px;
	padding: 24px 0;
	border-top: 1px solid #242424;
	color: #6b7280;
	font-size: 12px;
}

.faraday-footer-bottom p {
	margin: 0;
}

.faraday-footer-bottom-links {
	display: flex;
	gap: 20px;
}

.faraday-footer-bottom-links a:hover {
	color: var(--faraday-red);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
	.faraday-header-search input {
		width: 170px;
	}

	.faraday-menu {
		gap: 15px;
	}

	.faraday-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.faraday-main-navigation,
	.faraday-header-actions {
		display: none;
	}

	.faraday-mobile-toggle {
		display: block;
	}

	.faraday-mobile-menu {
		display: block;
	}

	.faraday-category-grid,
	.faraday-product-grid,
	.faraday-feature-grid,
	.faraday-testimonial-grid,