/*
Theme Name: Yadak Kesh Sajad
Author: OpenAI
Description: قالب سبک و واکنش‌گرای فارسی برای معرفی خدمات یدک‌کش سجاد
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yadak-sajad
*/

@font-face {
    font-family: 'Yekan';
    src: url('font/Yekan.eot') format('eot');
    src: url('font/Yekan.ttf') format('truetype'),
         url('font/Yekan.woff') format('woff'),
         url('font/Yekan.woff2') format('woff2');
}
@font-face {
    font-family: 'vazir';
    src: url('font/vazir.eot') format('eot');
    src: url('font/vazir.ttf') format('truetype'),
         url('font/vazir.woff') format('woff'),
         url('font/vazir.woff2') format('woff2');
}
@font-face {
    font-family: 'iransans';
    src: url('font/IRANSansWeb.eot') format('eot');
    src: url('font/IRANSansWeb.ttf') format('truetype'),
         url('font/IRANSansWeb.woff') format('woff'),
         url('font/IRANSansWeb.woff2') format('woff2');
}

:root {
    --ys-navy: #10233f;
    --ys-yellow: #ffc928;
    --ys-text: #1d2939;
    --ys-muted: #667085;
    --ys-light: #f5f7fa;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ys-text);
     direction: rtl;
    font-family: 'Yekan';
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

/* Header */
.site-header {
    background: var(--ys-navy);
    color: #fff;
    padding: 16px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    font-size: 1.3rem;
    font-weight: 800;
}

.site-brand span {
    color: var(--ys-yellow);
}

.header-call,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 11px 20px;
    background: var(--ys-yellow);
    color: #172033;
    font-weight: 800;
}

/* Hero */
.hero {
    background: linear-gradient(120deg, #10233f, #173b63);
    color: #fff;
    padding: 76px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 40px;
}

.hero-kicker {
    display: inline-block;
    color: var(--ys-yellow);
    font-weight: 800;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.35;
    margin: 0 0 18px;
}

.hero p {
    font-size: 1.08rem;
    color: #e4ebf4;
    max-width: 650px;
    margin: 0 0 26px;
}

 
/* کادر دایره‌ای تصویر بنر */
.hero-image {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: 0 auto;
    padding: 0;

    border-radius: 50%;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* تصویر داخل دایره */
.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* حذف فاصله و پس‌زمینه کادر داخلی */
.hero-placeholder {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    overflow: hidden;
}

/* تبلت */
@media (max-width: 800px) {
    .hero-image {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 1 / 1;
        min-height: 0;
    }
}

/* موبایل */
@media (max-width: 520px) {
    .hero-image {
        width: 85%;
        max-width: 280px;
        aspect-ratio: 1 / 1;
        min-height: 0;
    }
}


.hero-placeholder {
    font-size: 6rem;
    color: var(--ys-yellow);
}

/* Sections */
.section {
    padding: 66px 0;
}

.section-heading {
    text-align: center;
    margin: 0 auto 32px;
    max-width: 760px;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin: 0 0 10px;
    color: var(--ys-navy);
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    background: var(--ys-light);
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 24px;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-card h3 {
    margin: 0 0 8px;
    color: var(--ys-navy);
}

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

/* About */
.about {
    background: var(--ys-light);
}

.about-box {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-box h2 {
    color: var(--ys-navy);
    font-size: 2rem;
}

/* Contact */
.contact-panel {
    background: var(--ys-navy);
    color: #fff;
    border-radius: 26px;
    padding: 36px;
    text-align: center;
}

.contact-panel h2 {
    margin-top: 0;
}

.contact-panel p {
    color: #e4ebf4;
}

/* Footer */
.site-footer {
    background: #0b1729;
    color: #dbe3ee;
    padding: 25px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

/* Floating Social */
.social-floats {
    position: fixed;
    z-index: 9999;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-float-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.social-float-link:hover {
    transform: translateX(-4px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, .24);
}

.social-float-link svg {
    width: 25px;
    height: 25px;
    display: block;
    fill: currentColor;
}

.social-whatsapp {
    background: #25D366;
}

.social-telegram {
    background: #229ED9;
}

.social-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.social-eitaa {
    background: #ed6b2c;
}

.social-rubika {
    background: #7b4ce2;
}

.social-bale {
    background: #13a875;
}

.social-float-link:focus-visible {
    outline: 3px solid var(--ys-yellow);
    outline-offset: 3px;
}


/*------------- fixed social ----------------*/
#fixed-ico {
    position: fixed;
    top:260px;
    left: 10px;
    float: left;
    z-index: 2 !important;
}

    #fixed-ico a {
        color: #fff;
        display: block;
        float: left;
        height: 38px;
        left: 3px;
        position: relative;
        text-align: center;
        line-height: 40px;
        width: 40px;
        z-index: 1 !important;
        font-size: 13px;
        background-color: #023927 !important;
    }



        #fixed-ico a:hover > span {
            visibility: visible;
            left: 41px;
            opacity: 1;
        }

        #fixed-ico a span {
            line-height: 35px;
            left: 60px;
            position: absolute;
            text-align: center;
            width: 150px;
            visibility: hidden;
            transition-duration: 0.5s;
            z-index: 1 !important;
            opacity: 0;
        }

      #fixed-ico i{
        font-size:.92rem;
        }


.fixed-01 {
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    padding-top: 4px;
}

    .fixed-01 span {
        background-color: #00AAE5;
        border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
    }

.fixed-02 span {
    background-color: #7D3895;
    border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
}

.fixed-03 span {
    background-color: #00AF54;
    border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
}

.fixed-04 span {
    background-color: #FFB300;
    border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
}


.fixed-05 span {
    background-color: #ED2B29;
    border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
}

.fixed-06 {
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
}

    .fixed-06 span {
        background-color: #EB1471;
        border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
border-top-left-radius: 15px;
    }

    .v-divider {
  border-color: rgba(0, 0, 0, 0.12);
display: block;
flex: 1 1 0px;
max-width:70%;
height: 0px;
max-height: 0px;
border: dotted;
border-width: thin 0 0 0;
transition: inherit;
}

.links a.btn-light {
color: #212529!important;
background-color: #e2e6ea!important;
border-color: #dae0e5!important;
}

.textcontrols i {
font-size: 0.7rem;
padding: 0.4rem 0.5rem;
}


.newsinfo,.catinews a {
font-size:.75rem;
color:#0f0e0e
}

/*لوگو */

/* Responsive */
@media (max-width: 800px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 54px 0;
    }

    .hero-image {
        min-height: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .social-floats {
        right: 8px;
        gap: 8px;
    }

    .social-float-link {
        width: 42px;
        height: 42px;
    }

    .social-float-link svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .header-inner {
        align-items: flex-start;
    }

    .site-brand {
        font-size: 1.05rem;
    }

    .header-call {
        padding: 8px 12px;
        font-size: .9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 48px 0;
    }

    .contact-panel {
        padding: 26px 18px;
    }

    .social-floats {
        right: 6px;
        gap: 8px;
    }

    .social-float-link {
        width: 38px;
        height: 38px;
    }

    .social-float-link svg {
        width: 20px;
        height: 20px;
    }
}