/*
Theme Name: Gil Dotan Engineering
Author: Gil Dotan
Description: תבנית אישית — הנדסה, רכש וניהול פרויקטים.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gil-dotan
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--ink:#0a1722;--panel:#112430;--gold:#c99b62;--paper:#f4f5f3;--line:#ffffff26}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font:18px/1.65 Arial,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}header{height:102px;padding:0 5.3%;display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:white;border-bottom:1px solid var(--line)}.brand img{width:137px;height:90px;object-fit:contain}nav{display:flex;gap:38px;font-size:16px}nav a:hover,.text-link:hover{color:var(--gold)}.header-contact{border-bottom:1px solid var(--gold);padding:9px 0;font-size:16px}.header-contact span{color:var(--gold);margin-right:24px}.hero{display:grid;grid-template-columns:1fr 1fr;direction:ltr;min-height:720px;background:var(--ink);color:white}.hero-photo{position:relative;overflow:hidden;min-height:720px}.hero-photo>img{height:100%;width:100%;object-fit:cover;object-position:40% center;position:absolute;filter:brightness(.8)}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 75%,#0a172255)}.photo-caption{position:absolute;bottom:35px;right:35px;left:35px;z-index:1;display:flex;justify-content:space-between;direction:rtl;font-size:14px;color:white;border-top:1px solid #ffffff55;padding-top:18px}.cross{font-size:26px}.hero-copy{direction:rtl;padding:62px 10% 30px 8%;display:flex;flex-direction:column;align-items:flex-start}.eyebrow{font-size:14px;font-weight:bold;letter-spacing:.06em;color:var(--gold);margin-bottom:22px}.eyebrow i{display:inline-block;width:22px;height:2px;background:var(--gold);vertical-align:middle;margin-left:10px}h1{font-size:clamp(46px,4.4vw,76px);line-height:1.1;letter-spacing:-.04em;margin:0;font-weight:800}em{font-style:normal;color:var(--gold)}.hero p{font-size:20px;color:#bfc8ce;line-height:1.75;margin:28px 0}.actions{display:flex;gap:28px;align-items:center}.button{display:inline-flex;gap:38px;justify-content:space-between;align-items:center;background:var(--gold);border:1px solid var(--gold);color:var(--ink);padding:14px 23px;font-size:16px;font-weight:bold}.button:hover{background:#dfb982}.text-link{font-size:16px;border-bottom:1px solid #74828c;padding-bottom:5px}.hero-foot{margin-top:auto;padding-top:38px;width:100%;display:flex;justify-content:space-between;font-size:12px;color:#8e9da8;gap:15px}.cap-strip{background:var(--panel);color:#e2e8ea;display:flex;justify-content:space-between;gap:18px;padding:25px 6%;font-size:16px}.cap-strip b{color:var(--gold);font-weight:400}.section{padding:100px 6%}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:42px}.section-heading .eyebrow{margin-bottom:14px}h2{font-size:clamp(34px,3vw,50px);line-height:1.2;letter-spacing:-.035em;margin:0}h3{margin:0;font-size:24px;line-height:1.3}.section-heading p{font-size:17px;color:#62717a;margin:0;max-width:350px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.project{background:var(--ink);color:white;border:0;padding:0;text-align:right;position:relative;overflow:hidden}.project.big{grid-column:1/-1}.project img{display:block;width:100%;height:330px;object-fit:cover;transition:transform .5s}.project.big img{height:460px;object-position:center 55%}.project:hover img{transform:scale(1.025)}.project>div{position:relative;padding:24px 26px 27px}.project span{display:block;font-size:13px;color:var(--gold);margin-bottom:10px}.project i{position:absolute;left:28px;top:37px;font-style:normal;color:var(--gold);font-size:25px}.capabilities{background:#e6eae9}.cap-layout{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.cap-image img{width:100%;height:580px;object-fit:cover}.cap-list article{display:flex;gap:28px;border-bottom:1px solid #bdc6c8;padding:28px 0}.cap-list article:first-child{padding-top:0}.cap-list article>span{font-size:14px;color:#7f694e}.cap-list p{color:#5e6c73;font-size:16px;margin:10px 0 0}.process{background:var(--ink);color:#fff}.process .section-heading p{color:#a4b2bd}.process-visual{display:grid;grid-template-columns:1fr 1fr;direction:rtl;border:1px solid #ffffff25}.process-visual>div{position:relative}.process-visual img{width:100%;height:400px;object-fit:cover;display:block}.process-visual .cad{background:#eef0f4}.process-visual .cad img{object-fit:contain}.process-visual span{position:absolute;bottom:18px;right:20px;background:#0a1722e6;padding:6px 15px;font-size:14px;color:#fff}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;margin-top:45px}.steps b{font-size:14px;color:var(--gold);display:block;margin-bottom:20px}.steps h3{font-size:21px}.steps p{font-size:16px;color:#a4b2bd;margin:10px 0}.about{display:grid;grid-template-columns:1.1fr 1fr;gap:8%;align-items:center}.about-photo img{width:100%;height:470px;object-fit:cover;object-position:60%}.about h2{font-size:56px;margin-bottom:25px}.about p{color:#596a73;max-width:490px}.contact{text-align:center;background:#142c3a;color:#fff;padding-top:85px;padding-bottom:75px;border-top:1px solid var(--line)}.contact h2{font-size:64px}.contact>p{color:#bfccd3}.contact .button{margin-top:16px}.preview-note{font-size:13px;margin-top:27px!important;opacity:.7}footer{padding:28px 6%;background:var(--ink);color:#a7b5c0;display:flex;justify-content:space-between;gap:20px;font-size:14px}footer>span:first-child{color:white;font-weight:bold}dialog{padding:0;max-width:960px;width:90vw;max-height:90vh;border:1px solid #5c7280;background:var(--ink);color:#fff}dialog::backdrop{background:#000b}dialog>img{width:100%;max-height:65vh;object-fit:contain;background:#000}dialog>div{padding:30px}dialog p{color:#c0cbd2}.close{position:absolute;left:12px;top:12px;background:var(--ink);color:white;border:1px solid #ffffff66;border-radius:50%;width:42px;height:42px;font-size:26px;z-index:2}#contact-dialog{max-width:580px;padding:32px 10px}@media(min-width:1600px){.hero{min-height:820px}.hero-photo{min-height:820px}.hero-copy{padding-top:90px}}@media(max-width:900px){header{padding:0 5%;height:90px}nav{gap:18px;font-size:14px}.brand img{width:110px;height:80px}.hero{min-height:0}.hero-photo{min-height:620px}.hero-copy{padding:45px 8% 25px}h1{font-size:49px}.hero p{font-size:18px}.actions{gap:15px;flex-wrap:wrap}.hero-foot{display:none}.cap-strip{flex-wrap:wrap;justify-content:center}.section{padding:70px 5%}.cap-image img{height:500px}.about{gap:5%}.about h2{font-size:44px}}@media(max-width:620px){header{height:auto;min-height:82px;flex-wrap:wrap;padding-bottom:13px}.brand img{height:70px;width:112px}nav{order:3;width:100%;justify-content:space-between;gap:10px;font-size:14px}.header-contact{font-size:14px}.hero{display:flex;flex-direction:column-reverse}.hero-copy{padding:40px 6%}.hero h1{font-size:52px}.hero-photo{height:350px;min-height:350px}.hero p{font-size:18px}.eyebrow{margin-bottom:18px}.photo-caption{bottom:20px;right:20px;left:20px}.cap-strip{font-size:14px;padding:21px 5%;gap:12px}.section{padding:58px 6%}.section-heading{display:block;margin-bottom:28px}.section-heading p{margin-top:20px}.project-grid,.cap-layout,.about{grid-template-columns:1fr}.project img,.project.big img{height:270px}.project h3{font-size:22px;padding-left:20px}.cap-image img{height:320px}.cap-list{margin-top:32px}.cap-list article{padding:22px 0}.process-visual{grid-template-columns:1fr}.process-visual img{height:260px}.steps{grid-template-columns:1fr 1fr;gap:24px}.steps h3{font-size:19px}.steps p{font-size:15px}.about-photo{margin-bottom:28px}.about-photo img{height:300px}.about h2{font-size:44px}.contact h2{font-size:46px}footer{flex-direction:column;gap:12px;padding:25px 6%}.project.big{grid-column:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.contact-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:28px}.wp-content-area{max-width:1000px;margin:auto}.wp-content-area img{max-width:100%;height:auto}.wp-content-area h1{font-size:42px;margin-bottom:30px}.cap-strip{flex-wrap:wrap}body.admin-bar header{scroll-margin-top:32px}

/* Tight framing of the CAD model; keep the full machine visible. */
.process-visual .cad{overflow:hidden}
.process-visual .cad img{object-fit:cover;object-position:50% 48%;transform:scale(1.02);transform-origin:50% 48%}
.process-visual .cad span{z-index:1}


/* Lighter industrial palette: same character, less visual weight. */
:root{--ink:#102333;--panel:#173545;--paper:#f7f8f7;--line:#ffffff30}
.capabilities{background:#edf0ef}
.contact{background:#1a3a48}
.hero-photo:after{background:linear-gradient(90deg,transparent 75%,#10233355)}
.process-visual span{background:#102333e6}
