/* Homepage Enhancements - Campaigns, Blog, Gallery */

/* Campaigns Section - Modern & Elegant Design */
.campaigns-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.campaigns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #ec4899 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.campaign-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
    border-color: #ec4899;
}

.campaign-card:hover::before {
    opacity: 1;
}

.campaign-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.campaign-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3f7 0%, #f3e8ff 100%);
    border-radius: 16px;
    margin: -2rem -2rem 1.5rem -2rem;
}

.discount-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.discount-text {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.campaign-info {
    flex: 1;
}

.campaign-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.campaign-info > p {
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.campaign-info .campaign-services {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #475569;
    margin: 0.75rem 0;
    border-left: 3px solid #ec4899;
}

.campaign-info .campaign-services strong {
    color: #1e293b;
    font-weight: 600;
}

.campaign-dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 1rem;
}

.campaign-dates i {
    color: #ec4899;
}

.campaign-card .btn,
.campaign-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.campaign-card .btn:hover,
.campaign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
    color: white;
}

/* Discount Wrapper */
.discount-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.discount-value {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.discount-symbol {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-category {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #1a1a2e;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.blog-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f4;
    color: #999;
    font-size: 0.9rem;
}

/* Gallery Enhancements */
.gallery-item .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .campaigns-section {
        padding: 3rem 0;
    }
    
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .discount-value {
        font-size: 2.5rem;
    }
    
    .discount-symbol {
        font-size: 1.4rem;
    }
    
    .campaign-content {
        padding: 1.5rem;
    }
    
    .campaign-discount {
        padding: 1rem;
        margin: -1.5rem -1.5rem 1rem -1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .campaign-card,
    .blog-card {
        margin: 0 1rem;
    }
    
    .discount-value {
        font-size: 2rem;
    }
    
    .blog-content {
        padding: 1rem;
    }
}

/* Animation for new sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.campaign-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

.campaign-card:nth-child(2) {
    animation-delay: 0.2s;
}

.campaign-card:nth-child(3) {
    animation-delay: 0.4s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.4s;
}
