/* =========================================
   فونت‌های اختصاصی Rokh
   ========================================= */
@font-face {
    font-family: 'Rokh-ExtraBold';
    src: url("../fonts/Rokh-ExtraBold.woff") format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rokh-Regular';
    src: url("../fonts/Rokh-Regular.woff") format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   تنظیمات کلی
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rokh-Regular', 'Vazirmatn', sans-serif;
    background-color: #000;
    color: #e5e5e5;
}

h1, h2, h3, h4, h5, h6,
.font-title,
nav a,
.btn,
.footer h4 {
    font-family: 'Rokh-ExtraBold', 'Vazirmatn', sans-serif;
}

/* =========================================
   کلاس‌های کمکی
   ========================================= */
.text-accent {
    color: #d4af37;
}

.bg-accent {
    background-color: #d4af37;
}

.border-accent {
    border-color: #d4af37;
}

/* =========================================
   هدر شیشه‌ای
   ========================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   هیرو اسلایدر
   ========================================= */
.hero-slider {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* =========================================
   کارت‌های خدمات
   ========================================= */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* =========================================
   آیتم‌های نمونه کار
   ========================================= */
.portfolio-item {
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* =========================================
   کارت‌های اطلاعات (صفحه درباره من)
   ========================================= */
.info-card {
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.glass-card {
    background: rgba(8, 8, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
}

/* =========================================
   نوار پیشرفت مهارت‌ها
   ========================================= */
.skill-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #e6c85c);
    border-radius: 100px;
    width: 0;
    transition: width 1.2s ease-out;
}

/* =========================================
   انیمیشن‌ها
   ========================================= */
@keyframes ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-ring-spin {
    animation: ring-spin 6s linear infinite;
}

/* =========================================
   پس‌زمینه صفحه درباره من
   ========================================= */
.about-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.about-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 100%);
}

.about-bg-orb {
    position: absolute;
    border-radius: 50%;
}

.about-bg-orb-1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    animation: orb-float 14s ease-in-out infinite;
}

.about-bg-orb-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    right: -100px;
    background: radial-gradient(circle, rgba(212,175,55,0.04) 0%, transparent 70%);
    animation: orb-float 18s ease-in-out infinite reverse;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}
/* استایل‌های اضافی برای تم آبی/سفید */
html {
    scroll-behavior: smooth;
}

.swiper {
    padding-bottom: 50px !important;
}

.swiper-slide {
    transition: all 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}
/* =========================================
   استایل‌های فرم تماس
   ========================================= */
.contact-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    transition: all 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* =========================================
   ریسپانسیو
   ========================================= */
@media (max-width: 768px) {
    .glass-card {
        border-radius: 16px;
    }
    
    .info-card {
        padding: 12px;
    }
}