/*
Theme Name: Outel Divi Child
Description: Outel.site modern Arabic SaaS child theme for Divi.
Author: Outel
Template: Divi
Version: 1.1.0
Text Domain: outel-divi-child
*/

:root {
    --outel-bg: #f8fafc;
    --outel-surface: #ffffff;
    --outel-surface-soft: #f1f5f9;
    --outel-text: #172033;
    --outel-muted: #64748b;
    --outel-primary: #2563eb;
    --outel-primary-dark: #1d4ed8;
    --outel-border: #e2e8f0;
    --outel-radius: 18px;
    --outel-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    background: var(--outel-bg);
    color: var(--outel-text);
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    line-height: 1.8;
    font-size: 16px;
}

a {
    color: var(--outel-primary);
    text-decoration: none;
    transition: .2s ease;
}

a:hover {
    color: var(--outel-primary-dark);
}

/* Divi RTL / clean SaaS defaults */
#main-header,
#main-footer {
    direction: rtl;
}

#top-menu-nav,
#et-top-navigation {
    direction: rtl;
}

.et_pb_section {
    background-color: transparent;
}

.et_pb_row {
    width: 90%;
    max-width: 1180px;
}

.et_pb_button,
.et_pb_button.et_pb_bg_layout_light {
    border: 0 !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 700;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.et_pb_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .16);
}

/* Cards */
.outel-card,
.et_pb_blurb,
.et_pb_pricing_table,
.et_pb_module.et_pb_text {
    border-radius: var(--outel-radius);
}

.outel-card {
    background: var(--outel-surface);
    border: 1px solid var(--outel-border);
    box-shadow: var(--outel-shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--outel-text);
    font-weight: 800;
    letter-spacing: -.02em;
}

h1 {
    line-height: 1.25;
}

p {
    color: var(--outel-muted);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    border: 1px solid var(--outel-border);
    border-radius: 12px;
    background: #fff;
    color: var(--outel-text);
    padding: 12px 14px;
    min-height: 48px;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
    min-height: 130px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

button,
input[type="submit"] {
    border: 0;
    border-radius: 12px;
    background: var(--outel-primary);
    color: #fff;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .et_pb_row {
        width: 90%;
    }

    .et_pb_button {
        width: auto;
    }
}
