/* fonts
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@font-face {
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/IRANYekan/eot/IRANYekanBold.eot);
    src: url(../fonts/IRANYekan/eot/IRANYekanBold.eot?#iefix) format("embedded-opentype"),
        url(../fonts/IRANYekan/woff/IRANYekanBold.woff) format("woff"),
        url(../fonts/IRANYekan/otf/IRANYekanBold.otf) format("otf"),
        url(../fonts/IRANYekan/ttf/IRANYekanBold.ttf) format("truetype");
    font-family: IRANYekan;
}

@font-face {
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/IRANYekan/eot/IRANYekanMedium.eot);
    src: url(../fonts/IRANYekan/eot/IRANYekanMedium.eot?#iefix) format("embedded-opentype"),
        url(../fonts/IRANYekan/woff/IRANYekanMedium.woff) format("woff"),
        url(../fonts/IRANYekan/otf/IRANYekanMedium.otf) format("otf"),
        url(../fonts/IRANYekan/ttf/IRANYekanMedium.ttf) format("truetype");
    font-family: IRANYekan;
}

@font-face {
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/IRANYekan/eot/IRANYekanLight.eot);
    src: url(../fonts/IRANYekan/eot/IRANYekanLight.eot?#iefix) format("embedded-opentype"),
        url(../fonts/IRANYekan/woff/IRANYekanLight.woff) format("woff"),
        url(../fonts/IRANYekan/otf/IRANYekanLight.otf) format("otf"),
        url(../fonts/IRANYekan/ttf/IRANYekanLight.ttf) format("truetype");
    font-family: IRANYekan;
}

@font-face {
    font-style: normal;
    font-weight: 200;
    src: url(../fonts/IRANYekan/eot/IRANYekanThin.eot);
    src: url(../fonts/IRANYekan/eot/IRANYekanThin.eot?#iefix) format("embedded-opentype"),
        url(../fonts/IRANYekan/woff/IRANYekanThin.woff) format("woff"),
        url(../fonts/IRANYekan/otf/IRANYekanThin.otf) format("otf"),
        url(../fonts/IRANYekan/ttf/IRANYekanThin.ttf) format("truetype");
    font-family: IRANYekan;
}

@font-face {
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/IRANYekan/eot/IRANYekanRegular.eot);
    src: url(../fonts/IRANYekan/eot/IRANYekanRegular.eot?#iefix) format("embedded-opentype"),
        url(../fonts/IRANYekan/woff/IRANYekanRegular.woff) format("woff"),
        url(../fonts/IRANYekan/otf/IRANYekanRegular.otf) format("otf"),
        url(../fonts/IRANYekan/ttf/IRANYekanRegular.ttf) format("truetype");
    font-family: IRANYekan;
}

/* base styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --color-gold: #d4af37;
    --color-navy: #0a2850;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-text-dark: #222222;
    --color-text: #555555;
    --color-accent-green: #6d8f72;
}

html {
    box-sizing: border-box;
}

*,
:before,
:after {
    box-sizing: inherit;
}

* {
    font-family: "IRANYekan";
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--color-navy);
}

ul,
ol {
    list-style: none;
}

figure {
    margin: 0;
}

img {
    vertical-align: middle;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
}

input {
    outline: none;
}

input[type="radio"] {
    width: auto !important;
}

body {
    background-color: #f8f7f3;
}

/* grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

.image-fit img,
.gallery-item img {
    height: 100%;
    flex: 1;
    object-fit: cover;
}

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    height: 60px;
    position: fixed;
    top: 40px;
    width: 1000px;
    z-index: 2;
    border-radius: 999px;
    padding: 0 40px;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-shrink .header-wrapper {
    top: 10px;
}

.header-logo img {
    width: 60px;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
}

.header-menu ul {
    display: flex;
    gap: 30px;
}

.header-actions-item,
.header-actions-item a {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

.header-actions .header-actions-menu-icon {
    display: none;
}

.header-actions-menu-icon.active {
    transform: rotate(90deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-navy);
    z-index: 999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu-open .mobile-menu-overlay {
    right: 0;
}

.mobile-menu-overlay .header-menu {
    display: block;
    padding: 80px 30px 30px;
}

.mobile-menu-overlay .header-menu ul {
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-overlay .header-menu ul li a {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-bg-light);
    display: block;
    transition: color 0.3s ease;
}

.mobile-menu-overlay .header-menu ul li a:hover {
    color: var(--color-gold);
}

/* Body scroll lock when menu is open */
.mobile-menu-open {
    overflow: hidden;
}

/* Homepage
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Hero */
.hero-card {
    padding: 70px 0 40px;
    position: relative;
}

.hero-media img {
    border-radius: 25px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 140px;
    right: 0;
    color: var(--color-bg);
}

.hero-title a {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-bg);
    padding: 15px 20px 20px;
    border-radius: 25px 0 0 25px;
    background: #d4af37d4;
}

/* About Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.content-about {
    margin: 80px 0;
    background-color: var(--color-bg-light);
}

.about-wrapper {
    display: flex;
    gap: 40px;
}

.about-wrapper-inner {
    display: flex;
    background-color: #eeece0;
    border-radius: 20px;
    overflow: hidden;
}

.about-image {
    transform: scaleX(-1);
}

.about-media img {
    height: 320px;
    object-fit: cover;
}

.about-content {
    padding: 20px;
}

.about-header {
    margin-bottom: 30px;
}

.about-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.title-highlight {
    color: #b8a082;
}

.about-text {
    line-height: 1.7;
}

.about-paragraph {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 400;
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

.about-stats {
    width: 380px;
    flex-shrink: 0;
    background-color: #b8a082;
    border-radius: 20px;
    padding: 40px 30px;
    color: white;
    text-align: center;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url(../images/logo-white.png), url(../images/cheetaco-bg.jpg);
    background-size: 350px, 540px;
    background-repeat: no-repeat;
    background-position: -58px -32px;
}

.stats-header {
    text-align: right;
    margin-bottom: 20px;
}

.stats-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 5px;
}

.stats-sublabel {
    display: block;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.8;
}

.stats-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.stats-numbers {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-description {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.3;
}

/* Portfolio Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.content-portfolio {
    margin-bottom: 80px;
    padding: 40px;
    background-color: var(--color-navy);
}

.portfolio-content {
    display: flex;
    gap: 40px;
}

.portfolio-header {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-bg);
    margin-bottom: 40px;
}

.archive-post {
    position: relative;
}

.archive-post:after {
    content: "";
    position: absolute;
    height: 1px;
    width: calc(100% + 40px);
    background-color: #ffffff33;
    left: 0;
    bottom: calc(40px / -2);
    z-index: 3;
}

.archive-post:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    background-color: #ffffff33;
    right: calc(40px / -2);
    top: 0;
    z-index: 3;
}

.archive-post:first-child:before {
    content: none;
}

.archive-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .archive-post figure,
.home .archive-item-image img {
    border-radius: 12px;
}

.home .archive-post .entry-title a {
    color: var(--color-bg);
    font-size: 16px;
}

.portfolio-item-details {
    display: flex;
    gap: 10px;
}

.portfolio-item-details a {
    color: var(--color-bg);
    border: 1px solid #ffffff33;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.4285714286;
    transition: all 0.3s ease;
    padding: 4px 24px;
    border-radius: 20px;
    white-space: nowrap;
    margin: 20px 0 10px;
}

.portfolio-item-title {
    margin-top: 10px;
}

.portfolio-item-title a {
    font-size: 18px;
    color: var(--color-bg);
}

.portfolio-footer {
    text-align: center;
    margin-top: 40px;
}

.portfolio-footer a {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-bg);
}

/* Single
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.single-content {
    margin: 40px 0 80px;
}

/* Archive
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.archive-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.content-archive {
    margin-bottom: 80px;
}

.page-title {
    position: absolute;
    bottom: 80px;
    right: 120px;
    color: var(--color-gold);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    background: #0000004d;
    padding: 0 15px 15px;
    border-radius: 25px;
}

.archive-post {
    flex-basis: calc(50% - 20px);
}

.archive-item-image img {
    border-radius: 25px;
}

/* Shine */
.archive-post figure {
    position: relative;
    overflow: hidden;
}

.archive-post figure::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 100%);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.archive-post figure:hover::before {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* Search
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.search-input {
    padding-bottom: 40px;
}

.search-form {
    display: flex;
    justify-content: space-evenly;
}

.search-field {
    width: 80%;
    padding: 10px 30px;
    font-size: 24px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    transition: border-color 0.3s;
}

.search-field:focus {
    border-color: #000;
}

.search-submit {
    padding: 10px 40px;
    font-size: 24px;
    border: none;
    border-radius: 12px;
    background-color: #d4af37;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-submit:hover {
    background-color: #000;
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer-wrapper {
    display: flex;
    background-color: #efebe2;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    width: 40%;
}

.footer-logo a {
    font-size: 46px;
    font-weight: bold;
    padding-right: 10px;
    line-height: 40px;
}

.footer-logo a div:first-child {
    font-size: 14px;
    font-weight: 100;
    padding-top: 35px;
}

/* Responsive
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Laptop */
@media (min-width: 992px) and (max-width: 1199px) {

    .hidden-md,
    .visible-lg,
    .visible-sm,
    .visible-xs {
        display: none !important;
    }

    .visible-md,
    .hidden-lg,
    .hidden-sm,
    .hidden-xs {
        display: block !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {

    .hidden-sm,
    .visible-lg,
    .visible-md,
    .visible-xs {
        display: none !important;
    }

    .visible-sm,
    .hidden-lg,
    .hidden-md,
    .hidden-xs {
        display: block;
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }

    .colm {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .hidden-xs,
    .visible-lg,
    .visible-md,
    .visible-sm {
        display: none;
    }

    .visible-xs,
    .hidden-lg,
    .hidden-md,
    .mobile,
    .mobile-show {
        display: block;
    }

    .mobile-hide,
    .header-menu,
    .about-image {
        display: none;
    }

    .header-actions .header-actions-menu-icon {
        display: flex
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }

    .colm,
    .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: 100%;
    }

    .header-wrapper {
        width: 95%;
        top: 10px;
        height: 52px;
        padding: 0 20px;
    }

    .home .hero-card {
        padding-top: 100px;
    }

    .hero-content {
        position: static;
    }

    .hero-title a {
        display: block;
        padding: 5px 20px;
        margin-top: 1px;
        width: fit-content;
        border-radius: 24px;
        font-size: 18px;
    }

    .about-wrapper {
        flex-direction: column;
    }

    .about-title {
        font-size: 36px;
    }

    .about-stats,
    .archive-post:after {
        width: 100%;
    }

    .portfolio-content {
        flex-direction: column;
    }

    .portfolio-header {
        font-size: 24px;
    }

    .content-portfolio {
        padding: 40px 10px 20px;
    }

    .archive-post:before {
        content: none;
    }

    .archive-post {
        flex-basis: 100%;
    }

    .stats-header {
        position: relative;
        top: 100px;
    }

    .page-title {
        bottom: 47px;
        right: 5%;
        font-size: 12px;
        padding: 0 15px 5px;
    }
}