/**
 * Portfolio Quality Enhancements for Community Camps
 * Premium styling to showcase in portfolio
 */

/* Hero Section */
.ccs-hero-title {
    font-size: 48px !important;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px !important;
    text-align: center;
    line-height: 1.2;
}

.ccs-hero-subtitle {
    font-size: 20px !important;
    color: #666;
    text-align: center;
    margin-bottom: 40px !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Banner */
.ccs-info-banner {
    padding: 30px !important;
    border-radius: 12px;
    margin: 40px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%) !important;
    border-left: 4px solid #d0992e;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.ccs-info-banner h3 {
    color: #1a1a1a;
    margin-top: 0 !important;
    font-size: 24px;
}

.ccs-info-banner ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.ccs-info-banner ul li {
    padding: 8px 0;
    font-size: 16px;
    color: #555;
}

/* CTA Section */
.ccs-cta-section {
    padding: 60px 40px !important;
    text-align: center;
    border-radius: 12px;
    margin: 60px 0;
    background: #1a1a1a !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ccs-cta-section h2 {
    font-size: 36px !important;
    margin-bottom: 15px !important;
}

.ccs-cta-section p {
    font-size: 18px !important;
    margin-bottom: 30px !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ccs-cta-section .wp-block-button__link {
    padding: 15px 35px !important;
    font-size: 18px !important;
    font-weight: 600;
    border-radius: 50px !important;
    background: #d0992e !important;
    color: white !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(208,153,46,0.3);
    text-decoration: none !important;
}

.ccs-cta-section .wp-block-button__link:hover {
    transform: translateY(-2px);
    background: #b8872a !important;
    box-shadow: 0 6px 20px rgba(208,153,46,0.4);
}

/* Guidelines Box */
.ccs-guidelines-box {
    padding: 25px !important;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 2px solid rgba(255,0,0,0.1);
}

.ccs-guidelines-box h3 {
    margin-top: 0 !important;
    color: #d32f2f;
    font-size: 22px;
}

/* Sidebar Boxes */
.ccs-sidebar-box {
    padding: 20px !important;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ccs-sidebar-box h3 {
    margin-top: 0 !important;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

/* Enhanced Camp Cards */
.ccs-camp-card {
    animation: fadeInUp 0.5s ease;
    border: 1px solid #e0e0e0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ccs-camp-card.ccs-camp-featured {
    position: relative;
    overflow: visible;
}

.ccs-camp-card.ccs-camp-featured::before {
    content: '⭐ FEATURED';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #d0992e;
    color: white;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(208,153,46,0.3);
}

/* Enhanced Form Styling */
.ccs-form {
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.ccs-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d0992e 0%, #f4b942 100%);
}

.ccs-form-section h3 {
    position: relative;
    padding-left: 30px;
}

.ccs-form-section h3::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #d0992e;
    font-size: 24px;
}

/* Success Message Animation */
.ccs-message.success {
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* Filter Section Enhancement */
.ccs-filters {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    border: 1px solid #e0e0e0;
    position: relative;
}

.ccs-filters::before {
    content: '🔍 Filter Camps';
    position: absolute;
    top: -12px;
    left: 20px;
    background: white;
    padding: 0 10px;
    font-weight: 600;
    color: #666;
}

/* Disclaimer Styling */
.ccs-disclaimer {
    padding: 20px !important;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f8f8f8 !important;
    font-size: 14px;
}

.ccs-disclaimer h4 {
    margin-top: 0 !important;
    color: #666;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .ccs-hero-title {
        font-size: 32px !important;
    }
    
    .ccs-hero-subtitle {
        font-size: 18px !important;
    }
    
    .ccs-cta-section {
        padding: 40px 20px !important;
    }
    
    .ccs-cta-section h2 {
        font-size: 28px !important;
    }
}

/* Premium Hover Effects */
.ccs-camp-card {
    position: relative;
    overflow: hidden;
}

.ccs-camp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.ccs-camp-card:hover::after {
    left: 100%;
}

/* Loading Animation Enhancement */
.ccs-loading {
    position: relative;
    min-height: 200px;
}

.ccs-loading::before {
    content: 'Loading camps...';
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 14px;
}

/* Badge Animations */
.ccs-camp-badge {
    animation: badgeSlide 0.3s ease;
}

@keyframes badgeSlide {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Register Button Pulse */
.ccs-register-button {
    position: relative;
    overflow: hidden;
}

.ccs-register-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ccs-register-button:hover::before {
    width: 300px;
    height: 300px;
}