* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #e0e0e0;
    background: #0a0a0a;
    overflow-x: hidden;
}

header {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), 
                url('../images/header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(transparent, #0a0a0a);
}

.header-content {
    z-index: 1;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 5em;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 15px;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.subtitle {
    font-size: 1.5em;
    font-style: italic;
    color: #c0c0c0;
    letter-spacing: 3px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2em;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

section {
    margin: 0;
    padding: 100px 50px;
    position: relative;
}

.section-dark {
    background: #000000;
}

.section-light {
    background: #1a1a1a;
}

h2 {
    color: white;
    font-size: 3em;
    margin-bottom: 60px;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: white;
}

.bio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.bio-image-container {
    position: relative;
    overflow: hidden;
}

.bio-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid white;
    z-index: 0;
}

.bio-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    position: relative;
    z-index: 1;
    transition: filter 0.5s ease;
}

.bio-image:hover {
    filter: grayscale(0%) contrast(1);
}

.bio-text {
    font-size: 1.1em;
    line-height: 2;
}

.bio-text p {
    margin-bottom: 30px;
    text-align: justify;
}

.poems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.poem-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
}

.poem-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.4);
    transition: all 0.5s ease;
}

.poem-card:hover .poem-bg {
    filter: grayscale(100%) brightness(0.2);
    transform: scale(1.1);
}

.poem-content {
    position: relative;
    z-index: 1;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.poem-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: white;
    font-weight: 300;
    letter-spacing: 3px;
}

.poem-text {
    font-style: italic;
    line-height: 2;
    font-size: 1.1em;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.books-section {
    background: #0a0a0a;
    padding: 100px 50px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.book-card {
    background: #1a1a1a;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    transition: height 0.3s ease;
}

.book-card:hover::before {
    height: 100%;
}

.book-card:hover {
    color: #0a0a0a;
}

.book-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.book-card:hover h3 {
    color: #0a0a0a;
}

.book-year {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.book-card:hover .book-year {
    color: #555;
}

.book-card p {
    line-height: 1.8;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.book-card:hover p {
    color: #0a0a0a;
}

.contact-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)),
                url('../images/contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 150px 50px;
}

.contact-info {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.contact-item {
    padding: 20px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid white;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    font-size: 1.1em;
}

.contact-item:hover {
    background: white;
    color: #0a0a0a;
}

footer {
    background: #000;
    color: #666;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9em;
    letter-spacing: 2px;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #666;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline;
}

.poem-edition{
    line-height: 1.8;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 30px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 1px solid #333;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.cookie-text p {
    color: #c0c0c0;
    line-height: 1.6;
    font-size: 0.95em;
}

.cookie-text a {
    color: white;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border: 1px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-size: 0.95em;
    font-family: 'Georgia', serif;
}

.cookie-btn:hover {
    background: white;
    color: #0a0a0a;
}

.cookie-btn.primary {
    background: white;
    color: #0a0a0a;
}

.cookie-btn.primary:hover {
    background: #e0e0e0;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3em;
        letter-spacing: 8px;
    }

    .bio {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .poems-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 80px 30px;
    }

    h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
        letter-spacing: 5px;
    }

    .subtitle {
        font-size: 1em;
    }

    section {
        padding: 60px 20px;
    }

    .books-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}