/* 
 * Frontend Styles for RaviElson Finishing Projects
 */

.refp-container {
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    color: #172C57;
}

/* --- Main Title --- */
.refp-main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #172C57;
    margin-bottom: 60px;
}

/* --- Steps Section --- */
.refp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.refp-step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.refp-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #c7a493; /* light brown border */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.refp-step-icon svg,
.refp-step-icon img {
    width: 30px;
    height: 30px;
    display: block;
    fill: #c7a493;
    color: #c7a493;
}

.refp-step-content {
    flex: 1;
}

.refp-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #172C57;
    margin-top: 0;
    margin-bottom: 15px;
}

.refp-step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #2b4566;
}

.refp-step-desc ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.refp-step-desc li {
    position: relative;
    padding-left: 0;
    margin-bottom: 10px;
}

/* --- Packages Section --- */
.refp-packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.refp-pkg-card {
    background: #fff;
    border: 1px solid #E8E0D8;
    display: flex;
    flex-direction: column;
}

.refp-pkg-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.refp-pkg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.refp-pkg-vertical-title {
    display: none;
    position: absolute;
    right: 15px;
    bottom: 20px;
    transform: rotate(-90deg);
    transform-origin: right bottom;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.refp-pkg-vertical-title span {
    font-size: 14px;
    font-weight: 300;
    text-transform: lowercase;
}

.refp-pkg-content {
    padding: 30px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.refp-pkg-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #925c48;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.refp-pkg-title {
    font-size: 22px;
    font-weight: 700;
    color: #172C57;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.refp-pkg-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 25px;
    flex: 1;
}

.refp-pkg-link {
    font-size: 14px;
    font-weight: 600;
    color: #c7a493;
    text-decoration: none;
    transition: color 0.3s;
}

.refp-pkg-link:hover {
    color: #925c48;
}

/* --- CTA Section --- */
.refp-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.refp-cta-button {
    display: inline-block;
    background-color: #baa287;
    color: #fff;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.refp-cta-button:hover {
    background-color: #947e65;
    color: #fff;
}

.refp-cta-button-outline {
    display: inline-block;
    background-color: transparent;
    color: #BFAE90;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #BFAE90;
    border-radius: 4px;
    transition: all 0.3s;
}

.refp-cta-button-outline:hover {
    background-color: #BFAE90;
    color: #fff;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .refp-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .refp-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .refp-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .refp-packages-grid {
        grid-template-columns: 1fr;
    }
    .refp-main-title {
        font-size: 26px;
        margin-bottom: 40px;
    }
    .refp-container {
        margin: 30px auto;
    }
}
