/*
Theme Name: Copco Industrial
Theme URI: https://copcogroup.ir/
Author: Copco Industrial
Description: قالب فارسی و راست‌چین صنعتی برای خدمات چیلر و کمپرسور.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: copco-industrial
*/

:root{
--bg:#25282A;
--panel:#30363A;
--line:#41484D;
--orange:#F47721;
--white:#F7F8FA;
--muted:#AEB5BB;
--max:1180px;
}

*{box-sizing:border-box}

html{
scroll-behavior:smooth;
scroll-padding-top:90px
}

body{
margin:0;
background:var(--bg);
color:var(--white);
font-family:Tahoma,Arial,sans-serif;
line-height:1.8
}

a{color:inherit;text-decoration:none}
a:hover{color:var(--orange)}
img{max-width:100%;height:auto}

.site-header{
position:sticky;
top:0;
z-index:20;
background:rgba(37,40,42,.97);
border-bottom:1px solid var(--line);
backdrop-filter:blur(12px)
}

.topbar{
border-bottom:1px solid #343A3E;
color:var(--muted);
font-size:.82rem
}

.topbar-inner,.nav-inner{
max-width:var(--max);
margin:auto;
padding:8px 22px;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px
}

.top-links{display:flex;gap:18px;flex-wrap:wrap}

.nav-inner{min-height:75px}

.brand{
display:flex;
align-items:center;
gap:11px;
font-weight:800;
white-space:nowrap
}

.brand-mark{
display:grid;
place-items:center;
width:43px;
height:43px;
border:2px solid var(--orange);
border-radius:50%;
color:var(--orange);
font-size:1.45rem
}

.brand small{
display:block;
font-size:.62rem;
letter-spacing:.08em;
color:var(--muted);
direction:ltr;
text-align:right
}

.menu{display:flex;align-items:center;gap:7px}

.menu a{
padding:9px 13px;
border-radius:25px;
font-size:.94rem
}

.menu .home-link{
background:var(--orange);
color:#fff;
font-weight:700
}

.menu-toggle{
display:none;
background:transparent;
color:white;
border:1px solid var(--line);
border-radius:8px;
padding:8px 12px;
font-size:1.1rem
}

.hero{
min-height:510px;
position:relative;
display:flex;
align-items:center;
overflow:hidden;
background:
linear-gradient(90deg,rgba(18,21,23,.98) 0%,rgba(18,21,23,.91) 42%,rgba(18,21,23,.18) 100%),
url('assets/images/industrial-hero.webp') center 48%/cover no-repeat
}

.hero:after{
content:"";
position:absolute;
inset-block:14%;
right:0;
width:5px;
background:var(--orange)
}

.hero-inner{
width:min(var(--max),100%);
padding:60px 22px;
margin:auto;
position:relative;
z-index:1
}

.eyebrow{
color:var(--orange);
font-weight:700;
letter-spacing:.05em
}

.hero h1{
font-size:clamp(2.2rem,5vw,4.3rem);
line-height:1.2;
margin:13px 0 20px;
max-width:650px
}

.hero h1 span{
color:var(--orange);
display:block;
direction:ltr;
text-align:right
}

.hero p{
color:#D5D9DE;
font-size:1.12rem;
max-width:580px
}

.actions{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:26px
}

.button{
display:inline-flex;
justify-content:center;
align-items:center;
padding:11px 22px;
border-radius:30px;
font-weight:700;
border:1px solid var(--line)
}

.button.primary{
background:var(--orange);
border-color:var(--orange);
color:#fff
}

.button:hover{transform:translateY(-2px)}

.features{
max-width:var(--max);
margin:-1px auto 0;
padding:24px 20px;
display:grid;
grid-template-columns:repeat(4,1fr);
background:#202427;
border:1px solid #363D42;
border-radius:0 0 16px 16px
}

.feature{
padding:6px 18px;
text-align:center;
border-left:1px solid var(--line);
font-weight:700
}

.feature:last-child{border-left:0}

.feature b{
color:var(--orange);
font-size:1.35rem;
margin-left:8px
}

.section{
max-width:var(--max);
margin:auto;
padding:76px 22px
}

.section-heading{
text-align:center;
margin-bottom:34px
}

.section-heading .eyebrow{font-size:.9rem}

.section-heading h2{
font-size:clamp(1.7rem,3vw,2.4rem);
margin:4px 0 8px
}

.section-heading p{
color:var(--muted);
margin:0
}

.service-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px
}

.service-card{
min-height:210px;
padding:24px;
background:linear-gradient(145deg,#30363A,#202427);
border:1px solid var(--line);
border-radius:14px;
transition:.2s
}

.service-card:hover{
transform:translateY(-4px);
border-color:var(--orange)
}

.service-icon{
color:var(--orange);
font-size:1.7rem
}

.service-card h3{
font-size:1.15rem;
margin:10px 0 5px
}

.service-card p{
margin:0;
color:var(--muted)
}

.about{
background:#202427;
border-block:1px solid #343A3E
}

.about-inner{
max-width:var(--max);
margin:auto;
padding:58px 22px;
display:grid;
grid-template-columns:1.2fr .8fr;
gap:45px;
align-items:center
}

.about h2{
font-size:2rem;
margin:0 0 12px
}

.about p{color:var(--muted)}

.about-box{
border-right:3px solid var(--orange);
padding:22px;
background:var(--panel);
border-radius:10px
}

.contact{
display:grid;
grid-template-columns:1fr .85fr;
gap:30px;
align-items:center
}

.contact-card{
background:var(--panel);
border:1px solid var(--line);
border-radius:15px;
padding:28px
}

.contact-card h2{margin-top:0}

.contact-list{
display:grid;
gap:13px;
color:#E1E4E8
}

.contact-list strong{color:var(--orange)}
.contact-list a{overflow-wrap:anywhere}

.qr-wrap{
display:flex;
gap:20px;
align-items:center;
margin-top:22px;
padding-top:20px;
border-top:1px solid var(--line)
}

.qr-wrap img{
width:128px;
height:134px;
object-fit:contain;
background:#fff;
border-radius:5px;
padding:4px
}

.qr-wrap p{
color:var(--muted);
font-size:.9rem
}

.site-footer{
border-top:1px solid var(--line);
padding:24px 20px;
color:var(--muted);
text-align:center;
font-size:.9rem
}

.page-content{
max-width:var(--max);
min-height:45vh;
padding:50px 22px;
margin:auto
}

.page-content h1{color:var(--orange)}

@media(max-width:800px){

.menu-toggle{display:block}

.nav-inner{position:relative}

.menu{
display:none;
position:absolute;
top:100%;
right:12px;
left:12px;
background:#202427;
border:1px solid var(--line);
border-radius:12px;
padding:12px;
flex-direction:column;
align-items:stretch
}

.menu.is-open{display:flex}

.menu a{text-align:center}

.hero{
min-height:470px;
background-position:58% center
}

.features{
grid-template-columns:repeat(2,1fr);
gap:8px
}

.feature:nth-child(2){border-left:0}

.service-grid{grid-template-columns:repeat(2,1fr)}

.about-inner{
grid-template-columns:1fr;
gap:18px
}

.contact{grid-template-columns:1fr}
}

@media(max-width:520px){

.topbar-inner{justify-content:center}

.top-links{
justify-content:center;
gap:8px 14px
}

.brand small{font-size:.54rem}

.hero{
min-height:480px;
background-image:
linear-gradient(90deg,rgba(18,21,23,.96),rgba(18,21,23,.68)),
url('assets/images/industrial-hero.webp')
}

.hero-inner{padding-block:45px}

.features{
margin-inline:12px;
border-radius:12px
}

.feature{
font-size:.85rem;
padding:8px 5px
}

.service-grid{grid-template-columns:1fr}

.section{padding-block:55px}

.qr-wrap{
align-items:flex-start;
flex-direction:column
}
}

/* Standalone page templates */

.home-intro{
background:#202427;
border-block:1px solid #343A3E;
padding:52px 22px
}

.home-intro-inner{
max-width:var(--max);
margin:auto
}

.home-intro h2{
font-size:clamp(1.5rem,3vw,2.1rem);
margin:5px 0 8px
}

.home-intro p,.page-heading p,.page-copy p{
color:var(--muted)
}

.page-heading{margin-bottom:30px}

.page-heading h1{
font-size:clamp(1.8rem,4vw,2.7rem);
margin:5px 0 8px
}

.page-copy{line-height:2}

.page-copy h2{margin-top:0}

.page-copy strong{color:var(--orange)}

.page-copy .about-box{margin:26px 0}

.contact-page-layout{align-items:start}

.contact-page-layout>div:first-child{padding-top:12px}
body {
    background: #25282A !important;
}

.site-header {
    background: #25282A !important;
}

.eyebrow {
    color: #F47721 !important;
}

.brand-mark {
    border-color: #F47721 !important;
    color: #F47721 !important;
}

/* =========================================================
   COPCO — FULL WIDTH DESKTOP LAYOUT
   Layout-only overrides. Content, SEO text and links unchanged.
   ========================================================= */

@media (min-width: 1025px) {

    :root {
        --max: 100%;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Main page containers */
    .page-content,
    .section,
    .features,
    .about-inner,
    .home-intro-inner,
    .hero-inner,
    .topbar-inner,
    .nav-inner {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Keep comfortable, but much smaller, side gutters */
    .page-content,
    .section,
    .about-inner,
    .home-intro-inner,
    .hero-inner {
        padding-left: clamp(24px, 2.2vw, 42px) !important;
        padding-right: clamp(24px, 2.2vw, 42px) !important;
    }

    .topbar-inner,
    .nav-inner {
        padding-left: clamp(24px, 2.2vw, 42px) !important;
        padding-right: clamp(24px, 2.2vw, 42px) !important;
    }

    /* Feature strip spans the full available width */
    .features {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 0 16px 16px;
    }

    /* Wide grids use the available desktop space */
    .service-grid {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact,
    .contact-page-layout {
        width: 100%;
    }

    /* Full-width desktop header frame */
    .copco-header {
        width: 100% !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .copco-main-header {
        width: 100% !important;
        max-width: none !important;
    }

    /* Full-width footer */
    .site-footer {
        width: 100%;
        max-width: none;
    }
}
