/* Dodatkowe style dla strony Poetica */

/* Reading progress bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Hero Section - Poetica */
.hero-poetica {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-poetica::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.1">✍️</text></svg>') repeat;
    background-size: 200px 200px;
    opacity: 0.1;
    z-index: 1;
}

.hero-poetica .container {
    position: relative;
    z-index: 2;
}

.hero-poetica h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-style: italic;
    color: #e0e7ff;
}

.hero-poetica p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Poetry Introduction */
.poetry-intro {
    background: white;
    padding: 4rem 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
    font-weight: 300;
    font-style: italic;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Poetry Collection */
.poetry-collection {
    background: #f8f9fa;
    padding: 5rem 0;
}

.poetry-collection > .container > h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #1e3a8a;
    margin-bottom: 4rem;
    font-weight: 300;
    font-style: italic;
}

/* Poem Section */
.poem-section {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.poem-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poem-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.poem-container.reverse {
    grid-template-columns: 1fr 1fr;
}

/* Poem Illustration */
.poem-illustration {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.poem-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.poem-container:hover .poem-illustration img {
    transform: scale(1.05);
}

.illustration-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.poem-container:hover .illustration-overlay {
    transform: translateY(0);
}

.illustration-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Poem Content */
.poem-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.poem-title {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
}

.poem-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.poem-date {
    position: relative;
}

.poem-date::after {
    content: '•';
    position: absolute;
    right: -1rem;
    color: #d1d5db;
}

.poem-category {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Poem Text */
.poem-text {
    flex-grow: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    font-style: italic;
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.poem-text.expanded {
    max-height: none;
}

.poem-text p {
    margin-bottom: 1.5rem;
}

.poem-text p:last-child {
    margin-bottom: 0;
}

/* Poem Footer */
.poem-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-read-more {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-read-more:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.poem-stats {
    font-size: 0.85rem;
    color: #6b7280;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.read-time::before {
    content: '⏱️';
    font-size: 0.8rem;
}

/* Poetry Stats */
.poetry-stats {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Poetry Philosophy */
.poetry-philosophy {
    background: white;
    padding: 5rem 0;
}

.philosophy-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 3rem;
    font-weight: 300;
    font-style: italic;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.philosophy-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.philosophy-card h3 {
    font-size: 1.4rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 500;
}

.philosophy-card p {
    line-height: 1.7;
    color: #4b5563;
    font-style: italic;
}

/* Poetry CTA */
.poetry-cta {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-cta.primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-cta.primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-cta.secondary {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-cta.secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .poem-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .poem-container.reverse {
        grid-template-columns: 1fr;
    }
    
    .poem-container.reverse .poem-content {
        order: 2;
    }
    
    .poem-container.reverse .poem-illustration {
        order: 1;
    }
    
    .poem-illustration {
        height: 300px;
    }
    
    .poem-content {
        height: auto;
        padding: 2rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-poetica h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .poem-title {
        font-size: 1.6rem;
    }
    
    .poem-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .poem-date::after {
        display: none;
    }
    
    .poem-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-poetica {
        padding: 3rem 1rem;
    }
    
    .hero-poetica h1 {
        font-size: 2rem;
    }
    
    .poem-illustration {
        height: 250px;
    }
    
    .poem-content {
        padding: 1.5rem;
    }
    
    .philosophy-card {
        padding: 2rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Animation effects */
@keyframes fadeInPoetry {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.poem-section {
    animation: fadeInPoetry 0.8s ease-out forwards;
}

/* Hover effects for poem text */
.poem-text:hover {
    color: #1e3a8a;
}

/* Special styling for quotes in poems */
.poem-text em {
    color: #3b82f6;
    font-weight: 500;
}

/* Blokada zaznaczania tekstu */
body, .no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Blokada przeciągania obrazów */
img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Opcjonalnie — jeśli chcesz, żeby obrazów nie dało się klikać */
.protected-img {
  pointer-events: none;
}

