/*
Theme Name: Version 2 testRP_Conflict_Of_Nations:ww3
Author: Inars Birins
Author URI: http://www.birins.co.uk
Description: Tēma spēles projekta izveidei ar vairākām sekcijām un formām.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;700&family=Source+Sans+Pro:wght@300;400;600&family=Unbounded:wght@400;700&display=swap');

/* Variables */
:root {
  --background-color: #111318;       /* Tumšs ogleklis */
  --main-color: #e0e0e0;             /* Maigi gaišs teksts */
  --accent-color: #537189;           /* Dūmu zils */
  --headings-color: #a0a0a0;         /* Pelēki elegants */
  --title-color: #dcb65c;            /* Karaliskais zelts */
}

/* Decorative Borders */
.aristocratic-border {
  border: 2px solid var(--accent-color);
  padding: 20px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(83, 113, 137, 0.6);
}

.aristocratic-border::before,
.aristocratic-border::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  background-color: var(--background-color);
}

.aristocratic-border::before {
  top: -15px;
  left: -15px;
}

.aristocratic-border::after {
  bottom: -15px;
  right: -15px;
}

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

html {
  scroll-behavior: smooth;
}

/* Base Styles */
body {
  max-width: 1400px;
  margin: auto;
  padding: 0;
  background-color: var(--background-color);
  color: var(--main-color);
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.6;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
}

article, main, header, footer { 
  margin: 20px auto;
  background-color: rgba(17, 19, 24, 0.08);
  padding: 10px 20px;
  color: var(--main-color);
  border-radius: 6px;
  backdrop-filter: blur(5px);
  text-align: justify;
  line-height: calc(20px + 15px);
}

/* Typography */
h1, h2 {
  font-family: 'Unbounded', sans-serif;
  color: var(--title-color);
  font-weight: 700;
}

h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  color: var(--headings-color);
  font-weight: 500;
}

.title, .special-heading {
  color: var(--title-color);
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* WPForms Field Styling */
.wpforms-container .wpforms-field-label {
  color: var(--title-color) !important;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 1.1rem !important;
  margin-bottom: 5px;
}

button, .wpforms-container .wpforms-submit {
  width: 100%;
  margin: auto;
  background-color: var(--accent-color) !important;
  border: 2px solid var(--accent-color)!important;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s !important;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 500;
}

button, .wpforms-container .wpforms-submit.glow-btn {
  box-shadow: 0 0 10px rgba(83, 113, 137, 0.4);
  transition: box-shadow 0.3s ease-in-out;
}

button, .wpforms-container .wpforms-submit.glow-btn:hover {
  box-shadow: 0 0 20px rgba(83, 113, 137, 0.9);
}

.wpforms-container .wpforms-recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Links & Accents */
a, button, .accent {
  color: var(--accent-color);
  text-decoration: none;
}

/* Header Styles */
.header-container {
  display: flex;
  align-items: center;
  padding: 10px;
}

.header-container.left,
.header-container.right {
  justify-content: space-between;
}

.header-container.center {
  justify-content: center;
}

/* Logo */
.logo-wrapper {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrapper .custom-logo {
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Primary Navigation */
.primary-nav {
  color: var(--headings-color);
  font-family: 'EB Garamond', serif;
  font-size: 1.5em;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.primary-nav ul li {
  margin: 0 3%;
  text-shadow: #111318;
}

.primary-nav ul li a {
  color: inherit;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }
}

/* Product Sections */
.product-category-block {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product {
  width: 100%;
  max-width: 300px;
}

.product-title {
  font-size: 1.2em;
  margin-bottom: 5px;
}

.product-description {
  font-size: 0.95em;
  margin-bottom: 5px;
}

.product-price {
  font-weight: bold;
}
