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

:root {
    --primary: #4834d4;
    --secondary: #686de0;
    --accent: #ff7979;
    --dark: #130f40;
    --light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    /* height: 80px; */
    width: 100px;
    background: var(--primary);
    /* border-radius: 12px; */
    object-fit:contain;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 15, 64, 0.8) 0%, rgba(72, 52, 212, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn.primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(72, 52, 212, 0.3);
}

.btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn.primary:hover {
    background: var(--secondary);
}

.btn.secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Section Common */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 8%;
}

.about-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-15px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(72, 52, 212, 0.1);
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 2rem;
}

/* Products Gallery */
.products-section {
    padding: 8rem 0;
    background: #f0f2f5;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 0 8%;
}

.product-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item:hover .product-info {
    transform: translateY(0);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.social-links-v2 {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn.basalam { background: #e67e22; }
.social-btn.telegram { background: #0088cc; }

.social-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Footer Contact */
.contact-footer {
    padding: 5rem 0;
    text-align: center;
    background: var(--white);
}

.brand-url {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 1rem 0;
}

.thanks-msg {
    font-size: 1.2rem;
    color: #666;
}

footer {
    background: #0a0826;
    color: rgba(255,255,255,0.6);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}

@media (max-width: 600px) {
    .hero-btns { flex-direction: column; }
    .product-gallery { grid-template-columns: 1fr; }
    .brand-url { font-size: 1.8rem; }
}
