/*
Theme Name: Redzone Cyber
Template: twentytwentyfive
Description: Dark cybersecurity theme for Redzone CyberWorks
Version: 1.0
*/

/* ============================================
   GLOBAL FOUNDATION
   ============================================ */

body {
	background: #0a0e17;
	color: #e0e6ed;
}

/* Subtle grid-dot background pattern */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(circle, #c026d308 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: 0;
}

.wp-site-blocks {
	position: relative;
	z-index: 1;
}

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

header.wp-block-template-part {
	background: rgba(10, 14, 23, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(192, 38, 211, 0.15);
	position: sticky;
	top: 0;
	z-index: 100;
}

/* Site title glow */
.wp-block-site-title a {
	color: #ffffff !important;
	text-decoration: none !important;
	text-shadow: 0 0 20px rgba(255, 106, 0, 0.25);
	transition: text-shadow 0.3s ease;
}

.wp-block-site-title a:hover {
	text-shadow: 0 0 30px rgba(255, 106, 0, 0.5);
}

/* Navigation links */
.wp-block-navigation a {
	color: #8892a4 !important;
	text-decoration: none !important;
	transition: color 0.3s ease, text-shadow 0.3s ease;
	position: relative;
}

.wp-block-navigation a:hover,
.wp-block-navigation a:focus {
	color: #ff6a00 !important;
	text-shadow: 0 0 12px rgba(255, 106, 0, 0.3);
}

/* Nav link underline animation */
.wp-block-navigation a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #ff6a00, #c026d3);
	transition: width 0.3s ease;
}

.wp-block-navigation a:hover::after {
	width: 100%;
}

/* ============================================
   HEADINGS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	font-family: "Fira Sans", sans-serif;
}

h1 {
	font-weight: 700;
	letter-spacing: -0.03em;
}

h2 {
	font-weight: 600;
	position: relative;
}

/* Accent line under h2 */
.entry-content h2::after,
.wp-block-group h2::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #ff6a00, #c026d3);
	margin-top: 0.5rem;
	border-radius: 2px;
}

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

.wp-block-cover,
.cyber-hero {
	position: relative;
	overflow: hidden;
}

.wp-block-cover::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 106, 0, 0.06) 0%, rgba(192, 38, 211, 0.06) 50%, rgba(10, 14, 23, 0.9) 100%);
	z-index: 1;
	pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.wp-block-button__link,
.wp-element-button {
	background: linear-gradient(135deg, #ff6a00 0%, #c026d3 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 4px !important;
	font-family: "Fira Sans", sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	padding: 0.8rem 2rem !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 0 15px rgba(192, 38, 211, 0.2);
	text-decoration: none !important;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	background: linear-gradient(135deg, #ff7b1a 0%, #d430e6 100%) !important;
	box-shadow: 0 0 25px rgba(192, 38, 211, 0.4), 0 0 50px rgba(255, 106, 0, 0.15) !important;
	transform: translateY(-1px);
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border: 2px solid #c026d3 !important;
	color: #c026d3 !important;
	box-shadow: 0 0 10px rgba(192, 38, 211, 0.15);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(192, 38, 211, 0.1) !important;
	box-shadow: 0 0 20px rgba(192, 38, 211, 0.3), 0 0 40px rgba(255, 106, 0, 0.1) !important;
}

/* ============================================
   CARDS / SERVICE BLOCKS
   ============================================ */

.wp-block-group:not(.wp-block-template-part) > .wp-block-group {
	background: linear-gradient(145deg, #111827 0%, #0d1321 100%);
	border: 1px solid rgba(192, 38, 211, 0.1);
	border-radius: 8px;
	padding: 2rem;
	transition: all 0.3s ease;
}

.wp-block-group:not(.wp-block-template-part) > .wp-block-group:hover {
	border-color: rgba(192, 38, 211, 0.25);
	box-shadow: 0 0 20px rgba(192, 38, 211, 0.06), 0 8px 32px rgba(0, 0, 0, 0.3);
	transform: translateY(-2px);
}

/* Columns as card grids */
.wp-block-columns {
	gap: 1.5rem;
}

.wp-block-column {
	background: linear-gradient(145deg, #111827 0%, #0d1321 100%);
	border: 1px solid rgba(192, 38, 211, 0.1);
	border-radius: 8px;
	padding: 2rem;
	transition: all 0.3s ease;
}

.wp-block-column:hover {
	border-color: rgba(255, 106, 0, 0.2);
	box-shadow: 0 0 20px rgba(192, 38, 211, 0.06), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

/* Gradient dividers between sections */
.wp-block-separator,
hr {
	border: none !important;
	height: 2px !important;
	background: linear-gradient(90deg, transparent, #ff6a00, #c026d3, transparent) !important;
	opacity: 0.6;
	margin: 3rem auto !important;
}

/* Lists */
.entry-content ul li,
.wp-block-list li {
	position: relative;
	padding-left: 1.2em;
	margin-bottom: 0.5em;
}

.entry-content ul li::marker,
.wp-block-list li::marker {
	color: #ff6a00;
}

/* Blockquotes */
blockquote,
.wp-block-quote {
	border-left: 3px solid #ff6a00 !important;
	padding-left: 1.5rem;
	font-style: italic;
	color: #8892a4;
}

/* ============================================
   IMAGES
   ============================================ */

.wp-block-image img {
	border-radius: 8px;
	border: 1px solid rgba(192, 38, 211, 0.1);
}

.wp-block-image figcaption {
	color: #6b7a90;
	font-family: "Fira Code", monospace;
	font-size: 0.8rem;
}

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

footer.wp-block-template-part {
	background: #060911;
	border-top: 1px solid rgba(192, 38, 211, 0.1);
	color: #6b7a90;
}

footer.wp-block-template-part a {
	color: #8892a4 !important;
	transition: color 0.3s ease;
}

footer.wp-block-template-part a:hover {
	color: #ff6a00 !important;
}

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */

.elementor-section,
.elementor-element,
.e-con {
	--e-global-color-primary: #ffffff;
	--e-global-color-secondary: #c026d3;
	--e-global-color-text: #e0e6ed;
	--e-global-color-accent: #ff6a00;
}

.elementor-page .elementor,
.elementor-page .e-con {
	color: #e0e6ed;
}

.elementor-heading-title {
	color: #ffffff !important;
	font-family: "Fira Sans", sans-serif !important;
}

.elementor-widget-text-editor {
	color: #c0c8d4 !important;
}

.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6 {
	color: #ffffff !important;
}

.elementor-button {
	background: linear-gradient(135deg, #ff6a00 0%, #c026d3 100%) !important;
	border-radius: 4px !important;
	font-family: "Fira Sans", sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	box-shadow: 0 0 15px rgba(192, 38, 211, 0.2);
	transition: all 0.3s ease !important;
}

.elementor-button:hover {
	box-shadow: 0 0 25px rgba(192, 38, 211, 0.4) !important;
}

.e-con:not(.e-con--row) > .e-con {
	background: linear-gradient(145deg, #111827 0%, #0d1321 100%);
	border: 1px solid rgba(192, 38, 211, 0.1);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.e-con:not(.e-con--row) > .e-con:hover {
	border-color: rgba(192, 38, 211, 0.25);
	box-shadow: 0 0 15px rgba(192, 38, 211, 0.06);
}

.elementor-widget-image img {
	border-radius: 8px;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #0a0e17;
}

::-webkit-scrollbar-thumb {
	background: #1e293b;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #334155;
}

/* ============================================
   SELECTION HIGHLIGHT
   ============================================ */

::selection {
	background: rgba(192, 38, 211, 0.3);
	color: #ffffff;
}

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

@media (max-width: 768px) {
	.wp-block-column {
		padding: 1.5rem;
	}

	h1 {
		font-size: 2rem !important;
	}

	h2 {
		font-size: 1.5rem !important;
	}
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

@keyframes gradient-shift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Animated gradient for key accent lines */
.wp-block-separator,
.entry-content h2::after,
.wp-block-group h2::after {
	background-size: 200% 200%;
	animation: gradient-shift 4s ease infinite;
}
