/*
Theme Name: Fawzeya Theme
Theme URI: http://example.com/fawzeya-theme
Description: قالب مخصص للشاعرة فوزية السندي
Version: 1.0.0
Author: Your Name
Author URI: http://example.com
Text Domain: fawzeya
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   1. BASIC WORDPRESS STYLES
   ========================================================================== */

 
section {
    margin-bottom: 50px;
}
 

/* ==========================================================================
   2. BASE STYLES & TYPOGRAPHY
   ========================================================================== */

body {
    font-family: 'Noto Naskh Arabic', serif;
    direction: rtl;
    text-align: right;
    background-color: #dce8f2;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 1.5rem;
}

.text-rtl {
    direction: rtl;
    text-align: right;
}



.section-title {
    color: #0fb9d8;
    font-weight: 700;
    margin-bottom: 30px;

}


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.navbar-brand img {
    max-height: 60px;
}

.navbar-nav .nav-link {
    transition: all 0.3s ease;
    color: #0fb9d8;
    padding-left:30px;
}

.nav-item {
  padding-left:10px;
  font-size: 1.2rem;
 
}



/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn-primary {
    background: #0fb9d8;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.read-more-btn {
    background: #0fb9d8;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}




/* ==========================================================================
   10. UTILITY CLASSES
   ========================================================================== */

.text-gradient {
    background: linear-gradient(135deg, #9debf0 0%, #afd7e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rounded-custom {
    border-radius: 15px;
}

/* ==========================================================================
   11. POETRY BOOKS STYLES
   ========================================================================== */


/* ==========================================================================
   12. FIXED DROPDOWN MENU (SINGLE ARROW, SMOOTH TRANSITION, RTL)
   ========================================================================== */

/* Remove Bootstrap's default caret */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* ================================
   Main Menu Links Underline (RTL)
   ================================ */
.navbar-nav .nav-item .nav-link {
    position: relative;         /* Needed for underline */
    color: #1c1cca;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 15px;
}

/* Underline pseudo-element */
.navbar-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    right: 15px;               /* RTL alignment */
    bottom: 2px;
    height: 2px;
    width: 0;
    background-color: #0fb9d8;
    transition: width 0.3s ease;
}

/* Hover effect */
.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus {
    color: #007a94;            /* Slightly darker on hover */
}

.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item .nav-link:focus::after {
    width: calc(100% - 30px);  /* Animate underline */
}

/* ================================
   Submenu Links Underline (RTL)
   ================================ */
.navbar-nav .dropdown-menu .dropdown-item {
    position: relative;       
    color: #1c1cca;
    text-decoration: none;
    transition: color 0.3s ease;
    background: transparent !important; /* Prevent hover background */
    padding: 10px 20px;
}

/* Submenu underline pseudo-element */
.navbar-nav .dropdown-menu .dropdown-item::after {
    content: "";
    position: absolute;
    right: 20px;             
    bottom: 6px;
    height: 2px;
    width: 0;
    background-color: #0fb9d8;
    transition: width 0.3s ease;
}

/* Submenu hover */
.navbar-nav .dropdown-menu .dropdown-item:hover {
    color: #007a94;
}

.navbar-nav .dropdown-menu .dropdown-item:hover::after {
    width: calc(100% - 40px);
}



.dropdown-menu{
    background: linear-gradient(135deg, #d1f3f5 0%, #afd7e4 100%);
    border:0px; 
}



#imageModal .modal-body img {
    max-width: 100%;  /* default */
    width: 70%;       /* increase to 90% of modal width */
    height: auto;     /* maintain aspect ratio */
}

.fixed-card-img {
    width: 476;          /* fills the card width */
    height: 333px;        /* fixed height you want */
    object-fit: cover;    /* crops extra parts, keeps aspect ratio */
    object-position: top; /* crops from center */
}


 