﻿/* ============================================
           FONTS
           ============================================ */
@font-face {
    font-family: "Vazir";
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.eot");
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.eot?#iefix") format("embedded-opentype"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.woff2") format("woff2"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.woff") format("woff"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Vazir";
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.eot");
    src: url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.eot?#iefix") format("embedded-opentype"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.woff2") format("woff2"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.woff") format("woff"), url("/assets/source/fonts/vazir-font-v16.1.0/Vazir-Bold.ttf") format("truetype");
    font-weight: 700;
}

* {
    font-family: "Vazir", system-ui, sans-serif;
}

/* ============================================
           ROOT VARIABLES
           ============================================ */
:root {
    --primary-1000: #03484e;
    --primary-900: #046c76;
    --primary-800: #06909d;
    --primary-700: #07b4c4;
    --primary-600: #37c3d0;
    --primary-100: #e1f7f9;
    --primary-50: #f9feff;
    --secondary-950: #553921;
    --secondary-800: #aa7242;
    --secondary-700: #d48e52;
    --secondary-600: #dda575;
    --secondary-500: #e5bb97;
    --secondary-300: #f2ddcb;
    --secondary-200: #f6e8dc;
    --secondary-100: #fbf4ee;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #232c39;
    --gray-900: #111928;
    --red-600: #e02424;
    --white: #ffffff;
}

/* ============================================
           RESET / BASE
           ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f9fafb;
    color: var(--gray-800);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/*.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}*/

/* ============================================
           HEADER INNER (c-header-inner)
           ============================================ */
.c-header-inner {
    min-height: 450px;
    height: 450px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.49) -2.54%, rgba(0, 0, 0, 0.224) 49.71%, rgba(0, 0, 0, 0.49) 101.95%), url(../../assets/source/images/gallery-hero.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .c-header-inner .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
    }

    .c-header-inner .hero-content {
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .c-header-inner .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
    }

        .c-header-inner .breadcrumb .page {
            color: #f2ddcb;
            font-weight: 500;
            font-size: 16px;
            line-height: 180%;
        }

        .c-header-inner .breadcrumb .page-current {
            font-weight: 500;
            font-size: 16px;
            line-height: 180%;
            color: var(--gray-500);
        }

    .c-header-inner .hero-title {
        font-size: 24px;
        font-weight: 800;
        color: var(--gray-50);
        text-align: center;
        padding: 0 16px;
        line-height: 1.4;
        z-index: 10;
    }

    .c-header-inner .hero-sub {
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-50);
        opacity: 0.8;
        text-align: center;
        padding: 0 16px;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.8;
        z-index: 10;
    }

/* ============================================
           GALLERY PRINCIPLE CONTAINER
           ============================================ */
.items-princ-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 70px 0 20px 0;
    direction: rtl;
}

.princ-swiper-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.princ-swiper {
    width: 100%;
    margin-right: 0 !important;
}

.swiper-slide {
    width: auto !important;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.princ-btn,
.princ-active {
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.princ-btn {
    border: 1px solid #98e0e7;
    background: transparent;
}

    .princ-btn span {
        color: #06909d;
    }

.princ-active {
    border: 1px solid #07b4c4;
    background: #c9eff3;
}

    .princ-active span {
        color: #06909d;
    }

.princ-support {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1.5px solid #d48e52;
    border-radius: 12px;
    color: #d48e52;
    white-space: nowrap;
}

    .princ-support .support-label {
        font-weight: 400;
        font-size: 16px;
        line-height: 180%;
        color: #6b7280;
    }

    .princ-support .support-count {
        font-weight: 600;
        font-size: 14px;
    }

.arrow-principle-next {
    width: 40px;
    height: 40px;
    border: 2px solid #06909d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    z-index: 10;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ============================================
           BLOG SECTION
           ============================================ */
.blog-section {
    width: 100%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    transition: 0.3s;
}

    .blog-card:hover {
        transform: translateY(-5px);
        cursor: pointer;
    }

.blog-img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.blog-label {
    color: #6b7280;
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
}

/* ============================================
           RESPONSIVE
           ============================================ */
@media (min-width: 768px) {
    .c-header-inner {
        min-height: 550px;
        height: 550px;
    }

        .c-header-inner .hero-title {
            font-size: 48px;
        }

        .c-header-inner .hero-sub {
            font-size: 18px;
        }
}

@media (min-width: 1024px) {
    .c-header-inner {
        min-height: 600px;
        height: 600px;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-img {
        height: 220px;
    }

    .c-header-inner .hero-title {
        font-size: 24px;
    }

    .c-header-inner .hero-sub {
        font-size: 14px;
    }

    .c-header-inner .breadcrumb .page,
    .c-header-inner .breadcrumb .page-current {
        font-size: 12px;
    }
}

@media (max-width: 598px) {
    .items-princ-container {
        flex-direction: column-reverse;
    }

    .princ-support {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 560px) {
    .c-header-inner .hero-title {
        font-size: 22px !important;
        white-space: normal !important;
        text-align: center;
    }

    .c-header-inner .hero-sub {
        font-size: 13px !important;
        white-space: normal !important;
        text-align: center;
        padding: 0 20px;
    }
}

/* ============================================
           UTILITY
           ============================================ */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-8 {
    gap: 8px;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-gray-50 {
    color: var(--gray-50);
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.text-secondary-300 {
    color: var(--secondary-300);
}

.text-secondary-700 {
    color: var(--secondary-700);
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-extrabold {
    font-weight: 800;
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: 12px;
}

.text-base {
    font-size: 16px;
}

.text-lg {
    font-size: 18px;
}

.text-xl {
    font-size: 20px;
}

.text-2xl {
    font-size: 24px;
}

.text-3xl {
    font-size: 30px;
}

.text-4xl {
    font-size: 36px;
}

.text-5xl {
    font-size: 48px;
}

.px-4 {
    padding-right: 16px;
    padding-left: 16px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.px-3 {
    padding-right: 12px;
    padding-left: 12px;
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.max-w-600 {
    max-width: 600px;
}

.leading-relaxed {
    line-height: 1.8;
}

.leading-normal {
    line-height: 1.5;
}

.opacity-80 {
    opacity: 0.8;
}

.z-10 {
    z-index: 10;
}

.relative {
    position: relative;
}

.inset-0 {
    inset: 0;
}

.w-full {
    width: 100%;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.bg-background {
    background: #f9fafb;
}

.cursor-pointer {
    cursor: pointer;
}

@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 48px;
    }

    .md\:text-lg {
        font-size: 18px;
    }

    .md\:block {
        display: block;
    }

    .md\:hidden {
        display: none;
    }
}

@media (min-width: 640px) {
    .sm\:hidden {
        display: none;
    }

    .sm\:block {
        display: block;
    }
}
.c-header-inner {
    min-height: 450px;
    height: 450px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.49) -2.54%, rgba(0, 0, 0, 0.224) 49.71%, rgba(0, 0, 0, 0.49) 101.95%), url(../../assets/source/images/gallery-hero.png);
}



/* ============================================
           GALLERY PRINCIPLE CONTAINER (اسکرول‌دار)
           ============================================ */
.items-princ-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 70px 0 20px 0;
    direction: rtl;
}

.princ-swiper-wrapper {
    position: relative;
    flex: 1;
    /*overflow: hidden;*/
    overflow-x: scroll;
    min-width: 0;
    scrollbar-width: none;
}

.princ-swiper {
    width: 100%;
    overflow: visible !important; 
}

    .princ-swiper .swiper-wrapper {
        transition-timing-function: ease;
    }

    .princ-swiper .swiper-slide {
        width: auto !important;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0; 
        margin-left:12px;
    }

.princ-btn,
.princ-active {
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.princ-btn {
    border: 1px solid #98e0e7;
    background: transparent;
}

    .princ-btn span {
        color: #06909d;
    }

.princ-active {
    border: 1px solid #07b4c4;
    background: #c9eff3;
}

    .princ-active span {
        color: #06909d;
    }

.princ-support {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1.5px solid #d48e52;
    border-radius: 12px;
    color: #d48e52;
    white-space: nowrap;
    flex-shrink: 0;
}

    .princ-support .support-label {
        font-weight: 400;
        font-size: 16px;
        color: #6b7280;
    }

    .princ-support .support-count {
        font-weight: 600;
        font-size: 14px;
    }

/* دکمه ناوبری (اختیاری) */
.arrow-principle-next {
    width: 40px;
    height: 40px;
    border: 2px solid #06909d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: white;
    z-index: 10;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

    .arrow-principle-next:hover {
        background: #06909d;
        color: white;
    }

/* ============================================
           BLOG / GALLERY GRID
           ============================================ */
.blog-section {
    width: 100%;
    padding: 40px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    transition: 0.3s;
}

    .blog-card:hover {
        transform: translateY(-5px);
        cursor: pointer;
    }

.blog-img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.blog-label {
    color: #6b7280;
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
}

/* ============================================
           RESPONSIVE
           ============================================ */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-img {
        height: 220px;
    }
}

@media (max-width: 598px) {
    .items-princ-container {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .princ-support {
        width: 100%;
        justify-content: space-between;
    }

    .princ-swiper-wrapper {
        width: 100%;
    }
}
.blog-section, .items-princ-container {
    padding-left:15px;
    padding-right:15px
}