Polish hero and buttons for responsiveness
All checks were successful
build-website / build (push) Successful in 1m28s
All checks were successful
build-website / build (push) Successful in 1m28s
This commit is contained in:
@@ -398,13 +398,11 @@ html {
|
|||||||
/* Hero Section */
|
/* Hero Section */
|
||||||
.hero-voyage {
|
.hero-voyage {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100vh;
|
height: 100dvh;
|
||||||
min-height: 600px;
|
min-height: 100dvh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
/* Prevent iOS overscroll bounce */
|
|
||||||
overscroll-behavior-y: none;
|
overscroll-behavior-y: none;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
/* Prevent horizontal overflow */
|
|
||||||
overflow-x: hidden !important;
|
overflow-x: hidden !important;
|
||||||
max-width: 100vw !important;
|
max-width: 100vw !important;
|
||||||
contain: layout;
|
contain: layout;
|
||||||
@@ -412,28 +410,24 @@ html {
|
|||||||
|
|
||||||
.hero-video-container {
|
.hero-video-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
inset: 0;
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 1;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-video {
|
.hero-video,
|
||||||
|
.hero-image-fallback,
|
||||||
|
.hero-overlay {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
/* Ensure video doesn't cause overflow */
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-image-fallback {
|
.hero-image-fallback {
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
@@ -448,31 +442,15 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.hero-overlay {
|
.hero-overlay {
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient-warm {
|
|
||||||
background: linear-gradient(to bottom,
|
|
||||||
rgba(0, 31, 63, 0.3) 0%,
|
|
||||||
rgba(0, 31, 63, 0.5) 50%,
|
|
||||||
rgba(0, 31, 63, 0.7) 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gradient-depth {
|
|
||||||
background: linear-gradient(to right,
|
|
||||||
rgba(220, 20, 60, 0.1) 0%,
|
|
||||||
transparent 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-content {
|
.hero-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
object-fit: cover;
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -835,6 +813,8 @@ html {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
transition: var(--transition-slow);
|
transition: var(--transition-slow);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1215,6 +1195,8 @@ html {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.story-overlay {
|
.story-overlay {
|
||||||
@@ -1297,6 +1279,8 @@ html {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
transition: var(--transition-slow);
|
transition: var(--transition-slow);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1675,9 +1659,8 @@ html {
|
|||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.hero-voyage {
|
.hero-voyage {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
min-height: 100vh;
|
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
height: 100vh;
|
height: 100dvh;
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
overflow-x: hidden !important;
|
overflow-x: hidden !important;
|
||||||
max-width: 100vw !important;
|
max-width: 100vw !important;
|
||||||
@@ -1691,7 +1674,6 @@ html {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-height: 100vh;
|
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user