* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    width: 100%;
}
html {
    scroll-behavior: smooth;
}

:root {
    --card-shadow : rgba(0,0,0,0.4);
    --header-bg : rgba(255,255,255,0.7);
    --main-bg : #Fafafa;
    --buttons-bg : #c06b8a;
    --buttons-bg : rgb(0, 119, 145);
    --section-bg : rgba(0, 119, 145, 0.2);
    --item-bg : rgba(0, 119, 145, 0.1);
    --product-card-bg : #f9f9f9;
    --footer-info-card-bg: #E3D6C9;
    --footer-navbar-menu-bg : #D7C2A3;
    --fs-p: clamp(0.9rem, 0.8rem + 0.3vw, 1.5rem);
    --fs-button: clamp(0.7rem, 0.8rem + 0.3vw, 1.2rem);
    --fs-h4: clamp(0.6rem, 0.8rem + 0.3vw, 1.5rem);
    --fs-h3: clamp(1rem, 1.1rem + 1vw, 1.25rem);
    --fs-h2: clamp(1rem, 1.4rem + 2vw, 1.7rem);
    --fs-h1: clamp(1.25rem, 1.6rem + 3.5vw, 2rem);
}
@font-face {
    font-family : "Vazir-Light";
    src : url("../fonts/Vazir-Light.ttf");
}
@font-face {
    font-family : "Vazir-Medium";
    src : url("../fonts/Vazir-Medium.ttf");
}
@font-face {
    font-family : "Vazir-Bold";
    src : url("../fonts/Vazir-Bold.ttf");
}

.size-box {
    position: fixed;
    padding: 8px 10px;
    font-size: 1.5rem;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background: rgb(53,52,52);
    border-radius: 999px;
    font-weight: 800;
}

h1, h2, h3, p {
    line-height: 2;
}
h1 {
    font-size: var(--fs-h1);
}
h2 {
    font-size: var(--fs-h2);
}
h3 {
    font-size: var(--fs-h3);
}
h4 {
    font-size: var(--fs-h4);
}
p {
    font-size: var(--fs-p);
}

body {
    font-family: "Vazir-Light","sans-serif";
}
.about-stor-page {
    max-width: 1440px;
    margin: 0 auto;
    padding-block: 100px 150px;
    background: var(--main-bg);
    overflow: hidden;
    user-select: none;
    position: relative;
}

.about-stor-container {
    width: 85%;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    flex-direction: column;
    align-items: center;
}
.stor-img-box {
    max-width: 300px;
    height: 350px;
    overflow: hidden;
    animation: ttt 3s ease-in-out infinite alternate;
    
}
@keyframes ttt {
    0% {
        /* border-radius: 39% 61% 54% 46% / 56% 55% 45% 44%; */
        border-radius: 47% 53% 70% 30% / 55% 53% 47% 45% ;
    }
    50% {
        border-radius: 58% 42% 38% 62% / 39% 68% 32% 61% ;
    }
    100% {
        border-radius: 64% 36% 39% 61% / 53% 49% 51% 47% ;
    }
}

.about-stor-content {
    display: flex;
    gap: 40px;
    flex-direction: column;
}
.about-stor-1 {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
}
.section-title {
    /* font-size: 16px; */
}
.section-text {
    /* font-size: 14px; */
}
.beginning-story-content,
.first-job-content,
.decision-for-store-content-1 {
    /* display: flex;
    gap: 32px;
    flex-direction: column; */
    padding: 25px 16px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: all 0.5s;
}
.beginning-story-content:hover,
.first-job-content:hover,
.decision-for-store-content-1:hover,
.about-store-name-content:hover {
    transform: translateY(-10px);
    box-shadow: 5px 0 10px rgba(0, 119, 145, 0.5);
}
.about-store-name-content:hover {
    box-shadow: 5px 0 10px rgba(0,0,0,0.5);
}
.beginning-story-title,
.first-job-title,
.decision-for-store-title {
    display: inline-block;
    /* font-size: 14px; */
    padding: 3px 25px;
    margin-bottom: 32px;
    border-radius: 999px;
    border-radius: 12px;
    border-right: 5px solid var(--buttons-bg);
    /* background: var(--item-bg); */
    box-shadow: 0 0 3px var(--buttons-bg);
}
.beginning-story-text,
.first-job-text,
.decision-for-store-text{
    /* font-size: 14px; */
    opacity: 0.9;
}
.first-job-content {
    
}
.first-job-title {
    
}
.first-job-text {
    
}
.beginning-story-container {
    display: flex;
    gap: 40px;
    flex-direction: column;
}


.decision-for-store-content {
   display: flex;
   flex-direction: column;
   gap: 20px;
}
.decision-for-store-title {
    
}
.decision-for-store-text {
    
}
.about-store-name-content {
    padding: 25px 16px;
    margin-top: 40px;
    border-radius: 16px;
    border-right: 4px solid var(--buttons-bg);
    background: var(--section-bg);
    transition: all 0.5s;
}
.about-store-name-title {
    /* font-size: 16px; */
    margin-bottom: 25px;
}
.about-store-name-text {
    /* font-size: 14px; */
    opacity: 0.9;
}



.resin-manufacturing-steps-container {
    width: 100%;
    margin-block: 100px;
    padding-block: 100px;
    /* margin-inline: auto; */
    display: flex;
    gap: 32px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: var(--section-bg);
}
.section-title {
    /* font-size: 16px; */
}
.section-text {
    /* font-size: 14px; */
    width: 90%;
}
.resin-manufacturing-steps-content {
    width: 85%;
    display: flex;
    gap: 80px;
    flex-direction: column;
    position: relative;
}
.resin-manufacturing-steps-content::after {
    content: "";
    position: absolute;
    width: 2px;
    top: 0;
    bottom: 50px;
    right: 21px;
    background: linear-gradient(to bottom, rgb(0, 119, 145), rgba(0, 119, 145, 0.8), rgba(0, 119, 145, 0.5), rgba(0, 119, 145, 0.1));
    z-index: 1;
}
.box-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    /* border-radius: 16px; */
    /* box-shadow: -3px 1px 0 rgba(0,0,0,0.1); */
}
.circle {
    width: 45px;
    height: 45px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.2);
    background: var(--buttons-bg);
    color: #fff;
    position: relative;
    z-index: 10;
}
.circle-number {
    font-weight: 800;
}
.box-content {
    display: flex;
    gap: 10px;
    flex-direction: column;
    text-align: center;
}
.box-title {
    /* font-size: 16px; */
}
.box-text {
    /* font-size: 14px; */
}


.about-me-container {
    width: 85%;
    padding-top: 50px;
    margin-inline: auto;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.personal-photo-box {
    max-width: 450px:
    min-width: 300px;
    margin-inline: auto;
    border-radius: 30%;
}
.personal-photo {
    object-fit: cover;
    border-radius: 30%;
}
.about-me-content {
    display: flex;
    gap: 32px;
    flex-direction: column;
}
.about-me-title {
    /* font-size: 16px; */
}
.about-me-text {
    /* font-size: 14px; */
}


.behind-cenes-container {
    width: 100%;
    padding-block: 100px;
    margin-top: 100px;
    margin-inline: auto;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: var(--section-bg);
}
.behind-cenes-content {
    width: 85%;
    display: flex;
    gap: 25px;
    flex-direction: column;
    margin-bottom: 32px;
}
.behind-cenes-title {
    /* font-size: 16px; */
}
.behind-cenes-text {
    /* font-size: 14px; */
}
.behind-cenes-gallery {
    width: 85%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-auto-rows: auto;
}
.gallery-box {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    transition: all 0.5s;
}
.gallery-box:hover {
    transform: translateX(-5px);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.gallery-box:hover .gallery-img {
    scale: 1.05;
}
.gallery-img {
    object-fit: cover;
    transition: all 0.5s;
}
.gallery-box:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    /* height: 150px; */
}
.gallery-box:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
    /* height: 150px; */
}
.gallery-box:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
    /* height: 150px; */
}
.gallery-box:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
    /* height: 150px; */
}
.gallery-box:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
    /* height: 150px; */
}
.gallery-box:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
    /* height: 150px; */
}

.swiper {
    width: 85%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn {
    color: var(--buttons-bg);
}



.go-to-store-container {
    width: 85%;
    padding-top: 100px;
    margin-inline: auto;
}
.go-to-store-content {
    /* width: 100%; */
    max-width: 600px;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-direction: column;
    padding: 25px 20px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 16px;
    background: var(--section-bg);
    position: relative;
}
.go-to-store-title {
    /* font-size: 16px; */
    text-align: center;
}
.go-to-store-text {
    /* font-size: 14px; */
    text-align: center;
    width: 90%;
}
.contact-store {
    display: flex;
    gap: 32px;
    flex-direction: column;
    margin-top: 25px;
}
.store-view-button {
    padding: 7px 16px;
    font-size: var(--fs-button);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--buttons-bg);
    transition: all 0.5s;
}
.store-view-button:hover {
    scale: 1.05;
    background: rgba(0, 119, 145, 0.93);
}
.social-media-5 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    left: 16px;
    bottom: 16px;
}
.social-media-box-5 {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--buttons-bg);
    transition: all 0.8s;
}
/* .social-media-box-5:hover .social-media-icon-5 {
    scale: 1.05;
    background: red;
} */
.social-media-icon-5 {
    width: 18px;
    height: 18px;
    transition: all 0.5s;
}
.social-media-box-5:hover {
    transform: rotateY(360deg);
}
.social-media-box-5:hover .social-media-icon-5 {
    scale: 1.1;
}


.top-bottom {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 119, 145, 0.8);
    backdrop-filter: blur(6px);
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s;
}
.top-bottom-icon {
    width: 30px;
    height: 30px;
}
.top-bottom:hover {
    animation: top 0.8s ease-in-out infinite alternate;
}
@keyframes top {
    0% {
        bottom: 15px;
    }
    100% {
        bottom: 25px;
    }
}



@media screen and (min-width: 348px) {
    h1, h2, h3, h4 {
        line-height: 2;
    }
    p {
        line-height: 2.8;
    }
    .about-stor-content,
    .beginning-story-container {
        gap: 50px;
    }
    .behind-cenes-gallery {
        grid-column-gap: 12px;
        grid-row-gap: 12px;
    }
    .about-me-container {
        gap: 80px;
    }
    .contact-store {
        gap: 40px;
    }
    .behind-cenes-container {
        padding-bottom: 130px;
    }
    .resin-manufacturing-steps-container {
        margin-top: 150px;
    }
    .resin-manufacturing-steps-content {
        margin-top: 60px;
    }
    .go-to-store-content {
        padding-block: 40px;
    }
    .go-to-store-container {
        padding-top: 150px;
    }
}

@media screen and (min-width: 480px) {
    .beginning-story-content,
    .first-job-content,
    .decision-for-store-content-1,
    .about-store-name-content {
        padding-inline: 25px;
    }
    .behind-cenes-gallery {
        width: 70%;
    }
    .go-to-store-text {
        width: 85%;
    }
}

@media screen and (min-width: 588px) {
    .go-to-store-content {
        width: 85%;
    }
}

@media screen and (min-width: 768px) {
    .stor-img-box {
        max-width: 400px;
        height: 450px;
    }
    .behind-cenes-container {
        gap: 120px;
    }
    .gallery-box {
        height: 200px;
    }
    .gallery-box:last-child {
        display: none;
    }
    .go-to-store-content {
        padding: 65px 32px;
    }
}

@media screen and (min-width: 1024px) {
    .beginning-story-container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-row-gap: 40px;
        grid-column-gap: 25px;
    }
    .decision-for-store-content {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: auto;
    }
    .about-store-name-content {
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .resin-manufacturing-steps-content {
        width: 80%;
    }
    .box-container {
        gap: 40px;
    }
    .box-content {
        width: 90%;
    }
    /* .box-title {
        text-align: flex-start;
    } */
    
}

@media screen and (min-width: 1200x) {
    .resin-manufacturing-steps-content {
        width: 70%;
    }
}
