/* style.css */

/* Remix Icons fix */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

/* Body styles */
body {
    font-family: 'Amiri', serif;
    background-color: #F7F3E9;
}

/* Font classes */
.cinzel {
    font-family: 'Cinzel', serif;
}

/* Background patterns */
.islamic-pattern {
    background-image: url('https://readdy.ai/api/search-image?query=subtle%2520islamic%2520geometric%2520pattern%2520in%2520light%2520green%2520and%2520gold%2520colors%2520on%2520cream%2520background%252C%2520elegant%2520and%2520minimal%2520design%252C%2520seamless%2520pattern%252C%2520traditional%2520arabesque%2520motifs%252C%2520delicate%2520lines%252C%2520professional%2520looking%252C%2520high%2520quality%252C%2520soft%2520texture&width=1200&height=300&seq=pattern1&orientation=landscape');
    background-size: cover;
    background-position: center;
}

.hero-section {
    background-image: url('https://readdy.ai/api/search-image?query=beautiful%2520mosque%2520architecture%2520with%2520islamic%2520geometric%2520patterns%252C%2520soft%2520lighting%252C%2520elegant%2520arches%252C%2520calm%2520atmosphere%252C%2520professional%2520photography%252C%2520high%2520quality%252C%2520golden%2520hour%252C%2520warm%2520tones%252C%2520with%2520empty%2520space%2520on%2520the%2520left%2520side%2520for%2520text%252C%2520right%2520side%2520showing%2520detailed%2520islamic%2520architecture&width=1920&height=800&seq=hero1&orientation=landscape');
    background-size: cover;
    background-position: center;
}

/* Custom switch */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1D4B2C;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Article card hover effects */
.article-card:hover .article-title {
    color: #1D4B2C;
}

.article-card:hover .read-more {
    color: #C5A572;
}

/* Menu item underline animation */
.menu-item {
    position: relative;
}

.menu-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #C5A572;
    transition: width 0.3s;
}

.menu-item:hover::after {
    width: 100%;
}

.active-menu::after {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-position: center;
    }
    
    .cinzel {
        font-size: calc(1.5rem + 0.5vw);
    }
}

/* Additional custom styles */
.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.transition-transform {
    transition: transform 0.3s ease;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #C5A572;
}