/*
Theme Name: HAVREX Premium
Description: Namjenska WordPress tema za HAVREX. Savremeni vizuelni identitet za stanogradnju, poslovno savjetovanje i investicione projekte, uz očuvanje postojećeg sadržaja i dodataka.
Version: 1.0.0
Requires at least: 5.5
Requires PHP: 7.4
Text Domain: havrex-premium
*/
:root { --hx-ink:#172b2a; --hx-dark:#142827; --hx-dark-2:#203b38; --hx-gold:#c6aa72; --hx-gold-dark:#795c28; --hx-paper:#f6f5f1; --hx-muted:#536561; --hx-line:#d8ddd5; --hx-max:1450px; --hx-side:clamp(20px,6vw,110px); --hx-pad:clamp(52px,7vw,104px); }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body.havrex-site { margin:0; background:var(--hx-paper); color:var(--hx-ink); font-family:Arial,Helvetica,sans-serif; font-size:16px; line-height:1.7; overflow-wrap:break-word; }
.havrex-site a { color:inherit; text-decoration:none; }
.havrex-site button,.havrex-site input,.havrex-site select,.havrex-site textarea { font:inherit; }
.havrex-site button { cursor:pointer; }
.havrex-site a:focus-visible,.havrex-site button:focus-visible { outline:3px solid #b9954f; outline-offset:4px; }
.havrex-site img { max-width:100%; height:auto; vertical-align:middle; }
.havrex-site h1,.havrex-site h2,.havrex-site h3 { font-family:Georgia,'Times New Roman',serif; font-weight:400; line-height:1.15; color:inherit; margin:0 0 .55em; letter-spacing:-.03em; }
.havrex-site h1 { font-size:clamp(38px,5.9vw,86px); }
.havrex-site h2 { font-size:clamp(25px,4.1vw,58px); }
.havrex-site h3 { font-size:clamp(21px,2.2vw,32px); }
.havrex-site p { margin:0 0 1.2em; }
.havrex-container { width:min(var(--hx-max),100%); margin-inline:auto; padding-inline:var(--hx-side); }
.havrex-section { padding-block:var(--hx-pad); }
.havrex-eyebrow { display:block; font-size:13px; text-transform:uppercase; letter-spacing:.18em; font-weight:700; color:var(--hx-gold-dark); margin-bottom:14px; }
.havrex-dark .havrex-eyebrow,.havrex-hero .havrex-eyebrow,.havrex-page-hero .havrex-eyebrow { color:#d9c18f; }
.havrex-skip { position:absolute; left:12px; top:-100px; z-index:99999; background:#fff; padding:10px 18px; }
.havrex-skip:focus { top:12px; }
.havrex-header { position:sticky; inset-block-start:0; z-index:1000; color:white; background:var(--hx-dark); border-bottom:1px solid #ffffff20; }
.admin-bar .havrex-header { top:32px; }
.havrex-header-inner { max-width:1680px; margin:auto; min-height:76px; padding:14px var(--hx-side); display:flex; align-items:center; justify-content:space-between; gap:24px; }
.havrex-brand { font-size:27px; letter-spacing:.18em; font-weight:800; line-height:1.25; color:#fff!important; white-space:nowrap; }
.havrex-brand span { color:var(--hx-gold); }
.havrex-header .custom-logo { width:auto; max-width:180px; max-height:58px; object-fit:contain; }
.havrex-nav { flex:1; display:flex; justify-content:flex-end; }
.havrex-menu,.havrex-menu ul { list-style:none; margin:0; padding:0; }
.havrex-menu { display:flex; align-items:center; gap:clamp(6px,1.4vw,22px); }
.havrex-menu>li { position:relative; display:flex; align-items:center; }
.havrex-menu>li>a { display:block; padding:12px 2px; font-size:14px; white-space:nowrap; color:#f6f5f1; }
.havrex-menu>li>a:hover,.havrex-menu>li.current-menu-ancestor>a,.havrex-menu>li>a[aria-current] { color:#e5c891; }
.havrex-menu .havrex-nav-contact { background:var(--hx-gold); color:#142827; padding:10px 15px; font-weight:700; }
.havrex-menu .sub-menu { min-width:235px; max-width:330px; background:#fff; color:var(--hx-ink); box-shadow:0 14px 35px #14282724; border-top:3px solid var(--hx-gold); position:absolute; display:none; inset-block-start:100%; inset-inline-start:0; padding:8px; }
.havrex-menu>li:nth-last-child(-n+3)>.sub-menu { inset-inline-start:auto; inset-inline-end:0; }
.havrex-menu li:hover>.sub-menu,.havrex-menu li:focus-within>.sub-menu,.havrex-menu li.havrex-open>.sub-menu { display:block; }
.havrex-menu .sub-menu li { position:relative; }
.havrex-menu .sub-menu li>a { display:block; white-space:normal; padding:9px 13px; line-height:1.4; font-size:14px; }
.havrex-menu .sub-menu li>a:hover,.havrex-menu .sub-menu li>a[aria-current] { background:#edece6; color:#142827; }
.havrex-menu .sub-menu .sub-menu { position:static; min-width:0; box-shadow:none; border:0; padding:0 0 0 13px; }
.havrex-submenu-toggle { display:inline-grid; place-items:center; color:inherit; background:none; border:0; width:28px; height:32px; padding:0; }
.havrex-submenu-toggle::before { content:''; width:8px; height:8px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg) translate(-1px,-1px); }
.havrex-menu-toggle { display:none; color:white; background:transparent; border:1px solid #c4d0c7; padding:9px 12px; }
.havrex-button,.havrex-content .vc_btn3-container a.vc_btn3,.havrex-content .vc_btn3-container button.vc_btn3 { display:inline-flex; justify-content:center; align-items:center; gap:8px; text-align:center; padding:13px 21px; border:1px solid var(--hx-gold); border-radius:2px; color:var(--hx-dark)!important; background:var(--hx-gold)!important; font:700 14px/1.5 Arial,Helvetica,sans-serif!important; transition:background .2s,color .2s,border .2s; text-decoration:none!important; }
.havrex-button:hover,.havrex-content .vc_btn3-container a.vc_btn3:hover { background:#e1c996!important; border-color:#e1c996; color:var(--hx-dark)!important; }
.havrex-button.outline { background:transparent!important; border-color:currentColor; color:var(--hx-ink)!important; }
.havrex-button.outline:hover { background:var(--hx-dark)!important; color:#fff!important; }
.havrex-button.outline.light { color:#fff!important; }
.havrex-button.outline.light:hover { background:#fff!important; color:var(--hx-dark)!important; }
.havrex-text-link { font-weight:700; font-size:14px; border-bottom:1px solid var(--hx-gold); padding-bottom:3px; display:inline-block; }
.havrex-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:20px; }
.havrex-hero { position:relative; min-height:min(730px,85vh); min-height:clamp(560px,74vw,730px); display:flex; align-items:flex-end; background:var(--hx-dark); color:#fff; overflow:hidden; }
.havrex-hero-image,.havrex-page-hero-image { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:cover; object-position:center; }
.havrex-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#102322f0 0%,#10232295 42%,#10232216 100%); pointer-events:none; }
.havrex-hero-copy { position:relative; z-index:1; padding-block:clamp(65px,8vw,115px); }
.havrex-hero-copy h1 { max-width:810px; font-size:clamp(50px,8vw,110px); letter-spacing:-.045em; margin-bottom:24px; }
.havrex-hero-copy p { font-size:clamp(17px,1.7vw,21px); color:#e0e5df; max-width:590px; }
.havrex-stat-strip { background:var(--hx-dark-2); color:#f8f6ef; }
.havrex-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding-block:30px; }
.havrex-stat-grid>div { border-left:1px solid #8aa49b66; padding-left:20px; }
.havrex-stat-grid strong { display:block; color:#d4bd8c; font:400 clamp(26px,3.6vw,42px)/1.15 Georgia,serif; margin-bottom:7px; }
.havrex-stat-grid span { font-size:14px; }
.havrex-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:35px; margin-bottom:26px; }
.havrex-section-heading h2 { margin-bottom:0; }
.havrex-section-heading p { max-width:400px; margin-bottom:0; color:var(--hx-muted); }
.havrex-project-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:22px; }
.havrex-project-card { background:white; border:1px solid #e2e2da; overflow:hidden; min-width:0; }
.havrex-project-photo { display:block; overflow:hidden; }
.havrex-project-photo img { display:block; width:100%; aspect-ratio:1.65; height:auto; object-fit:cover; transition:transform .5s; }
.havrex-project-photo:hover img { transform:scale(1.025); }
.havrex-project-copy { padding:clamp(22px,3vw,34px); }
.havrex-project-copy h3 { margin-top:14px; }
.havrex-tag { background:#e6eddf; color:#31543c; display:inline-block; font-size:12px; font-weight:700; padding:5px 10px; }
.havrex-tag.sold { background:#eeeae1; color:#685d47; }
.havrex-feature { background:#e6e9e2; padding-block:var(--hx-pad); }
.havrex-feature-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,5vw,70px); align-items:center; }
.havrex-feature-grid>img { width:100%; height:clamp(310px,39vw,520px); object-fit:cover; }
.havrex-specs { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin:24px 0; }
.havrex-specs>div { padding:13px 0; border-top:1px solid #aebcb2; font-size:14px; }
.havrex-specs strong { display:block; font-size:16px; }
.havrex-dark { background:var(--hx-dark); color:#fff; }
.havrex-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin:35px 0; }
.havrex-service-grid article { border-top:1px solid #789189; padding-block:22px; }
.havrex-service-grid article>span { font-size:13px; font-weight:700; letter-spacing:.16em; color:#d2b67d; display:block; margin-bottom:14px; }
.havrex-service-grid p { color:#c7d1cb; }
.havrex-contact-band { background:#ded5bf; padding-block:clamp(48px,6vw,82px); }
.havrex-contact-grid { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:clamp(24px,6vw,80px); }
.havrex-contact-details { display:grid; gap:4px; overflow-wrap:anywhere; }
.havrex-contact-details strong { margin-top:12px; }
.havrex-contact-details .havrex-button { justify-self:start; margin-top:16px; }
.havrex-page-hero { color:white; background:var(--hx-dark); position:relative; min-height:245px; display:flex; align-items:flex-end; overflow:hidden; }
.havrex-page-hero.has-image { min-height:clamp(330px,37vw,530px); }
.havrex-page-hero.has-image::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#142827ef,#14282765); }
.havrex-page-hero-inner { position:relative; z-index:1; padding-block:clamp(46px,6vw,80px); }
.havrex-page-hero h1 { max-width:1040px; font-size:clamp(35px,5.2vw,70px); margin:18px 0 0; overflow-wrap:normal; }
.havrex-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:12px; color:#e1c996; font-size:13px; }
.havrex-breadcrumb a:hover { text-decoration:underline; }
.havrex-page-section { padding-block:clamp(38px,6vw,82px); display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(26px,5vw,64px); }
.havrex-page-section.has-sidebar { grid-template-columns:minmax(0,1fr) minmax(235px,290px); }
.havrex-page-main,.havrex-content { min-width:0; }
.havrex-project-intro { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; margin-bottom:28px; padding:25px; background:#e6e9e2; }
.havrex-project-intro p,.havrex-project-intro .havrex-eyebrow,.havrex-project-intro .havrex-actions { margin:0; }
.havrex-content { padding:clamp(18px,3vw,40px); background:#fff; border:1px solid #e2e2da; overflow-wrap:anywhere; min-width:0; }
.havrex-content h1,.havrex-content h2 { font-size:clamp(25px,2.9vw,42px); line-height:1.2; margin-top:1em; color:var(--hx-ink)!important; }
.havrex-content h3,.havrex-content h4,.havrex-content h5,.havrex-content h6 { line-height:1.3; color:var(--hx-ink)!important; margin-top:1.1em; }
.havrex-content h1:first-child,.havrex-content h2:first-child,.havrex-content h3:first-child { margin-top:0; }
.havrex-content p,.havrex-content li { line-height:1.75; font-size:16px; }
.havrex-content p span,.havrex-content li span { font-size:inherit!important; }
.havrex-content h1 span,.havrex-content h2 span,.havrex-content h3 span { font-size:inherit!important; color:inherit!important; }
.havrex-content a:not(.vc_btn3):not(.prettyphoto):not(.btn):not([class*="social"]) { text-decoration:underline; text-underline-offset:3px; }
.havrex-content ul,.havrex-content ol { padding-inline-start:24px; }
.havrex-content li { margin-bottom:5px; }
.havrex-content hr { border:0; border-top:1px solid var(--hx-line); margin:32px 0; }
.havrex-content iframe { max-width:100%; }
.havrex-content table { width:100%; border-collapse:collapse; font-size:14px; display:table; overflow-wrap:anywhere; }
.havrex-content td,.havrex-content th { border-bottom:1px solid #d9dcd4; padding:13px 11px; text-align:left; vertical-align:top; }
.havrex-content th { background:#203b38; color:#fff; }
.havrex-content tr:nth-child(even) td { background:#f6f5f1; }
.havrex-content .alignleft { float:left; margin-right:20px; max-width:100%; }
.havrex-content .alignright { float:right; margin-left:20px; max-width:100%; }
.havrex-content figure { max-width:100%; margin:20px 0; }
.havrex-content .wp-block-table,.havrex-content .wp-block-table.alignleft { float:none; width:100%; overflow-x:auto; }
.havrex-content::after { content:''; display:block; clear:both; }
/* Normalize legacy Visual Composer layouts without rewriting content or disabling plugins. */
.havrex-content .vc_row { margin-inline:0!important; }
.havrex-content .vc_row[data-vc-full-width="true"] { position:relative!important; left:auto!important; right:auto!important; width:auto!important; padding-left:0!important; padding-right:0!important; max-width:100%!important; }
.havrex-content .vc_custom_1544693295367 { background:#e6e9e2!important; color:var(--hx-ink)!important; }
.havrex-content .vc_custom_1544693295367 h6,.havrex-content .vc_custom_1544693295367 h6 span { color:var(--hx-ink)!important; font-size:16px!important; }
.havrex-content .vc_row-full-width { display:none!important; }
.havrex-content .vc_column-inner { padding-left:12px!important; padding-right:12px!important; min-width:0; }
.havrex-content .vc_empty_space { max-height:clamp(12px,2vw,26px); }
.havrex-content .wpb_content_element { margin-bottom:22px; }
.havrex-content .wpb_single_image { margin-block:10px 25px; }
.havrex-content .vc_figure,.havrex-content .vc_single_image-wrapper { max-width:100%; }
.havrex-content .vc_single_image-img { height:auto; max-width:100%; }
.havrex-content .wpb_image_grid_ul { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; list-style:none!important; padding:0!important; margin:0!important; height:auto!important; position:static!important; }
.havrex-content .wpb_image_grid_ul li { position:static!important; left:auto!important; top:auto!important; transform:none!important; width:100%!important; margin:0!important; float:none!important; }
.havrex-content .wpb_image_grid_ul li>a { display:block; padding:8px; background:#f6f5f1; border:1px solid #d8ddd5; cursor:zoom-in; }
.havrex-content .wpb_image_grid_ul li img { width:100%!important; height:auto!important; object-fit:contain; }
.havrex-content .wpb_gallery_heading,.havrex-content .wpb_heading { margin-bottom:20px!important; }
.havrex-content .w3eden .card { background:#fff; border:1px solid #d8ddd5; box-shadow:none; }
.havrex-content .w3eden .btn-primary { background:var(--hx-dark)!important; border-color:var(--hx-dark)!important; color:#fff!important; }
.havrex-content .w3eden .package-title { font:700 16px/1.4 Arial,Helvetica,sans-serif!important; margin:0 0 8px; }
.havrex-content .w3eden .media { flex-wrap:wrap; gap:8px; }
.havrex-content .w3eden .media-body { flex:1; min-width:100px; }
.havrex-page-7432 .havrex-content,.havrex-page-7075 .havrex-content,.havrex-page-462 .havrex-content { margin-top:30px; }
.havrex-related { background:#e6e9e2; padding:26px; align-self:start; min-width:0; }
.havrex-related h2 { font-size:27px; letter-spacing:-.01em; }
.havrex-related ul { list-style:none; margin:24px 0 0; padding:0; }
.havrex-related li { border-top:1px solid #aebcb2; }
.havrex-related li>a { display:block; font-size:15px; line-height:1.5; padding:13px 0; }
.havrex-related li>a:hover { text-decoration:underline; }
.havrex-wide-related { margin-top:30px; }
.havrex-wide-related .havrex-related ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:0 20px; }
.havrex-directory { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr)); gap:18px; }
.havrex-directory-card { background:white; min-width:0; border:1px solid #d8ddd5; padding:26px; border-top:3px solid var(--hx-gold); }
.havrex-directory-card h3,.havrex-directory-card h2 { font-size:25px; margin-bottom:20px; }
.havrex-directory-card .havrex-text-link { font-size:14px; }
.havrex-footer { background:var(--hx-dark); color:#fff; padding:58px 0 20px; }
.havrex-footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; gap:30px; }
.havrex-footer-grid h2 { font:700 15px/1.3 Arial,sans-serif; letter-spacing:0; margin:0 0 20px; color:#e1c996; }
.havrex-footer-grid>div>a:not(.havrex-brand) { display:block; padding:4px 0; color:#e0e5df; font-size:14px; }
.havrex-footer-grid p { margin:16px 0 0; font-size:14px; color:#d0d9d4; }
.havrex-footer-grid a:hover { color:#e5c891!important; }
.havrex-footer-bottom { margin-top:35px; padding-block:15px 0; border-top:1px solid #ffffff25; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; color:#bcc7c0; font-size:13px; }
.havrex-footer-extra ul { list-style:none; display:flex; gap:15px; padding:0; flex-wrap:wrap; }
.havrex-lightbox { border:0; background:white; color:var(--hx-ink); padding:16px; width:min(1100px,94vw); max-width:94vw; max-height:92vh; overflow:auto; }
.havrex-lightbox::backdrop { background:#081818dd; }
.havrex-lightbox img { display:block; width:100%; max-height:76vh; object-fit:contain; margin:auto; }
.havrex-lightbox-close { display:block; margin:0 0 10px auto; background:var(--hx-dark); color:white; border:0; padding:7px 14px; }
.havrex-lightbox-caption:empty { display:none; }
.havrex-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),.havrex-content textarea,.havrex-content select,.havrex-site .search-field { width:100%; max-width:100%; padding:11px 13px; border:1px solid #bfc9be; background:#fff; color:var(--hx-ink); }
.havrex-content input[type="submit"],.havrex-site .search-submit { background:var(--hx-gold); color:var(--hx-dark); border:0; padding:11px 18px; font-weight:700; cursor:pointer; width:auto; }
.havrex-comments { margin-top:30px; }
.havrex-comments .comment-list { list-style:none; padding:0; }
.havrex-comments .comment-list li { margin:15px 0; }
.havrex-site .screen-reader-text { position:absolute; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }
@media (max-width:1100px) { .havrex-header-inner { padding-inline:25px; gap:12px; } .havrex-menu { gap:10px; } .havrex-menu>li>a { font-size:13px; } .havrex-brand { font-size:23px; } }
@media (max-width:890px) {
  .havrex-header-inner { flex-wrap:wrap; }
  .havrex-nav { flex:0 0 100%; display:block; }
  .havrex-js .havrex-nav { display:none; }
  .havrex-js .havrex-nav.havrex-nav-open { display:block; }
  .havrex-js .havrex-menu-toggle { display:inline-block; }
  .havrex-menu { display:block; max-height:70vh; overflow:auto; }
  .havrex-menu>li { display:flex; flex-wrap:wrap; justify-content:space-between; border-top:1px solid #ffffff20; }
  .havrex-menu>li>a { padding:13px 0; font-size:15px; }
  .havrex-menu>li>.sub-menu,.havrex-menu li .sub-menu { position:static; flex-basis:100%; width:100%; max-width:none; min-width:0; border:0; box-shadow:none; padding:4px 12px; }
  .havrex-menu .sub-menu li>a { padding:10px; }
  .havrex-js .havrex-menu li:hover>.sub-menu,.havrex-js .havrex-menu li:focus-within>.sub-menu { display:none; }
  .havrex-js .havrex-menu li.havrex-open>.sub-menu { display:block; }
  .havrex-menu li>.havrex-submenu-toggle { height:44px; width:48px; }
  .havrex-menu .havrex-nav-contact { background:none; color:#e5c891; padding:12px 0; }
  .havrex-page-section.has-sidebar { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:670px) {
  .havrex-hero { min-height:570px; }
  .havrex-hero::after { background:linear-gradient(90deg,#102322ed,#1023227a),linear-gradient(0deg,#102322a0,transparent); }
  .havrex-stat-grid { gap:8px; padding-block:22px; }
  .havrex-stat-grid>div { padding-left:9px; }
  .havrex-stat-grid span { font-size:12px; line-height:1.35; display:block; }
  .havrex-project-grid,.havrex-feature-grid,.havrex-contact-grid,.havrex-service-grid { grid-template-columns:minmax(0,1fr); }
  .havrex-service-grid { gap:0; }
  .havrex-section-heading { display:block; }
  .havrex-section-heading p { margin-top:12px; }
  .havrex-content { padding:18px 12px; }
  .havrex-content .vc_column_container { width:100%!important; float:none!important; }
  .havrex-content .vc_column-inner { padding:0!important; }
  .havrex-content .wpb_image_grid_ul { grid-template-columns:1fr; }
  .havrex-content td,.havrex-content th { padding:8px 6px; font-size:13px; }
  .havrex-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .havrex-footer-grid>div:first-child { grid-column:1/-1; }
  .havrex-footer-bottom { justify-content:flex-start; }
}
@media (max-width:782px) { .admin-bar .havrex-header { top:46px; } }
@media (max-width:600px) { .admin-bar .havrex-header { top:0; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; animation-duration:.01ms!important; } }
