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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #000000;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #000000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
}

.header-content {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 300;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
}

.tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #000000;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #666666;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: #000000;
    color: #ffffff;
    padding: 6rem 0 5rem;
    text-align: left;
}

.hero .container {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: #cccccc;
    font-weight: 300;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.05rem;
    color: #333333;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    padding: 4rem 0 5rem;
    margin-top: 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid #000000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: #000000;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #000000;
    border-radius: 3px;
    font-size: 1rem;
    background-color: #ffffff;
    color: #000000;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    display: block;
}

.form-message.error {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    display: block;
}

/* Netlify Forms Honeypot */
.hidden {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333333;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Books Section */
.books-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.book-card {
    background-color: #ffffff;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid #000000;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.book-cover {
    width: 100%;
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.book-cover-father {
    background-color: #000000;
}

.book-cover-son {
    background-color: #000000;
}

.book-cover-spirit {
    background-color: #000000;
}

.book-title-overlay {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;
}

.book-card h3 {
    font-size: 1.75rem;
    margin: 1.5rem 1.5rem 0.75rem;
    color: #000000;
    font-weight: 600;
}

.book-description {
    color: #333333;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
}

.book-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 1.5rem 1.5rem;
}

.btn-link {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.btn-link:hover {
    background-color: #333333;
    transform: translateX(3px);
}

/* Footer */
footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid #000000;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-tagline {
    font-style: italic;
    color: #999999;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tagline {
        padding-left: 0;
    }

    .tagline::before {
        display: none;
    }

    nav {
        gap: 1.5rem;
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding: 4rem 0 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .book-cover {
        height: 240px;
    }
}

