@font-face {
    font-family: iran yekan;
    src: url(../font/IRANYekanX-Regular.woff2);
}

@font-face {
    font-family: iran yekan bold;
    src: url(../font/IRANYekanX-Bold.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'iran yekan';
}

body {
    direction: rtl;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 20px 0;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover,
.active {
    color: #00e5ff;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.btn-primary {
    background: #00e5ff;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-top: 30px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Features */
.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    flex: 1;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
}

/* Products */
.products-page {
    flex: 1;
}

.product-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-info {
    flex: 1;
}

.product-card button {
    padding: 8px 18px;
    border: none;
    background: #00e5ff;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
    border-color: #00e5ff;
}

.product-card button:hover {
    background: #fff;
}

/* Contact */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
}

.contact-form button {
    padding: 10px 20px;
    background: #00e5ff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.6);
}

/* ✅ Responsive */
@media (max-width: 768px) {

    .features {
        flex-direction: column;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin-right: 10px;
    }
}

.profile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-logo img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00e5ff;
    transition: 0.3s;
}

.profile-logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00e5ff;
}

.about-text {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    line-height: 2;
    font-size: 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul li a {
    color: #ddd;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00e5ff;
    font-weight: bold;
}

nav ul li a.active {
    color: #00e5ff;
    font-weight: bold;
}