/**
 * GuzelDualar.com.tr - Enhanced Styles
 * Modern animations, micro-interactions, and premium effects
 */

/* ========================================
   Preloader
======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1f6f5c 0%, #1b4b66 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
    color: white;
}

.preloader-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.9);
}

.preloader-icon svg {
    width: 100%;
    height: 100%;
}

.preloader-text {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ========================================
   Reading Progress Bar
======================================== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.reading-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1f6f5c, #f2a541, #1b4b66);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
    transition: width 0.1s ease;
}

/* ========================================
   Enhanced CSS Variables
======================================== */
:root {
    /* Enhanced Shadows with glow effects */
    --shadow-glow: 0 0 30px rgba(31, 111, 92, 0.15);
    --shadow-gold-glow: 0 0 30px rgba(242, 165, 65, 0.2);
    --shadow-hover: 0 20px 40px rgba(11, 28, 24, 0.18);
    --shadow-card-hover: 0 30px 60px rgba(11, 28, 24, 0.15);

    /* Glass morphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(20px);

    /* Enhanced gradients */
    --gradient-shine: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    --gradient-mesh:
        radial-gradient(at 40% 20%, rgba(31, 111, 92, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(242, 165, 65, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(27, 75, 102, 0.1) 0px, transparent 50%);

    /* Timing functions */
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* ========================================
   Enhanced Keyframe Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(31, 111, 92, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(31, 111, 92, 0.4);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rotateIn {
    from {
        transform: rotate(-10deg) scale(0.9);
        opacity: 0;
    }

    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes morphBg {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* ========================================
   Logo Icon Styling
======================================== */
.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-elastic);
}

.logo a:hover .logo-icon {
    transform: scale(1.1) rotate(-5deg);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Ramazan Menu Special Styling */
.ramazan-menu>a {
    position: relative;
}

.ramazan-menu>a::after {
    content: '🌙';
    position: absolute;
    top: -8px;
    right: -5px;
    font-size: 0.7rem;
    animation: sparkle 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .ramazan-menu>a::after {
        display: none;
    }
}

/* ========================================
   Enhanced Top Bar
======================================== */
.top-bar {
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.top-bar-left span,
.top-bar-right a {
    transition: all 0.3s var(--ease-smooth);
}

.top-bar-right a:hover {
    transform: translateY(-2px) scale(1.1);
}

/* ========================================
   Enhanced Header
======================================== */
.main-header {
    transition: all 0.4s var(--ease-smooth);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(251, 251, 247, 0.95);
}

.logo a {
    position: relative;
}

.logo-img {
    transition: transform 0.4s var(--ease-elastic);
}

.logo a:hover .logo-img {
    transform: scale(1.05) rotate(-2deg);
}

.logo-text {
    transition: all 0.3s var(--ease-smooth);
}

.logo a:hover .logo-text .site-name {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Search Form */
.header-search .search-form {
    position: relative;
    overflow: hidden;
}

.header-search .search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.header-search .search-form:focus-within::before {
    left: 100%;
}

.header-search .search-form input {
    transition: all 0.3s var(--ease-smooth);
}

.header-search .search-form:focus-within {
    box-shadow: 0 0 0 4px rgba(31, 111, 92, 0.15), var(--shadow-md);
    transform: scale(1.02);
}

.header-search .search-form button {
    transition: all 0.3s var(--ease-smooth);
}

.header-search .search-form button:hover {
    transform: scale(1.1);
}

/* ========================================
   Enhanced Navigation
======================================== */
.nav-menu>li>a {
    position: relative;
    overflow: hidden;
}

.nav-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform: translateX(-50%);
}

.nav-menu>li>a:hover::before,
.nav-menu>li.active>a::before {
    width: 80%;
}

.nav-menu>li>a i {
    transition: transform 0.3s var(--ease-elastic);
}

.nav-menu>li>a:hover i {
    transform: scale(1.2);
}

/* Enhanced Dropdown */
.dropdown-menu {
    transform-origin: top center;
    animation: scaleIn 0.3s var(--ease-smooth);
}

.dropdown-menu li a {
    position: relative;
    overflow: hidden;
}

.dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s var(--ease-smooth);
}

.dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu li a:hover {
    padding-left: 20px;
}

/* ========================================
   Enhanced Hero Section
======================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    animation: gradientFlow 15s ease infinite;
    background-size: 200% 200%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 165, 65, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero p {
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-search {
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-stats {
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* Floating decorative elements */
.hero .hero-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero .hero-decoration:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero .hero-decoration:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -2s;
    width: 40px;
    height: 40px;
}

.hero .hero-decoration:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
    width: 30px;
    height: 30px;
}

/* Enhanced Hero Search */
.hero-search .search-form {
    position: relative;
    transition: all 0.4s var(--ease-smooth);
}

.hero-search .search-form:focus-within {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-search .search-form button {
    position: relative;
    overflow: hidden;
}

.hero-search .search-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-search .search-form button:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Stats */
.stat-item {
    transition: all 0.4s var(--ease-elastic);
    cursor: default;
    position: relative;
    z-index: 1;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.stat-number {
    display: block;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 10px 0;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

/* ========================================
   Enhanced Section Titles
======================================== */
.section-title {
    position: relative;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-sunset);
    border-radius: 2px;
    transition: width 0.4s var(--ease-smooth);
}

.section:hover .section-title h2::after {
    width: 100px;
}

.section-title p {
    animation: fadeInUp 0.6s var(--ease-smooth);
}

/* ========================================
   Modern Section Title Variant
======================================== */
.section-title-modern {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title-modern h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-modern h2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-sunset);
    border-radius: 2px;
}

.section-title-modern h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.4s var(--ease-smooth);
}

.section:hover .section-title-modern h2::after {
    width: 120px;
}

.section-title-modern p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* Latest Dua Card Special Styling */
.latest-dua-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s var(--ease-smooth);
}

.latest-dua-card:hover {
    border-left-color: var(--accent-gold);
    transform: translateY(-8px) translateX(5px);
    box-shadow: var(--shadow-card-hover);
}

.latest-dua-card::before {
    content: '🆕';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

/* ========================================
   Enhanced Category Cards
======================================== */
.category-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.6s var(--ease-smooth);
    z-index: 1;
}

.category-card:hover::before {
    opacity: 0.03;
}

.category-card:hover::after {
    transform: scale(1);
}

.category-card>* {
    position: relative;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-card-hover);
}

.category-icon {
    transition: all 0.4s var(--ease-elastic);
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.category-icon i {
    transition: transform 0.3s var(--ease-elastic);
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
}

.category-count {
    transition: all 0.3s var(--ease-smooth);
}

.category-card:hover .category-count {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

/* ========================================
   Enhanced Dua Cards
======================================== */
.dua-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.dua-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s var(--ease-smooth);
}

.dua-card:hover::before {
    transform: scaleY(1);
}

.dua-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.dua-card-header {
    position: relative;
}

.dua-card-title a {
    position: relative;
    transition: all 0.3s ease;
}

.dua-card-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-smooth);
}

.dua-card:hover .dua-card-title a::after {
    width: 100%;
}

.dua-card-category {
    transition: all 0.3s var(--ease-smooth);
}

.dua-card:hover .dua-card-category {
    background: var(--gradient-sunset);
    color: white;
}

/* Enhanced Arabic Text */
.dua-arabic {
    position: relative;
    transition: all 0.4s var(--ease-smooth);
}

.dua-card:hover .dua-arabic {
    background: linear-gradient(135deg, rgba(31, 111, 92, 0.08), rgba(27, 75, 102, 0.05));
}

/* Card footer enhancements */
.dua-card-footer .btn {
    position: relative;
    overflow: hidden;
}

.dua-card-footer .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
}

.dua-card-footer .btn:hover::before {
    left: 100%;
}

.dua-card-stats span {
    transition: all 0.3s var(--ease-smooth);
}

.dua-card:hover .dua-card-stats span {
    color: var(--primary-color);
}

/* ========================================
   Enhanced Daily Dua Section
======================================== */
.daily-dua {
    position: relative;
    overflow: hidden;
}

.daily-dua::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: morphBg 15s ease-in-out infinite;
}

.daily-dua::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(242, 165, 65, 0.2) 0%, transparent 70%);
    animation: morphBg 12s ease-in-out infinite reverse;
}

.daily-dua>* {
    position: relative;
    z-index: 2;
}

.daily-dua-label {
    animation: pulse 2s ease-in-out infinite;
}

.daily-dua-label i {
    animation: sparkle 1.5s ease-in-out infinite;
}

.daily-dua .dua-arabic {
    transition: all 0.4s var(--ease-smooth);
}

.daily-dua:hover .dua-arabic {
    transform: scale(1.02);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* ========================================
   Enhanced Quick Access Cards
======================================== */
.quick-access-card {
    position: relative;
    overflow: hidden;
}

.quick-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-access-card:hover::before {
    opacity: 0.03;
}

.quick-access-icon {
    transition: all 0.4s var(--ease-elastic);
}

.quick-access-card:hover .quick-access-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-md);
}

.quick-access-card>.fa-chevron-right {
    transition: all 0.3s var(--ease-smooth);
}

.quick-access-card:hover>.fa-chevron-right {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* ========================================
   Enhanced Popular Duas List
======================================== */
.popular-dua-item {
    position: relative;
    overflow: hidden;
}

.popular-dua-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 111, 92, 0.05), transparent);
    transition: width 0.4s var(--ease-smooth);
}

.popular-dua-item:hover::before {
    width: 100%;
}

.popular-rank {
    transition: all 0.3s var(--ease-elastic);
}

.popular-dua-item:hover .popular-rank {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   Enhanced Info Cards
======================================== */
.info-card {
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-smooth);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.info-card i {
    transition: all 0.4s var(--ease-elastic);
}

.info-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

/* ========================================
   Enhanced Footer
======================================== */
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
    color: #0b1714;
    pointer-events: none;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.main-footer {
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(242, 165, 65, 0.18), transparent 45%),
        radial-gradient(circle at 85% 0%, rgba(31, 111, 92, 0.22), transparent 50%);
    opacity: 0.55;
    pointer-events: none;
}

.footer-social a {
    transition: all 0.3s var(--ease-elastic);
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.footer-links a {
    position: relative;
    transition: all 0.3s var(--ease-smooth);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s var(--ease-smooth);
}

.footer-links a:hover::before {
    width: calc(100% - 20px);
}

.footer-links a:hover {
    padding-left: 5px;
}

/* Newsletter Enhancement */
.newsletter-form {
    position: relative;
}

.newsletter {
    transition: all 0.3s var(--ease-smooth);
}

.newsletter:focus-within {
    transform: scale(1.02);
}

.newsletter button {
    transition: all 0.3s var(--ease-elastic);
}

.newsletter button:hover {
    transform: scale(1.1);
}

/* ========================================
   Enhanced Back to Top Button
======================================== */
.back-to-top {
    transition: all 0.4s var(--ease-elastic);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.back-to-top i {
    animation: float 2s ease-in-out infinite;
}

/* ========================================
   Enhanced Buttons
======================================== */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.btn-primary:hover::after {
    opacity: 0.5;
}

.btn i {
    transition: transform 0.3s var(--ease-elastic);
}

.btn:hover i {
    transform: translateX(3px);
}

/* ========================================
   Enhanced Form Controls
======================================== */
.form-control {
    transition: all 0.3s var(--ease-smooth);
}

.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgba(31, 111, 92, 0.15), var(--shadow-md);
}

/* ========================================
   Toast Notifications Enhancement
======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: all 0.4s var(--ease-elastic);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 350px;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: linear-gradient(135deg, var(--success-color), #157a48);
}

.toast-error {
    background: linear-gradient(135deg, var(--danger-color), #b33a28);
}

.toast-warning {
    background: linear-gradient(135deg, var(--warning-color), #b86a18);
}

.toast-info {
    background: linear-gradient(135deg, var(--info-color), #245b96);
}

.toast-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

/* Toast Animation */
@keyframes toastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Toast Position */
@media (max-width: 576px) {
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
}

/* ========================================
   Loading States
======================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-image {
    height: 200px;
    margin-bottom: 1em;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Scroll Reveal Animations
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for grid items */
.category-grid .category-card,
.dua-grid .dua-card,
.info-grid .info-card,
.quick-access-grid .quick-access-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-smooth);
}

.category-grid .category-card.visible,
.dua-grid .dua-card.visible,
.info-grid .info-card.visible,
.quick-access-grid .quick-access-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Enhanced Breadcrumb
======================================== */
.breadcrumb a {
    position: relative;
    transition: all 0.3s var(--ease-smooth);
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s var(--ease-smooth);
}

.breadcrumb a:hover::after {
    width: 100%;
}

/* ========================================
   Enhanced Pagination
======================================== */
.pagination a,
.pagination span {
    transition: all 0.3s var(--ease-smooth);
}

.pagination a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.pagination .current {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   Tooltip Enhancement
======================================== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    padding: 8px 12px;
    background: var(--bg-dark);
    color: white;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-smooth);
    z-index: 1000;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bg-dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-smooth);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

[data-tooltip]:hover::before {
    transform: translateX(-50%) translateY(-10px);
}

/* ========================================
   Mobile Menu Enhancement
======================================== */
.mobile-menu-toggle span {
    transition: all 0.3s var(--ease-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Search Suggestions Enhancement
======================================== */
.search-suggestions {
    animation: fadeInDown 0.3s var(--ease-smooth);
}

.suggestion-item {
    transition: all 0.2s var(--ease-smooth);
}

.suggestion-item:hover {
    background: var(--bg-tertiary);
    padding-left: 25px;
}

/* ========================================
   Like Button Animation
======================================== */
.btn-like {
    transition: all 0.3s var(--ease-elastic);
}

.btn-like:hover {
    transform: scale(1.1);
}

.btn-like.liked {
    color: #e74c3c;
}

.btn-like.liked i {
    animation: bounceIn 0.5s var(--ease-elastic);
}

/* Heart burst effect */
.btn-like::after {
    content: '❤';
    position: absolute;
    font-size: 1.5em;
    opacity: 0;
    pointer-events: none;
    animation: none;
}

.btn-like.animating::after {
    animation: heartBurst 0.8s ease-out;
}

@keyframes heartBurst {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(2) translateY(-30px);
    }
}

/* ========================================
   Copy Button Animation
======================================== */
[data-copy] {
    position: relative;
    transition: all 0.3s var(--ease-smooth);
}

[data-copy]:hover {
    transform: scale(1.05);
}

[data-copy].copied::after {
    content: '✓ Kopyalandı!';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: var(--success-color);
    color: white;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    animation: fadeInUp 0.3s var(--ease-smooth);
}

/* ========================================
   Share Buttons Animation
======================================== */
.share-btn {
    transition: all 0.3s var(--ease-elastic);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.share-btn[data-platform="facebook"]:hover {
    background: #1877f2;
    color: white;
}

.share-btn[data-platform="twitter"]:hover {
    background: #1da1f2;
    color: white;
}

.share-btn[data-platform="whatsapp"]:hover {
    background: #25d366;
    color: white;
}

.share-btn[data-platform="telegram"]:hover {
    background: #0088cc;
    color: white;
}

/* ========================================
   Page Transition
======================================== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-smooth);
}

.page-transition.active {
    transform: translateY(0);
}

/* ========================================
   Custom Scrollbar
======================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
}

/* ========================================
   Selection Style
======================================== */
::selection {
    background: rgba(31, 111, 92, 0.2);
    color: var(--primary-dark);
}

::-moz-selection {
    background: rgba(31, 111, 92, 0.2);
    color: var(--primary-dark);
}

/* ========================================
   Focus Styles for Accessibility
======================================== */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* ========================================
   Dark Mode Support (Optional)
======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0f1d1a;
        --bg-secondary: #162724;
        --bg-tertiary: #1d3430;
        --bg-card: #1a2f2b;
        --text-primary: #e8ede9;
        --text-secondary: #a8b5b1;
        --text-muted: #7a8a86;
        --text-light: #5a6966;
        --border-color: #2a403a;
        --border-light: #1f332e;
        --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.5);
    }

    .main-header {
        background: rgba(15, 29, 26, 0.95);
    }

    .category-card,
    .dua-card,
    .quick-access-card,
    .info-card,
    .popular-dua-item {
        background: var(--bg-card);
    }
}

/* ========================================
   Print Styles Enhancement
======================================== */
@media print {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   Reduced Motion Support
======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   CRITICAL FIX: AOS Animation Fallback
   data-aos attributes set opacity: 0 but AOS library is not loaded
======================================== */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"],
[data-aos="zoom-in"],
[data-aos="zoom-out"] {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* ========================================
   Hero Search Bar Fix
======================================== */
.hero-search .search-form {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-search .search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    padding: 0;
}

.hero-search .search-input-wrapper .search-icon {
    padding: 0 15px 0 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-search .search-input-wrapper input {
    flex: 1;
    padding: 18px 20px 18px 0;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
}

.hero-search .search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.hero-search .search-submit:hover {
    filter: brightness(1.1);
}

/* Hero Stats Enhanced */
.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-item .stat-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Hero Suggestions Fix */
.hero-suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.hero-suggestions .suggestion-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-suggestions .suggestion-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.hero-suggestions .suggestion-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    animation: float 2s ease-in-out infinite;
}

/* Mobile Hero Search Fix */
@media (max-width: 768px) {
    .hero-search .search-form {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .hero-search .search-input-wrapper {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        padding: 5px 0;
    }

    .hero-search .search-input-wrapper input {
        padding: 15px;
        text-align: left;
    }

    .hero-search .search-input-wrapper .search-icon {
        padding-left: 15px;
    }

    .hero-search .search-submit {
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        padding: 15px 20px;
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .stat-item {
        width: 100%;
        max-width: 280px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding: 12px 20px;
    }

    .stat-item .stat-icon {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .hero-suggestions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-suggestions .suggestion-label {
        margin-bottom: 5px;
    }

    .hero-suggestions .suggestion-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ========================================
   Blog Share Buttons & Reading Time
======================================== */
.post-share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
    border: none;
    cursor: pointer;
}

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

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8ddb);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #4267B2, #365899);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.share-btn.copy-link {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.share-btn i {
    font-size: 1rem;
}

.reading-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(31, 111, 92, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.reading-time-badge i {
    font-size: 0.8rem;
}

/* ========================================
   Enhanced Category Page Styles
======================================== */
.category-page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
    color: white;
    text-align: center;
}

.category-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}

.category-page-hero .hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.category-page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.category-page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 25px;
}

.category-stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.category-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
}

.category-stat i {
    font-size: 1.1rem;
}

/* Featured Dua Section */
.featured-dua-section {
    margin: 30px 0;
}

.featured-dua-card {
    background: linear-gradient(135deg, rgba(31, 111, 92, 0.08), rgba(242, 165, 65, 0.05));
    border: 2px solid rgba(31, 111, 92, 0.15);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.featured-dua-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(242, 165, 65, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.featured-dua-card .featured-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-sunset);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-dua-card .dua-arabic {
    font-size: 1.8rem;
    line-height: 2.2;
    text-align: center;
    margin: 20px 0;
    color: var(--primary-dark);
}

.featured-dua-card .dua-translation {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.info-card-enhanced {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.info-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.info-card-enhanced .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-card-enhanced h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-card-enhanced p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Quick Links Section */
.quick-links-section {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin: 40px 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s var(--ease-smooth);
}

.quick-link-card:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.quick-link-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.quick-link-card:hover i {
    color: white;
}

.quick-link-card span {
    font-weight: 600;
}

/* FAQ Accordion */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(31, 111, 92, 0.05);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Hadis/Quote Section */
.hadis-section {
    background: linear-gradient(135deg, #1f6f5c 0%, #12463a 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.hadis-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    opacity: 0.15;
    font-family: serif;
}

.hadis-section .hadis-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 20px;
    font-style: italic;
}

.hadis-section .hadis-source {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .category-page-hero h1 {
        font-size: 1.8rem;
    }

    .category-stats-row {
        gap: 15px;
    }

    .category-stat {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .featured-dua-card .dua-arabic {
        font-size: 1.4rem;
    }

    .post-share-buttons {
        justify-content: center;
    }

    .share-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}
