/*
Layout Styles - Grid, sections, pagination
*/

/* Camp Analysis Intro */
.camp-analysis-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

/* Section Title Styles */
.section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin: 60px 0 30px;
    color: #2c3e50;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Featured Sections */
.featured-camps-section,
.satisfaction-camps-section {
    margin: 80px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

/* Camp Cards Grid */
.camp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Responsive Grid Optimizations */
@media (min-width: 1200px) {
    .camp-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 30px auto;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .camp-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .camp-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
}

/* Modern Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 50px 0;
    padding: 20px 0;
}

.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    color: #495057;
}

.pagination .page-numbers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
    color: #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #ebf8ff 100%);
}

.pagination .page-numbers.current {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    cursor: default;
}

.pagination .page-numbers.current:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
    color: white;
    border-color: #6c5ce7;
    padding: 10px 20px;
    font-weight: 700;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background: linear-gradient(135deg, #5f3dc4 0%, #4c63d2 100%);
    border-color: #5f3dc4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: default;
    padding: 10px 8px;
}

.pagination .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
}

/* Pagination Animation */
.pagination .page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.pagination .page-numbers:hover::before {
    left: 100%;
}

.pagination .page-numbers.current::before {
    display: none;
}

/* Mobile Pagination */
@media (max-width: 768px) {
    .pagination {
        margin: 30px 0;
        padding: 15px 0;
    }
    
    .pagination .nav-links {
        gap: 6px;
    }
    
    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.widget {
    margin-bottom: 30px;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.widget a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #2980b9;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Blog Slider */
.blog-slider-section {
    margin-bottom: 40px;
}

.blog-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.blog-slide {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.blog-slide-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-slide-image {
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-slide:hover .blog-slide-image img {
    transform: scale(1.05);
}

.blog-slide-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-slide-title {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

.blog-slide-excerpt {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.blog-slide-more {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9em;
    align-self: flex-start;
}

.blog-slider-nav {
    text-align: center;
    margin-top: 15px;
}

.view-all-blogs-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-blogs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.no-blog-posts {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
    grid-column: 1 / -1;
}

