Files
gw-svelte/src/lib/styles/responsive.css
T

565 lines
8.7 KiB
CSS
Raw Normal View History

2026-05-02 08:26:18 +12:00
@media (max-width: 1024px) {
nav,
.mobile-menu {
padding-left: 30px;
padding-right: 30px;
}
#hero {
padding-left: 30px;
padding-right: 30px;
}
.promise-inner,
.services-inner,
.values-inner,
.testimonials-inner,
.info-inner,
.form-inner {
padding-left: 30px;
padding-right: 30px;
}
footer {
padding-left: 30px;
padding-right: 30px;
}
.hero-text h1 {
font-size: 40px;
}
.values-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
@keyframes mobileMenuBounceIn {
0% {
opacity: 0;
transform: translateY(-10px) scaleY(0.98);
}
70% {
opacity: 1;
transform: translateY(2px) scaleY(1.01);
}
100% {
opacity: 1;
transform: translateY(0) scaleY(1);
}
}
@keyframes mobileMenuItemIn {
0% {
opacity: 0;
transform: translateY(-6px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
header {
background: #fff;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
nav {
grid-template-columns: auto minmax(0, 1fr) auto auto;
padding: 20px 24px;
column-gap: 12px;
}
.logo {
justify-content: flex-start;
justify-self: start;
}
.logo img {
height: 25px;
width: auto;
}
.mobile-phone {
display: inline-flex;
justify-self: center;
align-self: center;
padding: 9px 12px;
background: rgba(33, 48, 33, 0.06);
color: var(--green);
font-size: 13px;
}
.mobile-phone .icon {
font-size: 13px;
}
.nav-links {
display: none;
}
.nav-right {
display: flex;
gap: 18px;
justify-content: flex-end;
grid-column: 3;
}
.nav-right .btn {
display: none;
}
.instagram-icon {
color: #0a304e;
font-size: 24px;
}
.hamburger {
display: flex;
color: #2e3031;
grid-column: 4;
justify-self: end;
}
.mobile-menu {
max-width: none;
padding-left: 0;
padding-right: 0;
transform-origin: top center;
}
.mobile-menu.open {
animation: mobileMenuBounceIn 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu a {
display: block;
padding: 14px 24px;
border-bottom: none;
font-size: 16px;
line-height: 1.35;
animation: mobileMenuItemIn 220ms ease-out forwards;
}
.mobile-menu.open a:nth-child(1) {
animation-delay: 30ms;
}
.mobile-menu.open a:nth-child(2) {
animation-delay: 60ms;
}
.mobile-menu.open a:nth-child(3) {
animation-delay: 90ms;
}
.mobile-menu.open a:nth-child(4) {
animation-delay: 120ms;
}
.mobile-menu.open a:nth-child(5) {
animation-delay: 150ms;
}
.mobile-menu.open a:nth-child(6) {
animation-delay: 180ms;
}
.mobile-menu.open a:nth-child(7) {
animation-delay: 210ms;
}
#hero {
min-height: auto;
padding: 50px 20px 0;
}
.hero-inner {
flex-direction: column;
gap: 24px;
align-items: stretch;
text-align: left;
padding: 0;
}
.hero-text {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
}
.hero-text h1,
.hero-heading {
margin-bottom: 22px;
font-size: 38px;
line-height: 1.08;
}
2026-05-03 11:49:59 +12:00
.hero-subtitle {
margin: -10px 0 22px;
max-width: none;
font-size: 15.5px;
line-height: 1.5;
}
2026-05-02 08:26:18 +12:00
.hero-heading-desktop {
display: none;
}
.hero-text h1 .hero-heading-mobile {
display: block;
color: #fff;
font-family: var(--font-head);
font-size: 33.5px;
font-weight: 800;
line-height: 1.08;
letter-spacing: -0.04em;
white-space: pre-line;
}
.hero-buttons {
width: 100%;
justify-content: flex-start;
gap: 10px;
padding-right: 18px;
}
.hero-buttons .btn {
flex: 0 0 auto;
width: auto;
min-width: 0;
padding: 17px 28px;
font-size: 15px;
font-weight: 700;
text-align: center;
border-radius: 999px;
-webkit-tap-highlight-color: transparent;
touch-action: manipulation;
}
.hero-buttons .btn:last-child {
margin-right: 12px;
}
.hero-buttons .btn-yellow {
background: #e8dbc1;
color: #000;
}
.hero-buttons .btn-outline {
background: var(--yellow);
color: #000;
border: none;
}
.hero-buttons .btn:active {
transform: translateY(1px) scale(0.985);
}
.hero-buttons .btn-yellow:active {
background: #dccdb1;
}
.hero-buttons .btn-outline:active {
background: #e6bb00;
}
.hero-img {
flex: none;
width: 100%;
max-width: none;
margin: 0;
display: flex;
justify-content: center;
align-items: flex-end;
}
.hero-img img {
width: min(100%, 500px);
max-width: 100%;
margin: 0 auto -7px;
object-fit: contain;
object-position: center top;
transform: none;
}
#intro {
padding: 30px 24px 24px;
}
.intro-trust-badge {
grid-template-columns: 1fr;
gap: 14px;
padding: 18px 18px 16px;
border-radius: 22px;
}
.intro-trust-mark {
width: 48px;
height: 48px;
font-size: 21px;
}
2026-05-03 11:16:53 +12:00
.intro-google-logo {
width: 24px;
}
2026-05-02 08:26:18 +12:00
#intro p {
font-size: 17px;
line-height: 1.45;
font-weight: 600;
margin-bottom: 0;
}
.intro-trust-meta {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
2026-05-03 11:16:53 +12:00
.intro-trust-cta {
2026-05-02 08:26:18 +12:00
gap: 8px;
padding: 8px 14px;
font-size: 15px;
}
.intro-trust-stars {
font-size: 13px;
}
.promise-inner {
flex-direction: column;
padding: 0 24px;
}
.promise-text {
order: 1;
}
.promise-img {
order: 2;
flex: none;
width: 100%;
max-width: 320px;
margin: 0 auto;
}
.services-grid,
.values-grid,
.testimonials-grid,
.info-inner,
.field-group,
.footer-inner {
grid-template-columns: 1fr;
}
.service-icon-bubble {
width: 78px;
height: 78px;
margin-bottom: 20px;
}
.service-card .service-card-icon {
font-size: 30px;
}
.mobile-menu a.mobile-link-active {
background: var(--yellow);
color: #0a304e;
}
.booking-header {
margin-bottom: 34px;
}
.booking-title {
font-size: 34px;
line-height: 1.02;
2026-05-02 08:26:18 +12:00
margin-bottom: 24px;
}
.booking-title-highlight::after {
left: 12px;
right: 12px;
bottom: -14px;
height: 20px;
}
.booking-stepper {
gap: 12px;
align-items: flex-start;
}
.booking-step {
flex-direction: column;
gap: 8px;
flex: 1;
}
.booking-step-number {
width: 46px;
height: 46px;
font-size: 20px;
}
.booking-step-label {
font-size: 15px;
text-align: center;
}
.booking-step-divider {
margin-top: 22px;
height: 1px;
width: 36px;
}
.booking-panel-banner {
padding: 22px 18px 34px;
border-radius: 24px 24px 0 0;
font-size: 15px;
line-height: 1.45;
}
.booking-card-grid-owner,
.booking-card-grid-dog {
grid-template-columns: 1fr;
}
.booking-field-group-owner {
grid-template-columns: 1fr;
gap: 18px;
}
.booking-field-card {
padding: 24px 22px;
border-radius: 24px;
}
.booking-field-card-group {
padding: 24px 22px;
}
.booking-field-card label,
.booking-service-label {
font-size: 16px;
}
.booking-field-card input,
.booking-field-card textarea {
padding: 14px 18px;
font-size: 15px;
border-width: 2px;
border-radius: 18px;
}
.booking-service-row {
grid-template-columns: 1fr;
gap: 16px;
padding: 22px;
border-radius: 24px;
}
.booking-service-options {
gap: 12px 18px;
}
2026-05-04 20:32:24 +12:00
.booking-toggle-group {
flex-direction: column;
}
.booking-toggle-option {
width: 100%;
border-width: 2px;
border-radius: 16px;
padding: 14px 16px;
}
.booking-toggle-indicator {
width: 22px;
height: 22px;
border-width: 2px;
}
2026-05-02 08:26:18 +12:00
.booking-check-option {
font-size: 15px;
}
.booking-check-box {
width: 24px;
height: 24px;
border-width: 2px;
border-radius: 6px;
}
.booking-actions-final {
gap: 14px;
flex-direction: column-reverse;
align-items: stretch;
}
.booking-actions-final .btn,
.booking-actions-next .btn {
justify-content: center;
}
.services-inner,
.values-inner,
.testimonials-inner,
.info-inner,
.form-inner {
padding: 0 24px;
}
.section-heading {
font-size: 30px;
}
footer {
padding: 48px 24px 28px;
}
.footer-inner {
gap: 36px;
}
.footer-action {
order: -1;
}
.footer-book-note {
text-align: left;
}
.footer-nav a {
padding: 11px 0;
}
.footer-bottom {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
#instagram {
padding: 48px 24px;
}
}
@media (max-width: 480px) {
.mobile-phone {
gap: 6px;
padding: 9px 10px;
font-size: 12px;
}
.mobile-phone span {
letter-spacing: -0.01em;
}
}