/*
Theme Name: Rahbam Holding
Theme URI: https://rahbam.com
Author: Rahbam Dev Team
Description: قالب اختصاصی هلدینگ ساختمانی و عمرانی ره بام با پشتیبانی کامل از RTL/LTR و سه زبانه (فارسی، انگلیسی، عربی).
Version: 1.0.0
Text Domain: rahbam
*/

:root {
  --primary-color: #0d233a;
  --secondary-color: #1e3d59;
  --accent-color: #d4a373;
  --text-dark: #2b2d42;
  --bg-light: #f8f9fa;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* هدر سایت */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid var(--accent-color);
  padding: 1.2rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding h1 {
  margin: 0;
  font-size: 1.6rem;
}

.site-branding a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-color);
}

/* بنر هیرو */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.hero-section h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* شبکه‌بندی و کارت‌ها */
.section-title {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 1.8rem;
  position: relative;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--card-bg);
  padding: 1.75rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border-top: 4px solid var(--accent-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.card p {
  color: #555;
  font-size: 0.95rem;
}

.btn-contract {
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  transition: opacity 0.2s;
}

.btn-contract:hover {
  opacity: 0.9;
}

/* فوتر */
.site-footer {
  background: var(--primary-color);
  color: #ffffff;
  padding: 2.5rem 0;
  margin-top: 5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
