/* Hero Section */
.prayer-hero {
    color: white;
    padding: 10rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: url('../images/prayy.jpg') center center/cover no-repeat;
}

.prayer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .80);
    z-index: 1;
    backdrop-filter: blur(1.5px);
  
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-verse {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 600px;
    margin: 0 auto;
}

.hero-verse i {
    font-size: 1.5rem;
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.hero-verse p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.hero-verse span {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Prayer Section */
.prayer-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.prayer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Prayer Form Wrapper */
.prayer-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-header h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Prayer Form */
.prayer-form .form-group {
    margin-bottom: 1.5rem;
}

.prayer-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.prayer-form label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.prayer-form input,
.prayer-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.prayer-form input:focus,
.prayer-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.prayer-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-check input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-check label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

/* Prayer List Wrapper */
.prayer-list-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.list-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.list-header i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.list-header h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.list-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Prayer List */
.prayer-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 700px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.prayer-list::-webkit-scrollbar {
    width: 6px;
}

.prayer-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.prayer-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.prayer-list::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Prayer Card */
.prayer-card {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.prayer-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Prayer Header */
.prayer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.prayer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.prayer-avatar.anonymous {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.prayer-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.prayer-name {
    font-size: 1.05rem;
    color: #333;
    font-weight: 700;
}

.prayer-date {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Prayer Content */
.prayer-content {
    padding: 1.2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.prayer-content p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Prayer Footer */
.prayer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.2rem;
}

.btn-pray {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #f39c12);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pray:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.3);
}

.prayer-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
    font-size: 0.9rem;
}

.prayer-count i {
    color: #e74c3c;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: #999;
}

.empty-state h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.empty-state p {
    color: #666;
    font-size: 1.05rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .prayer-hero {
        padding: 8rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .prayer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .prayer-form-wrapper {
        position: static;
    }
    
    .prayer-list {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .prayer-hero {
        padding: 8rem 0 2rem;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-verse {
        padding: 1.2rem 1.5rem;
    }
    
    .hero-verse p {
        font-size: 1rem;
    }
    
    .prayer-section {
        padding: 3rem 0;
    }
    
    .prayer-grid {
        gap: 2rem;
    }
    
    .prayer-form-wrapper,
    .prayer-list-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .prayer-hero {
        padding: 7rem 0 1.5rem;
    }
    
    .hero-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-verse {
        padding: 1rem;
    }
    
    .hero-verse i {
        font-size: 1.2rem;
    }
    
    .hero-verse p {
        font-size: 0.95rem;
    }
    
    .hero-verse span {
        font-size: 0.85rem;
    }
    
    .prayer-grid {
        gap: 1.5rem;
    }
    
    .prayer-form-wrapper,
    .prayer-list-wrapper {
        padding: 1.5rem;
    }
    
    .form-header i,
    .list-header i {
        font-size: 2.5rem;
    }
    
    .form-header h3,
    .list-header h3 {
        font-size: 1.4rem;
    }
    
    .prayer-card {
        padding: 1.2rem;
    }
    
    .prayer-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .prayer-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .btn-pray {
        width: 100%;
        justify-content: center;
    }
    
    .prayer-list {
        max-height: 500px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .form-header h3,
    .list-header h3 {
        font-size: 1.3rem;
    }
}
