/* NARRIVA PROFESSIONAL STYLES - UPDATED */
:root {
    --primary-color: #0f172a; /* Deep Navy */
    --secondary-color: #3b82f6; /* Trustworthy Blue */
    --accent-color: #f59e0b; /* Gold */
    --text-dark: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; background-color: var(--white); display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); font-family: var(--font-heading); letter-spacing: 1px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text-dark); font-size: 0.95rem; }
.nav-links a:hover { color: var(--secondary-color); }
.btn-nav { background-color: var(--primary-color); color: var(--white) !important; padding: 10px 20px; border-radius: 5px; }
.btn-nav:hover { background-color: var(--secondary-color); }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* HERO & HEADERS */
.hero { background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); background-size: cover; background-position: center; height: 80vh; color: var(--white); display: flex; align-items: center; text-align: center; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; color: #cbd5e1; }
.btn { padding: 12px 30px; border-radius: 5px; font-weight: 600; display: inline-block; margin: 5px; }
.btn-primary { background-color: var(--secondary-color); color: var(--white); }
.btn-secondary { border: 2px solid var(--white); color: var(--white); }
.page-header { background-color: var(--primary-color); color: var(--white); padding: 60px 0; text-align: center; }
.page-header h1 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 10px; }

/* SECTIONS */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }

/* BOOK GRID */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.book-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s; }
.book-card:hover { transform: translateY(-5px); }
.book-cover { height: 320px; background-color: #e2e8f0; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #64748b; }
.book-info { padding: 20px; text-align: center; }
.book-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.price { font-weight: 700; color: var(--secondary-color); display: block; margin-bottom: 10px; }
.btn-sm { padding: 8px 20px; background-color: var(--primary-color); color: var(--white); border-radius: 4px; font-size: 0.85rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 40px; border-radius: 10px; text-align: center; border: 1px solid #e2e8f0; transition: 0.3s; }
.service-card:hover { border-color: var(--secondary-color); box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
.service-icon { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 20px; }

/* CONTACT & FORMS */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-top: 20px; }
.contact-info-box { background: var(--bg-light); padding: 30px; border-radius: 10px; }
.info-item { margin-bottom: 25px; display: flex; gap: 15px; }
.contact-form { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 5px; font-family: inherit; }
.btn-submit { background-color: var(--secondary-color); color: var(--white); border: none; padding: 12px 30px; border-radius: 5px; cursor: pointer; font-weight: 600; width: 100%; }

/* FOOTER */
footer { margin-top: auto; background-color: #020617; color: #94a3b8; padding-top: 60px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-family: var(--font-heading); }
.social-links { display: flex; gap: 15px; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; text-align: center; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
}