/* Tekartpress Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background-color: #003366;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    text-align: center;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

.intro, .book-list, .author-list, .author-detail, .contact-info {
    background: #fff;
    margin: 20px 0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 20px;
    color: #003366;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.book {
    background: #fdfdfd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book img {
    height: 150px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.book h3 a, .author-books a {
    color: #003366;
    text-decoration: none;
}

.book h3 a:hover, .author-books a:hover {
    text-decoration: underline;
}

.purchase-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #003366;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.purchase-link:hover {
    background-color: #0055aa;
}

.author-list ul {
    list-style: none;
    padding-left: 0;
}

.author-list ul li {
    margin-bottom: 10px;
}

.author-list ul li a {
    color: #003366;
    text-decoration: none;
}

.author-list ul li a:hover {
    text-decoration: underline;
}

.author-photo {
    width: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}

footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .author-photo {
        width: 100px;
    }
}

