/* فروشگاه - استایل‌های اصلی */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.shop-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
    background: #eff6ff;
}

.user-name {
    color: #666;
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #3b82f6;
    color: #fff;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #6b7280;
    color: #fff;
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-info {
    background: #0ea5e9;
    color: #fff;
}

.btn-info:hover {
    background: #0284c7;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Services Section */
.services-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1f2937;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 20px;
    position: relative;
}

.service-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.service-body {
    padding: 20px;
}

.service-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.info-item i {
    color: #3b82f6;
    width: 20px;
}

.service-price {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 5px;
    margin-bottom: 15px;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.current-price {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #3b82f6;
}

.service-footer {
    padding: 0 20px 20px;
}

.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-services i {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

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

/* Features Section */
.features-section {
    background: #fff;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-item i {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1f2937;
}

.feature-item p {
    color: #666;
}

/* Footer */
.shop-footer {
    background: #1f2937;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    color: #3b82f6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    transition: width 0.3s;
}

.social-link:hover {
    color: #fff;
    transform: translateX(-5px);
    border-color: currentColor;
}

.social-link:hover::before {
    width: 100%;
    opacity: 0.2;
}

.social-link svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    display: inline-block;
    flex-shrink: 0;
}

.social-link:hover svg {
    transform: scale(1.2);
}

.social-link span {
    font-size: 15px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* رنگ‌های مخصوص هر شبکه اجتماعی */
.social-instagram i {
    color: #E4405F;
}

.social-instagram:hover {
    background: rgba(228, 64, 95, 0.2);
    border-color: #E4405F;
}

.social-telegram i {
    color: #0088cc;
}

.social-telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
}

.social-linkedin i {
    color: #0077b5;
}

.social-linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    border-color: #0077b5;
}

.social-whatsapp i {
    color: #25D366;
}

.social-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25D366;
}

.social-x i {
    color: #000000;
}

.social-x:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: #000000;
}

.social-aparat i {
    color: #FF0000;
}

.social-aparat:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #FF0000;
}

.social-link:hover i {
    color: #fff !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 12px 0;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .user-name {
        font-size: 12px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        margin-bottom: 0;
    }
    
    .service-header {
        padding: 15px;
    }
    
    .service-header h3 {
        font-size: 18px;
    }
    
    .service-body {
        padding: 15px;
    }
    
    .service-price {
        padding: 12px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .features-section {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item i {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .feature-item h3 {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-footer {
        padding: 30px 0 15px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 8px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .services-section {
        padding: 30px 0;
    }
    
    .services-grid {
        gap: 15px;
    }
    
    .service-header {
        padding: 12px;
    }
    
    .service-header h3 {
        font-size: 16px;
    }
    
    .service-body {
        padding: 12px;
    }
    
    .service-info {
        margin-bottom: 15px;
    }
    
    .info-item {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .service-price {
        padding: 10px;
    }
    
    .old-price {
        font-size: 12px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .service-footer {
        padding: 0 12px 12px;
    }
    
    .features-section {
        padding: 30px 0;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-item i {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .feature-item h3 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
    
    .shop-footer {
        padding: 25px 0 15px;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-section ul li {
        margin-bottom: 8px;
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .form-control {
        padding: 10px;
        font-size: 14px;
    }
    
    .social-link {
        padding: 10px 12px;
    }
    
    .social-link span {
        font-size: 13px;
    }
}

