/*
	Theme Name: ITTechLux
	Theme URI: https://ittechlux.com
	Description: ITTechLux – a clean, modern WordPress theme based on HTML5 Blank with sticky navigation, improved typography, and mobile-friendly layout.
	Version: 1.0.9
	Author: ITTechLux
	Author URI: https://ittechlux.com
	Tags: Blank, HTML5, CSS3, Sticky Nav, Responsive

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    RESET & BASE
\*------------------------------------*/

*,
*:after,
*:before {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	font: 300 14px/1.6 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #333;
	background: #f8f9fa;
	/* offset so content starts below sticky nav */
	padding-top: 60px;
}

img {
	max-width: 100%;
	vertical-align: bottom;
	display: inline-block;
}

a {
	color: #3157DE;
	text-decoration: none;
	transition: color 0.2s ease;
}
a:hover  { color: #000066; }
a:focus  { outline: 2px solid #3157DE; outline-offset: 2px; color: #0138FF; }
a:active { outline: 0; }

input:focus { outline: 0; }

ol, ul {
	list-style: none;
	padding: 0 0 0 5px;
}
li { padding-top: 15px; }

/*------------------------------------*\
    STICKY NAVIGATION
\*------------------------------------*/

.sitenav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: #1a1a2e;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
	height: 60px;
}

.sitenav__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 24px;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 24px;
}

/* Brand / site name */
.sitenav__brand {
	font-size: 1.6rem;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none;
	letter-spacing: 0.04em;
	white-space: nowrap;
	flex-shrink: 0;
}
.sitenav__brand:hover { color: #7eb6ff !important; }

/* The nav list itself */
.sitenav__menu {
	flex: 1;
}

.sitenav__list,
.sitenav__menu .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sitenav__list li,
.sitenav__menu .menu li {
	padding: 0;
	position: relative;
}

.sitenav__list li a,
.sitenav__menu .menu li a {
	display: block;
	padding: 8px 14px;
	color: #ccd6f6;
	font-size: 1.35rem;
	font-weight: 500;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.18s, color 0.18s;
	white-space: nowrap;
}

.sitenav__list li a:hover,
.sitenav__menu .menu li a:hover {
	background: rgba(255,255,255,0.1);
	color: #fff;
}

/* Active / current page */
.sitenav__list li.current-menu-item > a,
.sitenav__menu .menu li.current-menu-item > a,
.sitenav__list li.current_page_item > a,
.sitenav__menu .menu li.current_page_item > a {
	background: #3157DE;
	color: #fff;
}

/* Simple dropdown support */
.sitenav__list .sub-menu,
.sitenav__menu .menu .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	background: #16213e;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	min-width: 180px;
	padding: 6px 0;
	z-index: 1001;
}

.sitenav__list li:hover > .sub-menu,
.sitenav__menu .menu li:hover > .sub-menu {
	display: block;
}

.sitenav__list .sub-menu li a,
.sitenav__menu .menu .sub-menu li a {
	border-radius: 0;
	padding: 9px 18px;
}

/* Hamburger toggle (mobile) */
.sitenav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	margin-left: auto;
	flex-shrink: 0;
}
.sitenav__toggle span {
	display: block;
	height: 2px;
	background: #ccd6f6;
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.25s;
}
.sitenav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.sitenav__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.sitenav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/*------------------------------------*\
    LAYOUT
\*------------------------------------*/

.wrapper {
    max-width: 1600px;
    width: 95%;
    min-width: 0;
    margin: 24px auto;
    display: block;
}

.content-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
}

.content-row > main {
    flex: 1 1 0%;
    min-width: 0;
}

.content-row > aside.sidebar {
    flex: 0 0 240px;
    width: 240px;
    position: sticky;
    top: 72px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.front-page {
    width: 40%;
    float: left;
}

.box_fair {
    font: 300 14px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 650px;
    width: 100%;
    position: relative;
    margin-bottom: -50px;
    left: 50%;
    margin-left: -325px;
    display: inline-block;
}

.fair_column {
    float: left;
    width: 48.5%;
    padding: 5px;
}

.fair_row::after {
    content: "";
    clear: both;
    display: table;
}

.header { }
.logo { }
.logo-img { }

.footer {
    width: 100%;
    text-align: right;
    margin: 20px 0;
    color: #6A6A6A;
    font-size: 75%;
}

/*------------------------------------*\
    SIDEBAR
\*------------------------------------*/

.sidebar {
    padding-left: 16px;
}

.sidebar-widget {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #d0d0d0;
}

.sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Remove default ul padding/margin inside sidebar */
.sidebar ul,
.sidebar #menu_bar {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Sidebar nav items */
.sidebar li,
.sidebar #menu_bar li,
.sidebar .widget_nav_menu li {
    padding: 4px 0;
    line-height: 1.5;
}

/* Sidebar links — strong readable color */
.sidebar a,
.sidebar #menu_bar a {
    color: #1a3a8f;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.15s;
}

.sidebar a:hover,
.sidebar #menu_bar a:hover {
    color: #000080;
    text-decoration: underline;
}

/* Active / current page */
.sidebar .current-menu-item > a,
.sidebar .current_page_item > a,
.sidebar #menu_bar li.current-menu-item a {
    color: #0a0a5a;
    font-weight: 700;
}

/* Widget titles */
.sidebar-widget .widgettitle,
.sidebar-widget h2,
.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px 0;
}

/*------------------------------------*\
    STICKY NAVIGATION BAR
\*------------------------------------*/

.sitenav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a1a2e;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    height: 60px;
}

.sitenav__inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sitenav__brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
}

.sitenav__brand:hover { color: #7eb6ff !important; }

.sitenav__menu { flex: 1; }

.sitenav__list,
.sitenav__menu .menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitenav__list li,
.sitenav__menu .menu li { padding: 0; position: relative; }

.sitenav__list li a,
.sitenav__menu .menu li a {
    display: block;
    padding: 8px 14px;
    color: #ccd6f6;
    font-size: 1.35rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.sitenav__list li a:hover,
.sitenav__menu .menu li a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sitenav__list li.current-menu-item > a,
.sitenav__menu .menu li.current-menu-item > a {
    background: #3157DE;
    color: #fff;
}

.sitenav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.sitenav__toggle span {
    display: block;
    height: 2px;
    background: #ccd6f6;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

p.about-page {
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

/*------------------------------------*\
    LEGACY MENU
\*------------------------------------*/

#menu_bar li.current-menu-item a { color: #0a0a5a; font-weight: 700; }
#menu_bar a { color: #1a3a8f; text-decoration: none; }
#menu_bar a:hover { color: #000080; }
#menu_bar a:focus { outline: 0; color: #0138FF; }

/*------------------------------------*\
    SELECTION
\*------------------------------------*/

::selection         { background: #3157DE; color: #fff; text-shadow: none; }
::-webkit-selection { background: #3157DE; color: #fff; text-shadow: none; }
::-moz-selection    { background: #3157DE; color: #fff; text-shadow: none; }

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 768px) {
    .content-row {
        flex-direction: column;
    }
    .content-row > aside.sidebar {
        position: static;
        width: 100%;
        flex: none;
        max-height: none;
        overflow-y: visible;
        padding-left: 0;
        margin-top: 24px;
    }
    .sitenav__toggle { display: flex; }
    .sitenav__menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 12px 0 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .sitenav__menu.is-open { display: block; }
    .sitenav__list,
    .sitenav__menu .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .sitenav__list li a,
    .sitenav__menu .menu li a {
        border-radius: 0;
        padding: 12px 24px;
    }
    .wrapper { width: 95%; }
}

/*------------------------------------*\
    CLEAR
\*------------------------------------*/

.clear:before, .clear:after { content: ' '; display: table; }
.clear:after { clear: both; }
.clear { *zoom: 1; }

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone  { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft  { float: left;  margin: 5px 20px 20px 0; }

a img.alignright  { float: right; margin: 5px 0 20px 20px; }
a img.alignnone   { margin: 5px 20px 20px 0; }
a img.alignleft   { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.social img { width: 20px; margin: 0; }

.wp-caption {
    background: #FFF;
    border: 1px hidden #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 20px;
    text-align: right;
}

.wp-caption img {
    border: 0;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    color: #000;
    padding: 0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    .sitenav { display: none; }
    * { background: transparent !important; color: #000 !important; }
    a[href]:after { content: " (" attr(href) ")"; }
    p, h2, h3 { orphans: 3; widows: 3; }
    h2, h3 { page-break-after: avoid; }
}

/*------------------------------------*\
    VERSION: 1.0.6
\*------------------------------------*/

/*------------------------------------*\
    LOGO COLUMNS
\*------------------------------------*/

.logocolumn {
    float: left;
    width: 33.33%;
    padding: 5px;
}

.logorow::after {
    content: "";
    padding-left: 30px;
    clear: both;
    display: table;
}

@media screen and (max-width: 500px) {
    .logocolumn {
        width: 100%;
    }
}

/*------------------------------------*\
    IMAGE HOVER — LIFT + SHADOW
\*------------------------------------*/

img,
.wp-caption img,
article img,
.entry-content img,
main img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

img:hover,
.wp-caption img:hover,
article img:hover,
.entry-content img:hover,
main img:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
