/* 
 * Frontend Styles for RaviElson Finishing Projects
 */

.refp-container {
	font-family: "Alexandria", 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%;
	background: linear-gradient(to bottom right, #a35139 0%, #a7786a 100%);
	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: 600;
	color: #303030;
	margin-top: 0;
	margin-bottom: 15px;
}

.refp-step-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #303030;
}

.refp-step-desc ul {
	list-style: none;
	padding-left: 0;
	margin-top: 0;
}

.refp-step-desc li {
	position: relative;
	padding-left: 0;
	margin-bottom: 20px;
}

/* dodaj symbol > przed każdym li w .refp-step-desc li */
.refp-step-desc li::before {
    content: "＞";
    position: absolute;
    left: -30px;
    font-size: 20px;
    color: #a35139;
    font-weight: bold;
    top: -5px;
}


/* --- 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 #cd9f8b;
	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: #4f1813;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.refp-pkg-title {
	font-size: 22px;
	font-weight: 600;
	color: #162b3b;
	margin-top: 0;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.refp-pkg-desc {
	font-size: 15px;
	line-height: 1.5;
	color: #162b3b;
	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: #fdb161;
	color: #303030;
	padding: 18px 40px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s;
}

.refp-cta-button-outline {
	display: inline-block;
	background-color: transparent;
	color: #303030;
	padding: 18px 40px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid #303030;
	transition: all 0.3s;
}

/* --- 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;
	}
}
