/*
Theme Name: PT. TANS Global Persada
Theme URI: https://example.com/
Author: PT. TANS Global Persada
Description: Tema korporat responsif untuk PT. TANS Global Persada — Kontraktor, Supplier & General Trading. Dominan biru tua, orange dan putih.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: tans-global-persada
*/

:root{
  --navy:#173a5e;
  --navy-2:#0d2945;
  --navy-3:#24527c;
  --orange:#e47b13;
  --orange-2:#f19a2a;
  --cream:#fff7eb;
  --white:#fff;
  --text:#1b2430;
  --muted:#687789;
  --line:#e5eaf0;
  --shadow:0 18px 50px rgba(13,41,69,.12);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff;line-height:1.65}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.container{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid rgba(23,58,94,.08)}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand img{width:225px;max-height:68px;object-fit:contain}
.brand-text{display:none}
.main-nav{display:flex;align-items:center;gap:7px}
.main-nav a{font-weight:700;font-size:14px;padding:11px 12px;border-radius:10px;color:var(--navy)}
.main-nav a:hover,.main-nav .current-menu-item>a{background:var(--cream);color:var(--orange)}
.menu-toggle{display:none;border:0;background:var(--navy);color:#fff;border-radius:10px;width:44px;height:44px;cursor:pointer}
.menu-toggle span,.menu-toggle:before,.menu-toggle:after{content:"";display:block;width:22px;height:2px;background:#fff;margin:5px auto;border-radius:2px}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--navy-2),var(--navy));color:#fff}
.hero:before{content:"";position:absolute;inset:auto -8% -40% 45%;height:180%;background:linear-gradient(135deg,transparent 42%,var(--orange) 42%,var(--orange) 63%,transparent 63%);opacity:.95;transform:rotate(-7deg)}
.hero:after{content:"";position:absolute;right:6%;top:22%;width:230px;height:230px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 30px rgba(255,255,255,.02),0 0 0 60px rgba(255,255,255,.015)}
.hero-inner{position:relative;z-index:2;min-height:580px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;padding:70px 0}
.eyebrow{display:inline-flex;gap:8px;align-items:center;color:#ffd7a5;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px}
.eyebrow:before{content:"";width:28px;height:3px;background:var(--orange);border-radius:3px}
.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.02;margin:18px 0 20px;max-width:720px;letter-spacing:-.04em}
.hero h1 span{color:#ff9b31}
.hero p{font-size:18px;max-width:640px;color:rgba(255,255,255,.8);margin:0 0 30px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;padding:13px 21px;font-weight:800;cursor:pointer;transition:.2s ease}
.btn-primary{background:var(--orange);color:#fff;box-shadow:0 10px 24px rgba(228,123,19,.28)}
.btn-primary:hover{transform:translateY(-2px);background:#cf6b08}
.btn-light{background:#fff;color:var(--navy)}
.hero-card{position:relative;justify-self:end;width:min(440px,100%);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:14px;box-shadow:0 25px 80px rgba(0,0,0,.22)}
.hero-card-inner{background:#fff;color:var(--navy);border-radius:20px;overflow:hidden}
.hero-card-top{padding:25px 24px 12px;display:flex;align-items:center;gap:14px}
.hero-card-top img{width:180px}
.hero-card-body{padding:12px 24px 26px}
.hero-stat{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.hero-stat div{background:#f6f8fb;border-radius:14px;padding:14px;text-align:center}
.hero-stat strong{display:block;font-size:20px}
.hero-stat span{font-size:11px;color:var(--muted);font-weight:700}
.section{padding:88px 0}
.section-alt{background:#f7f9fc}
.section-orange{background:linear-gradient(135deg,#dc710b,#f09a27);color:#fff}
.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}
.section-kicker{color:var(--orange);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.12em}
.section-orange .section-kicker{color:#ffe1ba}
.section h2{font-size:clamp(30px,4vw,46px);line-height:1.1;margin:7px 0 0;color:var(--navy)}
.section-orange h2{color:#fff}
.section-intro{max-width:650px;color:var(--muted);margin:10px 0 0}
.section-orange .section-intro{color:rgba(255,255,255,.82)}
.profile-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:50px;align-items:center}
.profile-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow);text-align:center}
.profile-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:17px}
.profile-card strong{display:block;color:var(--navy);font-size:18px;margin-top:17px}
.profile-card span{color:var(--orange);font-size:13px;font-weight:800}
.feature-list{display:grid;gap:16px;margin:28px 0 0;padding:0;list-style:none}
.feature-list li{display:flex;gap:14px;align-items:flex-start}
.feature-icon{flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:var(--cream);color:var(--orange);display:grid;place-items:center;font-weight:900}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{background:var(--navy);border-radius:20px;padding:30px;color:#fff;min-height:220px;position:relative;overflow:hidden;transition:.25s ease}
.service-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px rgba(13,41,69,.22)}
.service-card:after{content:"";position:absolute;width:110px;height:110px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-40px;bottom:-40px}
.service-icon{font-size:35px;margin-bottom:35px}
.service-card h3{margin:0 0 8px;font-size:22px}
.service-card p{margin:0;color:rgba(255,255,255,.72);font-size:14px}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.project-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 35px rgba(13,41,69,.07)}
.project-thumb{height:220px;background:linear-gradient(135deg,#dfe8f0,#fff);display:grid;place-items:center;color:var(--navy);font-weight:900;position:relative}
.project-thumb:before{content:"";position:absolute;inset:20px;border:2px dashed rgba(23,58,94,.18);border-radius:14px}
.project-thumb span{position:relative}
.project-content{padding:20px}
.project-content h3{margin:0 0 7px;color:var(--navy);font-size:20px}
.project-meta{font-size:12px;color:var(--orange);font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.cta{background:var(--navy);color:#fff;border-radius:26px;padding:45px;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden;position:relative}
.cta:after{content:"";position:absolute;width:250px;height:250px;border:2px solid rgba(255,255,255,.08);border-radius:50%;right:-90px;top:-100px}
.cta h2{margin:0 0 8px;color:#fff}
.cta p{margin:0;color:rgba(255,255,255,.7)}
.site-footer{background:#0a2239;color:#fff;padding:55px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr 1fr;gap:35px}
.footer-logo{width:210px;background:#fff;border-radius:10px;padding:7px}
.site-footer h3{font-size:15px;margin:0 0 14px}
.site-footer p,.site-footer li,.site-footer a{font-size:13px;color:rgba(255,255,255,.68)}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:rgba(255,255,255,.5)}
.page-hero{background:var(--navy);color:#fff;padding:65px 0}
.page-hero h1{margin:0;font-size:clamp(36px,5vw,58px)}
.breadcrumb{font-size:13px;color:rgba(255,255,255,.65);margin-bottom:10px}
.content-area{padding:70px 0}
.content-area .entry-content{max-width:850px;margin:0 auto}
.entry-content h2,.entry-content h3{color:var(--navy)}
.entry-content a{color:var(--orange);font-weight:700}
.entry-content img{border-radius:15px}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px}
.contact-card{padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.contact-card h3{color:var(--navy);margin-top:0}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-field{margin-bottom:14px}
.form-field label{display:block;font-size:13px;font-weight:800;color:var(--navy);margin-bottom:6px}
.form-field input,.form-field textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px 13px;outline:none}
.form-field textarea{min-height:140px;resize:vertical}
.notice{padding:15px 18px;background:#fff7eb;border-left:4px solid var(--orange);border-radius:10px}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:40px}
.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--line);border-radius:9px}
.pagination .current{background:var(--navy);color:#fff}
@media(max-width:980px){
  .main-nav{position:absolute;left:18px;right:18px;top:78px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px;display:none;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  .main-nav.is-open{display:flex}
  .main-nav a{padding:13px}
  .menu-toggle{display:block}
  .hero-inner{grid-template-columns:1fr;padding:55px 0}
  .hero-card{justify-self:start}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .container{width:min(100% - 28px,1180px)}
  .brand img{width:190px}
  .hero h1{font-size:42px}
  .hero p{font-size:16px}
  .hero-inner{min-height:auto}
  .section{padding:60px 0}
  .section-head{display:block}
  .profile-grid,.contact-grid{grid-template-columns:1fr}
  .services-grid,.project-grid{grid-template-columns:1fr}
  .profile-card{max-width:360px;margin:0 auto}
  .cta{padding:30px;display:block}
  .cta .btn{margin-top:20px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
  .footer-bottom div+div{margin-top:8px}
  .form-row{grid-template-columns:1fr}
}

/* Visual photo sections */
.photo-hero{position:relative;min-height:360px;border-radius:26px;overflow:hidden;background-size:cover;background-position:center;box-shadow:var(--shadow)}
.photo-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,41,69,.88),rgba(13,41,69,.42),rgba(228,123,19,.08))}
.photo-hero-content{position:relative;z-index:2;color:#fff;padding:55px;max-width:650px}
.photo-hero-content h2{color:#fff;font-size:clamp(30px,4vw,48px);margin:8px 0 12px;line-height:1.08}
.photo-hero-content p{color:rgba(255,255,255,.82)}
.service-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service-photo{min-height:340px;border-radius:22px;overflow:hidden;position:relative;background-size:cover;background-position:center;box-shadow:var(--shadow)}
.service-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,41,69,.05) 20%,rgba(13,41,69,.92) 100%)}
.service-photo-content{position:absolute;z-index:2;left:24px;right:24px;bottom:24px;color:#fff}
.service-photo-content h3{font-size:25px;margin:0 0 5px}.service-photo-content p{margin:0;color:rgba(255,255,255,.8);font-size:13px}
.photo-strip{display:grid;grid-template-columns:1.3fr .7fr;gap:20px;margin-top:30px}.photo-strip img{width:100%;height:320px;object-fit:cover;border-radius:20px}
@media(max-width:700px){.service-photo-grid,.photo-strip{grid-template-columns:1fr}.photo-hero-content{padding:35px 25px}.service-photo{min-height:280px}.photo-strip img{height:240px}}

.tgpm-widget{margin:18px 0}
.tgpm-widget h3{color:var(--navy)}
.tgpm-footer-widget{background:#071b35;color:#fff;padding:25px 0}
.tgpm-custom-html{max-width:1180px;overflow:hidden}
