/*
Theme Name:   Blocksy Child - Nakuru
Theme URI:    https://www.nakuru.it
Description:  Child theme Blocksy per Nakuru Srl. Replica il design system del sito BeExtreme originale (palette, tipografia Ubuntu, accenti magenta) con correzioni.
Author:       Nakuru Srl
Template:     blocksy
Version:      1.0.0
Text Domain:  blocksy-child-nakuru
*/

/* ==========================================================================
   NAKURU DESIGN TOKENS — estratti da content/css/extreme.css del sito originale
   ========================================================================== */

:root {
	/* Brand */
	--nk-primary: #d01855;        /* magenta Nakuru (accent, link, underline menu) */
	--nk-primary-dark: #b0063e;   /* hover bottoni */
	/* Colori sezione secondari (usati nelle pagine interne) */
	--nk-green: #238C00;          /* banner titolo NAKPACK */
	--nk-green-alt: #46AC2E;      /* box valori Chi siamo */
	--nk-blue: #0878b8;           /* box Visione/Mission */
	--nk-brown: #ba8750;          /* box Chi siamo */
	/* Neutri */
	--nk-text: #606062;           /* testo body originale */
	--nk-heading: #000000;
	--nk-bg-alt: #f7f7f7;
	--nk-border: #e5e5e5;
}

/* ==========================================================================
   TIPOGRAFIA — scala originale (Ubuntu), leggermente ammorbidita per il 2026:
   body portato da 14px a 16px per leggibilità/accessibilità ("fedele ma corretto")
   ========================================================================== */

body {
	color: var(--nk-text);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--nk-heading);
	font-family: "Ubuntu", Arial, Tahoma, sans-serif;
}

/* Scala titoli originale: H1 70/300, H2 42/700, H3 32/500, H4 21/700, H5 18/400 */
h1 { font-size: clamp(42px, 5vw, 70px); font-weight: 300; line-height: 1.05; }
h2 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 700; line-height: 1.1; }
h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.15; }
h4 { font-size: 21px; font-weight: 700; line-height: 1.2; }
h5 { font-size: 18px; font-weight: 400; line-height: 1.3; }
h6 { font-size: 15px; font-weight: 400; line-height: 1.4; }

/* ==========================================================================
   COMPONENTI RICORRENTI DEL LAYOUT ORIGINALE
   ========================================================================== */

/* Il pattern "titolo + hr magenta corta + sottotitolo" usato in tutte le pagine interne.
   In Elementor: assegnare la classe .nk-heading-divider al widget Divider */
.nk-heading-divider .elementor-divider-separator,
hr.nk-divider {
	border-color: var(--nk-primary);
	border-top-width: 2px;
	max-width: 80px;
	margin-left: auto;
	margin-right: auto;
}

/* Banner colorato di intestazione pagina (es. barra verde "NAKPACK® Extreme bottle protection") */
.nk-page-banner {
	padding: 30px;
	color: #fff;
}
.nk-page-banner h1, .nk-page-banner h2, .nk-page-banner h3 { color: #fff; margin: 0; }
.nk-page-banner .nk-banner-desc { font-weight: 300; font-size: .6em; letter-spacing: .5px; }
.nk-page-banner--green  { background: var(--nk-green); }
.nk-page-banner--blue   { background: var(--nk-blue); }
.nk-page-banner--brown  { background: var(--nk-brown); }
.nk-page-banner--magenta{ background: var(--nk-primary); }

/* Box colorati Visione / Mission / Valori */
.nk-color-box { padding: 30px; color: #fff; }
.nk-color-box h1,.nk-color-box h2,.nk-color-box h3,.nk-color-box h4 { color:#fff; }
.nk-color-box--blue  { background: var(--nk-blue); }
.nk-color-box--green { background: var(--nk-green-alt); }
.nk-color-box--brown { background: var(--nk-brown); }

/* Bottoni stile tema originale */
.nk-button, a.nk-button {
	background: var(--nk-primary);
	color: #fff;
	font-family: "Ubuntu", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 14px 30px;
	display: inline-block;
	transition: background .2s ease;
}
.nk-button:hover { background: var(--nk-primary-dark); color:#fff; }

/* Evidenziazione JOBS nel menu (come nell'originale: voce colorata) */
.nk-menu-jobs > a,
#header [data-id] .menu > li.nk-menu-jobs > a {
	color: var(--nk-primary) !important;
}

/* Footer: copyright centrato come l'originale */
.nk-footer-copy { text-align: center; font-size: 13px; }
.nk-footer-copy a { color: var(--nk-text); text-decoration: underline; }
.nk-footer-copy a:hover { color: var(--nk-primary); }

/* Utility spaziatura sezioni (l'originale usa 120px top nelle sezioni interne) */
.nk-section-pad { padding-top: 120px; padding-bottom: 20px; }
@media (max-width: 767px) {
	.nk-section-pad { padding-top: 60px; }
}


/* Commenti: rimuove il campo Sito web */
add_filter( 'comment_form_default_fields', function ( $fields ) {
	unset( $fields['url'] );
	return $fields;
} );
