/*
Theme Name: rsSoftware
Theme URI: 
Author:  Robert Smalarz Software
Author URI: 
Description: Custom WordPress theme for rsSoftware
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
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: rssoftware
Tags: custom-theme
*/

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	color: #333;
}

/* Navbar Styles */
.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background-color: #ffffff;
	border-bottom: 1px solid #f3f4f6;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.navbar-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 640px) {
	.navbar-container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 1024px) {
	.navbar-container {
		padding: 0 2rem;
	}
}

.navbar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

/* Logo Styles */
.navbar-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	cursor: pointer;
	color: inherit;
}

.navbar-logo:hover {
	text-decoration: none;
}

.navbar-logo-icon {
	background-color: #000000;
	padding: 0.5rem;
	border-radius: 0.5rem;
	color: #ffffff;
	transition: background-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.navbar-logo:hover .navbar-logo-icon {
	background-color: #dc2626;
}

.navbar-logo-text {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	color: #000000;
}

.navbar-logo-text-accent {
	color: #dc2626;
}

/* Desktop Menu */
.navbar-desktop-menu {
	display: none;
}

@media (min-width: 768px) {
	.navbar-desktop-menu {
		display: flex;
		align-items: center;
	}
}

.navbar-menu {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.navbar-menu li {
	margin: 0;
}

.navbar-menu a {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #000000;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
	padding: 0.5rem 0;
}

.navbar-menu a:hover,
.navbar-menu .current-menu-item > a,
.navbar-menu .current_page_item > a {
	color: #dc2626;
}

/* Contact/Phone */
.navbar-contact {
	display: none;
}

@media (min-width: 768px) {
	.navbar-contact {
		display: flex;
		align-items: center;
	}
}

.navbar-phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #dc2626;
	font-weight: 700;
}

.navbar-phone svg {
	width: 20px;
	height: 20px;
}

/* Mobile Toggle Button */
.navbar-mobile-toggle {
	display: flex;
	align-items: center;
}

@media (min-width: 768px) {
	.navbar-mobile-toggle {
		display: none;
	}
}

.mobile-menu-button {
	background: none;
	border: none;
	cursor: pointer;
	color: #4b5563;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-menu-button svg {
	width: 28px;
	height: 28px;
}

/* Mobile Menu */
.navbar-mobile-menu {
	display: none;
	background-color: #ffffff;
	border-top: 1px solid #f3f4f6;
	padding: 0.5rem 1rem 1.5rem;
}

.navbar-mobile-menu.active {
	display: block;
}

.navbar-mobile-menu-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.navbar-mobile-menu-items li {
	margin: 0;
}

.navbar-mobile-menu-items a {
	display: block;
	padding: 0.5rem 0;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #000000;
	text-decoration: none;
	transition: color 0.3s ease;
}

.navbar-mobile-menu-items a:hover,
.navbar-mobile-menu-items .current-menu-item > a,
.navbar-mobile-menu-items .current_page_item > a {
	color: #dc2626;
}

.navbar-mobile-contact {
	padding-top: 1rem;
	border-top: 1px solid #f3f4f6;
	margin-top: 1rem;
}


/* Screen Reader Text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
	text-decoration: none;
}

/* Footer Styles */
.footer {
	background-color: #000000;
	color: #ffffff;
	padding-top: 4rem;
	padding-bottom: 2rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

.footer-container {
	max-width: 1280px;
	margin: 0 auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	margin-bottom: 4rem;
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Footer Brand */
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-logo-icon {
	background-color: #ffffff;
	padding: 0.5rem;
	border-radius: 0.5rem;
	color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-logo-text {
	font-size: 1.5rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.025em;
	color: #ffffff;
}

.footer-logo-text-accent {
	color: #dc2626;
}

.footer-description {
	color: #9ca3af;
	font-size: 0.875rem;
	line-height: 1.75;
}

.footer-social {
	display: flex;
	gap: 1rem;
}

.footer-social-link {
	padding: 0.5rem;
	background-color: #111827;
	border-radius: 9999px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
	text-decoration: none;
}

.footer-social-link:hover {
	background-color: #dc2626;
	color: #ffffff;
	text-decoration: none;
}

.footer-social-link svg {
	width: 16px;
	height: 16px;
}

/* Footer Columns */
.footer-column {
	display: flex;
	flex-direction: column;
}

.footer-heading {
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	letter-spacing: 0.1em;
	border-left: 4px solid #dc2626;
	padding-left: 0.75rem;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-menu li {
	margin: 0;
}

.footer-menu a {
	color: #9ca3af;
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-menu a:hover {
	color: #ffffff;
}

/* Footer Contact */
.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	color: #9ca3af;
	font-size: 0.875rem;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.footer-contact-item svg {
	color: #dc2626;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.footer-contact-phone {
	font-size: 1.5rem;
	font-weight: 900;
	color: #ffffff;
	margin-top: 1rem;
}

/* Footer Bottom */
.footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid #111827;
	text-align: center;
	color: #6b7280;
	font-size: 0.75rem;
}

.footer-bottom p {
	margin: 0;
}
