plumbcraft-pro / style.css
Generaltoa's picture
i want no scrolls on mobile
37cd23d verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
--primary-500: #0ea5e9;
--secondary-500: #14b8a6;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background-color: #111827;
color: #f9fafb;
line-height: 1.6;
}
.container {
max-width: 1200px;
}
/* Form Styles */
.form-step {
display: none;
}
.form-step.active {
display: block;
}
.progress-bar {
display: flex;
justify-content: space-between;
position: relative;
margin-bottom: 2rem;
}
.progress-bar::before {
content: "";
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
height: 4px;
width: 100%;
background-color: #374151;
z-index: 1;
}
.progress-steps {
position: relative;
z-index: 2;
display: flex;
justify-content: space-between;
width: 100%;
}
.step {
width: 30px;
height: 30px;
border-radius: 50%;
background-color: #374151;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: #9ca3af;
}
.step.active {
background-color: var(--primary-500);
color: white;
}
.step.completed {
background-color: var(--secondary-500);
color: white;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
align-items: center;
justify-content: center;
}
.modal-content {
background-color: #1f2937;
border-radius: 0.75rem;
width: 90%;
max-width: 500px;
padding: 2rem;
position: relative;
}
.close-modal {
position: absolute;
top: 1rem;
right: 1rem;
font-size: 1.5rem;
cursor: pointer;
}
/* Sticky Footer Bar */
.sticky-footer-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: #1f2937;
padding: 1rem;
display: flex;
justify-content: space-around;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
z-index: 999;
}
.sticky-footer-bar a {
flex: 1;
text-align: center;
padding: 0.75rem;
margin: 0 0.5rem;
border-radius: 0.5rem;
font-weight: bold;
text-decoration: none;
transition: background-color 0.3s;
}
.sticky-footer-bar .call-btn {
background-color: var(--primary-500);
color: white;
}
.sticky-footer-bar .quote-btn {
background-color: var(--secondary-500);
color: white;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
body {
overflow-x: hidden;
position: relative;
}
.sticky-footer-bar {
padding: 0.75rem 0.5rem;
}
.sticky-footer-bar a {
padding: 0.5rem;
font-size: 0.875rem;
}
}
/* Accessibility */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* Animation */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
/* Form Validation */
.input-error {
border-color: #ef4444;
}
.error-message {
color: #ef4444;
font-size: 0.875rem;
margin-top: 0.25rem;
}