/*
Theme Name: Naeim Luxury Theme
Theme URI: https://example.com
Author: Naeim
Description: A custom high-performance Black & Gold theme for SEO portfolio.
Version: 1.0
*/

/* --- تنظیمات اصلی --- */
:root {
    --glass-bg: rgba(15, 15, 15, 0.95);
    --glass-border: rgba(212, 175, 55, 0.3);
    --accent: #D4AF37;
    --accent-2: #F2D06B;
    --text: #ffffff;
    --text-muted: #cccccc;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: #000000;
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif; /* فونت وزیر */
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- اورب‌های پس‌زمینه --- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.2;
    animation: floatOrb 10s infinite alternate;
}
.orb-1 { top: -20%; left: -20%; width: 60vw; height: 60vw; background: var(--accent); }
.orb-2 { bottom: -20%; right: -20%; width: 60vw; height: 60vw; background: var(--accent-2); animation-delay: -5s; }
@keyframes floatOrb { from { transform: scale(1); } to { transform: scale(1.1); } }

/* --- هدر --- */
header {
    position: fixed;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    width: 90%; max-width: 500px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 10px 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.logo { font-weight: 900; color: var(--accent); text-decoration: none; font-size: 1.2rem; letter-spacing: 1px; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; transition: 0.3s; }
nav a:hover { color: var(--accent); }

/* --- ساختار سکشن‌ها --- */
section {
    min-height: 100vh;
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.2rem; color: var(--accent); margin-bottom: 10px; }
.section-header p { color: var(--text-muted); }

/* --- خانه --- */
.hero { text-align: center; align-items: center; }
.hero-img {
    width: 180px; height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin-bottom: 30px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.4);
    animation: pulse 3s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 20px rgba(212,175,55,0.2); } 50% { box-shadow: 0 0 60px rgba(212,175,55,0.6); } 100% { box-shadow: 0 0 20px rgba(212,175,55,0.2); } }

h1 { font-size: 2.8rem; margin-bottom: 20px; font-weight: 800; color: #fff; }
.hero p { max-width: 600px; margin: 0 auto 40px; font-size: 1.1rem; color: #bbb; }

.cta-btn {
    padding: 15px 40px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.cta-btn:hover { background: #fff; transform: scale(1.05); }

/* --- گرید سیستم --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- کارت‌ها --- */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    text-align: right;
    position: relative;
    overflow: hidden;
}
.card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; display: block; }
.card h3 { color: #fff; margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: #aaa; font-size: 0.95rem; }

/* --- نمونه کارها --- */
.portfolio-img-wrapper { height: 200px; overflow: hidden; border-bottom: 1px solid var(--glass-border); }
.portfolio-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .portfolio-img-wrapper img { transform: scale(1.1); }
.stats span { 
    display: inline-block; 
    font-size: 0.75rem; 
    background: rgba(255,255,255,0.1); 
    padding: 4px 10px; 
    border-radius: 5px; 
    margin-left: 5px; 
    border: 1px solid rgba(212, 175, 55, 0.2); 
}

/* --- تماس --- */
.contact-box {
    background: linear-gradient(135deg, rgba(20,20,20,0.95), rgba(0,0,0,0.9));
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    max-width: 700px;
    margin: 0 auto;
}
.socials { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }
.socials a {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: #fff; font-size: 1.3rem; text-decoration: none;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.socials a:hover { background: var(--accent); color: #000; border-color: var(--accent); transform: translateY(-5px); }

/* --- موبایل --- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero p { padding: 0 15px; }
    header { width: 95%; padding: 10px 15px; }
    .logo { font-size: 1rem; }
}