/*
Theme Name: F3T Digital Solutions
Theme URI: https://f3t.net
Author: F3T
Description: The primary theme for F3T Digital Solutions, focusing on the Power of Three (Marketing, IT, E-commerce). Designed with a mobile-first, light mode approach.
Version: 1.0
Text Domain: f3t-digital
*/

/* ================= CSS Variables (Pure Light Theme) ================= */
:root {
    --bg-white: #FFFFFF;
    --text-deep-blue: #0A1F44; /* كحلي الهوية */
    --primary-color: #0088CC;  /* الأزرق المعتمد والمريح */
    --electric-blue: #00E1FF;  /* لون ثانوي للمسات التفاعلية */
    --matte-black: #000000;
    --light-gray: #F5F7FA;
    --border-color: #E2E8F0;
}

/* ================= Global & Mobile First Base ================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-deep-blue);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-deep-blue);
    margin-top: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-deep-blue);
}

/* Buttons */
.btn {
    display: block; 
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* ================= Header ================= */
.site-header {
    background-color: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-deep-blue);
    margin: 0;
}

.logo-text span {
    color: var(--electric-blue);
}

/* ================= Hero Section (Mobile Base) ================= */
.hero-section {
    padding: 60px 0 350px 0;
    background-color: var(--bg-white);
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 0;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-deep-blue);
}

.hero-description {
    font-size: 16px;
    margin-bottom: 35px;
    color: #4A5568;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ================= Services Section (Mobile Base) ================= */
.services-section {
    padding: 80px 0;
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.section-header p {
    color: #4A5568;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(10, 31, 68, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(10, 31, 68, 0.1);
    border-color: var(--primary-color);
}

.icon-wrapper {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #4A5568;
    margin: 0;
}

/* ================= Smart Products Section (Mobile Base) ================= */
.smart-products-section {
    background-color: var(--text-deep-blue);
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.smart-products-section h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.smart-products-section p {
    color: #E2E8F0;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= Footer ================= */
.site-footer {
    background-color: var(--bg-white);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.site-footer p {
    margin: 0;
    color: #4A5568;
    font-size: 14px;
}

/* ================= TABLET & DESKTOP OVERRIDES ================= */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }

    .btn {
        display: inline-block;
        width: auto;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .hero-section {
        padding: 160px 0;
        background-position: center; /* الصورة بالسنتر زي ما طلبت */
        background-size: contain; /* بدون أي زووم أو قص */
    }

    .hero-content {
        max-width: 50%;
        text-align: left;
        padding: 0;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        font-size: 18px;
        margin-left: 0;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .smart-products-section h2 {
        font-size: 36px;
    }
}