@import url('https://fonts.cdnfonts.com/css/nebulica');

:root {
    --primary-color: #432a2a;
    --secondary-color: #7b4f4f;
    --accent-color: #f8e7e7;
    --bg-light: #fef9f9;
    --text-dark: #432a2a;
    --font-serif: 'Nebulica', 'Playfair Display', serif;
    --font-sans: 'Nebulica', 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    padding-top: 120px;
}

h1, h2, h3, h4, h5, .display-4 {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* Arched Image Utility */
.img-arch {
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    aspect-ratio: 3/4; /* Keeps images consistent */
}

.img-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Bootstrap Overrides & Helpers */
.bg-soft-pink { background-color: var(--accent-color) !important; }
.text-maroon { color: var(--primary-color) !important; }

.btn-maroon {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    border: none;
    transition: 0.3s;
}
.btn-maroon:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline-maroon {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2.5rem;
    border-radius: 5px;
    background: transparent;
    transition: 0.3s;
}
.btn-outline-maroon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    padding: 1.2rem 0;
    transition: 0.3s;
}
.navbar-brand {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
}

/* Sections */
section {
    padding: 5rem 0;
}

.page-hero {
    padding: 8rem 0;
    background-color: #ffffff;
}

/* Header & Top Bar */
.header-wrapper {
    background-color: var(--primary-color);
}
.top-bar {
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.btn-search {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: 0.3s;
}
.btn-search:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Custom Hero Section (Ellie Joy Style) */
.custom-hero {
    background-color: var(--accent-color);
    padding: 50px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 400;
}

.hero-title-accent {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 400;
}

.accent-text-wrap {
    background-color: #d1b181;
    padding: 1rem 3rem 1rem 2000px;
    margin-left: -2000px;
    border-radius: 0 50px 50px 0;
    display: inline-block;
}

.small-heading {
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 500;
}

.btn-black {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.btn-black:hover {
    background-color: #333;
    color: #fff;
}

.hero-image-col {
    position: relative;
    z-index: 1;
}
.gold-stripes {
    position: absolute;
    top: -100px;
    bottom: -100px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    z-index: -1;
}
.gold-stripes .stripe {
    width: 60px;
    height: 100%;
    background-color: #d1b181;
    opacity: 0.8;
}

.book-showcase {
    perspective: 1000px;
}
.book-blur {
    width: 200%;
    max-width: 900px;
    filter: blur(30px);
    opacity: 0.25;
    z-index: 0;
    transform: translateX(30px) scale(1.5);
}
.book-main {
    width: 100%;
    max-width: 405px;
    z-index: 1;
}

/* Cards */
.custom-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(67, 42, 42, 0.05);
    border: none;
    height: 100%;
    transition: 0.3s;
}
.custom-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
}

video {
    border-radius: 15px;
}

/* Footer */
footer {
    background-color: white;
    border-top: 1px solid #eee;
    padding: 5rem 0 2rem;
}
.footer-logo {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1.5rem;
}
.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}
.footer-link:hover {
    opacity: 1;
    padding-left: 5px;
}
.social-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    transition: 0.3s;
}
.social-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 2rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}
