/* Custom Styles for Arab Observatory for Culture and Arts */
:root {
    --navy-blue: #0f172a;
    --navy-light: #1e293b;
    --gold-primary: #d97706;
    --gold-light: #f59e0b;
    --bg-light: #f8fafc;
    --text-dark: #334155;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, .brand-title {
    font-family: 'Amiri', serif;
}

.bg-navy {
    background-color: var(--navy-blue) !important;
}

.text-navy {
    color: var(--navy-blue) !important;
}

.bg-gold {
    background-color: var(--gold-primary) !important;
}

.text-gold {
    color: var(--gold-light) !important;
}

.btn-gold {
    background-color: var(--gold-primary);
    color: #fff;
    border: none;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    color: #000;
}

.btn-navy {
    background-color: var(--navy-blue);
    color: #fff;
}

.btn-navy:hover {
    background-color: var(--navy-light);
    color: #fff;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: var(--navy-blue);
    color: var(--gold-light);
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Amiri', serif;
}

.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.75rem; }

.gradient-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 70%, rgba(0,0,0,0) 100%);
}

.hero-main-card {
    min-height: 400px;
}

.hero-img {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.hero-sub-img {
    height: 190px;
    object-fit: cover;
}

.custom-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 10px;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-right: 5px;
}

.max-w-700 {
    max-width: 700px;
}

.leading-relaxed {
    line-height: 1.8;
}

.success,
.error {
    display: none;
    position: relative;
}

.errorForm {
    border: 2px solid #9c1111 !important;
}