/*
Theme Name: Next Pixel Theme
Theme URI: https://nextpixel.gr/
Author: Next Pixel
Author URI: https://nextpixel.gr/
Description: Lightweight Elementor-ready WordPress theme for Next Pixel. Built as a clean canvas for custom Elementor layouts and HTML sections.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: next-pixel-theme
*/

:root {
  --np-primary: #00a3d6;
  --np-primary-dark: #007fa8;
  --np-dark: #07131b;
  --np-text: #0c1820;
  --np-muted: #66737c;
  --np-light: #f5fbfd;
  --np-white: #ffffff;
  --np-border: rgba(7, 19, 27, 0.10);
  --np-radius: 18px;
  --np-container: 1280px;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  color: var(--np-text);
  background: var(--np-white);
  font-family: 'Ubuntu', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--np-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--np-primary-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

.np-container {
  width: min(var(--np-container), calc(100% - 40px));
  margin-inline: auto;
}

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

.np-content-wrap {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.np-entry-title {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* Fallback header/footer only. Elementor Theme Builder can replace these. */
.np-site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--np-border);
  background: rgba(255,255,255,0.94);
}

.np-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.np-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--np-dark);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.np-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--np-primary);
}

.np-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.np-nav a {
  color: var(--np-text);
  font-size: 14px;
  font-weight: 500;
}

.np-site-footer {
  border-top: 1px solid var(--np-border);
  background: #fff;
}

.np-footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--np-muted);
  font-size: 13px;
}

/* Elementor-friendly defaults */
.elementor-page .np-site-main,
.elementor-template-full-width .np-site-main {
  width: 100%;
}

body.elementor-page .np-content-wrap,
body.elementor-template-full-width .np-content-wrap {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.np-canvas .np-site-header,
body.np-canvas .np-site-footer {
  display: none;
}

body.np-canvas .np-site-main {
  min-height: 100vh;
}

@media (max-width: 900px) {
  .np-header-inner {
    min-height: 70px;
  }

  .np-nav {
    display: none;
  }

  .np-footer-inner {
    padding: 26px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

.np-brand-wrap,
.np-brand-wrap .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.np-brand-wrap .custom-logo {
  display: block;
  width: auto;
  max-height: 48px;
}
