/*
Theme Name: Bizberg (Futuristic Elegance Edition)
Author: Bizberg Themes / AI Redesign
Description: A highly elegant, formal, and futuristic corporate theme redesign featuring glassmorphism, deep tech colors, and fluid typography.
Version: 5.0.0
Tags: custom-logo, custom-menu, featured-images, dark-mode, futuristic, corporate
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Variables
# Normalize
# Typography
# Elements
# Forms
# Navigation
# Accessibility
# Alignments & Clearings
# Content & Widgets
# Media & Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variables (Design System)
--------------------------------------------------------------*/
:root {
	/* Color Palette */
	--bg-main: #0b0f19; /* Deep space slate */
	--surface-light: rgba(255, 255, 255, 0.03);
	--surface-medium: rgba(255, 255, 255, 0.08);
	--text-main: #e2e8f0;
	--text-muted: #94a3b8;
	--accent-color: #00f0ff; /* Futuristic Cyan */
	--accent-hover: #00c3ff;
	
	/* Glassmorphism */
	--glass-bg: rgba(11, 15, 25, 0.7);
	--glass-border: rgba(255, 255, 255, 0.1);
	
	/* Effects */
	--glow-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
	--transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	
	/* Typography */
	--font-main: 'Inter', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/*--------------------------------------------------------------
# Normalize & Base
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	font-family: var(--font-main);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	background-color: var(--bg-main);
	color: var(--text-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin-top: 2rem;
	margin-bottom: 1rem;
	clear: both;
}

p {
	margin-bottom: 1.5rem;
	color: var(--text-muted);
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: var(--transition-smooth);
}

a:hover, a:focus {
	color: var(--accent-hover);
	text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
	outline: none;
}

pre {
	background: var(--surface-light);
	border: 1px solid var(--glass-border);
	border-radius: 8px;
	color: var(--accent-color);
	font-family: var(--font-mono);
	padding: 1.5rem;
	overflow: auto;
}

code, kbd, samp {
	background: var(--surface-medium);
	border-radius: 4px;
	padding: 0.2em 0.4em;
	font-family: var(--font-mono);
	font-size: 0.9em;
}

blockquote {
	border-left: 4px solid var(--accent-color);
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	background: var(--surface-light);
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #fff;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
hr {
	background-color: transparent;
	border: 0;
	border-bottom: 1px solid var(--glass-border);
	margin: 2rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

th, td {
	padding: 1rem;
	border-bottom: 1px solid var(--glass-border);
	text-align: left;
}

th {
	color: #fff;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
}

/*--------------------------------------------------------------
# Forms (Futuristic & Clean)
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea,
select {
	width: 100%;
	background: var(--surface-light);
	border: 1px solid var(--glass-border);
	border-radius: 6px;
	color: #fff;
	padding: 12px 16px;
	font-family: var(--font-main);
	transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
	outline: none;
	background: var(--surface-medium);
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.2);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: transparent;
	color: var(--accent-color);
	border: 1px solid var(--accent-color);
	border-radius: 6px;
	padding: 12px 24px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
}

button:hover,
input[type="submit"]:hover {
	background: var(--accent-color);
	color: var(--bg-main);
	box-shadow: var(--glow-shadow);
	transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Navigation (Glassmorphism Sticky Nav)
--------------------------------------------------------------*/
.main-navigation {
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--glass-border);
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 1.5rem 1rem;
	color: var(--text-main);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
}

.main-navigation a:hover {
	color: var(--accent-color);
}

/* Dropdowns */
.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--glass-bg);
	backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
	border-radius: 0 0 8px 8px;
	min-width: 220px;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.main-navigation li:hover > ul {
	display: flex;
}

.main-navigation ul ul a {
	padding: 1rem;
	border-bottom: 1px solid var(--glass-border);
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

/*--------------------------------------------------------------
# Alignments & Clearings
--------------------------------------------------------------*/
.alignleft { float: left; margin: 0.5em 1.5em 1.5em 0; }
.alignright { float: right; margin: 0.5em 0 1.5em 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto 1.5em; }

.clear:after {
	content: "";
	display: table;
	clear: both;
}

/*--------------------------------------------------------------
# Media & Galleries
--------------------------------------------------------------*/
img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

figure {
	margin: 0;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption-text {
	text-align: center;
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-top: 0.5rem;
}

.gallery {
	display: grid;
	gap: 1.5rem;
}
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item img {
	transition: var(--transition-smooth);
	border: 1px solid var(--glass-border);
}

.gallery-item img:hover {
	transform: scale(1.02);
	border-color: var(--accent-color);
	box-shadow: var(--glow-shadow);
}