 /*
Theme Name: Face Studiox
Theme URI: https://facestudiox.com
Author: Face Studiox
Description: قالب اختصاصی فیس استودیوکس
Version: 1.1.0
Text Domain: facestudiox
*/

:root {
    --navy: #101827;
    --navy-light: #1d2a3d;
    --ink: #16191e;
    --stone: #e8e8e6;
    --muted: #737782;
    --warm-white: #fafaf8;
    --white: #ffffff;
    --line: rgba(16, 24, 39, 0.12);
    --radius: 18px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    background: var(--warm-white);
    color: var(--ink);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(16, 24, 39, 0.97);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    letter-spacing: 2px;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    font-size: 12px;
    letter-spacing: 0;
}

.brand small {
    display: block;
    margin-top: -3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    letter-spacing: 0;
}

.main-nav {
    display: none;
}

.header-booking {
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 8px 13px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

/* Hero */
.hero {
    background: var(--navy);
    color: var(--white);
}

.hero-grid {
    min-height: 660px;
    display: grid;
    grid-template-columns: 1fr;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 68px 16px 54px;
}

.eyebrow {
    margin: 0 0 18px;
    color: #c8ced8;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(35px, 10vw, 58px);
    line-height: 1.35;
    font-weight: 700;
}

.hero-text {
    max-width: 500px;
    margin: 23px 0 0;
    color: #d5d9df;
    font-size: 15px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.25s ease;
}

.button--light {
    background: var(--white);
    color: var(--navy);
}

.button--outline {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
}

.hero-media {
    min-height: 360px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(16, 24, 39, 0.78), rgba(16, 24, 39, 0.25)),
        linear-gradient(45deg, #2b313d, #6a6d70);
}

.hero-media--placeholder {
    display: flex;
    align-items: end;
    padding: 25px;
}

.hero-media--placeholder span {
    padding: 9px 12px;
    background: rgba(16, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-size: 12px;
}

/* Services */
.services {
    padding: 76px 0;
}

.section-label {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
}

.section-title {
    margin: 0;
    color: var(--navy);
    font-size: clamp(27px, 7vw, 42px);
    line-height: 1.45;
}

.section-intro {
    max-width: 610px;
    margin: 13px 0 32px;
    color: var(--muted);
    font-size: 14px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-card {
    min-height: 144px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.service-number {
    color: var(--muted);
    font-size: 12px;
}

.service-card h3 {
    margin: 12px 0 5px;
    color: var(--navy);
    font-size: 18px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* About */
.about {
    padding: 0 0 76px;
}

.about-box {
    padding: 30px 22px;
    background: var(--stone);
    border-radius: var(--radius);
}

.about-box p {
    margin: 13px 0 0;
    color: #4d535d;
    font-size: 14px;
}

/* Footer */
.site-footer {
    padding: 28px 0;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

@media (min-width: 800px) {
    .site-container {
        width: min(calc(100% - 72px), var(--container));
    }

    .header-inner {
        min-height: 92px;
    }

    .main-nav {
        display: flex;
        align-items: center;
        gap: 28px;
        color: rgba(255, 255, 255, 0.85);
        font-size: 13px;
    }

    .main-nav a:hover,
    .header-booking:hover {
        color: var(--white);
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 700px;
    }

    .hero-copy {
        padding: 70px max(36px, calc((100vw - var(--container)) / 2));
        padding-left: 72px;
    }

    .hero-media {
        min-height: auto;
    }

    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-box {
        padding: 50px;
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Hero video — نسخه جدید */

.home .site-header {
    position: absolute;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
    border-bottom: 0;
}

.hero--video {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #3a3a3a;
    color: var(--white);
}

.hero-visual,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-visual {
    z-index: 0;
    background:
        linear-gradient(135deg, #292929, #707070 52%, #303030);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.28) 50%,
        rgba(0, 0, 0, 0.66) 100%
    );
}

.hero-video-content {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 62px;
}

.hero--video .hero-copy {
    max-width: 650px;
    padding: 0;
}

.hero--video .hero-text {
    color: rgba(255, 255, 255, 0.88);
}

.hero--video .eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 799px) {
    .home .site-header {
        min-height: 72px;
    }

    .hero--video,
    .hero-video-content {
        min-height: 700px;
    }

    .hero-video {
        display: none;
    }

    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.18)
        );
    }

    .hero-video-content {
        padding-bottom: 48px;
    }
}

@media (min-width: 800px) {
    .hero-video-content {
        padding-bottom: 100px;
    }
}

.hero-visual {
    background: #303238;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.28);
}