/* Insights page styles */
.model-section {
position: relative;
background-image: url("../img/home_salesBG.png");
background-size: cover;
background-position: center;
color: #f4efe7;
text-align: center;
min-height: 40vh;
padding: clamp(48px, 10vh, 120px) clamp(20px, 6vw, 120px);
}
.model-section--insights {
background-image: url("../img/insights-sec2.jpg");
}
.model-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
}
.model-content {
position: relative;
z-index: 1;
max-width: 1100px;
margin: 0 auto;
}
.model-title {
margin: 0 0 1.4rem;
}
.model-subtext {
margin: 0 auto 1.8rem;
color: rgba(244, 239, 231, 0.88);
}
.model-subtext--intro {
margin-bottom: 1.4rem;
}
.model-button {
margin-top: 2rem;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.9rem 2.4rem;
border: 1px solid #e7d9c4;
border-radius: 999px;
background: transparent;
color: #e7d9c4;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 0.85rem;
transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}
.model-button:hover {
background: #e7d9c4;
color: #3a3a3a;
border-color: #e7d9c4;
}
.model-grid {
margin: 2rem auto 0;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
max-width: 560px;
}
.model-cell {
aspect-ratio: 1 / 1;
display: flex;
align-items: center;
justify-content: center;
padding: clamp(14px, 2.8vw, 28px);
font-size: clamp(0.9rem, 1.5vw, 1.3rem);
letter-spacing: 0.08em;
text-transform: uppercase;
}
.model-cell:nth-child(1),
.model-cell:nth-child(2) {
border-bottom: 2px solid rgba(244, 239, 231, 0.75);
}
.model-cell:nth-child(1),
.model-cell:nth-child(3) {
border-right: 2px solid rgba(244, 239, 231, 0.75);
}
.carousel-section {
position: relative;
overflow: hidden;
background: #000;
color: #f4efe7;
}
.carousel-track {
display: flex;
transition: transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
will-change: transform;
}
.carousel-slide {
min-width: 100%;
position: relative;
height: 100vh;
}
.carousel-slide img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.carousel-slide::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 65%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0));
z-index: 1;
}
.carousel-slide::before {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
height: 45%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
z-index: 1;
}
.carousel-title {
position: absolute;
top: clamp(18px, 5vh, 48px);
left: 50%;
transform: translateX(-50%);
z-index: 2;
font-size: clamp(1.6rem, 3vw, 2.6rem);
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #f4efe7;
}
.carousel-caption {
position: absolute;
left: 50%;
bottom: clamp(28px, 6vh, 70px);
transform: translateX(-50%);
text-align: center;
z-index: 2;
max-width: min(920px, 90%);
}
.carousel-caption h3 {
margin: 0 0 0.7rem;
font-size: clamp(1.6rem, 3vw, 2.6rem);
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.carousel-caption p {
margin: 0;
font-size: clamp(0.95rem, 1.6vw, 1.2rem);
line-height: 1.6;
color: rgba(244, 239, 231, 0.85);
}
.carousel-controls {
position: absolute;
top: 50%;
left: clamp(16px, 4vw, 48px);
right: clamp(16px, 4vw, 48px);
transform: translateY(-50%);
display: flex;
justify-content: space-between;
align-items: center;
z-index: 3;
}
.carousel-button {
width: 66px;
height: 66px;
border-radius: 999px;
border: none;
background: rgba(8, 8, 8, 0.35);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: #f4efe7;
font-size: 2.4rem;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 200ms ease, background-color 200ms ease;
}
.carousel-button:hover {
background: rgba(8, 8, 8, 0.45);
}
@media (max-width: 900px) {
.carousel-slide {
height: 82vh;
height: 82svh;
}
.carousel-controls {
left: 16px;
right: 16px;
transform: translateY(-50%);
}
.carousel-button {
width: 44px;
height: 44px;
font-size: 1.6rem;
}
.carousel-caption {
bottom: clamp(22px, 5vh, 50px);
max-width: min(100%, 94%);
width: min(100%, 94%);
}
.carousel-caption h3 {
font-size: clamp(1.2rem, 4vw, 1.6rem);
}
.carousel-caption p {
font-size: clamp(0.85rem, 3.2vw, 1rem);
line-height: 1.55;
}
.carousel-title {
font-size: clamp(1.1rem, 3.6vw, 1.4rem);
text-align: center;
}
}
@media (max-width: 900px) {
.model-section--insights .model-cell {
opacity: 0;
transform: translateY(14px) scale(0.98);
transition: opacity 700ms ease, transform 700ms ease;
}
.model-section--insights .model-cell.is-visible {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@media (min-width: 901px) {
.model-section--insights .model-cell {
opacity: 0;
filter: blur(6px);
transform: translateY(6px);
transition: filter 1600ms ease, opacity 1600ms ease, transform 1600ms ease;
will-change: filter, opacity, transform;
}
.model-section--insights .model-cell.is-visible {
opacity: 1;
filter: blur(0);
transform: translateY(0);
}
}
@media (max-width: 900px) {
.model-section--home .model-cell {
opacity: 0;
transform: translateY(14px) scale(0.98);
transition: opacity 700ms ease, transform 700ms ease;
}
.model-section--home .model-cell.is-visible {
opacity: 1;
transform: translateY(0) scale(1);
}
.model-section {
min-height: auto;
padding: clamp(70px, 12vh, 140px) clamp(20px, 8vw, 60px);
}
.model-grid {
max-width: 520px;
}
}
@media (min-width: 901px) {
.model-section--home .model-cell {
opacity: 0;
filter: blur(6px);
transform: translateY(6px);
transition: filter 1600ms ease, opacity 1600ms ease, transform 1600ms ease;
will-change: filter, opacity, transform;
}
.model-section--home .model-cell.is-visible {
opacity: 1;
filter: blur(0);
transform: translateY(0);
}
}
@media (max-width: 640px) {
.model-grid {
grid-template-columns: 1fr;
}
.model-cell {
aspect-ratio: auto;
min-height: 200px;
}
.model-cell:nth-child(1),
.model-cell:nth-child(2) {
border-bottom: none;
}
.model-cell + .model-cell {
border-top: 2px solid rgba(244, 239, 231, 0.75);
}
.model-cell:nth-child(1),
.model-cell:nth-child(3) {
border-right: none;
}
}
@media (max-width: 640px) {
.model-grid {
margin-top: 1.4rem;
}
.model-cell {
font-size: 1.2rem;     /* bigger text */
padding: 16px 18px;    /* a bit more breathing room */
min-height: 160px;     /* still tighter than 200, but not cramped */
}
}
