/* 
   ابدأ ماركت - ملف التنسيقات الرئيسي (Custom Stylesheet)
   -----------------------------------------------------
   لتحديث التنسيقات فوراً عند الرفع على المنصة، تأكد من زيادة رقم الإصدار (version)
   في رابط ملف الـ CSS داخل index.html. مثال: style.css?v=1.0.1
*/

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

body {
    font-family: 'Tajawal', sans-serif;
    background: #ffffff;
    color: #303031;
    line-height: 1.5;
}

body.locked {
    overflow: hidden;
}

/* Colors */
:root {
    --blue: #336699;
    --yellow: #c7983c;
    --gray: #303031;
    --light-gray: #6c757d;
    --bg-light: #f8f9fa;
}

/* Simple spacing */
.section {
    padding: 80px 0;
}
.section-sm {
    padding: 50px 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--blue);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-primary-custom:hover {
    background-color: #28547a;
    transform: translateY(-2px);
}
.btn-outline-custom {
    background: transparent;
    color: var(--blue);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--blue);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--blue);
    color: white;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: white !important;
    box-shadow: none;
    border-bottom: 1px solid #eee;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue) !important;
}
.nav-link {
    color: var(--gray) !important;
    font-weight: 500;
    margin: 0 10px;
}
.nav-link:hover {
    color: var(--blue) !important;
}

/* Hero */
.hero {
    padding: 40px 0;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    color: var(--blue);
}
.hero p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-image {
    max-width: 100%;
    border-radius: 20px;
}

/* Simple Cards */
.simple-card {
    text-align: right;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.simple-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
}
.simple-card i {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 0;
    margin-top: 5px;
    flex-shrink: 0;
}
.simple-card-content {
    flex: 1;
}
.simple-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.simple-card p {
    color: var(--light-gray);
    font-size: 0.95rem;
}

/* Vision & Mission Cards */
.vision-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.vision-card:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
}
.vision-icon {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 20px;
}
.vision-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.vision-card p {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* Countdown */
.countdown-wrapper {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}
.countdown-item {
    background: white;
    border-radius: 12px;
    padding: 15px 10px;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.countdown-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    direction: ltr;
}
.countdown-label {
    color: var(--light-gray);
    font-size: 0.8rem;
}

/* Form */
.form-wrapper {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}
.form-control {
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 20px;
    font-family: 'Tajawal', sans-serif;
}
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(51,102,153,0.1);
}

/* Simple KPIs */
.kpi-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 5px;
}

/* Footer */
footer {
    background: var(--gray);
    color: white;
    padding: 40px 0;
    text-align: center;
}
footer a {
    color: var(--yellow);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

.hero-logo {
    height: 120px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .hero {
        padding: 40px 0;
    }
    .hero-logo {
        height: 90px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
}
