/* Ramadan Theme */
:root {
--primary-color: #2e8b57; /* Islamic Green */
--secondary-color: #ffd700; /* Gold */
--accent-color: #8b4513; /* Brown */
--dark-color: #0f1419;
--light-gray-color: #f8f9fa;
--glass-bg: rgba(46, 139, 87, 0.2);
--glass-blur: 10px;
--border-color: rgba(255, 215, 0, 0.3);
}
/* Ramadan decorations */
body {
background:
linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(26, 61, 46, 0.8) 50%, rgba(15, 20, 25, 0.8) 100%),
url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><radialGradient id="nightSky" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23001133;stop-opacity:1" /><stop offset="100%" style="stop-color:%23000011;stop-opacity:1" /></radialGradient></defs><rect width="1200" height="800" fill="url(%23nightSky)"/><path d="M200 200 Q250 150 300 200 Q250 250 200 200" fill="%23FFD700"/><circle cx="320" cy="180" r="8" fill="%23FFD700"/><polygon points="100,700 200,600 300,700 250,650 200,680 150,650" fill="%232E8B57"/><polygon points="400,720 500,620 600,720 550,670 500,700 450,670" fill="%232E8B57"/><polygon points="700,710 800,610 900,710 850,660 800,690 750,660" fill="%232E8B57"/><polygon points="1000,700 1100,600 1200,700 1150,650 1100,680 1050,650" fill="%232E8B57"/><circle cx="150" cy="100" r="2" fill="%23FFFFFF"/><circle cx="300" cy="80" r="1.5" fill="%23FFFFFF"/><circle cx="450" cy="120" r="2" fill="%23FFFFFF"/><circle cx="600" cy="90" r="1.5" fill="%23FFFFFF"/><circle cx="750" cy="110" r="2" fill="%23FFFFFF"/><circle cx="900" cy="70" r="1.5" fill="%23FFFFFF"/><circle cx="1050" cy="100" r="2" fill="%23FFFFFF"/></svg>');
background-size: cover;
background-position: center;
background-attachment: fixed;
position: relative;
}
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(3px 3px at 30px 40px, #ffd700, transparent),
radial-gradient(2px 2px at 80px 20px, #ffffff, transparent),
radial-gradient(1px 1px at 120px 60px, #ffd700, transparent);
background-repeat: repeat;
background-size: 150px 80px;
opacity: 0.2;
z-index: -2;
animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle {
0% { opacity: 0.2; }
100% { opacity: 0.4; }
}
body::after {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%220%200%2080%20200%22%3E%3Crect%20x%3D%2235%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%2230%22%20fill%3D%22%23FFD700%22/%3E%3Cpath%20d%3D%22M40%2030%20L20%2060%20L20%20140%20L40%20170%20L60%20140%20L60%2060%20Z%22%20fill%3D%22%23FFB347%22/%3E%3Cpath%20d%3D%22M40%2030%20L25%2060%20L25%20135%20L40%20160%20L55%20135%20L55%2060%20Z%22%20fill%3D%22%238B4513%22%20opacity%3D%220.7%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2295%22%20r%3D%2212%22%20fill%3D%22%23FFD700%22/%3E%3Crect%20x%3D%2235%22%20y%3D%22170%22%20width%3D%2210%22%20height%3D%2220%22%20fill%3D%22%23FFD700%22/%3E%3C/svg%3E"),
url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%220%200%2080%20200%22%3E%3Crect%20x%3D%2235%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%2230%22%20fill%3D%22%23FFD700%22/%3E%3Cpath%20d%3D%22M40%2030%20L20%2060%20L20%20140%20L40%20170%20L60%20140%20L60%2060%20Z%22%20fill%3D%22%23FFB347%22/%3E%3Cpath%20d%3D%22M40%2030%20L25%2060%20L25%20135%20L40%20160%20L55%20135%20L55%2060%20Z%22%20fill%3D%22%238B4513%22%20opacity%3D%220.7%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2295%22%20r%3D%2212%22%20fill%3D%22%23FFD700%22/%3E%3Crect%20x%3D%2235%22%20y%3D%22170%22%20width%3D%2210%22%20height%3D%2220%22%20fill%3D%22%23FFD700%22/%3E%3C/svg%3E");
background-repeat: no-repeat, no-repeat;
background-size: 180px 360px, 180px 360px;
background-position: 10% 28%, 90% 72%;
opacity: 0.25;
pointer-events: none;
animation: lanternFloat 8s ease-in-out infinite alternate;
z-index: -1;
}
@keyframes lanternFloat {
0% { background-position: 10% 28%, 90% 72%; }
100% { background-position: 12% 24%, 88% 76%; }
}
/* Navbar Ramadan styling */
.navbar {
background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
border-bottom: 3px solid var(--secondary-color);
box-shadow: 0 4px 20px rgba(46, 139, 87, 0.3);
position: relative;
}
.navbar::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%220%200%20300%20120%22%3E%3Cpath%20d%3D%22M0%2020%20C50%200%20100%2040%20150%2020%20C200%200%20250%2040%20300%2020%22%20stroke%3D%22%23FFD700%22%20stroke-width%3D%222%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22/%3E%3Cg%20transform%3D%22translate(60,20)%22%3E%3Cline%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%2240%22%20stroke%3D%22%23FFD700%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M0%2040%20L-15%2070%20L-15%20100%20L0%20115%20L15%20100%20L15%2070%20Z%22%20fill%3D%22%23FFB347%22/%3E%3Cpath%20d%3D%22M0%2040%20L-10%2070%20L-10%2095%20L0%20110%20L10%2095%20L10%2070%20Z%22%20fill%3D%22%238B4513%22%20opacity%3D%220.7%22/%3E%3Ccircle%20cx%3D%220%22%20cy%3D%2280%22%20r%3D%228%22%20fill%3D%22%23FFD700%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate(210,20)%22%3E%3Cline%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%2240%22%20stroke%3D%22%23FFD700%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M0%2040%20L-15%2070%20L-15%20100%20L0%20115%20L15%20100%20L15%2070%20Z%22%20fill%3D%22%23FFB347%22/%3E%3Cpath%20d%3D%22M0%2040%20L-10%2070%20L-10%2095%20L0%20110%20L10%2095%20L10%2070%20Z%22%20fill%3D%22%238B4513%22%20opacity%3D%220.7%22/%3E%3Ccircle%20cx%3D%220%22%20cy%3D%2280%22%20r%3D%228%22%20fill%3D%22%23FFD700%22/%3E%3C/g%3E%3C/svg%3E");
background-repeat: repeat-x;
background-size: 140px 120px;
background-position: center 15px;
opacity: 0.35;
pointer-events: none;
animation: sway 6s ease-in-out infinite;
z-index: 0;
}
.navbar .container {
position: relative;
z-index: 1;
}
.navbar::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: repeating-linear-gradient(
90deg,
var(--secondary-color) 0px,
var(--secondary-color) 10px,
var(--primary-color) 10px,
var(--primary-color) 20px
);
z-index: 2;
}
.navbar-brand .text-warning {
color: var(--secondary-color) !important;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.navbar-nav .nav-link {
color: #ffffff !important;
font-weight: 600;
transition: all 0.3s ease;
position: relative;
}
.navbar-nav .nav-link:hover {
color: var(--secondary-color) !important;
transform: translateY(-2px);
}
.navbar-nav .nav-link::after {
content: '☪';
position: absolute;
top: -5px;
right: -10px;
opacity: 0;
transition: opacity 0.3s ease;
color: var(--secondary-color);
}
.navbar-nav .nav-link:hover::after {
opacity: 1;
}
/* Hero section Ramadan styling */
.hero {
background: linear-gradient(rgba(46, 139, 87, 0.8), rgba(139, 69, 19, 0.6));
border: 2px solid var(--secondary-color);
position: relative;
}
.hero::before {
content: '';
position: absolute;
top: 10px;
left: 10px;
right: 10px;
bottom: 10px;
border: 1px dashed var(--secondary-color);
opacity: 0.5;
}
.hero h1 {
color: #ffffff;
text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
position: relative;
}
.hero h1::before {
content: '🌙';
margin-right: 10px;
}
.hero h1::after {
content: '⭐';
margin-left: 10px;
}
/* Buttons Ramadan styling */
.btn-primary {
background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
border: 2px solid var(--secondary-color);
color: #ffffff;
font-weight: bold;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
transition: left 0.5s ease;
}
.btn-primary:hover::before {
left: 100%;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(46, 139, 87, 0.4);
}
/* Cards Ramadan styling */
.card {
background: rgba(46, 139, 87, 0.1);
border: 2px solid var(--secondary-color);
backdrop-filter: blur(10px);
transition: all 0.3s ease;
position: relative;
}
.card::before {
content: '';
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border: 1px solid var(--primary-color);
opacity: 0.3;
transition: opacity 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 35px rgba(46, 139, 87, 0.3);
border-color: var(--primary-color);
}
.card:hover::before {
opacity: 0.6;
}
.card-title {
color: var(--secondary-color);
font-weight: bold;
}
/* Footer Ramadan styling */
footer {
background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
border-top: 3px solid var(--secondary-color);
position: relative;
}
footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: repeating-linear-gradient(
90deg,
var(--secondary-color) 0px,
var(--secondary-color) 15px,
var(--primary-color) 15px,
var(--primary-color) 30px
);
}
/* Ramadan lantern animation */
@keyframes sway {
0%, 100% { transform: rotate(-3deg); }
50% { transform: rotate(3deg); }
}
.ramadan-lantern {
display: inline-block;
animation: sway 4s ease-in-out infinite;
}
/* Add Islamic elements to specific sections */
.section-title::before {
content: '🕌 ';
}
.section-title::after {
content: ' 🌙';
}
/* Ramadan loading animation */
.loading-ramadan {
position: relative;
}
.loading-ramadan::after {
content: '☪';
position: absolute;
animation: pulse 2s ease-in-out infinite;
color: var(--secondary-color);
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.2); opacity: 0.7; }
}
/* Islamic pattern overlay */
.islamic-pattern {
position: relative;
}
.islamic-pattern::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
repeating-linear-gradient(
45deg,
transparent,
transparent 10px,
rgba(255, 215, 0, 0.1) 10px,
rgba(255, 215, 0, 0.1) 20px
);
pointer-events: none;
}