/* Rebuildo Builders Plugin Styles */

/* Builder Header */
.builder-header {
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.builder-title {
    margin-bottom: 1rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.builder-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.builder-logo {
    text-align: center;
}

.builder-logo img {
    max-height: 150px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Builder Details */
.builder-details {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.builder-contact h3,
.builder-info h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.builder-contact p,
.builder-info p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.builder-contact a {
    color: #007cba;
    text-decoration: none;
}

.builder-contact a:hover {
    text-decoration: underline;
}

/* Builder Projects Section */
.builder-projects {
    margin-top: 3rem;
}

.builder-projects h2 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

/* Project Cards */
.projects-grid {
    margin-top: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.project-thumbnail {
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-content h4 a {
    color: #333;
    text-decoration: none;
}

.project-content h4 a:hover {
    color: #007cba;
}

.project-content p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-content .btn {
    background-color: #007cba;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.project-content .btn:hover {
    background-color: #005a87;
    color: #fff;
    text-decoration: none;
}

/* Builders Grid (for archive pages) */
.builders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.builder-grid-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.builder-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.builder-grid-content {
    padding: 1.5rem;
}

.builder-grid-title {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.builder-grid-title a {
    color: #333;
    text-decoration: none;
}

.builder-grid-title a:hover {
    color: #007cba;
}

.builder-project-count {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.builder-grid-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .builder-title {
        font-size: 2rem;
    }
    
    .builder-projects h2 {
        font-size: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .builder-header {
        text-align: center;
    }
    
    .builder-logo {
        margin-top: 1rem;
    }
}