:root {
    --bg-color: #F8FAFC;
    --primary-color: #14B8A6; /* Teal */
    --primary-color-text: #0F766E;
    --highlight-color: #F97316; /* Orange */
    --border-color: #E2E8F0;
    --text-dark: #334155; /* A slightly softer black for text */
    --text-light: #64748B;
    --font-family: 'Poppins', sans-serif;
    --card-bg: #FFFFFF;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-dark);
}

/* --- Navigation Bar (Shared) --- */
.navbar {
    background-color: var(--bg-color); /* Matches the body background */
    border-bottom: 1px solid var(--border-color);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-dark) !important;
}
.navbar-brand svg {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color-text);
    border-radius: 6px;
    padding: 6px;
}
.navbar-toggler {
    border: 1px solid var(--border-color);
}
.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
}

/* --- Homepage Specific Styles --- */
.hero-section h1 {
    font-weight: 700;
    color: var(--text-dark);
}
/* --- THIS IS THE NEW CREATIVE STYLE --- */
.hero-section .lead {
    font-weight: 500;
    /* 1. Create the gradient background */
    background: linear-gradient(90deg, var(--text-dark) 0%, var(--primary-color-text) 100%);
    /* 2. Clip the background to the text shape */
    -webkit-background-clip: text;
    background-clip: text;
    /* 3. Make the text color transparent to reveal the gradient */
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#city-search {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.city-button {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background-color: var(--card-bg); /* White background */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600; /* Bold font */
    color: var(--primary-color-text); /* Teal text */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle shadow */
}
.city-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* --- City Page Specific Styles (Kept from before) --- */
.breadcrumb a {
    color: var(--primary-color-text); text-decoration: none;
}
.today-times-card {
    background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    display: flex; justify-content: space-around; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.prayer-item-today { text-align: center; padding: 0.5rem; }
.prayer-item-today__name { font-size: 0.8rem; font-weight: 500; color: var(--text-light); text-transform: uppercase; }
.prayer-item-today__time { font-size: 1.75rem; font-weight: 600; }
.prayer-item-today--highlighted { background-color: var(--highlight-color); color: white; padding: 1rem 2rem; border-radius: 12px; min-width: 200px; }
.prayer-item-today--highlighted .prayer-item-today__name { color: rgba(255,255,255,0.8); }
.prayer-item-today--highlighted .prayer-item-today__time { font-size: 2.5rem; font-weight: 700; }
#countdown-timer { font-size: 0.8rem; background-color: rgba(0,0,0,0.2); border-radius: 20px; padding: 0.25rem 0.75rem; margin-top: 0.5rem; display: inline-block; }
.timetable-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05); }
.table { --bs-table-bg: transparent; --bs-table-border-color: var(--border-color); --bs-table-striped-bg: #F8FAFC; --bs-table-hover-bg: #F1F5F9; font-weight: 500; }
.table thead th { font-weight: 600; color: var(--text-dark); }
.content-block { color: var(--text-light); line-height: 1.8; }
.share-buttons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: white; text-decoration: none; margin: 0 0.25rem; transition: transform 0.2s; }
.bg-facebook { background-color: #1877F2; }
.bg-twitter { background-color: #1DA1F2; }
.other-city-link { display: block; padding: 0.75rem; background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; text-align: center; text-decoration: none; font-weight: 500; color: var(--text-dark); transition: all 0.2s ease; }
.other-city-link:hover { border-color: var(--primary-color); color: var(--primary-color-text); background-color: #F0FDFA; }

/* --- Footer (Shared) --- */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
    padding: 1.5rem 0;
    margin-top: 4rem;
}
footer .container {
    display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--text-light);
}
footer a {
    color: var(--text-light); text-decoration: none; margin-left: 1.5rem;
}

/* --- Responsive (Shared) --- */
@media (max-width: 992px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .city-grid { grid-template-columns: repeat(1, 1fr); } footer .container { flex-direction: column; gap: 0.5rem; } }