:root {
--primary-color: #dc2626;
--primary-dark: #b91c1c;
--secondary-color: #4b5563;
--text-color: #1f2937;
--bg-color: #ffffff;
--bg-light: #f9fafb;
--border-color: #e5e7eb;
--success-color: #10b981;
--error-color: #ef4444;
}
.logo-image-main {
height: 50px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
color: var(--text-color);
line-height: 1.6;
background-color: var(--bg-color);
} header {
background: var(--bg-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.header-container {
max-width: 1200px;
margin: 0 auto;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
height: 60px;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
align-items: center;
}
nav a {
text-decoration: none;
color: var(--text-color);
font-weight: bold;
transition: color 0.3s;
}
nav a:hover {
color: var(--primary-color);
}
.lang-switcher {
display: flex;
gap: 0.5rem;
align-items: center;
}
.lang-switcher button {
background: none;
border: 1px solid var(--border-color);
padding: 0.25rem 0.75rem;
cursor: pointer;
border-radius: 4px;
font-size: 0.875rem;
transition: all 0.3s;
}
.lang-switcher button:hover,
.lang-switcher button.active {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.home-link {
display: flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
color: var(--text-color);
} main {
min-height: calc(100vh - 200px);
padding: 2rem 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
} .hero {
text-align: center;
padding: 4rem 0;
background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.hero p {
font-size: 1.25rem;
color: var(--secondary-color);
margin-bottom: 2rem;
}
.btn {
display: inline-block;
padding: 0.75rem 2rem;
background: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
transition: background 0.3s;
border: none;
cursor: pointer;
font-size: 1rem;
}
.btn:hover {
background: var(--primary-dark);
}
.btn-secondary {
background: var(--secondary-color);
}
.btn-secondary:hover {
background: #374151;
} .calculator-container {
max-width: 1000px;
margin: 0 auto;
padding: 2rem;
}
.calculator-title {
text-align: center;
font-size: 2rem;
margin-bottom: 2rem;
color: var(--text-color);
}
.step-indicator {
display: flex;
justify-content: center;
gap: 0.5rem;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.step-item {
padding: 0.5rem 1rem;
background: white;
border: 2px solid rgb(161, 161, 161);
border-radius: 6px;
font-size: 0.875rem;
font-weight: bold;
color: var(--secondary-color);
min-width: 120px;
text-align: center;
}
.step-item.clickable-step {
cursor: pointer;
}
.step-item.disabled-step {
cursor: not-allowed;
}
.step-item.active {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.step-item.completed {
background: var(--bg-light);
border-color: var(--success-color);
}
.calculator-step {
display: none;
animation: fadeIn 0.3s;
}
.calculator-step.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.step-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--primary-color);
font-weight: bold;
}
.extra-step-title {
font-size: 1rem;
margin-bottom: 2rem;
color: var(--primary-color);
font-weight: bold;
} .design-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.design-card {
border: 2px solid var(--border-color);
border-radius: 8px;
overflow: hidden;
cursor: pointer;
transition: all 0.3s;
background: white;
position: relative;
}
.design-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.design-card.selected {
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
.design-card-image-wrapper {
position: relative;
}
.design-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.design-card-label {
padding: 1rem;
text-align: center;
font-weight: 600;
background: var(--bg-light);
font-size: 0.95rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.design-expand {
position: absolute;
top: 0.5rem;
right: 0.5rem;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s, transform 0.2s;
}
.design-expand:hover {
background: rgba(220,38,38,0.6);
} .form-group {
margin-bottom: 1.5rem;
}
.form-label-holder {
display: flex;
gap: 0.3rem;
}
.form-label-holder span{
color: red;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--text-color);
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 6px;
font-size: 1rem;
font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-group input[type="checkbox"] {
width: auto;
margin-right: 0.5rem;
}
.checkbox-group {
display: flex;
align-items: center;
margin-bottom: 1rem;
}
.checkbox-group label {
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
margin-left: 0.5rem;
}
.form-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
}
.field-note {
display: block;
margin-top: 0.25rem;
font-size: 0.8rem;
color: var(--secondary-color);
} .calculator-nav {
display: flex;
justify-content: space-between;
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
}
.calculator-nav button {
padding: 0.75rem 2rem;
} .order-summary {
background: var(--bg-light);
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
}
.summary-design {
display: flex;
align-items: center;
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.summary-design-thumb img {
width: 96px;
height: 64px;
object-fit: cover;
border-radius: 6px;
border: 1px solid var(--border-color);
cursor: pointer;
}
.summary-design-info {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.summary-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 0.75rem 2rem;
margin-top: 1.5rem;
}
.summary-row {
display: flex;
justify-content: space-between;
gap: 1rem;
font-size: 0.95rem;
border-bottom: 1px dashed var(--border-color);
padding-bottom: 0.35rem;
}
.summary-row span:first-child {
color: var(--secondary-color);
}
.total-price {
font-size: 1.75rem;
color: var(--primary-color);
text-align: center;
margin: 2rem 0;
font-weight: bold;
}
.total-price span:first-child {
font-size: 1rem;
margin-right: 0.5rem;
color: var(--secondary-color);
} .payment-options {
display: flex;
gap: 1rem;
margin-top: 2rem;
flex-wrap: wrap;
}
.payment-options button {
flex: 1;
min-width: 200px;
} .design-modal {
position: fixed;
inset: 0;
display: none;
z-index: 2000;
}
.design-modal.open {
display: block;
}
.design-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.7);
}
.design-modal-content {
position: relative;
max-width: min(90vw, 640px);
margin: 6vh auto;
background: #fff;
border-radius: 12px;
padding: 1.5rem 1.75rem 1.75rem;
box-shadow: 0 20px 40px rgba(0,0,0,0.25);
z-index: 1;
}
.design-modal-content img {
width: 100%;
max-height: 360px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 1rem;
transition: opacity 0.2s ease;
}
.design-modal-content h3 {
margin-bottom: 0.5rem;
}
.design-modal-content p {
color: var(--secondary-color);
font-size: 0.95rem;
}
.design-modal-close {
position: absolute;
top: 2rem;
right: 2rem;
width: 32px;
height: 32px;
border-radius: 999px;
border: none;
background: rgba(60, 111, 212, 0.6);
color: var(--bg-light);
cursor: pointer;
font-size: 1.25rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
}
.design-modal-close:hover {
background: rgba(220,38,38,0.1);
color: var(--text-color);
}
.design-modal-image-back {
position: absolute;
top: 16rem;
right: 36rem;
width: 32px;
height: 32px;
border-radius: 999px;
border: none;
background: var(--bg-color);
cursor: pointer;
font-size: 1.25rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
}
.design-modal-image-back:hover { color: var(--primary-color);
}
.design-modal-image-forward {
position: absolute;
top: 16rem;
right: 2rem;
width: 32px;
height: 32px;
border-radius: 999px;
border: none;
background: var(--bg-color);
cursor: pointer;
font-size: 1.25rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
}
.design-modal-image-forward:hover { color: var(--primary-color);
} .cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: var(--text-color);
color: white;
padding: 1rem 2rem;
display: none;
align-items: center;
justify-content: space-between;
z-index: 10000;
box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.cookie-banner.show {
display: flex;
}
.cookie-banner p {
margin-right: 1rem;
}
.cookie-banner-buttons {
display: flex;
gap: 1rem;
}
.cookie-banner button {
padding: 0.5rem 1rem;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
}
.cookie-accept {
background: var(--primary-color);
color: white;
}
.cookie-decline {
background: transparent;
color: white;
border: 1px solid white;
} footer {
background: var(--text-color);
color: white;
padding: 2rem 0;
margin-top: 4rem;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
text-align: center;
} .contact-form {
max-width: 600px;
margin: 0 auto;
}
.contact-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.contact-card {
background: var(--bg-light);
padding: 1.5rem;
border-radius: 8px;
}
.contact-card h3 {
margin-bottom: 0.5rem;
color: var(--primary-color);
} .about-section {
margin-bottom: 3rem;
}
.about-section h2 {
color: var(--primary-color);
margin-bottom: 1rem;
}
.about-section p {
color: var(--secondary-color);
line-height: 1.8;
} .error-message {
color: var(--error-color);
font-size: 0.875rem;
margin-top: 0.25rem;
display: none;
}
.error-message.show {
display: block;
}
.success-message {
background: var(--success-color);
color: white;
padding: 1rem;
border-radius: 6px;
margin-bottom: 1rem;
display: none;
}
.success-message.show {
display: block;
} @media (max-width: 768px) {
.header-container {
flex-direction: column;
gap: 1rem;
}
nav ul {
flex-direction: column;
gap: 1rem;
}
.hero h1 {
font-size: 2rem;
}
.design-grid {
grid-template-columns: 1fr;
}
.calculator-nav {
flex-direction: column;
gap: 1rem;
}
.calculator-nav button {
width: 100%;
}
.cookie-banner {
flex-direction: column;
text-align: center;
}
.cookie-banner-buttons {
width: 100%;
justify-content: center;
}
}
#selectedDesignImage,
#selectedGateDesignImage {
height: 16rem;
border-radius: 1rem;
}
.selected-fence-design-wrapper,
.selected-gate-design-wrapper {
display: flex;
justify-content: space-between;
}
.selected-fence-design-info-wrapper {
display: flex;
align-items: start;
}
.selected-fence-design-label,
.selected-gate-design-label {
margin-right: 1rem;
color: var(--text-color);
font-size: 1.5rem;
}
.selected-gate-label-holder {
display: flex;
}
.selected-gate-design-info-wrapper {
width: 30rem;
}
#selectedDesignName,
#selectedGateDesignName {
color: var(--primary-color);
font-size: 1.5rem;
font-weight: bold;
}
#changeDesignBtn {
margin-top: 7rem;
background-color: var(--primary-color);
}
.selected-gate-design-wrapper {
margin-top: 5rem;
}
.form-status {
margin: 1rem 0;
padding: 0.875rem 1rem;
border-radius: 8px;
display: block;
}
.form-status.success {
background: #ecfdf3;
color: #065f46;
border: 1px solid #a7f3d0;
}
.form-status.error {
background: #fef2f2;
color: #991b1b;
border: 1px solid #fecaca;
}
.is-loading {
opacity: 0.7;
pointer-events: none;
}
.gate4u-honeypot {
position: absolute !important;
left: -9999px !important;
top: auto !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
}
.form-status.success::before {
content: "✓ ";
font-weight: bold;
}  img,
svg {
max-width: 100%;
height: auto;
}
body {
overflow-x: hidden;
}
.calculator-container,
.container,
.header-container,
.footer-content {
width: 100%;
} @media (max-width: 1024px) {
.header-container {
margin: 0 auto;
padding: 1rem 1.25rem;
gap: 1rem;
flex-wrap: wrap;
}
nav ul {
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.lang-switcher {
justify-content: center;
flex-wrap: wrap;
}
.calculator-container {
padding: 1.5rem 1rem;
}
.calculator-title {
font-size: 1.75rem;
}
.step-title {
font-size: 1.35rem;
}
.design-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.25rem;
}
.summary-design {
align-items: flex-start;
flex-wrap: wrap;
}
.summary-design-info {
width: 100%;
}
.selected-fence-design-wrapper,
.selected-gate-design-wrapper {
gap: 1rem;
align-items: center;
}
.selected-gate-design-info-wrapper {
width: auto;
flex: 1;
}
#selectedDesignImage,
#selectedGateDesignImage {
height: 12rem;
max-width: 40%;
object-fit: cover;
}
#changeDesignBtn {
margin-top: 2rem;
}
.selected-gate-design-wrapper {
margin-top: 2rem;
}
.design-modal-content {
max-width: min(92vw, 700px);
margin: 4vh auto;
padding: 1.25rem;
}
.design-modal-image-back,
.design-modal-image-forward {
top: 50%;
transform: translateY(-50%);
}
.design-modal-image-back {
left: 0.75rem;
right: auto;
}
.design-modal-image-forward {
right: 0.75rem;
}
} @media (max-width: 768px) {
.header-container {
flex-direction: column;
margin: 0 auto;
padding: 0.875rem 1rem;
}
.logo {
height: auto;
}
.logo-image-main {
height: 42px;
}
nav {
width: 100%;
}
nav ul {
flex-direction: column;
gap: 0.75rem;
width: 100%;
}
nav li,
nav a,
.btn {
width: 100%;
text-align: center;
}
.lang-switcher {
width: 100%;
justify-content: center;
}
main {
padding: 1rem 0;
}
.container,
.calculator-container,
.footer-content {
padding-left: 1rem;
padding-right: 1rem;
}
.hero {
padding: 2.5rem 0;
}
.hero h1 {
font-size: 1.9rem;
line-height: 1.2;
}
.hero p {
font-size: 1.05rem;
}
.calculator-title {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}
.step-indicator {
gap: 0.5rem;
margin-bottom: 2rem;
}
.step-item {
min-width: calc(50% - 0.25rem);
padding: 0.625rem 0.5rem;
font-size: 0.8rem;
}
.step-title {
font-size: 1.2rem;
}
.extra-step-title {
font-size: 0.95rem;
margin-bottom: 1.25rem;
}
.design-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.design-card img {
height: 190px;
}
.form-row {
grid-template-columns: 1fr;
gap: 1rem;
}
.checkbox-group {
align-items: flex-start;
}
.checkbox-group input[type="checkbox"] {
margin-top: 0.2rem;
}
.calculator-nav {
flex-direction: column;
gap: 0.75rem;
margin-top: 2rem;
padding-top: 1.5rem;
}
.calculator-nav button,
.payment-options button {
width: 100%;
min-width: 0;
}
.payment-options {
flex-direction: column;
}
.order-summary {
padding: 1rem;
}
.summary-design {
flex-direction: column;
align-items: stretch;
gap: 1rem;
}
.summary-design-separator {
display: none;
}
.summary-design-thumb img {
width: 100%;
height: auto;
max-height: 180px;
}
.summary-grid {
grid-template-columns: 1fr;
gap: 0.75rem;
}
.summary-row {
flex-direction: column;
gap: 0.25rem;
align-items: flex-start;
}
.total-price {
font-size: 1.35rem;
line-height: 1.3;
}
.total-price span:first-child {
display: block;
margin: 0 0 0.35rem 0;
}
.selected-fence-design-wrapper,
.selected-gate-design-wrapper {
flex-direction: column;
align-items: stretch;
}
.selected-fence-design-info-wrapper,
.selected-gate-label-holder {
flex-direction: column;
gap: 0.35rem;
}
.selected-gate-design-info-wrapper {
width: 100%;
}
.selected-fence-design-label,
.selected-gate-design-label,
#selectedDesignName,
#selectedGateDesignName {
font-size: 1.1rem;
margin-right: 0;
}
#selectedDesignImage,
#selectedGateDesignImage {
width: 100%;
max-width: 100%;
height: 12rem;
object-fit: cover;
}
#changeDesignBtn {
margin-top: 1rem;
width: 100%;
}
.selected-gate-design-wrapper {
margin-top: 1.5rem;
}
.contact-info {
grid-template-columns: 1fr;
gap: 1rem;
}
.cookie-banner {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
text-align: center;
padding: 1rem;
}
.cookie-banner p {
margin-right: 0;
}
.cookie-banner-buttons {
width: 100%;
flex-direction: column;
gap: 0.75rem;
}
.cookie-banner button {
width: 100%;
}
.design-modal-content {
width: calc(100vw - 1rem);
max-width: none;
margin: 2vh auto;
padding: 1rem;
border-radius: 10px;
}
.design-modal-content img {
max-height: 220px;
}
.design-modal-content p {
font-size: 0.9rem;
max-height: 36vh;
overflow-y: auto;
padding-right: 0.25rem;
}
.design-modal-close {
top: 0.75rem;
right: 0.75rem;
}
.design-modal-image-back,
.design-modal-image-forward {
top: 8.5rem;
width: 36px;
height: 36px;
}
.design-modal-image-back {
left: 0.5rem;
right: auto;
}
.design-modal-image-forward {
right: 0.5rem;
}
} @media (max-width: 480px) {
.step-item {
min-width: 100%;
}
.hero h1 {
font-size: 1.65rem;
}
.hero p {
font-size: 1rem;
}
.calculator-title {
font-size: 1.35rem;
}
.btn {
padding: 0.75rem 1rem;
}
.design-card img {
height: 170px;
}
#selectedDesignImage,
#selectedGateDesignImage {
height: 10rem;
}
.design-modal-content img {
max-height: 180px;
}
.design-modal-image-back,
.design-modal-image-forward {
top: 7rem;
}
}