@font-face {
    font-family: Vazir;
    src: url('/static/fonts/fonts/Vazir-FD-WOL.eot');
    src: url('/static/fonts/Vazir-FD-WOL.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/Vazir-FD-WOL.woff') format('woff'),
        url('/static/fonts/Vazir-FD-WOL.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url('/static/fonts/Vazir-Bold-FD-WOL.eot');
    src: url('/static/fonts/Vazir-Bold-FD-WOL.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/Vazir-Bold-FD-WOL.woff') format('woff'),
        url('/static/fonts/Vazir-Bold-FD-WOL.ttf') format('truetype');
    font-weight: bold;
}

:root {
    --gold: #C6A75E;
    --dark: #0B0B0B;
    --light: #F8F6F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
input,
button,
div {
    font-family: 'Vazir', sans-serif !important;
}

body {
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: .4s;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--gold);
    letter-spacing: 2px;
}

nav a {
    color: #ddd;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: .4s;
}

nav a:hover::after {
    width: 100%;
}

.lang-switch button {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 4px 10px;
    margin-left: 5px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: opacity 1s;
}

/* .slide::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .9));
    top: 0;
    left: 0;
} */

.mobile-slide {
    display: none;
}

@media (max-width: 768px) {
    .desktop-slide {
        display: none;
    }

    .mobile-slide {
        display: block;
    }
}

.btn {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #C6A75E, #E6C77D);
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: .3s;
}

.btn:hover {
    box-shadow: 0 0 25px rgba(198, 167, 94, .6);
}

/* ===== SECTION GLOBAL ===== */
.section {
    padding: 50px 10%;
    text-align: center;
    position: relative;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
    transition: width .8s ease;
}

.fade-section.active h2::after {
    width: 100%;
}

/* Fade Animation */
.fade-section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(.23, 1, .32, 1);
}

.fade-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PRODUCTS ===== */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.card {
    background: #111;
    padding: 20px;
    border: 1px solid #222;
    transition: .5s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(198, 167, 94, .3);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* ===== GLASS CARDS ===== */
.glass-card {
    backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(198, 167, 94, 0.3);
    padding: 45px;
    border-radius: 20px;
    transition: .5s;
}

.glass-card:hover {
    box-shadow: 0 0 40px rgba(198, 167, 94, .25);
    transform: translateY(-5px);
}

.partner-container,
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 60px;
    margin-top: 60px;
    justify-content: center;
}

/* ===== INPUT PREMIUM ===== */
.lux-input,
.contact-input {
    position: relative;
    margin-bottom: 25px;
}

.lux-input input,
.lux-input textarea,
.contact-input input,
.contact-input textarea {
    width: 100%;
    padding: 14px 40px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgb(255, 255, 255);
    color: #fff;
    outline: none;
}

.lux-input input:focus,
.lux-input textarea:focus,
.contact-input input:focus,
.contact-input textarea:focus {
    border-bottom: 1px solid var(--gold);
}

.lux-input label,
.contact-input label {
    position: absolute;
    top: 14px;
    right: 40px;
    color: #aaa;
    transition: .3s;
    pointer-events: none;
    font-size: 13px;
}

.lux-input input:focus+label,
.lux-input input:not(:placeholder-shown)+label,
.lux-input textarea:focus+label,
.lux-input textarea:not(:placeholder-shown)+label,
.contact-input input:focus+label,
.contact-input input:not(:placeholder-shown)+label,
.contact-input textarea:focus+label,
.contact-input textarea:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 11px;
    color: var(--gold);
}

.lux-input i,
.contact-input i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    color: var(--gold);
}

.lux-btn,
.contact-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #C6A75E, #E6C77D);
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
}

.lux-btn {
    margin-top: 1rem;
    border-radius: .5rem;
}

.lux-btn:hover,
.contact-btn:hover {
    box-shadow: 0 0 25px rgba(198, 167, 94, .6);
}

/* ===== FOOTER ===== */
footer {
    padding: 30px;
    background: #000;
    text-align: center;
    color: #888;
}

@media(max-width:768px) {
    .slide h1 {
        font-size: 28px;
    }
}

/* ===== PREMIUM CONTACT SINGLE CARD ===== */

.contact-single-card {
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(198, 167, 94, 0.25);
    padding: 60px;
    border-radius: 25px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.contact-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(198, 167, 94, 0.6),
            transparent);
    margin: 25px 0;
}

.contact-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: #ddd;
}

.contact-info-item i {
    color: var(--gold);
    margin-left: 12px;
}

html[dir="ltr"] .contact-info-item i {
    margin-left: 0;
    margin-right: 12px;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-card {
    background: #111;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    border: 1px solid rgba(198, 167, 94, .3);
}

.model-header {
    margin-bottom: 1rem;
}

/* ===== Responsive Header ===== */

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
}

/* Desktop */
#mainNav {
    display: flex;
    align-items: center;
}

/* Mobile */
@media(max-width: 900px) {
    .rem-margin {
        margin-top: 2rem;
    }

    header {
        padding: 15px 5%;
    }

    .menu-toggle {
        display: block;
    }

    #mainNav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;

        max-height: 0;
        overflow: hidden;
        transition: .4s ease;
    }

    #mainNav.open {
        max-height: 300px;
        background: rgba(0, 0, 0, .95);
    }

    #mainNav a {
        margin: 15px 0;
        font-size: 18px;
    }

    .lang-switch {
        margin-right: 10px;
    }

    .logo {
        display: flex;
        justify-content: space-between;
    }
}

/* ===== VIDEO SECTION ===== */

.video-wrapper {
    max-width: 900px;
    margin: auto;
}

.video-card {
    backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(198, 167, 94, 0.3);
    padding: 30px;
    border-radius: 25px;
    transition: .5s;
}

.video-card:hover {
    box-shadow: 0 0 40px rgba(198, 167, 94, .25);
}

.video-card video,
.video-card iframe {
    width: 100%;
    border-radius: 15px;
}

.video-wrapper p {
    margin-top: 25px;
    font-size: 15px;
    color: #ccc;
}


.h_iframe-aparat_embed_frame {
    position: relative;
}

.h_iframe-aparat_embed_frame .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.contact-info-item {
    margin-bottom: 18px;
    font-size: 16px;
}

/* Make phone numbers look like bold text */
.contact-info-item a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.contact-info-item a:hover {
    color: inherit;
}

.error-box {
    font-size: 16px;
    color: rgb(244, 5, 5)
}

.none {
    display: none;
}