/* ============================================================
   Transkop Oreovica — Custom CSS (Carpenter Demo Override)
   Based on: xArchi 32_index-carpenter.html
   Brand Colors:
     Primary: #F58220 (narandžasta)
     Dark:    #1a1a1a (footer/header dark)
   ============================================================ */

/* --- Typography override (Carpenter uses Instrument Sans) --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800&display=swap&display=swap');

* {
    --secondary-color: #1a1a1a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Instrument Sans", sans-serif;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: var(--secondary-color);
}

body {
    font-family: "Instrument Sans", sans-serif;
}

/* --- Navigation --- */
#mainmenu,
#mainmenu li a {
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

#mainmenu>li>a {
    font-weight: 600 !important;
}

/* --- Hero H1 --- */
h1 {
    text-align: left;
    letter-spacing: -2px;
    font-size: 64px;
    text-transform: none;
}

h2 {
    font-size: 40px;
    letter-spacing: -1.15px;
    margin-bottom: 0;
}

/* --- Buttons --- */
a.btn-custom,
a.btn-custom:hover,
a.btn-line-white,
.de_light a.btn-line-white {
    border-radius: 6px;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: none;
}

/* --- Gallery overlay uses brand color --- */
.dcg-one .dcg-overlay {
    background: rgba(var(--primary-color-1-rgb), .85);
}

/* --- Subheader (inner pages breadcrumb) --- */
#subheader {
    background: none;
}

#subheader h2 {
    position: relative;
}

#subheader h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    background: #ffffff;
    top: 50%;
    margin-left: 20px;
}

.crumb {
    font-size: 14px;
}

.crumb li a {
    color: #ffffff;
}

/* --- Phone number in header — white on dark bg --- */
.de_phone-simple .d-num {
    color: #ffffff;
    letter-spacing: -1.1px;
}

.de_phone-simple .d-num a {
    color: #ffffff !important;
}

/* --- Footer --- */
footer {
    background: var(--secondary-color);
    font-size: 14px;
}

footer .widget ul li {
    padding: 2px 0;
}

footer address span {
    padding: 2px 0;
}

footer .widget_recent_post li,
address span {
    border-bottom-color: rgba(255, 255, 255, .2);
}

.subfooter {
    background: rgba(0, 0, 0, .15);
}

/* --- Radno vreme u footeru: bez prelamanja --- */
footer address strong {
    white-space: nowrap;
}

/* --- Info bar top --- */
header .info {
    background: #F58220;
}

header .info .column,
header .info .column a {
    color: #ffffff !important;
}

header .info span.id-color,
header .info strong {
    color: #ffffff !important;
}

/* --- Logo size header: 67px --- */
#logo img.logo {
    max-height: 67px !important;
    width: auto !important;
}

/* --- Logo u footeru: prava boja, -25% od header logo --- */
footer img.logo-small {
    max-height: 75px !important;
    width: auto !important;
    filter: none !important;
}

/* --- Hero section: 75vh (25% manje od full-height) --- */
#section-hero {
    min-height: 75vh !important;
    max-height: 75vh;
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Hero overlay: 25% crna (slika vidljiva 75%) */
#section-hero .overlay-bg {
    background: rgba(0, 0, 0, 0.25) !important;
}

#section-hero .de-front {
    position: relative;
    z-index: 2;
}

#section-hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
    font-size: 52px;
    line-height: 1.1;
}

#section-hero .lead {
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
    font-size: 15px;
    line-height: 1.6;
}

/* --- Service cards: jednaka visina (row stretch) --- */
#section-services .row {
    align-items: stretch;
}

#section-services .col-lg-4 {
    display: flex;
}

#section-services .col-lg-4>div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#section-services .col-lg-4>div p.mb-0 {
    flex: 1;
}

/* --- "20 godina iskustva" counter box: 85% crni overlay (vidljivo samo 15%) --- */
.de-images .di-box-2 {
    position: relative;
    overflow: hidden;
}

.de-images .di-box-2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    pointer-events: none;
    z-index: 1;
}

.de-images .di-box-2>* {
    position: relative;
    z-index: 2;
}

/* --- About section: jarallax slika kamiona potamnjena 85% --- */
#section-about {
    position: relative;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
    pointer-events: none;
}

#section-about .container {
    position: relative;
    z-index: 2;
}

/* --- O Nama subheader: 75% crni overlay, TRANSKOP naslov --- */
.subheader-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    pointer-events: none;
}

#subheader .container {
    position: relative;
    z-index: 2;
}

.subheader-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color-1);
    margin: 0 0 6px 0;
}

.subheader-brand {
    font-size: 56px !important;
    font-weight: 800 !important;
    letter-spacing: 6px !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase !important;
}

/* --- Ukloni beli razmak ispod CTA a iznad footer-a --- */
#content>section:last-child,
#content>#call-to-action {
    margin-bottom: 0 !important;
}

#content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}