/*
Theme Name: POWHR 360
Theme URI: https://example.com
Author: Hristina
Description: Custom minimal landing page theme for POWHR 360° — social media, online marketing, web design & branding.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: powhr360
*/

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

html, body {
  height: 100%;
}

body {
  background-color: #0e2318;
  color: #f4f1ea;
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ---------- Layout shell ---------- */
.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.header-tagline {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4f1ea;
  opacity: 0.92;
  white-space: nowrap;
}

.header-tagline .sep {
  margin: 0 8px;
  opacity: 0.55;
}

.header-nav ul {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  opacity: 0.7;
}

/* ---------- Hero / Logo ---------- */
.site-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 120px;
  min-height: 60vh;
}

.hero-logo-img {
  width: min(70vw, 350px);
  height: auto;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 24px 48px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4f1ea;
  opacity: 0.45;
}

/* ---------- Impressum / Contact header override ---------- */
/* Keep the nav on the same row as the logo, right-aligned and
   vertically centered with it, at every screen size. */
@media (max-width: 1024px) {
  .page-impressum .site-header,
  .page-contact .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    flex-wrap: nowrap;
  }

  .page-impressum .header-nav ul,
  .page-contact .header-nav ul {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .page-impressum .site-header,
  .page-contact .site-header {
    padding: 16px 20px;
    gap: 10px;
  }

  .page-impressum .header-logo-small img,
  .page-contact .header-logo-small img {
    height: 30px;
  }

  .page-impressum .header-nav ul,
  .page-contact .header-nav ul {
    gap: 12px;
  }

  .page-impressum .header-nav a,
  .page-contact .header-nav a {
    font-size: 10px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 32px;
    gap: 14px;
  }

  .header-nav ul {
    justify-content: center;
  }

  .hero-logo-img {
    width: min(72vw, 420px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 20px;
    gap: 12px;
  }

  .header-tagline {
    font-size: clamp(7px, 2.3vw, 11px);
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  .header-nav ul {
    gap: 18px;
  }

  .header-nav a {
    font-size: 11px;
  }

  .site-hero {
    padding: 20px 16px 60px;
  }

  .hero-logo-img {
    width: min(84vw, 340px);
  }
}

@media (max-width: 380px) {
  .hero-logo-img {
    width: 88vw;
  }
}

/* ---------- Impressum / legal page ---------- */
.page-content.impressum {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 72px 24px 100px;
}

.impressum-inner {
  width: 100%;
  max-width: 640px;
}

.impressum-inner h1 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 4px;
}

.impressum-inner .eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 40px;
}

.impressum-inner h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  font-size: 26px;
  margin: 8px 0 20px;
}

.impressum-inner h3 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 32px 0 12px;
}

.impressum-inner p {
  font-size: 14.5px;
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 14px;
}

.impressum-inner ul {
  margin: 4px 0 4px 0;
}

.impressum-inner li {
  font-size: 14.5px;
  line-height: 1.9;
  opacity: 0.92;
  padding-left: 14px;
  position: relative;
}

.impressum-inner li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  opacity: 0.6;
}

.impressum-inner a {
  border-bottom: 1px solid rgba(244, 241, 234, 0.35);
  transition: opacity 0.2s ease;
}

.impressum-inner a:hover,
.impressum-inner a:focus-visible {
  opacity: 0.7;
}

.impressum-inner hr {
  border: none;
  border-top: 1px solid rgba(244, 241, 234, 0.15);
  margin: 28px 0;
}

@media (max-width: 640px) {
  .page-content.impressum {
    padding: 48px 20px 72px;
  }
}

.header-logo-small {
  display: inline-flex;
  align-items: center;
}

.header-logo-small img {
  height: 42px;
  width: auto;
  display: block;
}

/* ---------- Contact page ---------- */
.page-content.contact-page {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 72px 24px 100px;
}

.contact-inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.contact-inner h1 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 48px);
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #ffffff;
  color: #0e2318;
  border: none;
  border-radius: 2px;
  padding: 13px 14px;
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(14, 35, 24, 0.45);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid #0e2318;
  outline-offset: 1px;
}

.contact-form button {
  margin-top: 6px;
  align-self: flex-start;
  background: transparent;
  border: 1px solid #f4f1ea;
  color: #f4f1ea;
  padding: 13px 34px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #f4f1ea;
  color: #0e2318;
}

.form-notice {
  font-size: 13px;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-radius: 2px;
  line-height: 1.5;
}

.form-notice.success {
  background: rgba(244, 241, 234, 0.12);
}

.form-notice.error {
  background: rgba(255, 120, 120, 0.14);
  color: #ffc2c2;
}

@media (max-width: 640px) {
  .page-content.contact-page {
    padding: 48px 20px 72px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- Focus visibility ---------- */
a:focus-visible {
  outline: 1px solid #f4f1ea;
  outline-offset: 4px;
}
