/*
Theme Name: Naat Academy
Theme URI: https://naatacademy.com
Author: Naat Academy Team
Author URI: https://naatacademy.com
Description: A beautiful and dynamic WordPress theme for Islamic poetry and Quranic studies
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naat-academy
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tags: urdu, islamic, rtl, responsive, dark-mode

This theme is designed for sharing Islamic poetry, naats, and literary content with a beautiful
and interactive interface supporting Urdu language and RTL layout.
*/

/* Theme CSS will be loaded from assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #047857;
    --secondary: #0d9488;
    --accent: #b45309;
    --gold-100: #fde68a;
    --gold-200: #fcd34d;
    --gold-300: #fbbf24;
    --gold-400: #f59e0b;
    --gold-500: #d97706;
    --gold-600: #b45309;
    --gold-700: #92400e;
    --surface: #ffffff;
    --background: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
}

html {
    font-size: 110%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    direction: rtl;
    lang: ur;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    color: var(--text-dark);
    line-height: 1.6;
}

.urdu-text {
    font-family: 'NaatFont', serif;
    line-height: 1.9;
}

h1.urdu-text, h2.urdu-text, h3.urdu-text, h4.urdu-text {
    line-height: 1.6 !important;
    padding-bottom: 0.2em;
    padding-top: 0.1em;
    display: inline-block;
    width: 100%;
}

@font-face {
    font-family: 'NaatFont';
    src: url('https://res.cloudinary.com/awescreative/raw/upload/v1749150996/Awes/naatfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.premium-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.section-title-bar {
    position: relative;
    padding-right: 1rem;
}

.section-title-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    border-radius: 99px;
    background: linear-gradient(to bottom, var(--gold-500), var(--gold-600));
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.transition-all {
    transition: all 0.3s ease;
}

::selection {
    background-color: var(--gold-200);
    color: var(--gold-900);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* WordPress Core Classes */
.wp-caption { text-align: center; }
.wp-caption-text { margin-bottom: 0.8em; }
.sticky { display: block; }
.gallery { margin: 0 -15px; }
.gallery-item { display: inline-block; padding: 15px; }
.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: calc(100% / 3); }
.gallery-columns-4 .gallery-item { max-width: 25%; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-content {
    margin-top: 2rem;
}

.site-main {
    display: block;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
