/*
Theme Name: Souk Dakhla Classifieds
Theme URI: https://soukdakhla.com
Author: Souk Dakhla
Author URI: https://soukdakhla.com
Description: قالب إعلانات مبوبة عربي RTL قابل للتعديل بالكامل، مبني على هوية مدينة الداخلة. يتضمن نظام إعلانات مخصص، أقسام، أحياء، صفحة إضافة إعلان من الواجهة، وخيارات تخصيص عبر Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: souk-dakhla
Tags: classified-ads, rtl-language-support, blog, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================
   Custom CSS — أعلى كود Tailwind
   الألوان: dakhlaBlue #005b96, dakhlaDarkBlue #03396c,
            dakhlaSand #e3c07b, dakhlaLight #f4f7f6
   ========================================================= */

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f4f7f6;
    overflow-x: hidden;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Custom Wave Divider */
.custom-shape-divider-bottom-1691834320 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.custom-shape-divider-bottom-1691834320 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}
.custom-shape-divider-bottom-1691834320 .shape-fill {
    fill: #f4f7f6;
}

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to left, #e3c07b, #facc15);
}

/* Forms (submit ad) */
.sd-form input[type="text"],
.sd-form input[type="tel"],
.sd-form input[type="email"],
.sd-form input[type="number"],
.sd-form input[type="url"],
.sd-form select,
.sd-form textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: #ffffff;
    color: #374151;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sd-form input:focus,
.sd-form select:focus,
.sd-form textarea:focus {
    outline: none;
    border-color: #005b96;
    box-shadow: 0 0 0 3px rgba(0, 91, 150, 0.12);
}

/* Admin meta box styles */
.sd-metabox label {
    display: block;
    font-weight: 600;
    margin: 10px 0 4px;
    color: #1f2937;
}
.sd-metabox input[type="text"],
.sd-metabox select {
    width: 100%;
}

/* Single ad */
.sd-ad-content p {
    margin-bottom: 1rem;
    line-height: 1.9;
    color: #4b5563;
}

/* Authentication */
.login-remember { margin: 12px 0 !important; }
.login-remember label { display:flex; align-items:center; gap:8px; font-size:14px; color:#6b7280; }
#loginform p { margin-bottom:18px; }
#loginform label { display:block; font-weight:700; margin-bottom:8px; }
#loginform input[type="text"], #loginform input[type="password"] { width:100%; border:1px solid #e5e7eb; border-radius:12px; padding:12px 14px; outline:none; }
#loginform input[type="text"]:focus, #loginform input[type="password"]:focus { border-color:#005b96; box-shadow:0 0 0 3px rgba(0,91,150,.08); }
#wp-submit { width:100%; border:0; border-radius:12px; padding:13px 18px; background:#005b96; color:#fff; font-weight:700; cursor:pointer; }
#wp-submit:hover { background:#03396c; }
