/* ============================================
   POYA DETAILS - BEAUTIFUL RESPONSIVE DESIGN
   ============================================ */

:root {
    --primary-color: #8B4513;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --border-radius: 20px;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Noto Sans Sinhala', sans-serif;
}

/* ============================================
   HERO SECTION
   ============================================ */

.poya-hero {
    position: relative;
    padding: 100px 0 150px;
    overflow: hidden;
}

.poya-hero::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"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
    color: white;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.hero-icon i {
    font-size: 3.5rem;
    color: white;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    animation: fade-in-up 0.8s ease;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.month-badge,
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   CONTAINER
   ============================================ */

.poya-container {
    margin-top: -80px;
    padding-bottom: 80px;
    position: relative;
    z-index: 3;
}

/* ============================================
   QUICK INFO GRID
   ============================================ */

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-content h6 {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* ============================================
   CONTENT CARD
   ============================================ */

.content-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 40px;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 6px solid var(--primary-color);
}

.content-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.content-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d3748;
    margin: 0;
}

.content-body {
    padding: 40px 35px;
}

.description-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #4a5568;
    text-align: justify;
    white-space: pre-line;
}

/* ============================================
   HIGHLIGHT CARDS
   ============================================ */

.highlight-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-100%, -100%); }
    100% { transform: translate(100%, 100%); }
}

.gradient-1 {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 2rem;
    color: white;
}

.highlight-content {
    flex: 1;
}

.highlight-content h5 {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.highlight-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   SHARE SECTION
   ============================================ */

.share-section {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.share-section h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
    color: white;
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    color: white;
}

.share-btn.copy {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

/* ============================================
   RELATED SECTION
   ============================================ */

.related-section {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e2e8f0;
}

.related-grid {
    display: grid;
    gap: 20px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-card:hover {
    border-color: currentColor;
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.related-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-icon i {
    font-size: 1.8rem;
    color: white;
}

.related-content {
    flex: 1;
}

.related-content h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.related-content span {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
}

.related-arrow {
    color: #cbd5e0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.related-card:hover .related-arrow {
    color: currentColor;
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .poya-hero {
        padding: 80px 0 120px;
    }
    
    .hero-icon {
        width: 100px;
        height: 100px;
    }
    
    .hero-icon i {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .divider {
        display: none;
    }
    
    .content-header {
        padding: 25px 20px;
    }
    
    .content-header h3 {
        font-size: 1.5rem;
    }
    
    .content-body {
        padding: 30px 20px;
    }
    
    .description-text {
        font-size: 1rem;
    }
    
    .highlight-card {
        flex-direction: column;
        text-align: center;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .related-card {
        flex-direction: column;
        text-align: center;
    }
    
    .related-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .poya-container {
        margin-top: -60px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .back-btn span {
        display: none;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
    
    .share-section,
    .related-section {
        padding: 25px 20px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .poya-hero,
    .back-btn,
    .share-section,
    .related-section {
        display: none;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}