/* ========================================
   وظائف حول العالم - التصميم الأساسي
   ======================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
}

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

/* ========== الهيدر ========== */
.header {
    background: #1a1a2e;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    color: #f39c12;
}

.nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    background: #f39c12;
    color: #1a1a2e;
}

/* ========== القائمة المنسدلة ========== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-content a {
    color: #1a1a2e;
    padding: 12px 18px;
    display: block;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background: #f39c12;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ========== القسم الرئيسي ========== */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border-radius: 20px;
    margin: 30px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #f39c12;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box input {
    padding: 12px 20px;
    width: 300px;
    border: none;
    border-radius: 50px;
    outline: none;
    font-size: 1rem;
}

.search-box button {
    padding: 12px 25px;
    background: #f39c12;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #e67e22;
    transform: scale(1.02);
}

/* ========== العناوين ========== */
.section-title {
    font-size: 2rem;
    margin: 40px 0 25px;
    text-align: center;
}

.section-title span {
    color: #f39c12;
}

/* ========== بطاقات الدول ========== */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.country-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    color: #1a1a2e;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: block;
    text-align: center;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.country-card .card-icon {
    font-size: 3rem;
}

.country-card h3 {
    margin: 15px 0 10px;
}

.country-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: #f39c12;
    color: #1a1a2e;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ========== بطاقات الخدمات ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #f39c12;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: #1a1a2e;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s;
}

.btn:hover {
    background: #f39c12;
    color: #1a1a2e;
}

/* ========== نصائح سريعة ========== */
.tips-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tips-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tip {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border-right: 3px solid #f39c12;
}

/* ========== إعلان ========== */
.ad-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.ad-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ad-section .price {
    font-size: 2rem;
    font-weight: bold;
    color: #f39c12;
    margin: 15px 0;
}

.btn-ad {
    display: inline-block;
    background: #f39c12;
    color: #1a1a2e;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-ad:hover {
    background: #e67e22;
    transform: scale(1.02);
}

/* ========== التذييل ========== */
.footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.footer-col h4 {
    color: #f39c12;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
}

/* ========== تجاوب ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .nav {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .tips-section {
        padding: 20px;
    }
    
    .dropdown-content {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .search-box input {
        width: 100%;
    }
}