/*
Theme Name: WP Creative Hub
Theme URI: https://logomuvek.hu
Author: Kelemen Csaba
Author URI: https://logomuvek.hu
Description: Minimal, tiszta WordPress alap sablon egyedi HTML oldalakhoz.
Version: 1.0
License: GPL v2 or later
Text Domain: wp-creative-hub
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0b1020;
    color: #fff;
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* HEADER */
.site-header {
    background: #0e1326;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    /* FIX: header mindig a banner fölött legyen */
    position: relative;
    z-index: 2000;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

/* NAV (desktop alap) */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #ff6a2a;
}

/* CONTENT */
.site-content {
    padding: 60px 0;
    min-height: 70vh;
}

/* FOOTER */
.site-footer {
    background: #0e1326;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* ===== HAMBURGER (STABIL) ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #fff;
    transition: 0.25s ease;
}

/* Mobile layout */
@media (max-width: 900px) {

    .main-nav {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    /* FONTOS: WP menü UL osztálya legyen "nav-menu" (header.php-ban menu_class => 'nav-menu') */
    .main-nav .nav-menu {
        position: absolute;
        top: calc(100% + 12px); /* a header alá nyíljon, ne fix 60px */
        right: 0;

        background: #0e1326;
        flex-direction: column;
        gap: 14px;

        padding: 18px;
        width: 240px;

        display: none;

        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 12px;

        /* FIX: ne a hero mögé nyíljon */
        z-index: 3000;
        box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    }

    .main-nav .nav-menu.active {
        display: flex;
    }

    .main-nav .nav-menu li {
        width: 100%;
    }

    .main-nav .nav-menu a {
        display: block;
        width: 100%;
    }
}

/* ===== KEZDŐLAP "Kezdőlap" CÍM REJTÉS (ha kilátszik a hero mögött) ===== */
/* Ha a kezdőlapon a tartalom elején van egy automatikus H1 ("Kezdőlap"), ezt elrejti */
.home .site-content .container > h1:first-child {
    display: none;
}
/* ===== LOGO ===== */

.site-logo img.logo-img {
    height: 300px;
    width: auto;
    display: block;
}

/* Mobilon kicsit kisebb */
@media (max-width: 900px) {
    .site-logo img.logo-img {
        height: 130px;
    }
}
/* ===== HEADER FIX MAGASSÁG ===== */

.site-header {
    height: 110px;              /* fix magasság */
    padding: 0;                 /* ne növelje */
    display: flex;
    align-items: center;
}

/* A belső wrapper is igazodjon */
.site-header-inner {
    height: 100%;
    align-items: center;
}

/* ===== LOGO CONTROL ===== */

.site-logo {
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;           /* levágja a felső/alsó üres részt */
}

.site-logo img.logo-img {
    height: 300px;              /* itt lehet nagy */
    width: auto;
    object-fit: contain;
}
/* ===== HEADER LOGO BALRA KIHÚZÁS ===== */

.site-header .container {
    width: 100%;
    padding-left: 40px;   /* állítható */
    padding-right: 40px;
}
/* ===== MOBIL HEADER FIX ===== */
@media (max-width: 900px) {

    .site-header {
        height: 90px; /* kisebb mobil header */
    }

    .site-header .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-header-inner {
        justify-content: space-between;
    }

    .site-logo {
        margin-left: -50px;      /* ne legyen negatív */
    }

    .site-logo img.logo-img {
        height: 180px;        /* mobilon kisebb logó */
        transform: none;     /* ha volt eltolás, kikapcsoljuk */
    }

    .menu-toggle {
        margin-left: auto;   /* hamburger mindig jobbra */
    }
}
/* ===== SERVICES KÁRTYÁK: NAGY IKON, KERET NÉLKÜL ===== */

/* Ikon körüli doboz eltüntetése */
.wch-card .wch-card__icon{
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    display: block !important;
}

/* Ikon méret növelése */
.wch-card .wch-card__icon img{
    width: 160px !important;   /* <- nagyobb ikon */
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* Mobilon kicsit kisebb, de még mindig látványos */
@media (max-width: 900px){
    .wch-card .wch-card__icon img{
        width: 120px !important;
    }
}
/* ===== FOOTER (PRO) ===== */
.site-footer{
  padding: 54px 0 26px;
  background: #0e1326;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer-logo img{
  height: 46px;
  width: auto;
  display: block;
}

.footer-desc{
  margin: 10px 0 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  max-width: 48ch;
}

.footer-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

.footer-col h3{
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.footer-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a{
  color: rgba(255,255,255,.74);
  text-decoration: none;
  transition: .2s ease;
}
.site-footer a:hover{
  color: #ff6a2a;
}

.footer-cta{
  display:inline-flex;
  margin-top: 12px;
  font-weight: 800;
  color: #fff;
}

.site-footer-bottom{
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,.60);
  font-size: 13px;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px){
  .site-footer-inner{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px){
  .site-footer-inner{
    grid-template-columns: 1fr;
  }
  .footer-logo img{
    height: 110px;
  }
}