297 lines
5.9 KiB
CSS
297 lines
5.9 KiB
CSS
/* Tablet Devices */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 0 var(--container-padding);
|
|
}
|
|
|
|
header {
|
|
height: var(--header-height);
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: var(--font-size-lg);
|
|
}
|
|
|
|
h1 {
|
|
font-size: var(--font-size-xl);
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--font-size-lg);
|
|
}
|
|
|
|
.h1-hero {
|
|
font-size: var(--font-size-xxl) !important;
|
|
margin: var(--space-md) !important;
|
|
padding: var(--space-md) !important;
|
|
}
|
|
|
|
.mission-vision {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.service-card {
|
|
padding: var(--space-lg);
|
|
}
|
|
|
|
.welcome-quote {
|
|
font-size: var(--font-size-md);
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.logo-sub {
|
|
font-size: var(--font-size-sm);
|
|
padding: var(--space-lg);
|
|
margin: 0;
|
|
}
|
|
|
|
.mobile-menu-toggle {
|
|
display: block;
|
|
padding: var(--space-xs);
|
|
transition: opacity var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.mobile-menu-toggle:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: none;
|
|
position: fixed;
|
|
top: var(--header-height);
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--bg-card);
|
|
min-height: calc(100vh - var(--header-height));
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding: var(--space-xl) var(--space-md);
|
|
gap: var(--space-lg);
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
z-index: var(--z-header);
|
|
}
|
|
|
|
.nav-menu.active {
|
|
display: flex;
|
|
animation: fadeIn var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.nav-menu a {
|
|
padding: var(--space-sm) var(--space-lg);
|
|
width: 100%;
|
|
text-align: center;
|
|
border-radius: var(--radius-sm);
|
|
transition: background-color var(--transition-speed) var(--transition-timing);
|
|
}
|
|
|
|
.nav-menu a:hover {
|
|
background-color: var(--bg-hover-rgb);
|
|
}
|
|
|
|
.nav-controls {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-md);
|
|
width: 100%;
|
|
padding: var(--space-md) 0;
|
|
border-top: 1px solid var(--border-color);
|
|
margin-top: var(--space-md);
|
|
}
|
|
|
|
.language-switcher {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.contact-block {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
footer {
|
|
padding: var(--space-lg) var(--container-padding);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.contact-block {
|
|
flex-direction: column;
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.social-links {
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.legal-links a {
|
|
display: block;
|
|
margin: var(--space-xs) 0;
|
|
}
|
|
}
|
|
|
|
/* Mobile Devices */
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 0 var(--container-padding);
|
|
}
|
|
|
|
header {
|
|
height: var(--header-height);
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: var(--font-size-lg);
|
|
}
|
|
|
|
main {
|
|
margin-top: var(--space-md);
|
|
padding: var(--space-md) 0;
|
|
}
|
|
|
|
section {
|
|
margin: var(--space-xl) 0;
|
|
}
|
|
|
|
h1.h1-hero {
|
|
font-size: var(--font-size-xl) !important;
|
|
margin: var(--space-xs) !important;
|
|
padding: var(--space-xs) !important;
|
|
}
|
|
|
|
.welcome-quote {
|
|
font-size: var(--font-size-sm);
|
|
padding: var(--space-xs);
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
.service-card {
|
|
padding: var(--space-md);
|
|
margin: var(--space-md) 0;
|
|
}
|
|
|
|
.service-card h3 {
|
|
font-size: var(--font-size-lg);
|
|
}
|
|
|
|
.contact-info {
|
|
padding: var(--space-lg);
|
|
margin: var(--space-md) 0;
|
|
}
|
|
|
|
.contact-info a {
|
|
padding: var(--space-xs) 0;
|
|
font-size: var(--font-size-sm);
|
|
}
|
|
|
|
.logo-sub {
|
|
font-size: var(--font-size-xs);
|
|
line-height: var(--line-height-base);
|
|
padding: var(--space-lg);
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-controls {
|
|
padding: var(--space-sm) 0;
|
|
}
|
|
}
|
|
|
|
/* Small Mobile Devices */
|
|
@media (max-width: 320px) {
|
|
header {
|
|
height: var(--header-height);
|
|
}
|
|
|
|
.logo-text {
|
|
font-size: var(--font-size-md);
|
|
}
|
|
|
|
h1.h1-hero {
|
|
font-size: var(--font-size-lg) !important;
|
|
}
|
|
|
|
.service-card {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.contact-info {
|
|
padding: var(--space-md);
|
|
}
|
|
|
|
.welcome-quote {
|
|
font-size: var(--font-size-xs);
|
|
}
|
|
|
|
.logo-sub {
|
|
font-size: var(--font-size-xs);
|
|
padding: var(--space-sm);
|
|
}
|
|
|
|
.nav-controls {
|
|
gap: var(--space-sm);
|
|
}
|
|
}
|
|
|
|
/* Ensure touch targets are large enough on mobile */
|
|
@media (hover: none) {
|
|
.contact-info a,
|
|
.nav-menu a {
|
|
padding: var(--space-sm);
|
|
min-height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.service-card {
|
|
transition: none;
|
|
}
|
|
|
|
.service-card:hover {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* Fix for notched phones */
|
|
@supports (padding: max(0px)) {
|
|
header {
|
|
padding-left: var(--safe-area-inset-left);
|
|
padding-right: var(--safe-area-inset-right);
|
|
}
|
|
|
|
.nav-menu {
|
|
padding-left: var(--safe-area-inset-left);
|
|
padding-right: var(--safe-area-inset-right);
|
|
padding-bottom: var(--safe-area-inset-bottom);
|
|
}
|
|
}
|
|
|
|
/* Ensure consistent nav-controls across all pages */
|
|
.nav-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
margin-left: var(--space-lg);
|
|
}
|
|
|
|
.language-switcher {
|
|
display: flex;
|
|
gap: var(--space-xs);
|
|
padding: var(--space-xs);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|