/*
Theme Name: Pro Miroslav
Theme URI: https://example.com/pro-miroslav
Author: Pro Miroslav
Author URI: https://example.com
Description: Lightweight Elementor Free compatible theme for Pro Miroslav website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: pro-miroslav
*/

:root {
  --pm-navy: #3d8fc9;
  --pm-navy-mid: #2a6fa8;
  --pm-blue: #2a6fa8;
  --pm-blue-light: #3d8fc9;
  --pm-accent: #5cb85c;
  --pm-accent-light: #6fca6f;
  --pm-accent-pale: #edf8ed;
  --pm-white: #ffffff;
  --pm-off: #f7f8fc;
  --pm-text: #2a6fa8;
  --pm-muted: #5a6580;
  --pm-border: rgba(42, 111, 168, 0.16);
  --pm-section-gap: 5rem;
  --r: 6px;
  --r-lg: 12px;
  --shadow-card: 0 2px 24px rgba(11, 31, 74, 0.08);
  --shadow-hover: 0 8px 40px rgba(11, 31, 74, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--pm-text);
  line-height: 1.6;
  background: var(--pm-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pm-border);
}

.topbar {
  background: var(--pm-navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  padding: 7px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-main .container {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pm-navy);
  color: #fff;
  font-weight: 700;
}

.nav-logo-text strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-size: 11px;
  color: var(--pm-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--r);
  color: var(--pm-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links .current-menu-item > a {
  background: var(--pm-off);
  color: var(--pm-navy-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.2rem;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--pm-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--pm-accent-light);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  border: 1px solid var(--pm-border);
  background: #fff;
}

.site-main {
  min-height: 50vh;
}

.site-footer {
  background: #070f26;
  color: rgba(255, 255, 255, 0.6);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
}

.site-footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.pm-content-wrap {
  padding: 2rem 0;
}

.pm-content-wrap .entry-title {
  margin-top: 0;
}

@media (max-width: 992px) {
  .container {
    padding: 0 1rem;
  }

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    background: var(--pm-off);
  }
}
