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

:root {
    --primary-red: #8B1538;
    --dark-red: #6B0F2A;
    --text-dark: #1a1a1a;
    --text-gray: #5a5a5a;
    --light-gray: #f8f8f8;
    --border-gray: #e5e5e5;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 14px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Top Bar */
.header-top {
    background: var(--white);
    padding: 5px 0;
    font-size: 12px;
    margin-bottom: 101.95px

}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
}

.language-selector span {
    cursor: pointer;
    transition: color 0.3s;
}

.language-selector span:hover {
    color: var(--primary-red);
}

.language-selector .active {
    color: var(--primary-red);
    font-weight: 500;
}

.header-social {
    display: flex;
    gap: 15px;
}

.header-social a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--primary-red);
}

/* Main Navigation */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 15px 0;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
   /*  height: 45px; */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #4D4D4D;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    line-height: 18.99px;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.search-container {
    position: relative;
    margin-left: 20px;
}

.search-container input {
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--border-gray);
    font-size: 13px;
    width: 220px;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 6.329px;
    opacity: 0.39;
    background: #f4f4f4;
    color: #000000;
}

.search-container input:focus {
    border-color: var(--primary-red);
}

.search-container button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
}


/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    padding: 50px 0 60px;
}

.hero .container {
    display: grid;
   /* grid-template-columns: 350px 1fr; */
    gap: 60px;
    align-items: center;
   /* background-color: #F4F4F4; */
}

.book-display {
    position: relative;
}

.book-display img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 12px;
    font-weight: 300;
}

.hero-content .author {
    color: var(--Neutral-Grey, #717171);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    line-height: 20.71px; /* 159.305% */
}

.btn-detail {
    margin-top: 10px;
    background: var(--primary-red);
    color: white;
    padding: 10px 28px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-detail:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.2);
}

/* Publishers Section */
.publishers {
    padding: 50px 0;
    background: var(--white);
}

.section-title {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 32px;
    line-height: 46.41px;
    color:#4D4D4D;


}
.section-title-line{
    height: 1px;
    background: #D1D1D1;
    margin-bottom: 10px;
}
.sub-text{
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 10.05px;
    line-height: 14.36px;
    margin-top: 5px ;

}

.publisher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.publisher-item {
    text-align: center;
    transition: transform 0.3s;
}

.publisher-item:hover {
    transform: translateY(-3px);
}

.publisher-item img {
    max-width: 140px;
    height: auto;
    /*filter: grayscale(100%);
    opacity: 0.7;*/
    transition: all 0.3s;
}

.publisher-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Series Section */
.series {
    background: var(--white);
    padding: 50px 0;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.series-card {
    background: #F9F9F9;
    border-radius: 5px;
    padding: 2px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
    min-height: 106.41px;
}

.series-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.series-card img {
    width: 80px;
    /* height: 100px; */
    object-fit: cover;
    border-radius: 3px;
}

.series-info h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20.1px;
    line-height: 26.85px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.series-info p {
    color: #717171;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 10.05px;
    line-height: 14.36px;

}


/* Books Section */
.books {
    background: var(--white);
    padding: 50px 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.books-card {
    background: #F9F9F9;
    border-radius: 5px;
    padding: 2px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.books-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.books-card img {
    width: 80px;
    object-fit: cover;
    border-radius: 3px;
}

.books-info h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-style:bold;
    font-size: 15.16px;
    line-height: 19.29px;
    letter-spacing: 0%;

}
.books-info .book-publisher
{
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-style: Italic;
    font-size: 11.02px;
    line-height: 100%;
    color: #4D4D4D;
    margin-top: 18px;
}

.books p {
    color: #717171;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 10.05px;
    line-height: 14.36px;

}

.books-info h4 {
    font-family: "Inter", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 12px;
    line-height: 19.29px;
    color:#4D4D4D;
    margin-top: 6px;
    margin-bottom: 5px;
}

.book-item .book-author {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 6px;
    line-height: 1.4;
}

.book-item .book-publisher {
    font-size: 11px;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Instagram Section */
.instagram-section {
    background: var(--light-gray);
    padding: 50px 0;
}

.instagram-title {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 10px;
    margin-bottom: 10px;
}

.instagram-title h2 {
    font-family: "Inter", sans-serif;
    font-size: 28px;
    color: #4D4D4D;
    font-weight: 700;
}

.instagram-title i {
    color: #E4405F;
    font-size: 28px;
    margin-top: 10px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.instagram-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: white;
    font-size: 24px;
}

/* Footer */
footer {
    background: #D9D9D9;
    color: #636569;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 30px;
    justify-content: center;
    align-content: space-between;
    justify-items: center;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 5px;
}

.footer-column a {
    color: #636569;
    transition: color 0.3s;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 27.21px;
    text-decoration: none;
}

.footer-column a:hover {
    color: #636569;
    text-underline: none;

}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #5a5a5a;
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #999;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}
.copyright {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #636569;
    margin-top: 12px;
    margin-bottom: 10px;
}
.social-icon {
    font-size: 18.89px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .publisher-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero .container {
        /* grid-template-columns: 300px 1fr; */
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 60px 30px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .search-container {
        margin-left: 0;
        width: 100%;
    }

    .search-container input {
        width: 100%;

    }

    .hero .container {
       /* grid-template-columns: 1fr; */
        text-align: center;
    }

    .book-display {
        max-width: 250px;
        margin: 0 auto;
    }

    .series-grid {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
        color:#4D4D4D;
    }
}

