* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(160deg ,rgb(255, 255, 226) 0%, rgb(243, 240, 177) 45%,rgb(248, 246, 197) 100%);
    font-family: "Encode Sans Semi Expanded";
    color: black;
    overflow-x: hidden;
    width: 100%;
}

.logo {
    font-family: "Italianno";
    font-size: 3.5rem;
    letter-spacing: 3px;
    color: rgb(0, 0, 0);
    margin-top: 25px;
    font-weight: 500;
}

header {
    display: flex;
    width: 100%;
    height: 100px;
    padding: 24px 20px 16px;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.logo-section {
    width: 50%;
    text-align: left;
}

.nav-bar {
    width: 50%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    background-color: rgb(255, 255, 227);
    padding: 15px;
    border-radius: 25px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.nav-button {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 15px;
    color: black;
    box-sizing: border-box;
    white-space: nowrap;
}

nav {
    display: flex;
    width: 100%;
    justify-content: center;
}

.nav-button:hover, .current {
    font-weight: bold;
}

a {
    text-decoration: none;
}

.top {
    display: flex;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.title {
    font-family: Italianno;
    font-size: 5rem;
    font-weight: 300;
    padding: 30px;
    padding-left: 100px;
    background-color: rgb(255, 255, 227);
    border-radius: 50px;
    display: inline-block;
}

.top-left {
    width: 50%;
    height: 100%;
}

.top-right {
    width: 50%;
    height: 100%;
    text-align: right;
}

.book-picture {
    margin-top: 75px;
    width: 500px;
    border-radius: 50px; 
    margin-bottom: 75px;
}

.author-info {
    font-size: 2.2rem;
    padding: 15px;
    margin-top: 75px;
}

.sale-info {
    padding: 10px;
    font-size: 1.8rem;
}

.book-buttons {
    color: black;
    text-decoration: none;
    margin-top: 15px;
}

.buy-now {
    background-color: rgb(255, 255, 227);
    padding: 10px;
    margin-top: 50px;
    border-radius: 20px;
    padding: 15px;
    border-radius: 35px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-width: 2px;
    background-color: rgb(255, 255, 227);
}

.description {
    background-color: rgb(255, 255, 227);
    padding: 15px;
    margin-top: 50px;
    border-radius: 35px;
}

.about-me {
    font-size: 3rem;
    padding-left: 15px;
    margin-top: 75px;
    font-family: Italianno;
}

.info-about-me {
    font-size: 2rem;
    font-weight: 300;
    padding: 25px;
    background-color: rgb(255, 255, 227);
    border-radius: 50px;
    display: inline-block;
}

.photo {
    margin-top: 100px;
    width: 400px;
    border-radius: 50px; 
    margin-bottom: 75px;
}

.footer {
    border-top: 1px solid rgba(53, 109, 150, 0.16);
    width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 227);
}

.footer-text {
    padding: 14px 20px;
    text-align: center;
}

.footer-attachment {
    color: rgb(0, 0, 255);
}

/* KSIAZKA.HTML STYLES */
.book-detail-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    gap: 50px;
    align-items: flex-start;
}

.book-detail-left {
    width: 40%;
    text-align: center;
}

.book-detail-right {
    width: 60%;
    padding: 30px;
}

.book-detail-image {
    width: 100%;
    max-width: 350px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.book-detail-title {
    font-family: Italianno;
    font-size: 3rem;
    margin-bottom: 10px;
    color: black;
}

.book-detail-subtitle {
    font-size: 1.2rem;
    color: rgb(100, 100, 100);
    margin-bottom: 25px;
    font-style: italic;
}

.book-description {
    background-color: rgb(255, 255, 227);
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 30px;
}

.book-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.book-description p:last-child {
    margin-bottom: 0;
}

.book-cta {
    text-align: center;
}

.section-title {
    font-family: Italianno;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    color: black;
}

.book-content-section {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.content-box {
    background-color: rgb(255, 255, 227);
    padding: 40px;
    border-radius: 30px;
}

.table-of-contents {
    list-style: none;
    font-size: 1.3rem;
    line-height: 2.5;
}

.table-of-contents li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.table-of-contents li:last-child {
    border-bottom: none;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 20px;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.buy-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.buy-link-button {
    background-color: rgb(255, 255, 227);
    color: black;
    padding: 15px 30px;
    border-radius: 25px;
    border: 2px solid black;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.buy-link-button:hover {
    background-color: black;
    color: rgb(255, 255, 227);
    font-weight: bold;
}

.reviews-container {
    background-color: rgb(255, 255, 227);
    padding: 40px;
    border-radius: 30px;
}

.review-item {
    margin-bottom: 30px;
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: black;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    font-style: italic;
}

.review-link {
    color: rgb(0, 0, 255);
    text-decoration: none;
    font-weight: 500;
}

.review-link:hover {
    text-decoration: underline;
}

/* WYDARZENIA.HTML STYLES */
.page-header {
    text-align: center;
    margin: 50px 0;
}

.page-title {
    font-family: Italianno;
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: black;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgb(100, 100, 100);
    font-style: italic;
}

.events-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.event-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    background-color: rgb(255, 255, 227);
    padding: 30px;
    border-radius: 30px;
    align-items: flex-start;
}

.event-item:nth-child(even) {
    flex-direction: row-reverse;
}

.event-image {
    width: 350px;
    height: 280px;
    border-radius: 25px;
    object-fit: cover;
    flex-shrink: 0;
}

.event-content {
    flex: 1;
}

.event-title {
    font-family: Italianno;
    font-size: 2rem;
    margin-bottom: 10px;
    color: black;
}

.event-date {
    font-size: 1rem;
    color: rgb(150, 150, 150);
    font-weight: bold;
    margin-bottom: 15px;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.event-link {
    color: rgb(0, 0, 255);
    text-decoration: none;
    font-weight: 500;
}

.event-link:hover {
    text-decoration: underline;
}

.facebook-section {
    max-width: 900px;
    margin: 70px auto;
    text-align: center;
    background-color: rgb(255, 255, 227);
    padding: 50px;
    border-radius: 30px;
}

.facebook-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.facebook-button {
    display: inline-block;
    background-color: rgb(59, 89, 152);
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.facebook-button:hover {
    background-color: rgb(39, 69, 132);
    font-weight: bold;
}

/* KONTAKT.HTML STYLES */
.contact-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-info-section {
    background: rgba(255, 255, 227, 0.9);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-title {
    font-family: Italianno;
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: black;
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgb(60, 60, 60);
    margin-bottom: 35px;
}

.contact-detail a {
    color: inherit;
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
    color: black;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgb(200, 200, 200);
    border-radius: 15px;
    font-family: "Encode Sans Semi Expanded";
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: black;
    background-color: rgb(255, 255, 240);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background-color: rgb(255, 255, 227);
    border: 2px solid black;
    padding: 15px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Encode Sans Semi Expanded";
}

.submit-button:hover {
    background-color: black;
    color: rgb(255, 255, 227);
}

.contact-info-box {
    background-color: rgb(255, 255, 227);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.contact-info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: black;
}

.contact-detail {
    font-size: 1.2rem;
    color: rgb(50, 50, 50);
}

.social-links {
    display: flex;
    gap: 20px;
    margin: 30px 0 40px 0;
    flex-wrap: wrap;
}

.social-button {
    background-color: rgb(255, 255, 227);
    border: 2px solid black;
    padding: 15px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.social-button:hover {
    background-color: black;
    color: rgb(255, 255, 227);
    font-weight: bold;
}

.facebook {
    color: rgb(59, 89, 152);
}

.facebook:hover {
    color: rgb(255, 255, 227);
}

.tiktok {
    color: black;
}

.instagram {
    color: #E4405F;
}

.instagram:hover {
    color: rgb(255, 255, 227);
}

.blog-info {
    background-color: rgb(255, 255, 227);
    padding: 25px;
    border-radius: 20px;
}

.blog-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: black;
}

.blog-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-link {
    color: rgb(0, 0, 255);
    text-decoration: none;
    font-weight: 500;
}

.blog-link:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN - TABLET (768px and below) */
