Improve mobile responsiveness across all sections
All checks were successful
build-website / build (push) Successful in 1m31s

- Increase hero content size for better mobile visibility
- Expand buttons and touch targets to recommended sizes
- Fix section padding and container widths for mobile
- Ensure all cards and grids use full width on mobile
- Update typography scaling for better readability
- Set proper viewport base font size (16px)
- Add comprehensive mobile layout fixes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-19 01:23:20 +02:00
parent 2d6ec4e432
commit 1211b67642
2 changed files with 119 additions and 29 deletions

View File

@@ -1663,13 +1663,19 @@ html {
/* Responsive */
@media (max-width: 768px) {
.hero-voyage {
padding: 60px 15px;
padding: 0;
min-height: 100vh;
height: 100vh;
}
.hero-content {
padding: 0 15px;
padding: 15px;
overflow-x: hidden;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* Responsive logo */
@@ -1681,10 +1687,10 @@ html {
.hero-logo img {
height: auto;
max-height: 150px;
width: 100%;
max-width: 280px;
margin: 20px auto;
width: 90%;
max-width: 340px;
max-height: 200px;
margin: 0 auto;
object-fit: contain;
}
@@ -1696,32 +1702,34 @@ html {
}
.hero-subtext {
font-size: 0.95rem;
font-size: 1rem;
padding: 0 10px;
margin-bottom: 1.5rem;
line-height: 1.6;
margin-bottom: 2rem;
line-height: 1.5;
text-align: center;
}
.hero-actions {
flex-direction: column;
width: 100%;
padding: 0;
gap: 0.75rem;
padding: 0 15px;
gap: 12px;
align-items: center;
}
/* Smaller buttons on mobile */
.btn-primary-warm,
.btn-secondary-warm {
width: 85%;
max-width: 260px;
padding: 0.65rem 1rem;
font-size: 0.875rem;
width: 100%;
max-width: 340px;
padding: 14px 24px;
font-size: 1rem;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
gap: 0.5rem;
min-height: 50px;
}
.btn-primary-warm .btn-icon,
@@ -1742,18 +1750,66 @@ html {
display: none;
}
/* Fix all section padding for mobile */
section {
padding: 40px 15px !important;
}
.welcome-section,
.services-section,
.experience-stories,
.portfolio-gallery,
.booking-cta {
padding: 40px 15px !important;
}
.welcome-content {
grid-template-columns: 1fr;
padding: 0;
}
.service-card {
width: 100%;
padding: 20px;
}
.services-grid {
grid-template-columns: 1fr;
gap: 20px;
padding: 0;
}
.yacht-card {
grid-template-columns: 1fr;
}
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
/* Fix booking cards for mobile */
.booking-options {
grid-template-columns: 1fr;
padding: 0;
}
.booking-card {
width: 100%;
padding: 20px;
}
/* Fix testimonial cards */
.testimonials-grid {
grid-template-columns: 1fr;
gap: 20px;
padding: 0;
}
.testimonial-card {
width: 100%;
padding: 20px;
}
.social-links {
justify-content: center;