@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-red: #B21B1B;
    --primary-red-hover: #8C1515;
    --dark-charcoal: #2D2D2D;
    --light-bg: #F8F9FA;
    --blood-gradient: linear-gradient(135deg, #FF1A1A 0%, #B21B1B 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --box-shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --box-shadow-hover: 0 10px 30px rgba(178, 27, 27, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-charcoal);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .brand-font {
    font-family: 'Playfair Display', serif;
}

/* Typography Enhancements */
.text-primary-red {
    color: var(--primary-red) !important;
}
.bg-primary-red {
    background-color: var(--primary-red) !important;
}

/* Navbar */
.navbar.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--box-shadow-subtle);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-red);
    letter-spacing: 1px;
}
.navbar-brand span {
    color: var(--dark-charcoal);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav-link {
    color: var(--dark-charcoal);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-donate {
    background: var(--blood-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(178, 27, 27, 0.3);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 27, 27, 0.4);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 50px;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: var(--blood-gradient);
    border-radius: 40% 0 0 50%;
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark-charcoal);
}

.hero-title span {
    background: var(--blood-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-red);
    margin-bottom: 30px;
}

/* Cards & Services */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow-subtle);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-bottom: 4px solid var(--primary-red);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(178, 27, 27, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-red);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-charcoal);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 30px;
    border-top: 5px solid var(--primary-red);
}

.footer-brand {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

/* Utilities */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--blood-gradient);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(178, 27, 27, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--dark-charcoal);
    transform: translateY(-5px);
    color: white;
}
