/*
Theme Name: Jesr Al Taqaddum
Theme URI: https://yourdomain.com/
Author: Shiu Min
Author URI: https://yourdomain.com/
Description: A modern custom WordPress theme for Jesr Al Taqaddum. Built with ACF and Polylang support.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: jesrtheme
Tags: custom-theme, responsive, acf, polylang, rtl, ltr
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Optional: Import main compiled CSS if not already enqueued */

/* Form Input Styles */
.form-input {
    color: #6E6E6E;
    font-size: 20px;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fff;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #FFA500; /* اللون عند التركيز */
}

.form-input::placeholder {
    opacity: 0.8;
}


html[dir='rtl'] .form-input,
html[dir='rtl'] .form-textarea

{
    direction:rtl;
    text-align:right;
}
html[dir='ltr'] .form-input,
html[dir='ltr'] .form-textarea
{
    direction:ltr;
    text-align:left;
}

/* Textarea Styles */
.form-textarea {
    color: #6E6E6E;
    font-size: 20px;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fff;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-textarea:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #FFA500; 
}

.form-textarea::placeholder {
    opacity: 0.8;
}
/* Submit Button Styles */
.form-submit {
    display: inline-flex;
    align-items: center;
    background:#6A0C2D !Important;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 1000px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 18px;
}

.form-submit:hover {
    background-color: #FFA500 !Important;
}

/* Responsive Styles for Larger Screens */
@media (min-width: 1024px) {
    .form-input {
        padding: 1rem 1.5rem;
    }
    .form-submit {
        padding: 1rem 2.08vw;
    }
}


.pagination-wrap ul {
    margin-top: 48px;
    display: inline-flex;
    list-style:none;
    gap: 5px;
}

.pagination-wrap ul li {
  @apply inline-block;
}

.pagination-wrap ul li a,
.pagination-wrap ul li span {
  background: #6a0c2d;  
  color: #FFF;          
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.pagination-wrap ul li a:hover {
  background: #eab308;   
  color: #6a0c2d;
}

.pagination-wrap ul li span.current {
  background: #eab308;   
  color: #6a0c2d;
  font-weight: 700;
}

.whatsapp-contact {
  position: fixed;
  bottom: 1.5rem; /* = 24px */
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* دعم RTL */
html[dir="rtl"] .whatsapp-contact {
  right: auto;
  left: 1.5rem;
}

.whatsapp-contact:hover {
  background-color: #1ebe5d;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
