274 lines
4.4 KiB
CSS
274 lines
4.4 KiB
CSS
.ctaSection {
|
|
position: relative;
|
|
padding: 4rem 2rem;
|
|
overflow: hidden;
|
|
background: #0072b1;
|
|
/* Dark fallback */
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 600px;
|
|
color: white;
|
|
/* Switch text to white */
|
|
}
|
|
|
|
/* Background Image */
|
|
.gridBackground {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('/images/home/one-place.webp');
|
|
background-size: cover;
|
|
background-position: center;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Floating Icons Container */
|
|
.floatingIconsContainer {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.floatIcon {
|
|
position: absolute;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
|
|
/* Soft shadow */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.5rem;
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
animation: float 6s ease-in-out infinite;
|
|
}
|
|
|
|
/* Icon Positioning imitating scatter */
|
|
.icon1 {
|
|
top: 15%;
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
color: #FF4500;
|
|
filter: blur(1px);
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
/* Reddit-ish */
|
|
.icon2 {
|
|
top: 25%;
|
|
left: 5%;
|
|
animation-delay: 1s;
|
|
color: #FF0000;
|
|
}
|
|
|
|
/* YouTube */
|
|
.icon3 {
|
|
top: 10%;
|
|
left: 30%;
|
|
animation-delay: 2s;
|
|
color: #000000;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* X */
|
|
.icon4 {
|
|
top: 12%;
|
|
right: 20%;
|
|
animation-delay: 3s;
|
|
color: #1DA1F2;
|
|
}
|
|
|
|
/* Twitter/Blue */
|
|
|
|
.icon5 {
|
|
top: 50%;
|
|
left: 15%;
|
|
animation-delay: 1.5s;
|
|
color: #0077B5;
|
|
}
|
|
|
|
/* LinkedIn */
|
|
.icon6 {
|
|
top: 30%;
|
|
right: 5%;
|
|
animation-delay: 0.5s;
|
|
color: #E60023;
|
|
}
|
|
|
|
/* Pinterest */
|
|
.icon7 {
|
|
bottom: 20%;
|
|
left: 20%;
|
|
animation-delay: 2.5s;
|
|
color: #E4405F;
|
|
filter: blur(2px);
|
|
transform: scale(0.8);
|
|
}
|
|
|
|
/* Insta-ish heart */
|
|
.icon8 {
|
|
bottom: 25%;
|
|
right: 15%;
|
|
animation-delay: 3.5s;
|
|
color: #222;
|
|
}
|
|
|
|
/* Thread/Spiral */
|
|
|
|
@keyframes float {
|
|
|
|
0%,
|
|
100% {
|
|
transform: translateY(0) rotate(0deg);
|
|
}
|
|
|
|
50% {
|
|
transform: translateY(-15px) rotate(2deg);
|
|
}
|
|
}
|
|
|
|
/* Content */
|
|
.contentContainer {
|
|
position: relative;
|
|
z-index: 2;
|
|
text-align: center;
|
|
max-width: 800px;
|
|
width: 100%;
|
|
}
|
|
|
|
.title {
|
|
font-size: clamp(2.5rem, 5vw, 4rem);
|
|
font-weight: 800;
|
|
color: white;
|
|
/* Updated for dark bg */
|
|
margin-bottom: 1rem;
|
|
line-height: 1.1;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.1rem;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
/* Updated for dark bg */
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
/* Standalone CTA Button */
|
|
.standaloneBtn {
|
|
background: var(--gradient-primary);
|
|
color: white;
|
|
border: none;
|
|
padding: 1rem 2.5rem;
|
|
border-radius: 50px;
|
|
font-weight: 700;
|
|
font-size: 1.125rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
white-space: nowrap;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
margin-top: 1rem;
|
|
text-decoration: none;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.standaloneBtn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 20px -5px rgba(236, 72, 153, 0.4);
|
|
}
|
|
|
|
.arrow {
|
|
display: inline-block;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.standaloneBtn:hover .arrow {
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.floatIcon {
|
|
transform: scale(0.8);
|
|
}
|
|
|
|
.icon3 {
|
|
left: 10%;
|
|
top: 5%;
|
|
}
|
|
|
|
.icon4 {
|
|
right: 5%;
|
|
top: 8%;
|
|
}
|
|
|
|
.icon5 {
|
|
display: none;
|
|
}
|
|
|
|
.icon7 {
|
|
left: 5%;
|
|
bottom: 10%;
|
|
}
|
|
|
|
.icon8 {
|
|
right: 5%;
|
|
bottom: 10%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.floatIcon {
|
|
transform: scale(0.7);
|
|
opacity: 0.6;
|
|
/* Reduce visibility distraction */
|
|
}
|
|
|
|
.ctaSection {
|
|
padding: 4rem 1rem;
|
|
}
|
|
|
|
/* Push all to edges */
|
|
.icon1 {
|
|
left: 2%;
|
|
top: 10%;
|
|
}
|
|
|
|
.icon2 {
|
|
display: none;
|
|
}
|
|
|
|
.icon3 {
|
|
display: none;
|
|
}
|
|
|
|
/* Hide intrusive top ones */
|
|
.icon4 {
|
|
right: 2%;
|
|
top: 10%;
|
|
}
|
|
|
|
.icon5 {
|
|
display: none;
|
|
}
|
|
|
|
.icon6 {
|
|
right: 2%;
|
|
top: 40%;
|
|
}
|
|
|
|
.icon7 {
|
|
left: 2%;
|
|
bottom: 5%;
|
|
}
|
|
|
|
.icon8 {
|
|
right: 2%;
|
|
bottom: 5%;
|
|
}
|
|
} |