/* Glassmorphic variables */
:root {
  --nav-blur: blur(12px);
  --nav-bg: rgba(255, 255, 255, 0.7);
  --nav-color: #333333;
  --nav-active: #0070f3;
  --nav-hover: #0056b3;
  --nav-border: rgba(0,0,0,0.05);
  --global-bg: #fdfdfd;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--global-bg);
  color: #111;
  -webkit-font-smoothing: antialiased;
}

/* Base Navigation */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.global-nav-brand a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nav-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.global-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav-links li a {
  text-decoration: none;
  color: var(--nav-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.5rem 0;
}

.global-nav-links li a:hover {
  color: var(--nav-hover);
}

.global-nav-links li a.active {
  color: var(--nav-active);
  font-weight: 600;
}

/* Page Standard Layout */
.page-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #222;
}

.page-content {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #444;
}

.page-list {
  list-style-type: none;
  padding: 0;
}

.page-list li a {
  text-decoration: none;
  color: var(--nav-active);
  font-weight: 600;
}

.page-list li a:hover {
  text-decoration: underline;
}

/* WordPress compatibility and specific page typographies */
.has-text-align-center {
  text-align: center;
}

.page-content strong {
  color: #f2a900; /* Gold */
  font-weight: 700;
}

.page-content p.has-text-align-center strong {
  font-size: 1.8rem;
  font-weight: 800;
}

.featured-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.featured-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft premium shadow */
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--nav-bg);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid var(--nav-border);
  list-style: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--nav-color);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu li a:hover {
  background-color: rgba(0,0,0,0.03);
  color: var(--nav-hover);
}

/* Footer */
.global-footer {
  border-top: 1px solid var(--nav-border);
  background-color: transparent;
  padding: 60px 20px 40px;
  margin-top: 60px;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.footer-info {
  text-align: right;
  color: #555;
}

.footer-info p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.footer-info strong {
  color: #222;
  font-size: 1.05rem;
}

.footer-qrs {
  display: flex;
  gap: 30px;
}

.qr-block {
  text-align: center;
}

.qr-block p {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #333;
}

.qr-block img {
  width: 130px;
  height: 130px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .footer-info {
    text-align: center;
  }
}

/* Homepage Layout */
.qx-home {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.qx-background {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08); /* Premium shadow */
  margin-bottom: 30px;
}

.qx-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qx-welcome h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.qx-welcome p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin: 0 auto;
  max-width: 700px;
}

/* Contact Form Styles */
.contact-form-title {
  color: #fca311;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.custom-contact-form {
  max-width: 400px;
  margin: 0 auto;
  font-family: var(--font-body);
}

.custom-contact-form .form-group {
  margin-bottom: 1rem;
}

.custom-contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.custom-contact-form label strong {
  font-weight: 800;
  color: #222;
}

.custom-contact-form label span {
  color: #888;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  background-color: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 1px #ccc;
}

textarea.form-input {
  resize: vertical;
}

.form-submit-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.submit-btn {
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #111;
  transform: scale(1.02);
}
