/* Tocnews - Literary & Editorial Design */

:root {
    --primary-color: #2c1810;
    --secondary-color: #8b4513;
    --accent-color: #d4a574;
    --text-color: #1a1a1a;
    --light-bg: #faf8f5;
    --cream: #f5f1ea;
    --gold: #c9a961;
    --dark-gold: #9d7c3f;
    --shadow: rgba(44, 24, 16, 0.15);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Navigation */
.navbar {
    background-color: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 4px 20px var(--shadow);
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 0.8rem;
    padding: 0.5rem 0 !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    /* opacity: 0.7; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
        background: url("../images/banner.jpg");
        background-size: cover;
        background-repeat: no-repeat;
pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: 0;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, #9d7c3f 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-section .container{
    position: relative;
    z-index: 10;
}

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

.hero-content h1 {
    color: var(--cream);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-btn {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.4);
}

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

/* Decorative Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding: 3rem 0;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.section-header h2::before {
    right: 100%;
    margin-right: 1rem;
}

.section-header h2::after {
    left: 100%;
    margin-left: 1rem;
}

.section-header p {
    color: #666;
    font-style: italic;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* Books Section */
.books-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--light-bg) 100%);
    position: relative;
}

.books-section::before {
    content: '"';
    position: absolute;
    top: 5%;
    left: 5%;
    font-size: 20rem;
    font-family: 'Cinzel', serif;
    color: rgba(139, 69, 19, 0.05);
    line-height: 1;
}

.book-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--gold), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.25);
}

.book-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: linear-gradient(135deg, #f5f1ea, #e8dfd3);
}

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

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

.book-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.book-content {
    padding: 2rem;
}

.book-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.book-author {
    color: var(--secondary-color);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.book-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.book-price {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
}

.buy-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-gold));
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.15) 0%, transparent 50%);
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.3);
}

.service-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 700;
    font-family: 'Cinzel', serif;
    margin-bottom: 1.5rem;
}

/* Blog Section */
.blog-section {
    padding: 5rem 0;
    background: var(--light-bg);
    position: relative;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(44, 24, 16, 0.2);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(44, 24, 16, 0.9);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-gold);
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--secondary-color), var(--gold));
}

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

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 24, 16, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

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

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-bg) 100%);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
}

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

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    margin: 0;
}

/* Map */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Policy Pages */
.policy-page {
    padding: 5rem 0;
    background: var(--light-bg);
}

.policy-content {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
}

.policy-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-color);
}

.policy-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-content h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

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

/* About Page */
.about-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.about-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.about-hero p {
    font-size: 1.4rem;
    color: var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    padding: 5rem 0;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.25);
}

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

/* Article Page */
.article-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, var(--cream), var(--light-bg));
}

.article-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.article-content {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
    margin-bottom: 3rem;
}

.article-image {
    width: 100%;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px var(--shadow);
}

/* Book Detail Page */
.book-detail-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--cream), var(--light-bg));
}

.book-detail-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.book-detail-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow);
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--cream);
    border-radius: 15px;
}

.meta-item {
    flex: 1;
    min-width: 150px;
}

.meta-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.meta-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-header h2::before,
    .section-header h2::after {
        width: 50px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .policy-content,
    .article-content {
        padding: 2rem;
    }
    
    .book-detail-info {
        padding: 2rem;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    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;
}