/*
Theme Name: قالب سفارشی من
Description: یک قالب وردپرسی سفارشی
Version: 1.0
Text Domain: custom-theme
*/

/* استایل های پایه و رزت */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--color-cream);
    direction: rtl;
    min-height: 100vh;
}

.site-content {
    min-height: 100vh;
    padding-top: 20px;
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.demo-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.demo-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.content-block {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.content-block:nth-child(odd) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.content-block:nth-child(even) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}


/* استایل‌های اختصاصی فوتر کریپتال */
.crypto-real-estate-footer {
    width: 100%;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1b2a 100%);
    color: #fff;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.crypto-real-estate-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.footer-main {
        padding: 60px 50px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right:5px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: #b0b7c3;
    font-size: 0.9rem;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b0b7c3;
}

.contact-item i {
    margin-left: 10px;
    color: #00c6ff;
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #b0b7c3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    position: relative;
}

.footer-section ul li a:hover {
    color: #00c6ff;
    transform: translateX(-5px);
}

.footer-section ul li a::before {
    content: '›';
    position: absolute;
    right: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    right: -20px;
}

.newsletter p {
    color: #b0b7c3;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #b0b7c3;
}

.newsletter-form button {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #b0b7c3;
    margin: 0;
    font-size: 0.9rem;
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policies a {
    color: #b0b7c3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #00c6ff;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 20px 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .newsletter-form button {
        padding: 12px;
    }
}