/* Global Styles */
:root {
    --primary-color: #ffcc70;
    --text-color: #333;
    --background-color: #fff;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Book Section Styles */
.book-section {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
}

.book-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.book-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.book-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 1rem;
}

.book-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ffcc70;
}

.book-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.book-cover {
    position: relative;
    display: inline-block;
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.book-cover:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(255, 204, 112, 0.2);
}

.book-cover img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.book-cover:hover .download-overlay {
    opacity: 1;
}

.download-overlay span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 2px solid #ffcc70;
    border-radius: 4px;
    background: rgba(255, 204, 112, 0.1);
    transition: background 0.3s ease;
}

.book-cover:hover .download-overlay span {
    background: rgba(255, 204, 112, 0.2);
}

.book-description {
    max-width: 600px;
    margin: 0 auto;
}

.book-description p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
    font-weight: 300;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .book-section {
        padding-top: 80px;
    }

    .book-container {
        padding: 1rem;
    }

    .book-container h1 {
        font-size: 2rem;
    }

    .book-cover {
        max-width: 300px;
    }

    /* Show download button below image on mobile */
    .download-overlay {
        position: relative;
        opacity: 1;
        background: transparent;
        margin-top: 1rem;
    }

    .book-cover:hover .download-overlay {
        background: transparent;
    }

    .download-overlay span {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
        background: rgba(255, 204, 112, 0.2);
        display: inline-block;
        margin-top: 1rem;
    }

    /* Mobile Navigation Styles */
    .nav-item {
        display: block;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .nav-item > a {
        justify-content: center;
        padding: 1rem 0;
        width: 100%;
        letter-spacing: 0.5px;
        color: #fff;
        position: relative;
        z-index: 2;
    }

    .nav-item.active > a {
        color: #ffcc70;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: rgba(34, 34, 34, 0.9);
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        opacity: 0;
        transform: translateY(-10px);
    }

    .nav-item.active .dropdown-content {
        display: block;
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
        border-left: 2px solid #ffcc70;
        box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .dropdown-content a {
        padding: 12px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
        display: block;
        transform: translateY(0);
        transition: all 0.3s ease;
    }

    .dropdown-content a::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        width: 0;
        height: 1px;
        background-color: #ffcc70;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .dropdown-content a:hover::after {
        width: 50%;
    }

    .dropdown-indicator {
        transition: transform 0.3s ease;
    }

    .nav-item.active .dropdown-indicator {
        transform: rotate(180deg);
    }
}

@media screen and (max-width: 480px) {
    .book-container h1 {
        font-size: 1.5rem;
    }

    .book-cover {
        max-width: 250px;
    }

    .book-description p {
        font-size: 1rem;
    }

    .download-overlay span {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
} 