/* Color Palette - Kitabay Inspired */
:root {
    --primary-copper: #c87941;
    --primary-copper-hover: #b56935;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-copper) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-copper) !important;
}

.admin-link {
    background-color: var(--primary-copper);
    color: white !important;
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
}

.admin-link:hover {
    background-color: var(--primary-copper-hover);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-copper) 0%, #d49162 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-hero {
    background-color: var(--bg-white);
    color: var(--primary-copper);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-copper);
    background-color: #fff;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Book Cards */
.book-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.book-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-cover {
    transform: scale(1.05);
}

.book-cover-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    font-size: 4rem;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.book-author {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.book-category {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.btn-view {
    background-color: var(--primary-copper);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: var(--primary-copper-hover);
    color: white;
    transform: translateY(-2px);
}

/* Book Details Page */
.book-detail-cover {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.book-detail-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    font-size: 8rem;
    border-radius: 10px;
}

.book-detail-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.book-detail-author {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.book-meta .badge {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.book-description {
    margin-top: 2rem;
}

.btn-download {
    background-color: var(--primary-copper);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 121, 65, 0.3);
}

.btn-download:hover {
    background-color: var(--primary-copper-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 121, 65, 0.4);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer h5 {
    color: var(--primary-copper);
}

.footer p {
    color: rgba(255,255,255,0.7);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-copper);
    border-color: var(--primary-copper);
}

.btn-primary:hover {
    background-color: var(--primary-copper-hover);
    border-color: var(--primary-copper-hover);
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-copper);
    box-shadow: 0 0 0 0.2rem rgba(200, 121, 65, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .book-detail-title {
        font-size: 2rem;
    }
}