/* =========================================================
   LUXORA JEWELLERY
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Vazirmatn", sans-serif;
    direction: rtl;
    background: #E1D9D1;
    color: #183d34;
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   COLORS
========================================================= */

:root {

    --green-dark: #123F34;
    --green: #185546;
    --green-light: #286C5A;

    --gold: #C7A66A;
    --gold-light: #E4CF9E;

    /* رنگ اصلی جدید سایت */
    --cream: #E1D9D1;

    /* سفید روشن */
    --white: #FAF9F5;

    /* رنگ کارت ها */
    --card-white: #FDFCF9;

    --text: #183D34;
    --text-light: #6D7974;

    --border: rgba(24, 61, 52, 0.12);

    --shadow: 0 15px 45px rgba(20, 55, 45, 0.10);

    --radius: 18px;

    --transition: 0.3s ease;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    min-height: 38px;

    padding: 0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: var(--green-dark);

    color: rgba(255, 255, 255, 0.88);

    font-size: 11px;
}

.top-bar-right,
.top-bar-left {

    display: flex;

    align-items: center;

    gap: 18px;
}

.top-bar-right a,
.top-bar-left a {

    transition: var(--transition);
}

.top-bar-right a:hover,
.top-bar-left a:hover {

    color: var(--gold-light);
}

.top-bar i {

    margin-left: 5px;

    color: var(--gold-light);

    font-size: 10px;
}

.top-bar-center {

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 500;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {

    min-height: 90px;

    padding: 0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background: rgba(250, 249, 245, 0.96);

    border-bottom: 1px solid var(--border);

    position: relative;

    z-index: 20;
}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.logo-symbol {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    border: 1px solid var(--gold);

    border-radius: 50%;

    color: var(--gold);

    font-size: 20px;
}

.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1;
}

.logo-text strong {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 20px;

    letter-spacing: 2px;

    direction: ltr;
}

.logo-text small {

    margin-top: 5px;

    color: var(--gold);

    font-family: Georgia, serif;

    font-size: 7px;

    letter-spacing: 2px;

    direction: ltr;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    flex: 1;
}

.main-nav a {

    position: relative;

    color: #35574F;

    font-size: 12px;

    font-weight: 500;

    white-space: nowrap;

    transition: var(--transition);
}

.main-nav a::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {

    color: var(--green-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {

    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {

    display: flex;

    align-items: center;

    gap: 8px;
}

.header-actions button {

    width: 38px;

    height: 38px;

    border: 0;

    background: transparent;

    color: var(--green-dark);

    border-radius: 50%;

    transition: var(--transition);

    position: relative;
}

.header-actions button:hover {

    background: rgba(255, 255, 255, 0.35);

    color: var(--gold);
}

.cart-button span {

    position: absolute;

    top: 0;

    right: 0;

    width: 15px;

    height: 15px;

    display: grid;

    place-items: center;

    background: var(--gold);

    color: white;

    border-radius: 50%;

    font-size: 8px;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    width: 100%;

    min-height: 610px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    isolation: isolate;

    background: var(--green-dark);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: -4;
}

.hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -3;

    background:
        linear-gradient(
            90deg,
            rgba(8, 32, 27, 0.12),
            rgba(8, 32, 27, 0.28)
        );
}


/* =========================================================
   HERO GLOW
========================================================= */

.hero-glow {

    position: absolute;

    width: 500px;

    height: 500px;

    left: -180px;

    top: -180px;

    border-radius: 50%;

    background: rgba(228, 207, 158, 0.10);

    filter: blur(80px);

    z-index: -2;

    pointer-events: none;
}


/* =========================================================
   LIQUID GLASS
========================================================= */

.hero-content {

    position: relative;

    z-index: 3;

    width: min(570px, 90%);

    padding: 48px 50px;

    text-align: center;

    color: white;

    border: 1px solid rgba(255, 255, 255, 0.32);

    border-radius: 30px;

    /* شفاف */
    background: rgba(255, 255, 255, 0.045);

    /* Liquid Glass */
    backdrop-filter: blur(10px) saturate(130%);

    -webkit-backdrop-filter: blur(10px) saturate(130%);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);

    overflow: hidden;
}


/* =========================================================
   GLASS REFLECTION
========================================================= */

.hero-content::before {

    content: "";

    position: absolute;

    top: 0;

    right: 12%;

    width: 76%;

    height: 1px;

    background: rgba(255, 255, 255, 0.45);

    filter: blur(0.5px);
}

.hero-content::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    top: -120px;

    left: -100px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.045);

    filter: blur(30px);

    pointer-events: none;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-eyebrow {

    display: inline-block;

    margin-bottom: 13px;

    color: var(--gold-light);

    font-size: 13px;

    font-weight: 500;
}

.hero h1 {

    margin-bottom: 12px;

    color: white;

    font-size: clamp(36px, 4.5vw, 58px);

    line-height: 1.4;

    font-weight: 700;

    text-shadow:
        0 5px 20px rgba(0, 0, 0, 0.25);
}

.hero-english {

    margin-bottom: 8px;

    direction: ltr;

    color: rgba(255, 255, 255, 0.88);

    font-family: Georgia, serif;

    font-size: 14px;

    letter-spacing: 0.5px;
}

.hero-description {

    max-width: 430px;

    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {

    min-height: 46px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 600;

    transition: var(--transition);
}

.button-primary {

    color: white;

    background: var(--green-dark);

    border: 1px solid var(--green-dark);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);
}

.button-primary:hover {

    background: #0C5A48;

    transform: translateY(-2px);
}

.button-glass {

    color:white;

    border: 1px solid rgba(255, 255, 255, 0.45);

    background:var(--green-dark);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
}

.button-glass:hover {

    background: rgba(255, 255, 255, 0.18);

    transform: translateY(-2px);
}

.button-outline {

    color: var(--green-dark);

    border: 1px solid rgba(18, 63, 52, 0.25);

    background: transparent;
}

.button-outline:hover {

    color: white;

    background: var(--green-dark);

    transform: translateY(-2px);
}

.button-light {

    color: var(--green-dark);

    background: var(--white);

    border: 1px solid var(--white);
}

.button-light:hover {

    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-2px);
}

.hero-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   HERO DOTS
========================================================= */

.hero-dots {

    position: absolute;

    bottom: 24px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 9px;
}

.hero-dots span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    border: 1px solid white;

    background: transparent;

    opacity: 0.7;
}

.hero-dots span.active {

    background: white;

    opacity: 1;
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits {

    padding: 28px 5%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.benefit-item {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding: 10px;
}

.benefit-icon {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #D7CEC5;

    color: var(--gold);

    font-size: 17px;
}

.benefit-item h3 {

    margin-bottom: 2px;

    color: var(--green-dark);

    font-size: 12px;
}

.benefit-item p {

    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section {

    padding: 90px 5%;
}

.section-heading {

    margin-bottom: 45px;

    text-align: center;
}

.section-heading > span {

    display: block;

    margin-bottom: 7px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 600;
}

.section-heading h2 {

    margin-bottom: 7px;

    color: var(--green-dark);

    font-size: clamp(25px, 3vw, 35px);

    font-weight: 700;
}

.section-heading p {

    color: var(--text-light);

    font-size: 12px;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {

    background: var(--cream);
}

.categories-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.category-card {

    position: relative;

    min-height: 270px;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--card-white);

    box-shadow: var(--shadow);
}

.category-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;
}

.category-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.category-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(9, 37, 31, 0.80),
            rgba(9, 37, 31, 0.04) 65%
        );
}

.category-card:hover .category-image img {

    transform: scale(1.06);
}

.category-content {

    position: absolute;

    right: 25px;

    bottom: 22px;

    z-index: 2;

    color: white;
}

.category-content h3 {

    margin-bottom: 3px;

    font-size: 18px;
}

.category-content span {

    color: var(--gold-light);

    font-size: 10px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {

    background: var(--white);
}

.products-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.product-card {

    overflow: hidden;

    background: var(--card-white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}

.product-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);
}

.product-image {

    height: 310px;

    position: relative;

    overflow: hidden;

    background: #D9D0C7;
}

.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {

    transform: scale(1.04);
}

.product-badge {

    position: absolute;

    top: 15px;

    right: 15px;

    padding: 4px 10px;

    border-radius: 20px;

    color: white;

    background: var(--green-dark);

    font-size: 9px;
}

.wishlist {

    position: absolute;

    top: 13px;

    left: 13px;

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(18, 63, 52, 0.10);

    border-radius: 50%;

    background: rgba(250, 249, 245, 0.92);

    color: var(--green-dark);

    transition: var(--transition);
}

.wishlist:hover {

    color: white;

    background: var(--green-dark);
}

.product-info {

    padding: 20px;
}

.product-category {

    display: block;

    margin-bottom: 4px;

    color: var(--gold);

    font-size: 10px;
}

.product-info h3 {

    margin-bottom: 14px;

    color: var(--green-dark);

    font-size: 14px;
}

.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.product-bottom strong {

    color: var(--green-dark);

    font-size: 12px;
}

.product-rating {

    color: var(--text-light);

    font-size: 10px;
}

.product-rating i {

    color: var(--gold);

    margin-left: 3px;
}

.center-button {

    margin-top: 45px;

    text-align: center;
}


/* =========================================================
   CUSTOM DESIGN
========================================================= */

.custom-design {

    position: relative;

    min-height: 500px;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    padding: 70px 8%;

    color: white;

    background: var(--green-dark);
}

.custom-image {

    position: absolute;

    inset: 0;

    z-index: 0;
}

.custom-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.custom-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(8, 35, 29, 0.90),
            rgba(8, 35, 29, 0.35)
        );
}

.custom-content {

    position: relative;

    z-index: 2;

    width: min(500px, 100%);
}

.custom-content > span {

    display: block;

    margin-bottom: 10px;

    color: var(--gold-light);

    font-size: 12px;
}

.custom-content h2 {

    margin-bottom: 15px;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.45;
}

.custom-content p {

    max-width: 430px;

    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   APPOINTMENT
========================================================= */

.appointment-section {

    padding: 90px 8%;

    display: grid;

    grid-template-columns: 1.3fr 1fr;

    gap: 50px;

    align-items: center;

    background: var(--cream);
}

.appointment-card {

    padding: 50px;

    border-radius: 24px;

    background: var(--card-white);

    box-shadow: var(--shadow);
}

.appointment-icon {

    width: 55px;

    height: 55px;

    margin-bottom: 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:#D7CEC5;
 ;

    color: var(--gold);

    font-size: 20px;
}

.appointment-card > span {

    color: var(--gold);

    font-size: 12px;
}

.appointment-card h2 {

    margin: 10px 0 15px;

    color: var(--green-dark);

    font-size: clamp(25px, 3vw, 35px);

    line-height: 1.6;
}

.appointment-card p {

    margin-bottom: 25px;

    color: var(--text-light);

    font-size: 12px;

    line-height: 2;
}

.appointment-info {

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.info-item {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    border-bottom: 1px solid var(--border);
}

.info-item > i {

    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--white);

    color: var(--gold);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.info-item div {

    display: flex;

    flex-direction: column;
}

.info-item span {

    color: var(--text-light);

    font-size: 10px;
}

.info-item strong {

    color: var(--green-dark);

    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    color: rgba(255, 255, 255, 0.75);

    background:#0C2F27;
;
}

.footer-container {

    padding: 70px 6%;

    display: grid;

    grid-template-columns: 1.5fr repeat(3, 1fr);

    gap: 50px;
}

.footer-brand {

    max-width: 300px;
}

.footer-logo .logo-text strong {

    color: white;
}

.footer-brand > p {

    margin: 20px 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 11px;

    line-height: 2;
}

.social-links {

    display: flex;

    gap: 8px;
}

.social-links a {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    transition: var(--transition);
}

.social-links a:hover {

    color: var(--green-dark);

    background: var(--gold-light);

    border-color: var(--gold-light);
}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {

    margin-bottom: 10px;

    color: white;

    font-size: 13px;
}

.footer-column a {

    color: rgba(255, 255, 255, 0.60);

    font-size: 11px;

    transition: var(--transition);
}

.footer-column a:hover {

    color: var(--gold-light);

    padding-right: 4px;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {

    padding: 18px 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.40);

    font-size: 9px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 850px) {

    .top-bar {
        justify-content: center;
        min-height: 34px;
    }

    .top-bar-right,
    .top-bar-left {
        display: none;
    }

    .main-header {
        min-height: 75px;
        padding: 0 4%;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        gap: 2px;
    }

    .header-actions button {
        width: 34px;
        height: 34px;
    }

    .hero {

        min-height: 620px;

        padding: 35px 15px;
    }

    .hero-image img {
        object-position: center;
    }

    .hero-content {

        width: min(520px, 94%);

        padding: 38px 25px;

        border-radius: 24px;

        background: rgba(255, 255, 255, 0.04);

        backdrop-filter: blur(10px) saturate(130%);

        -webkit-backdrop-filter: blur(10px) saturate(130%);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 12px;
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
        padding: 25px 4%;
    }

    .appointment-section {

        grid-template-columns: 1fr;

        padding: 60px 5%;
    }

    .custom-design {
        padding: 70px 7%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}


@media (max-width: 600px) {

    .main-header {
        min-height: 70px;
    }

    .logo-symbol {
        width: 36px;
        height: 36px;
    }

    .logo-text strong {
        font-size: 17px;
    }

    .logo-text small {
        font-size: 6px;
    }

    .header-actions button:nth-child(2) {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {

        padding: 35px 20px;

        background: rgba(255, 255, 255, 0.035);

        backdrop-filter: blur(9px) saturate(130%);

        -webkit-backdrop-filter: blur(9px) saturate(130%);
    }

    .hero-eyebrow {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-english {
        font-size: 12px;
    }

    .hero-description {
        font-size: 11px;
        line-height: 2;
    }

    .hero-buttons {

        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .section {
        padding: 65px 5%;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .benefits {

        grid-template-columns: 1fr;

        gap: 5px;
    }

    .benefit-item {

        justify-content: flex-start;

        padding: 8px 5%;
    }

    .categories-grid {

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .category-card {
        min-height: 250px;
    }

    .products-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .product-image {
        height: 330px;
    }

    .custom-design {

        min-height: 550px;

        padding: 60px 7%;
    }

    .custom-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(8, 35, 29, 0.88),
                rgba(8, 35, 29, 0.55)
            );
    }

    .appointment-card {
        padding: 35px 25px;
    }

    .appointment-card h2 {
        font-size: 26px;
    }

    .footer-container {

        grid-template-columns: 1fr;

        padding: 55px 7%;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-bottom {

        flex-direction: column;

        gap: 7px;

        text-align: center;
    }
}


@media (max-width: 380px) {

    .hero h1 {
        font-size: 28px;
    }

    .hero-content {
        padding: 30px 17px;
    }

    .product-image {
        height: 290px;
    }
}