579 lines
12 KiB
CSS
579 lines
12 KiB
CSS
/* --- 1. Variables & Global Reset --- */
|
|
:root {
|
|
--bar-bg: #001219;
|
|
--text-white: #ffffff;
|
|
--brand-blue: #0096c7;
|
|
--hover-blue: #00b4d8;
|
|
--payoff-color: #90e0ef;
|
|
--header-height: 92px;
|
|
}
|
|
|
|
h1, .btn-calltoaction-blue, .btn-calltoaction-white, .nav-btn {
|
|
/* Prevents the glowing outline when focused */
|
|
outline: none !important;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Poppins', sans-serif;
|
|
background-color: var(--bar-bg);
|
|
color: var(--text-white);
|
|
overflow-x: hidden;
|
|
/* FIX: Ensures the background covers the full viewport height */
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* --- 2. Layout: Top Bar --- */
|
|
.top-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: var(--header-height);
|
|
background-color: var(--bar-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 4rem;
|
|
z-index: 1000;
|
|
border-bottom: 1px solid rgba(144, 224, 239, 0.15);
|
|
}
|
|
|
|
/* --- 3. Branding & Logo --- */
|
|
.brand {
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.brand-icon, .brand-mark {
|
|
height: 70px;
|
|
width: auto;
|
|
flex-shrink: 0;
|
|
filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.5));
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.brand:hover .brand-icon, .brand:hover .brand-mark {
|
|
transform: rotate(5deg) scale(1.05);
|
|
}
|
|
|
|
.text-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding-left: 16px;
|
|
margin-left: 8px;
|
|
height: 70px;
|
|
}
|
|
|
|
.brand-main {
|
|
font-size: 1.8rem;
|
|
font-weight: 800;
|
|
color: var(--text-white);
|
|
letter-spacing: -0.5px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.brand-accent {
|
|
color: var(--brand-blue);
|
|
}
|
|
|
|
.payoff-line {
|
|
font-size: 0.82rem;
|
|
color: var(--payoff-color);
|
|
margin-top: 2px;
|
|
letter-spacing: 0.3px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* --- 4. Navigation Links --- */
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--text-white);
|
|
text-decoration: none;
|
|
margin: 0 18px;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
position: relative;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 0;
|
|
height: 2px;
|
|
bottom: -5px;
|
|
left: 0;
|
|
background-color: var(--brand-blue);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--hover-blue);
|
|
}
|
|
|
|
.nav-link:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
/* --- 5. Actions & Buttons --- */
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.phone-number {
|
|
margin-right: 25px;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* --- Header Actions Refinement --- */
|
|
.contact-info {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 25px;
|
|
}
|
|
|
|
.contact-item {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: var(--text-white);
|
|
gap: 8px; /* Space between icon and text */
|
|
}
|
|
|
|
.contact-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--brand-blue);
|
|
}
|
|
|
|
.blue-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
background-color: var(--brand-blue);
|
|
border-radius: 50%;
|
|
margin: 0 15px;
|
|
display: inline-block;
|
|
box-shadow: 0 0 8px rgba(0, 150, 199, 0.6);
|
|
}
|
|
|
|
.btn-login {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background-color: var(--brand-blue);
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 24px;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(0, 150, 199, 0.2);
|
|
}
|
|
|
|
.btn-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.btn-login:hover {
|
|
background-color: var(--hover-blue);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
|
|
}
|
|
|
|
.btn-calltoaction-white {
|
|
background-color: white;
|
|
color: var(--brand-blue);
|
|
border: none;
|
|
padding: 10px 24px;
|
|
border-radius: 20px;
|
|
font-weight: 400;
|
|
font-size: 1.23rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(0, 150, 199, 0.2);
|
|
height: 55px;
|
|
}
|
|
|
|
.btn-calltoaction-white:hover {
|
|
background-color: lightblue;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
|
|
}
|
|
|
|
.btn-calltoaction-blue {
|
|
background-color: var(--brand-blue);
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 24px;
|
|
border-radius: 20px;
|
|
font-weight: 400;
|
|
font-size: 1.23rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(0, 150, 199, 0.2);
|
|
height: 55px;
|
|
}
|
|
|
|
.btn-calltoaction-blue:hover {
|
|
background-color: var(--brand-blue);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
|
|
}
|
|
|
|
/* --- 6. Responsive Logic --- */
|
|
.hamburger, .mobile-only {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.top-bar {
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.phone-number {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
.desktop-only {
|
|
display: none !important;
|
|
}
|
|
|
|
.mobile-only {
|
|
display: block !important;
|
|
}
|
|
|
|
.hamburger {
|
|
display: block;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
z-index: 1200;
|
|
padding: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.bar {
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: var(--text-white);
|
|
position: relative;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.bar::before, .bar::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: var(--text-white);
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.bar::before {
|
|
top: -8px;
|
|
}
|
|
|
|
.bar::after {
|
|
bottom: 8px;
|
|
}
|
|
|
|
.bar.animate {
|
|
background: transparent;
|
|
}
|
|
|
|
.bar.animate::before {
|
|
transform: translateY(8px) rotate(45deg);
|
|
}
|
|
|
|
.bar.animate::after {
|
|
transform: translateY(-8px) rotate(-45deg);
|
|
}
|
|
|
|
.nav-links {
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
position: fixed;
|
|
top: 0;
|
|
right: -100%;
|
|
width: 100%;
|
|
height: 100vh;
|
|
background-color: var(--bar-bg);
|
|
transition: right 0.4s ease-in-out;
|
|
z-index: 1100;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav-links.open {
|
|
right: 0;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 1.5rem;
|
|
margin: 1.5rem 0;
|
|
}
|
|
}
|
|
|
|
/* --- 7. Page Structure (THE GAP FIX) --- */
|
|
.page-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* Flex: 1 tells the wrapper to grow and fill the body */
|
|
flex: 1 0 auto;
|
|
padding-top: var(--header-height);
|
|
padding-bottom: 50px;
|
|
box-sizing: border-box;
|
|
background-color: var(--bar-bg);
|
|
}
|
|
|
|
main {
|
|
/* Flex: 1 here tells the main content area to expand and push the footer to the bottom */
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center; /* This will center your "Lite Charms" logo vertically in the middle */
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
/*.bottom-bar {
|
|
height: 50px;
|
|
width: 100%;
|
|
flex-shrink: 0;*/ /* Ensures footer is never squeezed */
|
|
/*background-color: var(--bar-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 4rem;
|
|
font-size: 0.75rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
border-top: 1px solid rgba(144, 224, 239, 0.1);
|
|
box-sizing: border-box;
|
|
}*/
|
|
.bottom-bar {
|
|
/* NEW: Sticky/Fixed Logic */
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
height: 50px;
|
|
width: 100%;
|
|
background-color: var(--bar-bg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 4rem;
|
|
font-size: 0.75rem;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
/* Keep that subtle border but move it to the top since it's at the bottom of the screen */
|
|
border-top: 1px solid rgba(144, 224, 239, 0.1);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Ensure this exists in your CSS file */
|
|
@media (max-width: 991px) {
|
|
.nav-links.open {
|
|
right: 0 !important;
|
|
visibility: visible !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
}
|
|
|
|
.footer-link {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.footer-link:hover {
|
|
color: var(--brand-blue);
|
|
}
|
|
|
|
/* --- 8. Highlights Section --- */
|
|
.highlights-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
margin-top: 60px;
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.highlight-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 20px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.highlight-item:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.highlight-icon {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* Using your brand blue for consistency */
|
|
color: var(--brand-blue);
|
|
}
|
|
|
|
/* Specific colors for icons to match your reference image */
|
|
.icon-blue {
|
|
color: #4dabff;
|
|
}
|
|
|
|
.icon-green {
|
|
color: #4ade80;
|
|
}
|
|
|
|
.icon-gold {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.highlight-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
color: var(--text-white);
|
|
}
|
|
|
|
.highlight-desc {
|
|
font-size: 0.9rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Responsive fix for mobile */
|
|
@media (max-width: 768px) {
|
|
.highlights-container {
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
}
|
|
}
|
|
|
|
/* --- Custom Scrollbar Branding --- */
|
|
|
|
/* 1. The width of the entire scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px; /* Thin profile */
|
|
height: 8px; /* Horizontal scrollbar height */
|
|
}
|
|
|
|
/* 2. The track (background) of the scrollbar */
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bar-bg);
|
|
border-left: 1px solid rgba(144, 224, 239, 0.05);
|
|
}
|
|
|
|
/* 3. The draggable thumb */
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--brand-blue);
|
|
border-radius: 10px; /* Rounded edges for a modern look */
|
|
border: 2px solid var(--bar-bg); /* Creates a "padding" effect around the thumb */
|
|
}
|
|
|
|
/* 4. Thumb hover state */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--hover-blue);
|
|
}
|
|
|
|
/* Firefox Support (Standard property) */
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--brand-blue) var(--bar-bg);
|
|
}
|
|
|
|
/* --- Cookie Consent Banner --- */
|
|
.cookie-banner {
|
|
position: fixed;
|
|
bottom: 80px; /* Sits just above your sticky footer */
|
|
right: 20px;
|
|
width: 380px;
|
|
background-color: var(--bar-bg);
|
|
border: 1px solid rgba(144, 224, 239, 0.2);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
z-index: 2000;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
|
display: none; /* Controlled by Blazor logic */
|
|
}
|
|
|
|
.cookie-banner.show {
|
|
display: block;
|
|
animation: slideUp 0.4s ease-out;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
transform: translateY(20px);
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.cookie-text {
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
margin-bottom: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.cookie-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn-cookie-accept {
|
|
flex: 1;
|
|
background-color: var(--brand-blue);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-cookie-reject {
|
|
flex: 1;
|
|
background: transparent;
|
|
color: var(--text-white);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
padding: 8px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|