/*
Component Styles - Cards, buttons, forms etc.
*/

/* Post Styles */
.post {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.post-meta {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.post-content h2 {
    font-size: 1.8em;
    color: #34495e;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    font-weight: 600;
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.post-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Camp Cards */
.camp-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.camp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.camp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.camp-card:hover::before {
    opacity: 1;
}

.camp-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.camp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.camp-card:hover .camp-card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.camp-card:hover .image-overlay {
    opacity: 1;
}

.view-analysis {
    color: white;
    font-weight: 600;
    font-size: 1.1em;
}

.camp-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.camp-card-header {
    margin-bottom: 20px;
}

.camp-name {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: 700;
}

.camp-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.camp-name a:hover {
    color: #667eea;
}

.camp-location {
    color: #666;
    font-size: 0.9em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.camp-rating-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f4;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9em;
}

.rating-number {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1em;
}

.review-count {
    color: #666;
    font-size: 0.85em;
    margin: 0;
}

.ai-analysis-preview {
    margin-bottom: 20px;
}

.analysis-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

.badge.positive {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.badge.ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.camp-card-footer {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
}

/* Buttons */
.view-details-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.view-details-btn::before {
    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.7s ease;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.view-details-btn:hover::before {
    left: 100%;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-btn.secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #e9ecef;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hero-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Feature Items */
.feature-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
}

.feature-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-item p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}

/* Business Info Box */
.business-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.info-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
    margin-right: 15px;
}

.info-value {
    color: #555;
    font-weight: 500;
}

/* Search Form */
.header-search-form .search-form {
    max-width: 300px;
}

.header-search-form .search-field {
    padding: 8px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 20px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.header-search-form .search-field:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.header-search-form .search-submit {
    padding: 8px 15px;
    background: #667eea;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header-search-form .search-submit:hover {
    background: #5a67d8;
}

