/* style.css */
:root {
    --primary-color: #003366; /* رنگ اصلی تیره */
    --secondary-color: #FFCC00; /* رنگ ثانویه طلایی/زرد */
    --background-dark: #0f172a; /* پس‌زمینه تیره */
    --text-light: #ffffff; /* متن روشن */
    --text-gray: #cccccc; /* متن خاکستری */
    --font-family: 'Vazirmatn', sans-serif; /* فونت فارسی */
}
/* @i4003 */
body {
    margin: 0;
    font-family: var(--font-family);
    direction: rtl; /* تنظیم جهت متن برای فارسی */
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background-color: var(--primary-color);
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
    color: var(--text-light);
}

header .logo img {
    height: 40px; /* تنظیم ارتفاع لوگو */
    margin-left: 15px; /* فاصله از متن */
    vertical-align: middle;
}

.hero {
    position: relative;
    height: 70vh; /* ارتفاع صفحه قهرمان */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden; /* برای اطمینان از اینکه تصویر پس‌زمینه بیرون نمی‌زند */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-background.jpg'); /* تصویر پس‌زمینه سکوی نفتی */
    background-size: cover;
    background-position: center;
    filter: brightness(0.6); /* کمی تاریک کردن تصویر پس‌زمینه */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 700px;
}

.hero-content h2 {
    font-size: 2em;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 3.5em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-light);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e6b800; /* رنگ تیره‌تر هنگام هاور */
}

.jobs {
    padding: 60px 0;
    text-align: center;
}

.jobs h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.job-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.job-card {
    background-color: rgba(255, 255, 255, 0.05); /* کمی شفافیت */
    border: 1px solid var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.job-card h3 {
    font-size: 1.8em;
    margin-top: 0;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.job-card p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.job-card p strong {
    color: var(--text-light);
    font-size: 1.2em;
}

footer {
    background-color: var(--primary-color);
    color: var(--text-gray);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}
/* @i4003 */
footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content h2 {
        font-size: 1.7em;
    }
    .cta-button {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .jobs h2 {
        font-size: 2em;
    }
    .job-card {
        width: 80%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content h2 {
        font-size: 1.5em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .job-card {
        width: 90%;
    }
}
/* @i4003 */