@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');


:root {

    --black: #0b0b0b;
    --black-2: #141414;

    --gold: #c6a15b;
    --gold-light: #e2c98b;

    --cream: #f5f1e8;
    --white: #ffffff;

    --gray: #888;

}


* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "Vazirmatn", sans-serif;

    background: var(--cream);

    color: var(--black);

}


a {

    text-decoration: none;

    color: inherit;

}


img {

    width: 100%;

    display: block;

    object-fit: cover;

}


/* NAVBAR */


.navbar {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 6%;

    background: var(--black);

    color: white;

}


.logo img {

    width: 110px;

    height: auto;

    object-fit: contain;

}


.navbar nav {

    display: flex;

    gap: 35px;

}


.navbar nav a {

    color: #ddd;

    font-size: 14px;

    transition: .3s;

}


.navbar nav a:hover {

    color: var(--gold-light);

}


.nav-button {

    border: 1px solid var(--gold);

    padding: 11px 22px;

    color: var(--gold-light);

}


/* HERO */


.hero {

    min-height: 720px;

    background: var(--black);

    color: white;

    display: grid;

    grid-template-columns: 1fr 1fr;

}


.hero-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 10%;

}


.eyebrow {

    color: var(--gold);

    letter-spacing: 4px;

    font-size: 12px;

    margin-bottom: 25px;

}


.hero h1 {

    font-size: clamp(50px, 6vw, 90px);

    line-height: 1.2;

    font-weight: 400;

}


.hero p {

    color: #aaa;

    max-width: 450px;

    line-height: 2;

    margin: 30px 0;

}


.hero-image {

    height: 720px;

}


.hero-image img {

    height: 100%;

}


/* BUTTONS */


.hero-buttons {

    display: flex;

    gap: 15px;

}


.btn {

    display: inline-block;

    padding: 14px 28px;

    border: 1px solid var(--gold);

    cursor: pointer;

    font-family: inherit;

}


.btn.primary {

    background: var(--gold);

    color: var(--black);

}


.btn.secondary {

    color: var(--gold-light);

}


.btn.light {

    background: white;

    color: black;

}


/* SECTION */


.categories,
.products-section {

    padding: 120px 7%;

}


.section-title {

    margin-bottom: 50px;

}


.section-title span {

    color: var(--gold);

    letter-spacing: 3px;

    font-size: 12px;

}


.section-title h2 {

    margin-top: 15px;

    font-size: 42px;

    font-weight: 400;

}


/* CATEGORY */


.category-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.category-card {

    position: relative;

    height: 420px;

    overflow: hidden;

    background: black;

}


.category-card img {

    height: 100%;

    transition: .7s;

}


.category-card:hover img {

    transform: scale(1.07);

}


.category-card div {

    position: absolute;

    bottom: 0;

    right: 0;

    left: 0;

    padding: 30px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.85)
        );

}


.category-card h3 {

    font-size: 24px;

    font-weight: 400;

}


.category-card span {

    color: var(--gold-light);

    font-size: 12px;

}


/* PRODUCTS */


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

}


.product-image {

    display: block;

    height: 390px;

    overflow: hidden;

    background: #ddd;

}


.product-image img {

    height: 100%;

    transition: .5s;

}


.product-card:hover
.product-image img {

    transform: scale(1.04);

}


.product-info {

    padding: 20px 5px;

}


.product-info > span {

    font-size: 11px;

    color: var(--gold);

}


.product-info h3 {

    margin: 8px 0;

    font-size: 17px;

    font-weight: 500;

}


.product-meta {

    display: flex;

    justify-content: space-between;

    color: var(--gray);

    font-size: 12px;

    margin-bottom: 15px;

}


.product-info strong {

    font-size: 14px;

}


.center-button {

    text-align: center;

    margin-top: 60px;

}


/* ONLINE GOLD */


.online-gold-banner {

    background: var(--black);

    color: white;

    padding: 120px 10%;

}


.online-gold-banner > div {

    max-width: 650px;

}


.online-gold-banner span {

    color: var(--gold);

    letter-spacing: 3px;

    font-size: 12px;

}


.online-gold-banner h2 {

    font-size: 48px;

    font-weight: 400;

    margin: 20px 0;

}


.online-gold-banner p {

    color: #999;

    line-height: 2;

    margin-bottom: 30px;

}


/* ABOUT */


.about {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 650px;

}


.about-image img {

    height: 100%;

}


.about-content {

    padding: 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.about-content > span {

    color: var(--gold);

    letter-spacing: 3px;

    font-size: 12px;

}


.about-content h2 {

    font-size: 50px;

    font-weight: 400;

    margin: 25px 0;

}


.about-content p {

    line-height: 2;

    color: #666;

    max-width: 450px;

}


.text-link {

    color: var(--gold);

    margin-top: 30px;

}


/* FOOTER */


footer {

    background: var(--black);

    color: white;

    padding: 80px 7%;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

}


footer img {

    width: 100px;

    margin-bottom: 20px;

}


footer p,
footer a {

    display: block;

    color: #888;

    margin-top: 12px;

    font-size: 13px;

}


footer h4 {

    color: var(--gold-light);

    margin-bottom: 20px;

}


/* SHOP */


.shop-header {

    background: var(--black);

    color: white;

    padding: 100px 7%;

}


.shop-header span {

    color: var(--gold);

    letter-spacing: 3px;

    font-size: 12px;

}


.shop-header h1 {

    font-size: 60px;

    font-weight: 400;

    margin: 15px 0;

}


.shop-header p {

    color: #888;

}


.shop-container {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 50px;

    padding: 80px 7%;

}


.filters {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.filters button {

    border: 0;

    background: transparent;

    text-align: right;

    padding: 10px;

    cursor: pointer;

    font-family: inherit;

}


.filters button:hover {

    color: var(--gold);

}


/* GOLD */


.gold-hero {

    background: var(--black);

    color: white;

    padding: 140px 10%;

}


.gold-hero span {

    color: var(--gold);

    letter-spacing: 3px;

}


.gold-hero h1 {

    font-size: 70px;

    font-weight: 400;

    margin: 25px 0;

}


.gold-hero p {

    color: #999;

}


.gold-dashboard {

    padding: 80px 7%;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

}


.gold-card {

    background: white;

    padding: 40px;

    border: 1px solid #ddd;

}


.gold-card span {

    display: block;

    color: #777;

    margin-bottom: 20px;

}


.gold-card strong {

    display: block;

    font-size: 30px;

}


.gold-card small {

    display: block;

    color: #999;

    margin-top: 10px;

}


.gold-actions {

    grid-column: 1 / -1;

    display: flex;

    gap: 15px;

}


/* ADMIN */


.admin-layout {

    min-height: 100vh;

    display: grid;

    grid-template-columns: 250px 1fr;

}


.admin-sidebar {

    background: var(--black);

    color: white;

    padding: 40px 25px;

}


.admin-sidebar h2 {

    color: var(--gold);

}


.admin-sidebar p {

    color: #777;

    margin-bottom: 40px;

}


.admin-sidebar a {

    display: block;

    padding: 15px 0;

    color: #bbb;

}


.admin-main {

    padding: 50px;

}


.admin-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 50px;

}


.admin-header span {

    color: var(--gold);

    font-size: 12px;

    letter-spacing: 2px;

}


.admin-header h1 {

    font-weight: 400;

    margin-top: 10px;

}


table {

    width: 100%;

    border-collapse: collapse;

    background: white;

}


th,
td {

    padding: 18px;

    text-align: right;

    border-bottom: 1px solid #eee;

}


.admin-product-image {

    width: 60px;

    height: 60px;

    object-fit: cover;

}


.delete-button {

    border: 0;

    background: #eee;

    padding: 8px 15px;

    cursor: pointer;

}


/* MODAL */


.modal {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.7);

    display: none;

    align-items: center;

    justify-content: center;

}


.modal.active {

    display: flex;

}


.modal-box {

    background: white;

    width: min(500px, 90%);

    padding: 40px;

    position: relative;

}


.close-modal {

    position: absolute;

    top: 15px;

    left: 15px;

    border: 0;

    background: none;

    font-size: 30px;

    cursor: pointer;

}


.modal form {

    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 30px;

}


.modal input,
.modal select,
.modal textarea {

    padding: 13px;

    border: 1px solid #ddd;

    font-family: inherit;

}


.modal textarea {

    min-height: 100px;

}


/* RESPONSIVE */


@media (max-width: 900px) {

    .navbar nav {

        display: none;

    }


    .hero {

        grid-template-columns: 1fr;

    }


    .hero-image {

        height: 450px;

        order: -1;

    }


    .category-grid,
    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .about {

        grid-template-columns: 1fr;

    }


    footer {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .admin-layout {

        grid-template-columns: 1fr;

    }


    .admin-sidebar {

        display: none;

    }

}


@media (max-width: 600px) {

    .category-grid,
    .product-grid {

        grid-template-columns: 1fr;

    }


    .hero h1 {

        font-size: 50px;

    }


    .shop-container {

        grid-template-columns: 1fr;

    }


    .gold-dashboard {

        grid-template-columns: 1fr;

    }


    footer {

        grid-template-columns: 1fr;

    }

}