﻿/* CSS Document */
@charset "UTF-8";

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-FD.eot');
    src: local('../fonts/Vazir-FD'), url('../fonts/Vazir-FD.woff') format('woff'), url('../fonts/Vazir-FD.ttf') format('truetype');
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Vazir';
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

hr.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: #f4623a;
}

hr.light {
    border-color: #fff;
}

.btn {
    font-family: 'Vazir';
}

.btn-xl {
    padding: 1.25rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 10rem;
}

.page-section {
    padding: 8rem 0;
}

.rtl .ml-auto, .rtl .mx-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

#mainNav {
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

#mainNav .navbar-brand {
    font-family: 'Vazir';
    font-weight: 700;
    color: #212529;
}

@media (max-width: 992px) {
    #mainNav .navbar-nav .nav-item {
        margin-right: 0;
    }
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: #6c757d;
    font-family: 'Vazir';
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 0;
}

#mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #f4623a;
}

#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #f4623a !important;
}

@media (min-width: 992px) {
    #mainNav {
        -webkit-box-shadow: none;
        box-shadow: none;
        background-color: transparent;
    }

    #mainNav .navbar-brand {
        color: rgba(255, 255, 255, 0.7);
    }

    #mainNav .navbar-brand:hover {
        color: #fff;
    }

    #mainNav .navbar-nav .nav-item .nav-link {
        color: rgba(255, 255, 255, 0.7);
        padding: 0 1rem;
    }

    #mainNav .navbar-nav .nav-item .nav-link:hover {
        color: #fff;
    }

    #mainNav .navbar-nav .nav-item:last-child .nav-link {
        padding-left: 0;
    }

    #mainNav.navbar-scrolled {
        -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        background-color: #fff;
    }

    #mainNav.navbar-scrolled .navbar-brand {
        color: #212529;
    }

    #mainNav.navbar-scrolled .navbar-brand:hover {
        color: #f4623a;
    }

    #mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link {
        color: #212529;
    }

    #mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link:hover {
        color: #f4623a;
    }
}

header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 72px);
    background: -webkit-gradient(linear, right top, right bottom, from(rgba(92, 77, 66, 0.8)), to(rgba(92, 77, 66, 0.8))), url("../pics/bg-masthead.jpg");
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.8) 0%, rgba(92, 77, 66, 0.8) 100%), url("../pics/bg-masthead.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

header.masthead h1 {
    font-size: 2.25rem;
}

@media (min-width: 992px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 72px;
        padding-bottom: 0;
    }

    header.masthead p {
        font-size: 1.15rem;
    }

    header.masthead h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    header.masthead h1 {
        font-size: 3.5rem;
    }
}

#portfolio .container-fluid {
    max-width: 1920px;
}

#portfolio .container-fluid .portfolio-box {
    position: relative;
    display: block;
}

#portfolio .container-fluid .portfolio-box .portfolio-box-caption {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    opacity: 0;
    color: #fff;
    background: rgba(244, 98, 58, 0.9);
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
    text-align: center;
}

#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-category {
    font-family: 'Vazir';
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

#portfolio .container-fluid .portfolio-box .portfolio-box-caption .project-name {
    font-size: 1.2rem;
}

#portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

@font-face {
  font-family: 'Pinar-Bold';
  src: url('../fonts/Pinar-Bold.woff2') format('woff2'),
       url('../fonts/Pinar-Bold.woff') format('woff'),
       url('../fonts/Pinar-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

#logo-title {
  font-family: 'Pinar-Bold', sans-serif;
  font-size: 3rem;
  position: relative;
  color: transparent; /* داخل نوشته کاملاً خالی */
  -webkit-text-stroke: 2px #ff0073; /* آبی نئونی دور حروف */
  text-stroke: 2px #ff0073;
  animation: neonOutlineBlue 2s infinite;
}

/* درخشش فقط اطراف حروف */
#logo-title::after {
  content: attr(data-text); /* متن تکرار شده برای نور */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: transparent;
  -webkit-text-stroke: 0;
  text-shadow:
    0 0 6px #ff0073,
    0 0 15px #ff0073,
    0 0 30px #ff0073;
  opacity: 0.9;
  animation: neonGlowBlue 1.5s infinite;
  pointer-events: none;
}

/* چشمک‌زدن نرم درخشش */
@keyframes neonGlowBlue {
  0%, 100% {
    opacity: 1;
    filter: brightness(1.3);
  }
  50% {
    opacity: 0.4;
    filter: brightness(0.8);
  }
}

/* تغییر رنگ حاشیه برای طبیعی‌تر شدن */
@keyframes neonOutlineBlue {
  0%, 100% {
    -webkit-text-stroke-color: #ff0073;
  }
  50% {
    -webkit-text-stroke-color: #ff0073;
  }
}

/* استایل عکس ها برای خدمات ما */
.service-icon {
  width: 15rem;     /* معادل fa-4x */
  height: 15rem;
  object-fit: contain;
}
/* افکت هاور برای عکسهای خدمات ما */
.service-icon {
  transition: transform 0.3s ease;
}
.service-icon:hover {
  transform: scale(1.1);
}

/* آیکون‌های شبکه اجتماعی در فوتر */
footer .instagram,
footer .telegram,
footer .youtube,
footer .facebook,
footer .twitter,
footer .linkedin {
    width: 50px;        /* عرض دکمه */
    height: 50px;       /* ارتفاع دکمه */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 8px;
    transition: all 0.3s ease;
    font-size: 24px;    /* سایز آیکون */
    color: white;       /* رنگ آیکون (سفید) */
    text-decoration: none;
}

/* رنگ پس‌زمینه ثابت برای هر دکمه (همیشه پدیدار) */
footer .instagram {
    background-color: #E4405F;  /* صورتی اینستاگرام */
}
footer .telegram {
    background-color: #0088cc;  /* آبی تلگرام */
}
footer .youtube {
    background-color: #FF0000;  /* قرمز یوتیوب */
}
footer .facebook {
    background-color: #1877F2;  /* آبی فیسبوک */
}
footer .twitter {
    background-color: #1DA1F2;  /* آبی توییتر */
}
footer .linkedin {
    background-color: #0077b5;  /* آبی لینکدین */
}

/* تغییر اندازه هنگام hover (بزرگتر شود) */
footer .instagram:hover,
footer .telegram:hover,
footer .youtube:hover,
footer .facebook:hover,
footer .twitter:hover,
footer .linkedin:hover {
    transform: scale(1.1);
}