/* ============================================
   فایل استایل اختصاصی پرتفوی لوکس رامین خوئی
   تمامی کدها دست‌نویس و بدون وابستگی به فریم‌ورک
   تاریخ: ۲۰۲۵ - ویرایش نهایی با هدر لوکس
   ============================================ */

/* ========== RESET & VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #996515;
    --gold-dimmer: rgba(212, 175, 55, 0.08);
    --gold-glow: rgba(212, 175, 55, 0.3);
    --dark: #0A0A0A;
    --dark-soft: #111111;
    --dark-card: #1A1A1A;
    --dark-card-hover: #1f1f1f;
    --gray: #2A2A2A;
    --gray-light: #3A3A3A;
    --text-light: #EAEAEA;
    --text-muted: #AAAAAA;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);
    --shadow-gold-strong: 0 10px 40px rgba(212, 175, 55, 0.35);
    --border-gold: rgba(212, 175, 55, 0.2);
    --border-gold-light: rgba(212, 175, 55, 0.4);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* برای هدر فیکس */
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 40%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

h2 {
    font-size: 2.5rem;
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    margin: 20px auto 0;
    border-radius: 3px;
}

.right-align {
    text-align: right;
}

.right-align .title-line {
    margin: 20px 0 0 0;
}

/* ========== HEADER (NEW - لوکس شیشه‌ای) ========== */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 0 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.luxury-header.scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* لوگو */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #F5F5F5;
    margin: 0;
    transition: var(--transition-fast);
}

.logo-first {
    color: #FFFFFF;
    transition: var(--transition-fast);
}

.logo-last {
    color: var(--gold);
    transition: var(--transition-fast);
}

.logo-dot {
    color: var(--gold);
    font-size: 2.2rem;
    transition: var(--transition-fast);
}

.logo-link:hover .logo-first {
    color: var(--gold-light);
}

.logo-link:hover .logo-last {
    color: var(--gold-light);
}

.logo-link:hover .logo-dot {
    text-shadow: 0 0 15px var(--gold-glow);
}

/* نویگیشن */
.main-navigation .nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.luxury-header.scrolled .nav-link {
    color: #AAAAAA;
}

.luxury-header.scrolled .nav-link:hover,
.luxury-header.scrolled .nav-link.active {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
}

/* منوی موبایل */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: var(--transition-fast);
}

.toggle-line {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.mobile-menu-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
    background: var(--gold-light);
}

.mobile-menu-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background: var(--gold-light);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 30%, var(--dark) 70%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.04"><path fill="none" stroke="%23D4AF37" stroke-width="0.5" d="M20 20 L80 20 M20 40 L80 40 M20 60 L80 60 M20 80 L80 80 M40 20 L40 80 M60 20 L60 80"/><circle cx="50" cy="50" r="8" stroke="%23D4AF37" fill="none"/></svg>');
    background-size: 60px;
    pointer-events: none;
    animation: overlayDrift 20s linear infinite;
}

@keyframes overlayDrift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 1.5px;
    background: rgba(212, 175, 55, 0.05);
    transition: var(--transition-fast);
}

.badge:hover {
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.1);
}

.typed-container {
    font-size: 1.8rem;
    margin: 20px 0;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.typed-text {
    color: var(--gold);
    font-weight: 500;
    direction: ltr;
    display: inline-block;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--gold);
    animation: blink 1s infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--gold-glow);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 20px 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--dark);
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-strong);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.btn-outline:active {
    transform: translateY(-1px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2.5s infinite;
    z-index: 2;
    letter-spacing: 1px;
}

.scroll-indicator i {
    font-size: 1.2rem;
    color: var(--gold);
    animation: chevronBounce 2.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ========== SKILLS SECTION ========== */
.skills-section {
    padding: 70px 0;
    background: rgba(212, 175, 55, 0.02);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    position: relative;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.skills-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 45px;
    text-transform: uppercase;
    font-weight: 500;
}

.skills-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-item {
    background: var(--dark-card);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-gold);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transition: left 0.6s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item i {
    color: var(--gold);
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.skill-item:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    background: var(--dark-card-hover);
}

.skill-item:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 15px var(--gold-glow);
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio {
    padding: 110px 0;
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 45px;
}

.portfolio-card {
    background: var(--dark-card);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-gold);
    position: relative;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    opacity: 0;
    transition: var(--transition);
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    border-color: var(--border-gold-light);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.15);
}

.portfolio-card:hover::after {
    opacity: 1;
}

.card-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .card-image::before {
    opacity: 1;
}

.portfolio-card:hover .card-image {
    transform: scale(1.04);
}

.card-info {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: var(--dark-card);
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--white);
    transition: var(--transition-fast);
}

.portfolio-card:hover .card-info h3 {
    color: var(--gold-light);
}

.card-info p {
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.7;
}

.card-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.card-link:hover {
    gap: 14px;
    color: var(--gold-light);
}

.card-link:hover::after {
    width: 100%;
}

/* ========== BLOG SECTION ========== */
.blog {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--dark-soft) 0%, var(--dark) 100%);
    position: relative;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 45px;
}

.blog-card {
    background: var(--dark-card);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-gold);
}

.blog-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-gold-light);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.12);
}

.blog-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.03);
    transition: var(--transition);
}

.blog-card:hover .blog-image {
    transform: scale(1.06);
}

.blog-card:hover .blog-image::after {
    background: rgba(212, 175, 55, 0.08);
}

.blog-content {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--gold);
    font-size: 0.9rem;
}

.blog-content h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    line-height: 1.5;
    color: var(--white);
    transition: var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
    color: var(--gold-light);
}

.blog-content p {
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.8;
}

.read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.read-more:hover {
    gap: 14px;
    color: var(--gold-light);
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 110px 0;
    background: var(--dark);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--gray) 0%, var(--dark-card) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
    transition: var(--transition);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--gold);
    opacity: 0.6;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.image-placeholder:hover {
    transform: scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.2);
}

.image-placeholder:hover::before {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.image-placeholder:hover i {
    opacity: 0.8;
    text-shadow: 0 0 30px var(--gold-glow);
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 22px;
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 50px;
    margin-top: 45px;
}

.stat {
    text-align: center;
    transition: var(--transition-fast);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat span {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.stat {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 110px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 55px;
    background: var(--dark-card);
    padding: 55px;
    border-radius: 32px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.contact-form:hover {
    border-color: var(--border-gold-light);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

input, textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gray);
    padding: 16px 22px;
    border-radius: 16px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition-fast);
    outline: none;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

input:focus, textarea:focus {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
    cursor: default;
}

.contact-info div:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateX(-8px);
}

.contact-info i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.2rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.contact-info div:hover i {
    background: rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* ========== FOOTER ========== */
.luxury-footer {
    background: var(--dark-soft);
    border-top: 1px solid var(--border-gold);
    margin-top: 0;
    position: relative;
}

.luxury-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 65px 40px 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 55px;
    margin-bottom: 55px;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.footer-about h3 i,
.footer-contact h3 i,
.footer-links h3 i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.footer-about p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 22px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition-fast);
    text-decoration: none;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px 0;
    color: var(--text-light);
    font-size: 1.1rem;
    direction: ltr;
    transition: var(--transition-fast);
}

.phone-number:hover {
    color: var(--gold-light);
}

.phone-number i {
    color: var(--gold);
    width: 34px;
    font-size: 1.3rem;
    text-align: center;
}

.support-text {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 14px 0;
    border-top: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-weight: 500;
}

.support-text i {
    font-size: 1.3rem;
    color: var(--gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: "•";
    color: var(--gold);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(-6px);
}

.footer-links a:hover::before {
    color: var(--gold-light);
    text-shadow: 0 0 10px var(--gold-glow);
}

.footer-bottom {
    border-top: 1px solid var(--border-gold);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.copyright strong {
    color: var(--gold);
    font-weight: 600;
}

.legal-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    position: relative;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.legal-links a:hover {
    color: var(--gold);
}

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

.separator {
    color: var(--gray-light);
    user-select: none;
}

/* ========== LOADER SPINNER ========== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0A0A 0%, #0d0d0d 50%, #050505 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.luxury-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid #D4AF37;
    border-right: 3px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
}

.luxury-spinner::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    animation: pulse 1.8s ease-out infinite;
}

.luxury-spinner::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #D4AF37;
    animation: sparkle 1.2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.loader-text {
    color: #D4AF37;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
        opacity: 0.6;
    }
    50% {
        text-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
        opacity: 1;
    }
}

.loader-dots {
    display: flex;
    gap: 10px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    background: #D4AF37;
    border-radius: 50%;
    animation: dotBounce 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    30% {
        transform: translateY(-14px);
        opacity: 1;
    }
}

/* ========== ERROR SHAKE ANIMATION ========== */
.error-shake {
    animation: shake 0.4s ease-in-out 0s 2;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold));
    border-radius: 10px;
    border: 2px solid #0A0A0A;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .footer-container {
        padding: 55px 30px 30px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .image-placeholder {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        padding: 35px;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px;
    }
    
    .contact-info div {
        flex: 1;
        min-width: 200px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* هدر موبایل */
    .luxury-header {
        padding: 0 1.2rem;
    }
    
    .header-container {
        height: 70px;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 3rem 2rem;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        overflow-y: auto;
    }
    
    .main-navigation.active {
        transform: translateX(0);
    }
    
    .main-navigation .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* محتوا */
    html {
        scroll-padding-top: 80px;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .typed-container {
        font-size: 1.3rem;
        height: 55px;
    }
    
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .card-image {
        height: 350px;
    }
    
    .skills-grid {
        gap: 16px;
    }
    
    .skill-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stats {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-outline {
        width: 85%;
        justify-content: center;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .contact-info div:hover {
        transform: translateX(-4px);
    }
    
    .footer-container {
        padding: 45px 25px 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .legal-links {
        justify-content: center;
        gap: 15px;
    }
    
    .luxury-spinner {
        width: 65px;
        height: 65px;
    }
    
    .luxury-spinner::after {
        font-size: 1.2rem;
    }
    
    .loader-text {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    
    .header-container {
        height: 65px;
    }
    
    .main-navigation {
        top: 65px;
        height: calc(100vh - 65px);
    }
    
    html {
        scroll-padding-top: 75px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 8px 18px;
    }
    
    .typed-container {
        font-size: 1.1rem;
        height: 45px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card-image {
        height: 280px;
    }
    
    .blog-image {
        height: 220px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-info div {
        padding: 14px;
    }
    
    .phone-number {
        font-size: 0.9rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat span {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-dot {
        font-size: 1.8rem;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
    }
}