/* ============================================
   Inter Birth Books - Custom Stylesheet
   Editorial & Literary Aesthetic
   ============================================ */

:root {
    /* Color Palette - Warm Literary Tones */
    --color-primary: #2c1810;
    --color-secondary: #8b4513;
    --color-accent: #d4a574;
    --color-light: #f8f6f3;
    --color-dark: #1a1a1a;
    --color-text: #3a3a3a;
    --color-text-light: #6b6b6b;
    --color-border: #e0ddd8;
    --color-cream: #faf8f5;
    --color-rust: #a0522d;
    --color-sage: #9caf88;
    
    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Crimson Pro', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.8;
    font-size: 18px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

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

/* ============================================
   Cookie Consent Banner
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    color: var(--color-light);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    display: none;
}

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-link {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-cookie-accept {
    background: var(--color-accent);
    color: var(--color-dark);
}

.btn-cookie-accept:hover {
    background: var(--color-secondary);
    color: white;
}

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

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(248, 246, 243, 0.98);
    box-shadow: var(--shadow-md);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url("../images/banner.jpg");
    background-size: cover;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #faf8f5 0%, #f0ece5 100%);
    opacity: 0.5;

}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-sage) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation: float 18s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-accent {
    font-style: italic;
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-light);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-primary);
    color: var(--color-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    border-radius: 6px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-primary-custom:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    transition: var(--transition-base);
}

.btn-secondary-custom:hover {
    background: var(--color-primary);
    color: var(--color-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--color-secondary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title-large {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
}

/* ============================================
   Story Intro Section
   ============================================ */

.story-intro-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.story-content {
    padding: var(--spacing-lg) 0;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.8;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
}

.floating-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.08;
}

.deco-1 {
    background: var(--color-accent);
    top: 10%;
    right: 5%;
}

.deco-2 {
    background: var(--color-sage);
    bottom: 10%;
    left: 5%;
}

/* ============================================
   Why Section
   ============================================ */

.why-section {
    background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
}

.why-card {
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid var(--color-border);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.why-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.why-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   Timeline Section
   ============================================ */

.timeline-section {
    background: var(--color-cream);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    top: -40px;
    background: var(--color-secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-cream), 0 0 0 6px var(--color-border);
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        text-align: left;
        padding: 1.5rem;
    }
}

/* ============================================
   Philosophy Section
   ============================================ */

.philosophy-section {
    background: var(--color-primary);
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.philosophy-section .section-label {
    color: var(--color-accent);
}

.philosophy-section .section-title {
    color: var(--color-light);
}

.philosophy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/belief.jpg') center/cover;
    opacity: 0.08;
}

.philosophy-image {
    position: relative;
    z-index: 2;
}

.philosophy-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.philosophy-content {
    position: relative;
    z-index: 2;
    padding-left: 3rem;
}

.philosophy-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.9;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: var(--transition-base);
}

.btn-text-link:hover {
    gap: 1rem;
    color: white;
}

@media (max-width: 991px) {
    .philosophy-content {
        padding-left: 0;
        margin-top: 3rem;
    }
}

/* ============================================
   Featured Books Section
   ============================================ */

.featured-section {
    background: white;
}

.book-feature-card {
    background: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.book-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    object-position: top;
}

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

.book-feature-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-feature-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.book-excerpt {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex: 1;
}

.book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.book-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.btn-book-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
}

.btn-book-link:hover {
    gap: 1rem;
    color: var(--color-primary);
}

/* ============================================
   Service Section
   ============================================ */

.service-section {
    background: linear-gradient(135deg, #faf8f5 0%, #f0ece5 100%);
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border-left: 4px solid var(--color-accent);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-secondary);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.service-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-text {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   Trust Section
   ============================================ */

.trust-section {
    background: white;
}

.trust-content {
    padding-right: 3rem;
}

.trust-text {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.trust-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-list i {
    color: var(--color-sage);
    font-size: 1.2rem;
}

.trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-link {
    font-size: 1rem;
    color: var(--color-secondary);
    text-decoration: underline;
    transition: var(--transition-base);
}

.trust-link:hover {
    color: var(--color-primary);
}

.trust-visual img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
    .trust-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--color-secondary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section .btn-primary-custom{
    z-index: 4;
    position: relative;
}

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


.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/cta.jpg') center/cover;
    opacity: 0.1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--color-accent);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

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

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
    }
    
    .why-card {
        padding: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}




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

html{
    overflow-x: hidden;
}


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