
:root {
            --primary-color: #bdac7a; /* رنگ طلایی/کرم */
            --secondary-color: #000000; /* رنگ مشکی */
            --text-color: #ffffff; /* رنگ متن روی پس‌زمینه تیره */
            --background-color: #f9f9f9; /* پس‌زمینه تیره */
            --hover-color: #d4c29a; /* رنگ هاور برای طلایی */
            --social-bg-opacity: 0.9; /* شفافیت پس‌زمینه دکمه‌های اجتماعی */
        }
        body {
            margin: 0;
            padding: 0;
            background-color: var(--background-color);
            color: var(--text-color);
            line-height: 1.8;
        }
        .container {
            margin: 0 auto 50px;
            padding: 40px;
            background-color: #2a2a2a; 
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
            overflow: hidden;
        }

.banner-contact {
  background-color: #151515;
  color: #ffffff;
  padding: 40px 0;
  text-align: center;
  border-bottom: 5px solid #bdac7a;
}

.banner-contact h1 {
  margin: 0;
  font-size: 2.5em;
  color: #bdac7a;
}

.banner-contact p {
  margin-top: 10px;
  font-size: 1.2em;
  color:#92987f;
}
        h1 {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 15px;
            font-size: 3em;
            letter-spacing: 2px;
            text-shadow: 0 0 10px rgba(189, 172, 122, 0.5);
        }
        h2 {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 25px;
            font-size: 2em;
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 10px;
            display: inline-block; /* برای اینکه عرض خط به اندازه متن باشد */
        }
        .section {
            margin-bottom: 40px;
            padding: 30px;
            background-color: #333; /* رنگ زمینه بخش‌ها */
            border-radius: 8px;
            border: 1px solid #444;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .section:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(189, 172, 122, 0.2);
        }
        .content-wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 30px;
        }
        .text-content {
            flex: 1;
            min-width: 300px; /* حداقل عرض برای محتوای متنی */
        }
        .map-content {
            flex: 1;
            min-width: 300px; /* حداقل عرض برای نقشه */
        }
        .contact-info p, .address-section p {
            margin-bottom: 15px;
            font-size: 1.2em;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .contact-info p i, .address-section p i {
            color: var(--primary-color);
            font-size: 1.5em;
        }
        .contact-info a, .address-section a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color var(--hover-color), text-decoration 0.3s ease;
        }
        .contact-info a:hover, .address-section a:hover {
            color: var(--hover-color);
            text-decoration: underline;
        }

        .map-responsive {
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            position: relative;
            padding-top: 56.25%; /* نسبت تصویر 16:9 */
        }
        .map-responsive iframe {
            border: 0;
            height: 100%;
            left: 0;
            position: absolute;
            top: 0;
            width: 100%;
            border-radius: 8px;
        }
        .social-media h2 {
             text-align: center; /* وسط چین کردن عنوان شبکه های اجتماعی */
        }
 tact-section { padding: 40px 30px; }
        .section-title { text-align: center; font-size: 1.5em;  margin: 70px 0 40px 0; position: relative; }
        .section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: #ff6b6b; border-radius: 2px; }
        .social-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin:50px auto 70px; }
        .social-btn { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px; background: linear-gradient(45deg, #667eea, #764ba2); color: white; text-decoration: none; border-radius: 15px; font-size: 1.1em; font-weight: bold; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(102,126,234,0.3); }
        .social-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(102,126,234,0.4); }
        .social-btn i { font-size: 1.5em; }
        .phone-item { background: #f8f9ff; padding: 20px; border-radius: 12px; text-align: center; border-right: 4px solid #4ecdc4; transition: all 0.3s; }
        .phone-item:hover { background: #e8f4f8; transform: scale(1.02); }
        .phone-item i { font-size: 2em; color: #4ecdc4; margin-bottom: 10px; }
       
.social-btn.eita{
background:linear-gradient(45deg, #a65000, #f6f500) ;
}

.social-btn.rubika {
background: linear-gradient(45deg, #f74337, #e53935);
}

.social-btn[href*="ble.ir"] {
background: linear-gradient(45deg, #00d4aa, #00b894);
}

.social-btn.telegram {
background: linear-gradient(45deg, #0088cc, #229ED9);
}

.social-btn.whats {
background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-btn[href*="instagram.com"] {
background: linear-gradient(45deg, #E4405F, #F77737);
}



        @media (max-width: 768px) {
.content-wrapper{
gap:0;
}
.banner-contact{
padding:30px 0;
}
            .banner-contact h1 { font-size: 1.8em; }
            .banner-contact p { font-size: 1em; }
            h2 { font-size: 1.4em; }
            .container { padding: 10px; }
            .contact-info p, .address-section p {
                font-size: 1.2em;
                text-align: right;
                gap: 15px;
            }
            .contact-info p i, .address-section p i {
                display: block;
                margin-bottom: 10px;
                font-size: 1.5em;
            }
           .social-buttons{
            margin:35px auto;
           }
            .social-links { padding-top: 10px; }
            .social-links a { width: 50px; height: 50px; font-size: 1.5em; margin: 5px;}
            .social-links a span { font-size: 0.7em; }
        }