/* =========================================
MECAOBD - MAIN STYLES
Industrial Automotive UI
========================================= */

body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:
linear-gradient(rgba(11,15,20,0.55), rgba(11,15,20,0.55)),
url('/assets/img/bg_steel_perforated.png');
background-size:cover;
background-attachment:fixed;
color:#E6EDF3;
line-height:1.6;
}

/* =========================================
HEADER
========================================= */

.site-header{
position:sticky;
top:0;
background:#06090D;
border-bottom:1px solid #1C222B;
z-index:1000;
}

.nav-container{
max-width:1200px;
margin:auto;
padding:16px 20px;
display:flex;
align-items:center;
justify-content:space-between;
}

.site-logo{
height:60px;
width:auto;
display:block;
}

.nav-menu a{
margin-left:22px;
color:#E6EDF3;
text-decoration:none;
font-size:15px;
transition:color .2s ease;
}

.nav-menu a:hover{
color:#00C2FF;
}

/* =========================================
HERO
========================================= */

.hero{
text-align:center;
padding:120px 20px;
background:transparent;
}

.hero h1{
font-size:48px;
margin-bottom:12px;
letter-spacing:1px;
}

.hero p{
font-size:20px;
max-width:700px;
margin:0 auto 35px;
color:#9DA7B3;
}

.hero h2{
font-size:28px;
font-weight:500;
color:#B6C0CC;
margin-top:8px;
letter-spacing:0.5px;
}

/* =========================================
SEARCH
========================================= */

.search-box{
margin:30px auto 40px;
max-width:520px;
display:flex;
background:#11161D;
border:1px solid #1C222B;
border-radius:8px;
overflow:hidden;
}

.search-input{
flex:1;
padding:14px;
border:none;
background:transparent;
color:#E6EDF3;
font-size:16px;
outline:none;
}

.search-input::placeholder{
color:#6B7280;
}

.search-button{
padding:14px 22px;
border:none;
background:#00C2FF;
color:#0B0F14;
font-weight:bold;
cursor:pointer;
transition:background .2s ease;
}

.search-button:hover{
background:#33D0FF;
}

/* =========================================
SECTIONS
========================================= */

.section{
max-width:1200px;
margin:auto;
padding:80px 20px;
text-align:center;
background:#11161D;
}

.section h2{
font-size:28px;
margin-bottom:20px;
}

/* =========================================
CODE GRID
========================================= */

.codes-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
margin-top:30px;
}

.codes-grid a{
display:block;
background:#0f1b2b;
padding:12px;
border-radius:6px;
text-decoration:none;
color:#58a6ff;
font-weight:500;
transition:all .2s;
}

.codes-grid a:hover{
background:#152a44;
transform:translateY(-2px);
}

/* =========================================
LISTS
========================================= */

ul{
list-style:none;
padding:0;
}

ul li{
margin:12px 0;
}

/* =========================================
BUTTONS
========================================= */

.btn{
display:inline-block;
padding:14px 26px;
margin:10px;
border-radius:8px;
text-decoration:none;
font-weight:bold;
transition:all .2s ease;
}

.btn-primary{
background:#00C2FF;
color:#0B0F14;
}

.btn-primary:hover{
background:#33D0FF;
}

.btn-secondary{
border:1px solid #00C2FF;
color:#00C2FF;
}

.btn-secondary:hover{
background:rgba(0,194,255,0.1);
}

/* =========================================
FOOTER
========================================= */

footer{
text-align:center;
padding:40px;
background:#06090D;
font-size:14px;
color:#9DA7B3;
}

footer a{
color:#00C2FF;
text-decoration:none;
margin:0 10px;
}

/* =========================================
TEXT LAYOUT IMPROVEMENT
========================================= */

.section p{
max-width:750px;
margin:18px auto;
line-height:1.7;
color:#C9D1D9;
}

.section ul{
max-width:520px;
margin:30px auto 10px;
text-align:left;
}

.section ul li{
padding:6px 0;
font-size:16px;
border-left:3px solid #00C2FF;
padding-left:12px;
}

.section h2{
margin-bottom:25px;
}

/* =========================================
CODIGOS PAGE FIX
========================================= */

.section a{
color:#58A6FF;
text-decoration:none;
transition:color .2s ease, opacity .2s ease;
}

.section a:visited{
color:#58A6FF;
}

.section a:hover{
color:#00C2FF;
text-decoration:underline;
}

.section a:active{
color:#33D0FF;
}

.section .series-links{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px 14px;
max-width:900px;
margin:24px auto 40px;
}

.section .series-links a{
display:inline-block;
padding:8px 12px;
background:#0F1B2B;
border:1px solid #1C222B;
border-radius:8px;
font-weight:600;
}

.section .series-links a:hover{
background:#152A44;
text-decoration:none;
}

.section .codes-links{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(90px,1fr));
gap:10px 12px;
max-width:1100px;
margin:30px auto 0;
text-align:center;
}

.section .codes-links a{
display:block;
padding:10px 8px;
background:#0F1B2B;
border:1px solid #1C222B;
border-radius:8px;
font-weight:600;
line-height:1.2;
}

.section .codes-links a:hover{
background:#152A44;
text-decoration:none;
transform:translateY(-1px);
}

@media (max-width:768px){
.section .codes-links{
grid-template-columns:repeat(auto-fit,minmax(78px,1fr));
gap:8px;
}

.section .series-links{
gap:10px;
}
}

/* ================================
CODE SERIES HERO FIX
================================ */

.hero{
padding-top:40px;
padding-bottom:60px;
}
/* ================================
BREADCRUMB
================================ */

.breadcrumb{
margin:0 0 18px 0;
font-size:14px;
text-align:center;
color:#C9D1D9;
}

.breadcrumb a{
color:#58A6FF;
text-decoration:none;
}

.breadcrumb a:visited{
color:#58A6FF;
}

.breadcrumb a:hover{
color:#00C2FF;
text-decoration:underline;
}
