/* Main CSS for Radha Publication - Premium Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary-color: #800000;
    /* Deep Maroon */
    --primary-dark: #5a0000;
    --accent-color: #d4af37;
    /* Gold Accent */
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

/* Navbar */
.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline-dark {
    border-radius: 0;
    padding: 8px 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

/* Book Cards */
.card-book {
    background: var(--white);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.card-book:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-book img {
    height: 280px;
    object-fit: contain;
    padding: 20px;
    background: #fff;
    transition: transform 0.3s;
}

.card-book:hover img {
    transform: scale(1.05);
}

.card-book .card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    /* Brand Red */
    color: rgba(255, 255, 255, 0.9);
}

footer h5 {
    color: #ffd700;
    /* Gold for Headings */
    margin-bottom: 20px;
    font-weight: 700;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

footer hr {
    background-color: rgba(255, 255, 255, 0.3);
}