/* REPM Public Styles */
.repm-projects-grid {
    display: grid;
    gap: 30px;
    margin: 40px 0;
}
.repm-columns-2 { grid-template-columns: repeat(2, 1fr); }
.repm-columns-3 { grid-template-columns: repeat(3, 1fr); }
.repm-columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
    .repm-columns-3, .repm-columns-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .repm-columns-2, .repm-columns-3, .repm-columns-4 { grid-template-columns: 1fr; }
}

.repm-project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}
.repm-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.repm-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.repm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.repm-project-card:hover .repm-card-image img {
    transform: scale(1.05);
}

.repm-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.repm-project-card:hover .repm-card-overlay { opacity: 1; }

.repm-view-details {
    background: #2271b1;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.repm-card-content { padding: 20px; }
.repm-card-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: #333; }
.repm-card-title a { text-decoration: none; color: inherit; }
.repm-card-subtitle { margin: 0; font-size: 14px; color: #666; font-weight: 400; }

/* Single Project Page */
.repm-single-project-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.repm-project-header {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .repm-project-header { flex-direction: column; }
}

.repm-project-media { flex: 1; }
.repm-main-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.repm-main-image img { width: 100%; height: auto; display: block; }

.repm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.repm-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.repm-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.repm-project-summary { flex: 0.8; }
.repm-project-title { font-size: 36px; font-weight: 800; color: #1d2327; margin: 0 0 15px; }
.repm-project-subtitle { font-size: 20px; color: #666; margin-bottom: 25px; line-height: 1.4; }

.repm-meta-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.repm-meta-pill {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}
.category-pill { background: #e3f2fd; color: #1976d2; }
.city-pill { background: #f3e5f5; color: #7b1fa2; }
.location-pill { background: #e8f5e9; color: #388e3c; }

.repm-contact-actions { display: flex; gap: 15px; }
.repm-btn {
    flex: 1;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.repm-btn-call { background: #2271b1; color: #fff !important; }
.repm-btn-whatsapp { background: #25d366; color: #fff !important; }
.repm-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.repm-icon { margin-right: 10px; font-size: 1.2em; }

.repm-project-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 50px;
    border-top: 1px solid #f0f0f0;
    padding-top: 50px;
}
@media (max-width: 768px) {
    .repm-project-body { grid-template-columns: 1fr; }
}

.repm-project-description h2, .repm-payment-plan h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1d2327;
}

.repm-payment-grid {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.repm-payment-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}
.repm-payment-item:last-child { border-bottom: none; }
.repm-payment-label { font-weight: 600; color: #666; }
.repm-payment-value { font-weight: 700; color: #1d2327; }

/* Booking Form */
.repm-booking-form-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #f0f0f0;
    max-width: 800px;
}

.repm-booking-form-section h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1d2327;
}

.repm-booking-form-section p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.repm-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.repm-form-group {
    margin-bottom: 25px;
}

.repm-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.repm-form-group input[type="text"],
.repm-form-group input[type="email"],
.repm-form-group input[type="tel"],
.repm-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.repm-form-group input:focus,
.repm-form-group textarea:focus {
    border-color: #2271b1;
    outline: none;
    background: #fff;
}

.repm-btn-submit {
    background: #1d2327;
    color: #fff !important;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    padding: 18px;
    border-radius: 8px;
}

.repm-btn-submit:hover {
    background: #333;
    transform: translateY(-2px);
}

.repm-form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: 600;
    text-align: center;
}

.repm-form-response.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.repm-form-response.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
