/* Catholic Books Online - Custom Stylesheet */

:root {
    --primary-burgundy: #7D1935;
    --secondary-gold: #C8A882;
    --accent-cream: #F5F1E8;
    --dark-text: #2C1810;
    --light-text: #6B5D54;
    --background-light: #FDFCF9;
    --border-color: #E4DED3;
    --shadow-soft: rgba(125, 25, 53, 0.08);
    --gradient-warm: linear-gradient(135deg, #F5F1E8 0%, #E8DCC8 100%);
}

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

body {
    font-family: 'Crimson Text', serif;
    color: var(--dark-text);
    background-color: var(--background-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-burgundy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-family: 'Crimson Text', serif;
    font-size: 1.05rem;
    color: var(--dark-text);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    position: relative;
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-warm);
    overflow: hidden;
}

.hero-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.4;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--secondary-gold);
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.hero-circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary-custom {
    background: var(--primary-burgundy);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0;
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:hover {
    color: var(--dark-text);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styling */
.section-standard {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 4rem;
    font-style: italic;
}

/* Decorative Divider */
.decorative-divider {
    height: 300px;
    background: var(--gradient-warm);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-ornament {
    font-size: 3rem;
    color: var(--primary-burgundy);
    opacity: 0.3;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100'%3E%3Cpath fill='%23FDFCF9' d='M0,60 C300,100 900,20 1200,60 L1200,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

/* Book Cards */
.book-card {
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 168, 130, 0.1), transparent);
    transition: left 0.6s ease;
}

.book-card:hover::before {
    left: 100%;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-soft);
}

.book-image-container {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.book-card:hover .book-overlay {
    transform: translateY(0);
}

.book-body {
    padding: 2rem;
}

.book-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-burgundy);
}

.book-author {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 1rem;
}

.book-price {
    font-size: 1.8rem;
    color: var(--secondary-gold);
    font-weight: 700;
}

/* Quote Section */
.quote-section {
    background: var(--primary-burgundy);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    font-size: 30rem;
    font-family: 'Cormorant Garamond', serif;
    opacity: 0.05;
    top: -5rem;
    left: -2rem;
}

.quote-text {
    font-size: 2rem;
    font-style: italic;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.quote-author {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-gold);
}

/* Carousel Custom */
.carousel-custom {
    padding: 4rem 0;
}

.carousel-inner {
    padding: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-burgundy);
    border-radius: 50%;
    padding: 2rem;
}

/* Article Card */
.article-card {
    background: white;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.article-card:hover {
    box-shadow: 0 15px 30px var(--shadow-soft);
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-body {
    padding: 2rem;
}

.article-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* Values Section */
.values-section {
    background: var(--accent-cream);
    padding: 5rem 0;
}

.value-box {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    color: var(--secondary-gold);
    margin-bottom: 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--accent-cream);
    padding: 4rem 0 2rem;
}

.footer-title {
    color: var(--secondary-gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--accent-cream);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(200, 168, 130, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px var(--shadow-soft);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    border-top: 3px solid var(--secondary-gold);
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-accept, .btn-decline {
    padding: 0.6rem 1.5rem;
    border: none;
    cursor: pointer;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-burgundy);
    color: white;
}

.btn-accept:hover {
    background: var(--secondary-gold);
    color: var(--dark-text);
}

.btn-decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--dark-text);
}

.btn-decline:hover {
    background: var(--accent-cream);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-gold);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.error-message {
    color: var(--primary-burgundy);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

/* Book Detail Page */
.book-detail-hero {
    padding: 5rem 0;
    background: var(--gradient-warm);
}

.book-cover-large {
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.book-info {
    padding-left: 3rem;
}

.book-meta-item {
    margin-bottom: 1.5rem;
}

.book-meta-label {
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-right: 0.5rem;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-gold);
    font-weight: 700;
}

/* Article Detail Page */
.article-hero {
    position: relative;
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 3rem 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.article-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Policy Pages */
.policy-page {
    padding: 5rem 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.policy-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.8rem;
}

/* Service Card */
.service-card {
    background: white;
    border: 2px solid var(--secondary-gold);
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-soft);
}

.service-price {
    font-size: 3rem;
    color: var(--primary-burgundy);
    margin: 2rem 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .book-info {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .article-hero {
        height: 40vh;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}




.navbar-brand img{
    max-width: 250px;
    width: 250px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


footer .navbar-brand img{
    filter: brightness(0) invert(1);
}

.footer-text{
    margin-top: 20px;
}

.dropdown-toggle::after{
    background: none;
    display: none;
    content: none;
}


.carousel-control-next-icon, .carousel-control-prev-icon{
    background-size: 70% 70%;
}