﻿/* ===============================
   QMB Company
   Luxury Style
================================*/

:root {
    --gold: #d4af37;
    --gold-light: #f3d57a;
    --black: #090909;
    --dark: #111111;
    --gray: #9c9c9c;
    --white: #ffffff;
    --radius: 18px;
    --transition: .4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn',sans-serif;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section {
    padding: 110px 0;
}

.container {
    max-width: 1320px;
}

.section-subtitle {
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 14px;
}

.section-title {
    font-size: 46px;
    font-weight: 800;
    margin: 15px 0;
}

.section-desc {
    color: #bdbdbd;
    max-width: 700px;
    margin: auto;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
}

    #loader img {
        width: 150px;
        margin-bottom: 30px;
        animation: logoFloat 2s infinite ease-in-out;
    }

.loader-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.15);
    border-top: 4px solid var(--gold);
    animation: spin 1s linear infinite;
}

@keyframes spin {

    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoFloat {

    50% {
        transform: translateY(-15px);
    }
}

.navbar {
    padding: 18px 0;
    transition: .4s;
    background: rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
}

    .navbar.scrolled {
        background: #000;
        box-shadow: 0 10px 40px rgba(0,0,0,.4);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 800;
    color: #fff;
    gap: 10px;
}

    .navbar-brand img {
        height: 55px;
    }

.nav-link {
    color: #fff;
    margin: 0 15px;
    font-weight: 500;
    transition: .3s;
}

    .nav-link:hover {
        color: var(--gold);
    }

.btn-gold {
    background: linear-gradient(45deg,#c99816,#f7d86d);
    color: #000;
    padding: 14px 35px;
    font-weight: bold;
    border-radius: 50px;
    transition: .4s;
}

    .btn-gold:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(212,175,55,.35);
    }

.btn-glass {
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(15px);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    margin-right: 15px;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,.88), rgba(0,0,0,.45));
}

.hero .container {
    position: relative;
    z-index: 5;
}

.hero-top {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 70px;
    font-weight: 900;
    line-height: 1.4;
}

    .hero h1 span {
        color: var(--gold);
    }

.hero p {
    font-size: 19px;
    color: #d4d4d4;
    margin: 30px 0;
    line-height: 2;
    max-width: 650px;
}

.hero-logo {
    width: 340px;
    margin: auto;
    animation: logoFloat 4s infinite;
}
/*==================================
        ABOUT
===================================*/

.about-section {
    background: #0b0b0b;
    position: relative;
}

.about-img {
    border-radius: 25px;
    overflow: hidden;
    transition: .5s;
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

    .about-img:hover {
        transform: scale(1.03);
    }

.about-section p {
    color: #c7c7c7;
    line-height: 2.2;
    font-size: 17px;
}

.about-box {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    transition: .4s;
    height: 100%;
}

    .about-box:hover {
        transform: translateY(-10px);
        border-color: var(--gold);
        box-shadow: 0 15px 40px rgba(212,175,55,.15);
    }

    .about-box i {
        font-size: 45px;
        color: var(--gold);
        margin-bottom: 15px;
    }

    .about-box h5 {
        font-size: 20px;
        font-weight: 700;
    }
/*==================================
        COUNTER
===================================*/

.counter-section {
    background: #090909;
}

.counter-box {
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(145deg,#111,#1a1a1a);
    border: 1px solid rgba(255,255,255,.05);
    transition: .4s;
}

    .counter-box:hover {
        transform: translateY(-10px);
        border-color: var(--gold);
    }

    .counter-box h2 {
        font-size: 55px;
        color: var(--gold);
        font-weight: 900;
    }

    .counter-box span {
        color: #ddd;
        font-size: 18px;
    }
/*==================================
        SERVICES
===================================*/

.services-section {
    background: #050505;
}

.service-card {
    overflow: hidden;
    border-radius: 22px;
    background: #111;
    transition: .5s;
    position: relative;
    border: 1px solid rgba(255,255,255,.05);
    height: 100%;
}

    .service-card img {
        height: 240px;
        width: 100%;
        object-fit: cover;
        transition: .6s;
    }

.service-content {
    padding: 30px;
}

    .service-content i {
        color: var(--gold);
        font-size: 42px;
        margin-bottom: 15px;
    }

    .service-content h4 {
        font-weight: 800;
        margin-bottom: 15px;
    }

    .service-content p {
        color: #bfbfbf;
        line-height: 2;
    }

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212,175,55,.2);
}

    .service-card:hover img {
        transform: scale(1.08);
    }
/*==================================
        WHY US
===================================*/

.why-us {
    background: #0d0d0d;
}

.why-card {
    background: #121212;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: .4s;
    border: 1px solid rgba(255,255,255,.05);
    height: 100%;
}

    .why-card:hover {
        transform: translateY(-12px);
        border-color: var(--gold);
    }

    .why-card i {
        font-size: 55px;
        color: var(--gold);
        margin-bottom: 20px;
    }

    .why-card h4 {
        font-weight: 800;
        margin-bottom: 15px;
    }

    .why-card p {
        color: #c4c4c4;
        line-height: 2;
    }
/*==================================
        PROCESS
===================================*/

.process-section {
    background: #050505;
}

.process-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 22px;
    background: #111;
    transition: .4s;
    position: relative;
    overflow: hidden;
}

    .process-card:hover {
        transform: translateY(-12px);
    }

    .process-card .number {
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 45px;
        font-weight: 900;
        color: rgba(212,175,55,.12);
    }

    .process-card i {
        color: var(--gold);
        font-size: 55px;
        margin-bottom: 20px;
    }

    .process-card h4 {
        margin-bottom: 15px;
    }

    .process-card p {
        color: #bbb;
        line-height: 2;
    }
/*==================================
        PORTFOLIO
===================================*/

.portfolio-section {
    background: #0b0b0b;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    cursor: pointer;
    transition: .5s;
    height: 340px;
    border: 1px solid rgba(255,255,255,.05);
}

    .portfolio-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .7s;
    }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
    opacity: 0;
    transition: .4s;
}

    .portfolio-overlay h4 {
        color: #fff;
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .portfolio-overlay p {
        color: #ddd;
    }

.portfolio-item:hover img {
    transform: scale(1.12);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover {
    box-shadow: 0 25px 70px rgba(212,175,55,.18);
    border-color: var(--gold);
}
/*==================================
        SHOP
===================================*/

.shop-section {
    background: #050505;
}

    .shop-section img {
        border-radius: 25px;
        transition: .5s;
    }

        .shop-section img:hover {
            transform: scale(1.03);
        }

.shop-list li {
    margin: 18px 0;
    font-size: 18px;
    color: #ddd;
}

.shop-list i {
    color: var(--gold);
    margin-left: 10px;
}

.shop-section .btn-gold {
    padding: 15px 40px;
}
/*==================================
      TESTIMONIAL
===================================*/

.testimonial-section {
    background: #101010;
}

.testimonial-card {
    max-width: 700px;
    margin: auto;
    background: #171717;
    padding: 45px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.05);
}

    .testimonial-card img {
        width: 95px;
        height: 95px;
        border-radius: 50%;
        object-fit: cover;
        margin: auto;
        margin-bottom: 20px;
        border: 4px solid var(--gold);
    }

    .testimonial-card h4 {
        margin-bottom: 15px;
        font-weight: 800;
    }

    .testimonial-card p {
        color: #c8c8c8;
        line-height: 2;
    }
/*==================================
            FAQ
===================================*/

.faq-section {
    background: #080808;
}

.accordion-item {
    background: #111;
    border: none;
    margin-bottom: 20px;
    border-radius: 18px;
    overflow: hidden;
}

.accordion-button {
    background: #111;
    color: #fff;
    font-weight: 700;
    padding: 25px;
}

    .accordion-button:not(.collapsed) {
        background: #181818;
        color: var(--gold);
    }

    .accordion-button:focus {
        box-shadow: none;
    }

.accordion-body {
    background: #111;
    color: #ccc;
    line-height: 2;
}
/*==================================
          CONTACT
===================================*/

.contact-section {
    background: #050505;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .contact-form .form-control {
        background: #111;
        border: none;
        color: #fff;
        padding: 18px;
        border-radius: 15px;
    }

        .contact-form .form-control:focus {
            background: #151515;
            color: #fff;
            box-shadow: 0 0 0 .2rem rgba(212,175,55,.2);
        }

.contact-box {
    background: #101010;
    padding: 40px;
    border-radius: 22px;
    height: 100%;
}

    .contact-box h3 {
        margin-bottom: 30px;
        font-weight: 800;
    }

    .contact-box p {
        margin-bottom: 18px;
        color: #ddd;
    }

    .contact-box a {
        color: #fff;
    }

    .contact-box i {
        color: var(--gold);
        margin-left: 10px;
    }
/*==================================
            FOOTER
===================================*/

.footer {
    background: #080808;
    padding: 90px 0 30px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-logo {
    width: 90px;
    margin-bottom: 20px;
}

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 25px;
    font-weight: 800;
}

.footer p {
    color: #bdbdbd;
    line-height: 2.1;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
    color: #d5d5d5;
    transition: .3s;
}

    .footer-links a:hover,
    .footer-contact a:hover {
        color: var(--gold);
        padding-right: 8px;
    }

.footer-contact i {
    color: var(--gold);
    margin-left: 10px;
    width: 22px;
}

.footer hr {
    border-color: rgba(255,255,255,.08);
    margin: 45px 0 25px;
}

.copyright {
    text-align: center;
    color: #888;
    font-size: 15px;
}
/*==================================
      FLOATING BUTTONS
===================================*/

.floating-btn {
    position: fixed;
    right: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    z-index: 999;
    transition: .35s;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

    .floating-btn:hover {
        transform: translateY(-6px) scale(1.08);
    }

.whatsapp {
    bottom: 160px;
    background: #25D366;
}

.telegram {
    bottom: 92px;
    background: #229ED9;
}

.phone {
    bottom: 24px;
    background: linear-gradient(45deg,#c99816,#f7d86d);
    color: #000;
}

/*==================================
        BACK TO TOP
===================================*/

#topBtn {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(45deg,#c99816,#f7d86d);
    color: #000;
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: .35s;
}

    #topBtn:hover {
        transform: translateY(-6px);
    }

/*==================================
        SCROLLBAR
===================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #090909;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold),#ffd76b);
    border-radius: 50px;
}

/*==================================
        RESPONSIVE
===================================*/

@media(max-width:992px) {

    .hero {
        text-align: center;
    }

        .hero h1 {
            font-size: 48px;
        }

    .hero-logo {
        width: 240px;
        margin-top: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .navbar-brand span {
        font-size: 20px;
    }
}

@media(max-width:768px) {

    section {
        padding: 80px 0;
    }

    .hero {
        min-height: 100vh;
    }

        .hero h1 {
            font-size: 38px;
        }

        .hero p {
            font-size: 16px;
        }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-gold,
    .btn-glass {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .hero-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .counter-box {
        margin-bottom: 20px;
    }

    .contact-box {
        margin-top: 30px;
    }

    .footer {
        text-align: center;
    }

    .footer-logo {
        margin: auto auto 20px;
    }

    .floating-btn {
        right: 15px;
    }

    #topBtn {
        left: 15px;
    }
}

@media(max-width:576px) {

    .hero h1 {
        font-size: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .service-card img {
        height: 210px;
    }

    .portfolio-item {
        height: 250px;
    }
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,.18) 0%, rgba(212,175,55,0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Pulse animation */
.pulse {
    animation: pulseAnim 1s ease;
}

@keyframes pulseAnim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* Active nav link */
.nav-link.active {
    color: var(--gold) !important;
}
.hidden-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all .7s ease;
}

    .hidden-item.show {
        opacity: 1;
        transform: translateY(0);
    }


#topBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    background: #d4af37;
    color: #111;
    font-size: 24px;
    z-index: 9999;
    cursor: pointer;
}

    #topBtn i {
        font-size: 26px;
        line-height: 1;
        display: block;
    }