
.bg-color
{
    background-color: #191308 !important;
}

.text-white
{
    color:white;
}

/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a4a4a;
    --secondary-color: #8a6d3b;
    --accent-color: #d4af37;
    --text-color: #333333;
    --light-color: #f9f9f9;
    --dark-color: #2c2c2c;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header Styles */
.header {
    background-color: #314955;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color:#f1f1f1;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 2rem;
}

.nav ul li a {
    font-weight: 500;
    position: relative;
    color:#f1f1f1;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.book-image
{
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.book-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}


.author-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    transform: rotateZ(-2deg);
    transition: var(--transition);
}

.author-image:hover {
    transform: rotateZ(0deg) scale(1.02);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.author-bio {
    flex: 1;
}

.author-bio h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.author-signature {
    margin-top: 2rem;
    max-width: 200px;
}

/* Book Section Styles */
.book-section {
    padding: 5rem 0;
    background-color: var(--dark-color);
    color: var(--light-color);
}

.book-section .section-title {
    color: var(--light-color);
}

.book-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.book-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(800px) rotateY(10deg);
    transition: var(--transition);
}

.book-image:hover {
    transform: perspective(800px) rotateY(0deg);
}

.book-details {
    flex: 1.5;
}

.tabs {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tab-header {
    display: flex;
    background-color: var(--primary-color);
}

.tab {
    padding: 1rem 1.5rem;
    cursor: pointer;
    flex: 1;
    text-align: center;
    color: var(--light-color);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tab.active {
    border-bottom-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.tab-content {
    padding: 2rem;
    color: var(--text-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-pane h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shop Section Styles */
.shop-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.book-formats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.format-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.format-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.format-image {
    height: 250px;
    overflow: hidden;
}

.format-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.format-card:hover .format-image img {
    transform: scale(1.05);
}

.format-details {
    padding: 1.5rem;
    text-align: center;
}

.format-details h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 1rem 0;
}

.buy-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.buy-button {
    flex: 1;
    display: block;
    transition: var(--transition);
}

.buy-button img {
    max-height: 40px;
    margin: 0 auto;
}

.buy-button:hover {
    transform: scale(1.05);
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: var(--light-color);
    margin: 0;
}

.footer-nav ul {
    display: flex;
}

.footer-nav ul li {
    margin-right: 2rem;
}

.footer-nav ul li a {
    color: var(--light-color);
}

.footer-nav ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.copyright .fa-heart {
    color: #e25555;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content,
    .book-content {
        flex-direction: column;
        gap: 2rem;
    }

    .author-image,
    .author-bio,
    .book-image,
    .book-details {
        flex: initial;
        width: 100%;
    }

    .format-card {
        flex: initial;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-nav ul {
        justify-content: center;
        margin: 1rem 0;
    }

    .footer-nav ul li {
        margin: 0 1rem;
    }

    .social-links {
        justify-content: center;
    }
}
