/* === Font Import - Vazirmatn === */
@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    background-color: #f7f9fc;
    color: #333;
    text-align: right;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

/* === Header === */
.header {
    background: #e0e5ec;
    color: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}


.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ff3d7f;
    margin-left: auto; /* لوگو رو می‌بره سمت چپ */
}

.nav {
    float: left;
}
.nav a {
    color: #333;
    text-decoration: none;
    margin-right: 25px;
    font-size: 1rem;
    transition: 0.3s;
}
.nav a:hover {
    color: #e91e63;
}

/* === Hero Section === */
.hero {
    background: url('assets/images/hero.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 1100px;
    overflow: hidden;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f9f9f9;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn {
    padding: 16px 32px;
    background: #ed64a6;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow:
        4px 4px 8px #bebebe,
        -4px -4px 8px #ffffff;
}

.btn:hover {
    background: #f687b3;
    transform: translateY(-2px);
    box-shadow:
        6px 6px 12px #bebebe,
        -6px -6px 12px #ffffff;
}
/* === Services Section with Box === */
/* === Services Section === */
.services {
    background: #f0f4f8;
    padding: 100px 0;
    margin: 60px auto;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.service-desc {
    text-align: center;
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.service-item {
    background: #e0e5ec;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.service-item img {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow:
        10px 10px 20px #bebebe,
        -10px -10px 20px #ffffff;
    background: #e8eff7;
}

.service-item:hover img {
    transform: scale(1.1) rotate(3deg);
}
/* === Works Section with Box === */
.works {
    background: #f0f4f8;
    padding: 100px 0;
    margin: 60px auto;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}

.works h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.work-desc {
    text-align: center;
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    padding: 0 20px;
}

.work-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.work {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}

.work img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.work:hover img {
    transform: scale(1.05);
}

.work-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 12px 15px;
    font-size: 0.95rem;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: background 0.3s ease;
}

.work:hover .work-title {
    background: rgba(0, 0, 0, 0.75);
}
/* === About Section === */
.about {
    background: #f0f4f8;
    padding: 100px 0;
    margin: 60px auto;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}

.about h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.about p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* === Testimonials Section === */
.testimonials {
    background: #f0f4f8;
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.testimonial {
    background: #e0e5ec;
    padding: 30px;
    border-radius: 20px;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    transition: all 0.3s ease;
}

.testimonial span {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #888;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow:
        10px 10px 20px #bebebe,
        -10px -10px 20px #ffffff;
}
/* === Contact Section === */
.contact {
    background: #f0f4f8;
    padding: 100px 0;
    margin: 60px auto;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
}

.contact h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.contact p {
    text-align: center;
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.8rem;
    background: #e0e5ec;
    box-shadow:
        inset 4px 4px 8px #bebebe,
        inset -4px -4px 8px #ffffff;
    transition: all 0.3s ease;
	font-family:Vazirmatn;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow:
        inset 6px 6px 12px #bebebe,
        inset -6px -6px 12px #ffffff;
}

.contact-form button {
    padding: 16px 32px;
    background: #ff0065;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow:
        4px 4px 8px #bebebe,
        -4px -4px 8px #ffffff;
}

.contact-form button:hover {
    background: #f687b3;
    transform: translateY(-2px);
    box-shadow:
        6px 6px 12px #bebebe,
        -6px -6px 12px #ffffff;
}

/* === Footer === */
.footer {
    background: #e0e5ec;
    color: #333;
    text-align: center;
    padding: 30px 0;
    box-shadow:
        8px 8px 16px #bebebe,
        -8px -8px 16px #ffffff;
    margin-top: 60px;
}

.footer p {
    font-size: 1rem;
    color: #555;
}
.btn {
    background: #ff0065;
}

.btn:hover {
    background: #ff3d8a;
}

.nav a:hover {
    color: #ff0065;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.4rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        float: none;
        text-align: center;
    }
    .nav a {
        display: block;
        margin: 10px 0;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
/* === Hamburger Menu === */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: 10px;
}

.hamburger span {
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, box-shadow 0.3s ease-out;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        max-height: 300px;
        padding: 20px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .nav a {
        margin: 10px 0;
        font-size: 1.1rem;
        color: #333;
    }

    /* Animate hamburger to close icon */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

input,
textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background: #e0e5ec;
    box-shadow:
        inset 4px 4px 8px #bebebe,
        inset -4px -4px 8px #ffffff;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow:
        inset 6px 6px 12px #bebebe,
        inset -6px -6px 12px #ffffff;
}