/* ========== Global Styles ========== */
:root {
    --primary-color: #8b6914;
    --secondary-color: #2c1810;
    --accent-color: #c49a3a;
    --dark-bg: #1a1410;
    --light-text: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    color: #333;
    line-height: 1.7;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ========== Navbar ========== */
.navbar {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
}

.brand-text {
    letter-spacing: 2px;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--light-text) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(26, 20, 16, 0.7), rgba(44, 24, 16, 0.8)), 
                url('/images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-align: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-text);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-divider {
    width: 200px;
    height: 3px;
    background: var(--accent-color);
    margin: 2rem auto;
    position: relative;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    top: -3.5px;
}

.hero-divider::before {
    left: -15px;
}

.hero-divider::after {
    right: -15px;
}

/* ========== Section Styles ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

/* ========== Book Cards ========== */
.book-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 105, 20, 0.3);
}

.book-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.book-card:hover img {
    transform: scale(1.05);
}

.book-card .card-body {
    padding: 2rem;
}

.book-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.book-card .card-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 105, 20, 0.4);
}

/* ========== Feature Boxes ========== */
.feature-box {
    padding: 2.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 105, 20, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-box p {
    color: #666;
    line-height: 1.7;
}

/* ========== Selo Aventura Section ========== */
.selo-aventura-section {
    background: linear-gradient(135deg, #f8f4e6 0%, #e8dcc4 100%);
    padding: 5rem 0;
    position: relative;
}

.selo-aventura-section::before {
    content: '⚔️';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    margin-top: 0 !important;
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}

.footer-contact li {
    color: #ccc;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        height: 500px;
    }
}
