/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f3e5f5, #e1f5fe);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: fixed;
    width: 100%;
    height: 75px;
    line-height: 75px;
    padding: 0 100px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 9000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

nav .logo p {
    font-size: 30px;
    font-weight: bold;
    color: #4a148c;
    cursor: pointer;
}

.dropdown {
    position: relative;
}

.dropbtn {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.dropdown-content {
    display: flex;
    gap: 20px;
}

nav li {
    list-style: none;
}

nav li a {
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0 20px;
    color: #4a148c;
    transition: color 0.3s;
}

nav li a:hover,
nav li a.active {
    color: #f57c00;
}

@media screen and (max-width: 768px) {
    .dropbtn {
        display: block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        top: 75px;
        right: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .dropdown-content.show {
        display: flex;
    }
}

main {
    padding: 120px 20px 40px;
    max-width: 1000px;
    margin: auto;
    animation: fadeIn 2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    color: #4a148c;
    text-align: center;
    margin-bottom: 30px;
}

.book-feature {
    background-color: rgba(255,255,255,0.9);
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.book-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.book-cover {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.book-details {
    flex: 1;
}

.buy-link {
    display: inline-block;
    margin-top: 15px;
    background-color: #4a148c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.buy-link:hover {
    background-color: #f57c00;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #4a148c;
    color: white;
}

footer a {
    color: #ffccbc;
    text-decoration: underline;
}
