/*
Theme Name: RobotsFight
Theme URI: https://robotsfight.com
Description: A dark combat-sports theme for RobotsFight.com - Child theme of Twenty Twenty-Five
Author: RobotsFight Team
Author URI: https://robotsfight.com
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: robotsfight
*/

/* Import parent theme styles */
@import url("../twentytwentyfive/style.css");

/* RobotsFight Custom Styles */
:root {
	--rf-primary: #1a1a2e;
	--rf-secondary: #16213e;
	--rf-accent: #e94560;
	--rf-accent-hover: #d6304e;
	--rf-light: #eaeaea;
	--rf-dark: #0f0f1a;
	--rf-gray: #6c757d;
	--rf-border: #3a3a5a;
	--rf-success: #28a745;
	--rf-warning: #ffc107;
	--rf-danger: #dc3545;
	--rf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rf-radius: 6px;
	--rf-shadow: 0 4px 12px rgba(0,0,0,0.15);
	--rf-transition: all 0.2s ease;
}

/* Global Dark Theme Override */
body {
	background-color: var(--rf-dark) !important;
	color: var(--rf-light) !important;
	font-family: var(--rf-font);
}

.site {
	background-color: var(--rf-dark);
}

/* Header */
.site-header {
	background-color: var(--rf-primary) !important;
	border-bottom: 1px solid var(--rf-border);
	padding: 16px 0;
}

.site-title a {
	color: var(--rf-accent) !important;
	font-weight: 700;
	font-size: 1.75rem;
	text-decoration: none;
}

.site-title a:hover {
	color: var(--rf-accent-hover) !important;
}

.site-description {
	color: var(--rf-gray) !important;
	font-size: 0.9rem;
}

/* Navigation */
.main-navigation {
	background-color: var(--rf-primary);
}

.main-navigation a {
	color: var(--rf-light) !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--rf-accent) !important;
}

.main-navigation ul ul {
	background-color: var(--rf-secondary);
	border: 1px solid var(--rf-border);
}

/* Main Content */
.site-main {
	padding: 30px 0;
}

.content-area {
	background-color: transparent;
}

/* Widgets */
.widget {
	background-color: var(--rf-secondary);
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	padding: 20px;
	margin-bottom: 20px;
}

.widget-title {
	color: var(--rf-accent);
	border-bottom: 2px solid var(--rf-accent);
	padding-bottom: 10px;
	margin-bottom: 15px;
	font-size: 1.1rem;
}

.widget a {
	color: var(--rf-accent);
}

.widget a:hover {
	color: var(--rf-accent-hover);
}

/* Footer */
.site-footer {
	background-color: var(--rf-primary) !important;
	border-top: 1px solid var(--rf-border);
	padding: 30px 0;
	color: var(--rf-gray);
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
.button,
.wp-block-button__link {
	background-color: var(--rf-accent) !important;
	border-color: var(--rf-accent) !important;
	color: #fff !important;
	border-radius: var(--rf-radius);
	transition: var(--rf-transition);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.wp-block-button__link:hover {
	background-color: var(--rf-accent-hover) !important;
	border-color: var(--rf-accent-hover) !important;
}

.button-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent !important;
	border-color: var(--rf-border) !important;
	color: var(--rf-light) !important;
}

.button-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--rf-border) !important;
	border-color: var(--rf-border) !important;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="date"],
textarea,
select {
	background-color: var(--rf-dark) !important;
	border: 1px solid var(--rf-border) !important;
	color: var(--rf-light) !important;
	border-radius: var(--rf-radius);
	padding: 10px 12px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--rf-accent) !important;
	box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

label {
	color: var(--rf-light) !important;
	font-weight: 600;
}

/* Tables */
table {
	border-collapse: collapse;
	width: 100%;
}

th, td {
	border: 1px solid var(--rf-border);
	padding: 12px;
	text-align: left;
}

th {
	background-color: var(--rf-primary);
	color: var(--rf-gray);
	font-weight: 600;
}

td {
	background-color: var(--rf-secondary);
	color: var(--rf-light);
}

tr:hover td {
	background-color: var(--rf-primary);
}

/* Links */
a {
	color: var(--rf-accent);
	text-decoration: none;
	transition: var(--rf-transition);
}

a:hover {
	color: var(--rf-accent-hover);
	text-decoration: underline;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	color: var(--rf-light);
}

/* Block Editor Styles */
.wp-block {
	color: var(--rf-light);
}

.wp-block-group,
.wp-block-cover,
.wp-block-columns {
	background-color: var(--rf-secondary) !important;
}

.wp-block-quote {
	border-left-color: var(--rf-accent);
	color: var(--rf-gray);
}

.wp-block-separator {
	border-color: var(--rf-border);
}

.wp-block-table {
	color: var(--rf-light);
}

.wp-block-table th {
	background-color: var(--rf-primary);
	color: var(--rf-gray);
}

.wp-block-table td {
	background-color: var(--rf-secondary);
	color: var(--rf-light);
}

/* Search */
.search-form {
	background-color: var(--rf-secondary);
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	padding: 10px;
}

.search-form input[type="search"] {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0;
}

.search-form input[type="submit"] {
	background: var(--rf-accent) !important;
}

/* Pagination */
.page-numbers {
	display: inline-block;
	padding: 8px 16px;
	margin: 0 4px;
	background: var(--rf-secondary);
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	color: var(--rf-light);
}

.page-numbers:hover,
.page-numbers.current {
	background: var(--rf-accent);
	border-color: var(--rf-accent);
	color: #fff;
}

/* Comments */
.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	background: var(--rf-secondary);
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	padding: 20px;
	margin-bottom: 20px;
}

.comment-author {
	color: var(--rf-accent);
	font-weight: 600;
}

.comment-meta {
	color: var(--rf-gray);
	font-size: 0.85rem;
}

/* Custom Post Type Archives */
.post-type-archive-rf_fight .site-main,
.post-type-archive-rf_robot .site-main,
.post-type-archive-rf_team .site-main,
.post-type-archive-rf_event .site-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Single Post Types */
.single-rf_fight .entry-header,
.single-rf_robot .entry-header,
.single-rf_team .entry-header,
.single-rf_event .entry-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--rf-accent);
}

.single-rf_fight .entry-title,
.single-rf_robot .entry-title,
.single-rf_team .entry-title,
.single-rf_event .entry-title {
	font-size: 2.5rem;
	margin-bottom: 16px;
}

/* Video Wrapper */
.rf-video-wrapper {
	margin-bottom: 30px;
}

/* Ad Placements */
.rf-ad {
	margin: 30px 0;
	text-align: center;
	clear: both;
}

/* Breadcrumbs */
.rf-breadcrumbs {
	margin-bottom: 20px;
	font-size: 14px;
}

.rf-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.rf-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: 8px;
	color: var(--rf-gray);
}

/* Responsive */
@media (max-width: 768px) {
	.site-main {
		padding: 20px 0;
	}

	.single-rf_fight .entry-title,
	.single-rf_robot .entry-title,
	.single-rf_team .entry-title,
	.single-rf_event .entry-title {
		font-size: 1.75rem;
	}

	.content-area {
		padding: 0 15px;
	}
}

/* Print */
@media print {
	.site-header,
	.main-navigation,
	.site-footer,
	.widget,
	.rf-ad,
	.button {
		display: none !important;
	}

	body {
		background: #fff !important;
		color: #000 !important;
	}
}