/*
Theme Name: MZ Theme
Theme URI: https://example.com/mz-theme
Author: MZ
Author URI: https://example.com
Description: A clean WordPress theme compatible with Elementor. Header with logo, menu, and CTA. Customizer options for logo and background color.
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: mz-theme
Tags: custom-logo, custom-menu, featured-images, theme-options, threaded-comments, translation-ready, elementor, full-width-template
*/

/* ==========================================================================
   CSS Variables (overridden by Customizer)
   ========================================================================== */
:root {
  --mz-bg-color: #000000;
  --mz-header-bg: #000000;
  --mz-header-text: #ffffff;
  --mz-cta-bg: #ff0000;
  --mz-cta-text: #ffffff;
  --mz-footer-bg: #000000;
  --mz-footer-text: #ffffff;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  background-color: var(--mz-bg-color);
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.mz-site-header {
  background-color: var(--mz-header-bg);
  color: var(--mz-header-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mz-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.mz-site-logo {
  flex-shrink: 0;
}

.mz-site-logo a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mz-site-logo img {
  display: block;
  max-height: 48px;
  width: auto;
  height: auto;
}

.mz-site-logo .mz-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.mz-header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.mz-header-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mz-header-nav .nav-menu li {
  margin: 0;
}

.mz-header-nav .nav-menu a {
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  display: block;
  font-weight: 500;
  transition: opacity 0.2s;
}

.mz-header-nav .nav-menu a:hover {
  opacity: 0.8;
}

.mz-header-cta {
  flex-shrink: 0;
}

.mz-header-cta .mz-cta-button {
  display: inline-block;
  background-color: var(--mz-cta-bg);
  color: var(--mz-cta-text);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
}

.mz-header-cta .mz-cta-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ==========================================================================
   Main content (Elementor handles per-page content)
   ========================================================================== */
.mz-site-main {
  min-height: 50vh;
}

.elementor-page .mz-site-main .elementor-section {
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.mz-site-footer {
  background-color: var(--mz-footer-bg);
  color: var(--mz-footer-text);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.mz-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.mz-site-footer a {
  color: inherit;
  text-decoration: none;
}

.mz-site-footer a:hover {
  text-decoration: underline;
}

.mz-footer-copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

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