contact page mobile view overflow fixed
This commit is contained in:
parent
f832c93caa
commit
2d7cd4a45a
@ -106,7 +106,7 @@
|
|||||||
.text {
|
.text {
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
@ -186,7 +186,7 @@
|
|||||||
.featureDesc {
|
.featureDesc {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -235,7 +235,7 @@
|
|||||||
.testimonialText {
|
.testimonialText {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -278,7 +278,7 @@
|
|||||||
.authorRole {
|
.authorRole {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderDots {
|
.sliderDots {
|
||||||
@ -485,7 +485,7 @@
|
|||||||
.faqSubtitle {
|
.faqSubtitle {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
@ -520,7 +520,7 @@
|
|||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
@ -557,7 +557,7 @@
|
|||||||
.faqAnswer p {
|
.faqAnswer p {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
color: #c49c5c;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -186,7 +186,7 @@
|
|||||||
.featureDesc {
|
.featureDesc {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -235,7 +235,7 @@
|
|||||||
.testimonialText {
|
.testimonialText {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -278,7 +278,7 @@
|
|||||||
.authorRole {
|
.authorRole {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliderDots {
|
.sliderDots {
|
||||||
@ -503,7 +503,7 @@
|
|||||||
.faqSubtitle {
|
.faqSubtitle {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
@ -538,7 +538,7 @@
|
|||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #5d4037;
|
color: #c49c5c;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
@ -575,7 +575,7 @@
|
|||||||
.faqAnswer p {
|
.faqAnswer p {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
.date,
|
.date,
|
||||||
.comments {
|
.comments {
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,7 +102,7 @@
|
|||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.content h2 {
|
.content h2 {
|
||||||
@ -139,7 +139,7 @@
|
|||||||
|
|
||||||
.content li {
|
.content li {
|
||||||
margin-bottom: 0.8rem;
|
margin-bottom: 0.8rem;
|
||||||
color: #5d4037;
|
color: #c49c5c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content strong {
|
.content strong {
|
||||||
@ -201,7 +201,7 @@
|
|||||||
font-family: var(--font-playfair);
|
font-family: var(--font-playfair);
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
.date {
|
.date {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@ -106,7 +106,7 @@
|
|||||||
|
|
||||||
.excerpt {
|
.excerpt {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|||||||
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
@ -259,7 +259,7 @@
|
|||||||
.locationAddress,
|
.locationAddress,
|
||||||
.locationPhone {
|
.locationPhone {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
}
|
}
|
||||||
@ -319,4 +319,181 @@
|
|||||||
.container {
|
.container {
|
||||||
grid-template-columns: repeat(1, 1fr);
|
grid-template-columns: repeat(1, 1fr);
|
||||||
}
|
}
|
||||||
}
|
}/* Mobile responsive fixes for 320px */
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.contactSection {
|
||||||
|
padding: 40px 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formBlock,
|
||||||
|
.locationCard {
|
||||||
|
padding: 1.5rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 350px) {
|
||||||
|
.main {
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contactSection {
|
||||||
|
padding: 30px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formBlock,
|
||||||
|
.locationCard {
|
||||||
|
padding: 1rem 0.6rem;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.recaptchaWrapper {
|
||||||
|
transform: scale(0.85);
|
||||||
|
transform-origin: 0 0;
|
||||||
|
margin-bottom: -10px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heroTitle {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formRow {
|
||||||
|
gap: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input,
|
||||||
|
.textarea {
|
||||||
|
padding: 0.7rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.locationCard {
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconWrapper {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Critical 320px fix - ensure all boxes include padding and border in width */
|
||||||
|
@media (max-width: 320px) {
|
||||||
|
.contactSection {
|
||||||
|
padding: 30px 8px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
gap: 0.8rem;
|
||||||
|
padding: 0 !important;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formBlock,
|
||||||
|
.locationCard {
|
||||||
|
padding: 2px;
|
||||||
|
border: 2px solid #b07c4b;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 1.4rem !important;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.formRow {
|
||||||
|
gap: 0.6rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input,
|
||||||
|
.textarea,
|
||||||
|
.formGroup,
|
||||||
|
.recaptchaWrapper {
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
width: 100% !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input,
|
||||||
|
.textarea {
|
||||||
|
padding: 0.6rem !important;
|
||||||
|
font-size: 0.85rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.locationCard {
|
||||||
|
gap: 0.8rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.locationTitle {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.locationSubtitle,
|
||||||
|
.locationAddress,
|
||||||
|
.locationPhone {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconWrapper {
|
||||||
|
width: 35px !important;
|
||||||
|
height: 35px !important;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
width: 18px !important;
|
||||||
|
height: 18px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.recaptchaWrapper {
|
||||||
|
transform: scale(0.83) !important;
|
||||||
|
transform-origin: 0 0 !important;
|
||||||
|
margin-bottom: -12px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submitButton {
|
||||||
|
padding: 12px 30px !important;
|
||||||
|
font-size: 0.9rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.heroTitle {
|
||||||
|
font-size: 2.2rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb {
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -70,7 +70,7 @@
|
|||||||
.excerpt {
|
.excerpt {
|
||||||
font-family: var(--font-cinzel), serif;
|
font-family: var(--font-cinzel), serif;
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
color: #5d4037;
|
/* color: #5d4037; */
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|||||||
@ -84,7 +84,7 @@
|
|||||||
.faqContent {
|
.faqContent {
|
||||||
font-family: var(--font-lato);
|
font-family: var(--font-lato);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #5d4037;
|
color: #c49c5c;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -232,6 +232,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.linkList {
|
.linkList {
|
||||||
@ -241,4 +242,15 @@
|
|||||||
.contactRow {
|
.contactRow {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.copyright {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 3rem;
|
||||||
|
padding-top: 1.5rem;
|
||||||
|
/* border-top: 1px solid rgba(197, 160, 89, 0.3); */
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: #c49c5c;
|
||||||
|
opacity: 0.8;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -64,7 +64,7 @@
|
|||||||
font-family: var(--font-cinzel), serif;
|
font-family: var(--font-cinzel), serif;
|
||||||
/* Using serif as per image look */
|
/* Using serif as per image look */
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #836839;
|
/* color: #836839; */
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user