/*!
Theme Name: Investya
Theme URI: https://investya.pl
Description: Professional WordPress theme for Investya - Business services in Poland
Version: 1.0
Author: Investya
Author URI: https://investya.pl
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: investya
Domain Path: /languages

Requires at least: 5.9
Requires PHP: 7.4
*/

/* ========== GOOGLE FONTS & EXTERNAL RESOURCES ========== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ========== ROOT VARIABLES ========== */
:root {
	--color-navy: #1f2b52;
	--color-navy-light: #1a3a52;
	--color-navy-dark: #0d1b2a;
	--color-gold: #0a9bc3;
	--color-gold-dark: #008aa3;
	--color-gray-light: #f9fafb;
	--color-gray-50: #fef9ec;
	--font-sans: 'Poppins', sans-serif;
	--font-display: 'Playfair Display', serif;
}

/* ========== GLOBAL STYLES ========== */
html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	color: #4b5563;
	background-color: #fff;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--color-navy);
	font-weight: 700;
}

a {
	color: var(--color-gold);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-gold-dark);
}

/* ========== LANGUAGE TOGGLE ========== */
body.lang-pl .en {
	display: none !important;
}

body.lang-en .pl {
	display: none !important;
}

/* ========== NAVIGATION ========== */
.site-header {
	background: rgba(31, 43, 82, 0.95);
	backdrop-filter: blur(12px);
	color: white;
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.site-header nav {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 4rem;
}

.site-logo img {
	height: 1.75rem;
	width: auto;
	filter: brightness(0) invert(1);
}

.nav-menu {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.nav-menu {
		display: flex;
	}
}

.nav-link {
	cursor: pointer;
	transition: color 0.2s ease;
	color: white;
	font-size: 0.875rem;
	font-weight: 500;
}

.nav-link:hover {
	color: var(--color-gold);
}

.nav-dropdown {
	position: relative;
}

.nav-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	color: #1f2b52;
	border-radius: 0.75rem;
	box-shadow: 0 20px 25px rgba(31, 43, 82, 0.15);
	padding: 0.75rem 0;
	width: 16rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 100;
	margin-top: 0.5rem;
	border: 1px solid #f0f0f0;
}

.nav-dropdown:hover .nav-dropdown-menu {
	opacity: 1;
	visibility: visible;
}

.nav-dropdown-item {
	display: block;
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.nav-dropdown-item:hover {
	background-color: rgba(10, 155, 195, 0.1);
}

/* Language Toggle */
.lang-toggle {
	display: flex;
	background: rgba(13, 27, 42, 0.8);
	border-radius: 9999px;
	padding: 0.125rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	gap: 0.5rem;
}

.lang-toggle button {
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 700;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	background: transparent;
	color: rgba(255, 255, 255, 0.6);
}

.lang-toggle button.active {
	background: var(--color-gold);
	color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
	display: none;
	background: transparent;
	border: none;
	color: white;
	cursor: pointer;
	padding: 0.25rem;
}

@media (max-width: 1023px) {
	.mobile-menu-toggle {
		display: block;
	}
}

.mobile-menu {
	display: none;
}

.mobile-menu.active {
	display: block;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.mobile-menu a {
	display: block;
	padding: 0.625rem 0.5rem;
	color: white;
	font-size: 0.875rem;
	transition: color 0.3s ease;
}

.mobile-menu a:hover {
	color: var(--color-gold);
}

/* ========== BUTTONS ========== */
.btn-gold {
	background: var(--color-gold);
	color: white;
	font-weight: 700;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
}

.btn-gold:hover {
	background: var(--color-gold-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(10, 155, 195, 0.4);
}

.btn-outline {
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	background: transparent;
	font-weight: 700;
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
}

/* ========== HERO SECTION ========== */
.page-hero {
	background: linear-gradient(rgba(31, 43, 82, 0.9), rgba(29, 35, 39, 0.93)),
	            url('https://images.unsplash.com/photo-1779470457779-8dd1d1b649ef?fm=jpg&q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
	color: white;
	padding: 5rem 1rem;
	text-align: center;
}

.page-hero h1 {
	color: white;
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 1rem;
	margin-top: 0;
}

.page-hero p {
	color: #d1d5db;
	font-size: 1.25rem;
	max-width: 42rem;
	margin: 0 auto;
}

.breadcrumb {
	font-size: 0.875rem;
	color: var(--color-gold);
	margin-bottom: 1rem;
	cursor: pointer;
}

.breadcrumb:hover {
	text-decoration: underline;
}

/* ========== MAIN CONTENT ========== */
.site-main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 4rem 1rem;
}

.prose-c {
	max-width: 56rem;
	margin: 0 auto;
}

.prose-c h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.prose-c h4 {
	font-weight: 700;
	margin-top: 1.25rem;
	margin-bottom: 0.4rem;
}

.prose-c p {
	color: #4b5563;
	line-height: 1.75;
	margin-bottom: 1rem;
}

.prose-c ul,
.prose-c ol {
	padding-left: 1.5rem;
	margin-bottom: 1rem;
	color: #4b5563;
}

.prose-c li {
	margin-bottom: 0.4rem;
}

.prose-c table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.prose-c th {
	background: var(--color-navy);
	color: white;
	padding: 0.75rem 1rem;
	text-align: left;
	font-size: 0.9rem;
}

.prose-c td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #f0f0f0;
	color: #4b5563;
	font-size: 0.95rem;
}

.prose-c b,
.prose-c strong {
	color: var(--color-navy);
	font-weight: 700;
}

/* ========== CARDS ========== */
.card-3d {
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border-radius: 1rem;
	overflow: hidden;
}

.card-3d:hover {
	transform: translateY(-2rem);
	box-shadow: 0 25px 50px rgba(31, 43, 82, 0.15);
}

/* ========== SERVICE GRID ========== */
.service-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin: 3rem 0;
}

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

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

.service-card {
	background: white;
	border: 1px solid #f0f0f0;
	border-radius: 1.5rem;
	padding: 2rem;
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateY(-0.5rem);
	box-shadow: 0 20px 40px rgba(31, 43, 82, 0.1);
}

.service-card h3 {
	margin-top: 0;
}

/* ========== FAQ SECTION ========== */
.faq-item {
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}

.faq-question {
	background: #f9fafb;
	padding: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	color: var(--color-navy);
	user-select: none;
}

.faq-question:hover {
	background: #f0f0f0;
}

.faq-toggle {
	font-size: 1.25rem;
	transition: transform 0.3s ease;
}

.faq-toggle.open {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
	padding: 0 1.5rem;
	color: #4b5563;
}

.faq-answer.open {
	max-height: 600px;
	padding: 1.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
	background: var(--color-navy);
	color: white;
	padding: 4rem 1rem;
	margin-top: 4rem;
}

.footer-content {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.footer-section h4 {
	color: white;
	margin-bottom: 1rem;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section a {
	color: rgba(255, 255, 255, 0.7);
	display: block;
	margin-bottom: 0.5rem;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: var(--color-gold);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 2rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
}

/* ========== RESPONSIVE UTILITIES ========== */
@media (max-width: 768px) {
	.hidden-mobile {
		display: none !important;
	}
}

@media (min-width: 768px) {
	.hidden-desktop {
		display: none !important;
	}
}

/* ========== UTILITY CLASSES ========== */
.text-center {
	text-align: center;
}

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }

.max-w-4xl {
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

.grid {
	display: grid;
}

.gap-8 {
	gap: 2rem;
}

.bg-gray-50 {
	background-color: #f9fafb;
}

.bg-white {
	background-color: white;
}
