/* Extracted styles from index.html */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA; /* Clean, light grey background */
    color: #333333;
}

/* Define brand colors for Tailwind */
.bg-brand-blue { background-color: #0A2540; }
.text-brand-blue { color: #0A2540; }
.bg-brand-gold { background-color: #D4AF37; }
.no-underline { text-decoration: none !important; }
.text-brand-gold { color: #D4AF37; }
.border-brand-gold { border-color: #D4AF37; }

/* Animation for sections fading in on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom style for the blurred background on the sticky navbar */
.backdrop-blur-nav {
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

/* Arabic text styling */
.arabic-text {
    font-family: 'Amiri', 'Times New Roman', serif;
    direction: rtl;
    text-align: right;
}

/* Glassmorphism/Liquid Glass Effects */
.glass-container {
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.2);
}

.glass-input {
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.glass-button {
    background: rgba(212, 175, 55, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(212, 175, 55, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 rgba(212, 175, 55, 0.3);
}

.glass-button-red {
    background: rgba(239, 68, 68, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
 
/* Islamic Styling */
.islamic-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(10, 37, 64, 0.1) 0%, transparent 50%);
}
 
.islamic-border {
    border: 2px solid #D4AF37;
    border-radius: 12px;
    position: relative;
}
 
.islamic-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #D4AF37, #0A2540, #D4AF37);
    border-radius: 16px;
    z-index: -1;
}
 
.islamic-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
 
.islamic-button {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    border: 2px solid #0A2540;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}
 
.islamic-button:hover {
    background: linear-gradient(135deg, #B8941F, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
 
.islamic-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}
 
.islamic-hero {
    background: linear-gradient(135deg, #0A2540, #1a365d);
    position: relative;
    overflow: hidden;
}
 
.islamic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
 
.islamic-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}
 
.islamic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #0A2540, #D4AF37);
}
 
.islamic-footer {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    border-top: 3px solid #D4AF37;
}
 
.islamic-text-shadow {
    text-shadow: 2px 2px 4px rgba(10, 37, 64, 0.3);
}
 
.islamic-glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
 
.islamic-pattern-bg {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px);
}

.glass-button-red {
    background: rgba(239, 68, 68, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
}

.glass-button-red:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 rgba(239, 68, 68, 0.3);
}

.glass-button-gray {
    background: rgba(107, 114, 128, 0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(107, 114, 128, 0.4);
    border-radius: 12px;
}

.glass-button-gray:hover {
    background: rgba(107, 114, 128, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 rgba(107, 114, 128, 0.3);
}

.glass-verse-display {
    background: rgba(10, 37, 64, 0.05);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
}

.glass-feedback {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Compact text sizes */
.text-compact { font-size: 0.875rem; line-height: 1.4; }
.text-compact-sm { font-size: 0.75rem; line-height: 1.3; }
.text-compact-xs { font-size: 0.625rem; line-height: 1.2; }

/* Floating animation */
.float-animation { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

/* Recording indicator animation */
@keyframes record-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.recording-indicator { animation: record-pulse 1.5s ease-in-out infinite; }

/* Verse container styling */
.verse-container { line-height: 2.2; word-spacing: 0.3em; }
/* Responsive verse display */
@media (max-width: 768px) { .verse-container { line-height: 2; word-spacing: 0.2em; } }

/* Universal glass container with single full-window logo background */
.glass-container-with-logo,
.glass-card-with-logo,
.project-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    overflow: hidden;
}

.glass-container-with-logo::before,
.glass-card-with-logo::before,
.project-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/ADS_Logo_1024.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    filter: grayscale(40%) blur(1px);
    z-index: -1;
}

/* Ensure content stays above background */
.glass-container-with-logo > *,
.glass-card-with-logo > *,
.project-glass-card > * { position: relative; z-index: 1; }

/* Progress bar styling */
.progress-bar-initial { width: 0%; }

/* Ko-fi Button Style */
.kofi-button { background-color: #29abe0; color: white !important; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: bold; font-size: 16px; display: inline-block; transition: all 0.3s ease; }
.kofi-button:hover { background-color: #1a92c1; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); color: white; }

/* Pointer-events utility class */
.pointer-events-none { pointer-events: none; }
