﻿
/* =========================================
   RAZAN WEBSITE - MAIN STYLES
========================================= */


/* =========================================
   GLOBAL SETTINGS
========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}


/* =========================================
   SLIDER / BANNER
========================================= */

/* Desktop */
#df {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-image: url('/Images/1.JPG');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

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

    body:has(#df) .admin-wrapper-nayan-05 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body:has(#df) .inner-pages-main-container-nayan07 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body:has(#df) #df {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 0;
        margin-top: 0 !important;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
}


/* =========================================
   INNER PAGES
========================================= */

.inner-pages-main-container-nayan07 {
    padding: 0;
}


/* =========================================
   RAZAN - LUXURY INFINITE PRODUCT SLIDER
========================================= */

#products {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.razan-products-section {
    background: #fff;
    padding: 20px 0 0;
    overflow: hidden;
}

.razan-marquee {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    direction: rtl;
    padding: 15px 0 35px;
}

.razan-marquee-track {
    display: flex;
    flex-direction: row;
    direction: rtl;
    width: max-content;
    will-change: transform;
    animation: razan-marquee-move 45s linear infinite;
}

.razan-marquee-group {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    direction: rtl;
    width: max-content;
}

.razan-marquee-group .razan-marquee-item {
    flex-shrink: 0;
}

.razan-marquee:hover .razan-marquee-track {
    animation-play-state: paused;
}

.razan-marquee-item {
    flex: 0 0 250px;
    width: 250px;
    min-width: 0;
    padding: 0 12px;
    box-sizing: border-box;
}

.razan-product-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    text-align: center;
}

.razan-product-media {
    position: relative;
    display: block;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #f8f6f5;
}

.razan-product-media img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
    cursor: pointer;
    transition:
        opacity .6s cubic-bezier(.4, 0, .2, 1),
        transform .7s ease;
}

.razan-product-media img:first-child {
    opacity: 1;
    z-index: 1;
}

.razan-product-media img:nth-child(2) {
    opacity: 0;
    z-index: 2;
}

@media (hover: hover) {
    .razan-product-card:hover .razan-product-media img:first-child {
        opacity: 0;
    }

    .razan-product-card:hover .razan-product-media img:nth-child(2) {
        opacity: 1;
    }

    .razan-product-card:hover .razan-product-media img {
        transform: scale(1.03);
    }
}

.razan-product-info {
    width: 100%;
    min-width: 0;
    padding: 14px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    direction: rtl;
}

.razan-product-info h3 {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 0 6px;
    color: #333;
    overflow-wrap: break-word;
}

.razan-product-info span {
    color: #580c20;
    font-size: 13px;
    font-weight: 400;
}

/* حرکت پیوسته از راست به چپ */
@keyframes razan-marquee-move {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
    .razan-marquee-item {
        flex-basis: 220px;
        width: 220px;
        padding: 0 10px;
    }

    .razan-product-media {
        height: 290px;
    }

    .razan-product-info h3 {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    #products {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .razan-marquee {
        padding: 10px 0 20px;
    }

    .razan-marquee-item {
        flex-basis: 175px;
        width: 175px;
        padding: 0 8px;
    }

    .razan-product-media {
        height: 230px;
    }

    .razan-product-info {
        padding: 9px 3px;
    }

    .razan-product-info h3 {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 5px;
    }

    .razan-product-info span {
        font-size: 11px;
    }
}

/* Very small mobile */
@media (max-width: 380px) {
    .razan-marquee-item {
        flex-basis: 160px;
        width: 160px;
    }

    .razan-product-media {
        height: 215px;
    }
}

/* احترام به تنظیم کاهش حرکت دستگاه */
@media (prefers-reduced-motion: reduce) {
    .razan-marquee-track {
        animation: none;
    }
}


/* =========================================
   ABOUT SECTION
========================================= */

.about {
    padding: 110px 0;
    direction: rtl;
    background: linear-gradient(
        180deg,
        #fbf6f8 0%,
        #f3e4e8 100%
    );
}

.about-inner {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
}


/* About Image */

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 26px;
    transition:
        transform .7s ease,
        box-shadow .7s ease;
    box-shadow: 0 30px 60px rgba(88, 12, 32, .12);
}

.about-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 40px 80px rgba(88, 12, 32, .18);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(
        180deg,
        rgba(88, 12, 32, .08),
        rgba(88, 12, 32, .18)
    );
    pointer-events: none;
}


/* About Text */

.about-content {
    max-width: 520px;
    color: #2d1a1f;
}

.about-label {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: #580c20;
    margin-bottom: 14px;
    font-weight: 600;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 28px;
    color: #580c20;
}

.about-content p {
    font-size: 15px;
    line-height: 2.1;
    color: #4a3a3f;
    margin-bottom: 18px;
}


/* =========================================
   MODERN BUTTON
========================================= */

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 2px solid #580c20;
    color: #580c20;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
}

.modern-btn span {
    transition: .3s;
}

.modern-btn:hover {
    background: #580c20;
    color: #fff;
    text-decoration: none;
}

.modern-btn:hover span {
    transform: translateX(5px);
}


/* =========================================
   HAUTE / NEW ARRIVALS SECTION
========================================= */

.haute-section {
    background: #ffffff;
    padding: 140px 20px 100px;
    display: flex;
    justify-content: center;
}

.haute-wrapper {
    text-align: center;
    max-width: 900px;
    width: 100%;
}


/* English Subtitle */

.haute-sub {
    display: block;
    font-size: 12px;
    letter-spacing: 6px;
    color: #580c20;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.4s ease-out;
}


/* Main Title */

.haute-title {
    font-size: 44px;
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: 3px;
    margin: 0;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.6s ease-out;
}


/* Divider */

.haute-divider {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scaleX(.6);
    transition: all 1.8s ease-out;
}

.haute-divider span {
    width: 140px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #580c20,
        #580c20,
        transparent
    );
}


/* Reveal Animation */

.haute-section.reveal .haute-sub,
.haute-section.reveal .haute-title {
    opacity: 1;
    transform: translateY(0);
}

.haute-section.reveal .haute-divider {
    opacity: 1;
    transform: scaleX(1);
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 900px) {

    .about-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image img {
        height: 420px;
        border-radius: 5%;
    }
}

@media (max-width: 768px) {

    .haute-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .haute-sub {
        letter-spacing: 4px;
    }

    .haute-divider span {
        width: 90px;
    }

    .luxury-title {
        font-size: 28px;
    }

    .haute-section {
        padding: 90px 15px 65px;
    }

    .about {
        padding: 65px 0;
    }

    .about-inner {
        padding: 0 20px;
    }

    .about-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {

    .about-image img {
        height: 320px;
    }

    .about-content p {
        font-size: 14px;
    }
}


/* =========================================
   FINAL MOBILE OVERFLOW PROTECTION
========================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    #products,
    .razan-marquee {
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }
}

/* فاصله صفحه لیست محصولات از هدر */
#products.products-page {
    padding-top: 110px;
}