redesign theme
This commit is contained in:
@@ -1,313 +1,588 @@
|
||||
/* Soft Professional Blue Theme - Gentle & Attenuated Colors */
|
||||
/* ============================================================
|
||||
ROMFAST — Modern theme (2025 redesign)
|
||||
Dark by default (Variant 2). Toggle adds `body.light-mode`
|
||||
for the light Variant 3 palette. Token-driven so the whole
|
||||
site (nav, footer, cards, hero) follows from these variables.
|
||||
============================================================ */
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
|
||||
|
||||
/* ---------- DARK palette (default · Variant 2 Modern) ---------- */
|
||||
:root {
|
||||
/* Soft Professional Color Palette - Reduced Saturation 40-50% */
|
||||
--executive-navy: #2c3e50; /* Softer navy foundation */
|
||||
--soft-professional-blue: #5288c4; /* Much lighter than #1565c0 - primary soft blue */
|
||||
--gentle-trust-blue: #4a7ba7; /* Softer than #0d47a1 - gentle trust */
|
||||
--muted-accent-red: #b85555; /* Much softer than #c62828 - muted red */
|
||||
--soft-executive-white: #fafbfc; /* Clean background maintained */
|
||||
|
||||
/* Soft Professional Design System */
|
||||
--background: #fafbfc !important; /* Soft executive white background */
|
||||
--foreground: #2c3e50 !important; /* Soft executive navy for text */
|
||||
--card: #ffffff !important; /* Pure white cards */
|
||||
--card-foreground: #2c3e50 !important; /* Soft executive navy text */
|
||||
--card-hover: #f8f9fa !important; /* Very light hover */
|
||||
|
||||
--primary: #5288c4 !important; /* Soft professional blue primary */
|
||||
--primary-foreground: #ffffff !important; /* White text on primary */
|
||||
--secondary: #4a7ba7 !important; /* Gentle trust blue secondary */
|
||||
--secondary-foreground: #ffffff !important; /* White text on secondary */
|
||||
|
||||
--accent: #b85555 !important; /* Muted accent red for attention */
|
||||
--accent-foreground: #ffffff !important; /* White text on accent */
|
||||
|
||||
--muted: #f5f6f7 !important; /* Light gray muted */
|
||||
--muted-foreground: #2c3e50 !important; /* Soft executive navy muted text */
|
||||
|
||||
--border: #cbd5e1 !important; /* gray-300, visible on white */
|
||||
--input: #ffffff !important; /* White input background */
|
||||
--ring: #5288c4 !important; /* Soft professional blue focus ring */
|
||||
|
||||
/* Soft Professional Gradients - Gentle & Muted */
|
||||
--navbar-bg: linear-gradient(135deg, #2c3e50, #4a7ba7) !important; /* Soft navy to gentle trust blue */
|
||||
--hero-gradient: linear-gradient(to bottom right, #e8f4f7, #ffffff, #f0f9fb) !important; /* Soft teal hero gradient */
|
||||
--button-gradient: linear-gradient(90deg, #5288c4, #4a7ba7) !important; /* Soft professional blue to gentle trust blue */
|
||||
--red-gradient: linear-gradient(90deg, #b85555, #c67b7b) !important; /* Muted red accent gradient */
|
||||
|
||||
/* Typography - Professional and trustworthy */
|
||||
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
||||
--font-serif: 'Merriweather', Georgia, serif !important;
|
||||
--font-mono: 'JetBrains Mono', monospace !important;
|
||||
|
||||
/* Professional rounded corners */
|
||||
--radius: 8px !important;
|
||||
--radius-sm: 4px !important;
|
||||
--radius-md: 6px !important;
|
||||
--radius-lg: 12px !important;
|
||||
--radius-xl: 16px !important;
|
||||
|
||||
/* Soft professional shadows with reduced opacity - Gentle blue shadows */
|
||||
--shadow-2xs: 0 1px 3px 0px rgba(82, 136, 196, 0.03) !important;
|
||||
--shadow-xs: 0 2px 6px 0px rgba(82, 136, 196, 0.04) !important;
|
||||
--shadow-sm: 0 3px 10px 0px rgba(82, 136, 196, 0.05), 0 1px 2px 0px rgba(82, 136, 196, 0.02) !important;
|
||||
--shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
|
||||
--shadow-md: 0 6px 20px 0px rgba(82, 136, 196, 0.08), 0 3px 6px 0px rgba(82, 136, 196, 0.04) !important;
|
||||
--shadow-lg: 0 8px 28px 0px rgba(82, 136, 196, 0.10), 0 4px 8px 0px rgba(82, 136, 196, 0.05) !important;
|
||||
--shadow-xl: 0 12px 36px 0px rgba(82, 136, 196, 0.12), 0 6px 12px 0px rgba(82, 136, 196, 0.06) !important;
|
||||
--shadow-2xl: 0 16px 48px 0px rgba(82, 136, 196, 0.16) !important;
|
||||
|
||||
/* Conservative spacing */
|
||||
--spacing: 0.375rem !important;
|
||||
--tracking-normal: -0.01em !important;
|
||||
--font-sans: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
--font-body: 'Manrope', 'Plus Jakarta Sans', -apple-system, sans-serif;
|
||||
--font-display: 'Plus Jakarta Sans', sans-serif;
|
||||
--font-mark: 'Space Grotesk', sans-serif;
|
||||
|
||||
/* Surfaces & text */
|
||||
--bg: #13203a;
|
||||
--bg-soft: #16233c;
|
||||
--surface: #1b2c48;
|
||||
--surface-2: #223a5c;
|
||||
--text: #ffffff;
|
||||
--text-secondary: #aeb9cd;
|
||||
--text-muted: #93a1bb;
|
||||
--text-faint: #5d77a4;
|
||||
|
||||
/* Brand */
|
||||
--primary: #7db0ee; /* accent blue on dark */
|
||||
--primary-strong: #2c63a8; /* solid blue */
|
||||
--primary-ink: #16233c; /* text on a white/primary button */
|
||||
--accent: #e2554f; /* red */
|
||||
--accent-soft: #ef6b66;
|
||||
--brand-rom: #e2554f; /* wordmark "ROM" (unused — logo is image) */
|
||||
--brand-fast: #6fa3e0; /* wordmark "FAST" */
|
||||
|
||||
/* Lines / chrome */
|
||||
--border: rgba(255, 255, 255, 0.09);
|
||||
--border-strong: rgba(255, 255, 255, 0.16);
|
||||
--border-primary: rgba(125, 176, 238, 0.5);
|
||||
--nav-bg: rgba(19, 32, 58, 0.78);
|
||||
--nav-border: rgba(255, 255, 255, 0.08);
|
||||
--footer-bg: #111a2e;
|
||||
--footer-text: #aeb8cb;
|
||||
--footer-muted: #6b778f;
|
||||
|
||||
/* Hero */
|
||||
--hero-bg: transparent;
|
||||
--hero-glow: radial-gradient(1000px 460px at 50% -8%, rgba(98, 150, 220, 0.30), transparent 70%);
|
||||
|
||||
/* Pills / soft fills */
|
||||
--pill-bg: rgba(255, 255, 255, 0.08);
|
||||
--pill-border: rgba(255, 255, 255, 0.16);
|
||||
--pill-text: #bcd2f0;
|
||||
--icon-soft-bg: rgba(125, 176, 238, 0.14);
|
||||
--icon-accent-bg: rgba(226, 85, 79, 0.16);
|
||||
|
||||
/* Buttons */
|
||||
--btn-primary-bg: #ffffff;
|
||||
--btn-primary-text: #16233c;
|
||||
--btn-primary-bg-hover: #e6eefb;
|
||||
--btn-ghost-bg: rgba(255, 255, 255, 0.08);
|
||||
--btn-ghost-border: rgba(255, 255, 255, 0.20);
|
||||
--btn-ghost-bg-hover: rgba(255, 255, 255, 0.16);
|
||||
|
||||
/* Radius */
|
||||
--radius-sm: 9px;
|
||||
--radius: 14px;
|
||||
--radius-lg: 18px;
|
||||
--radius-xl: 20px;
|
||||
--radius-pill: 999px;
|
||||
|
||||
--shadow-card: 0 18px 40px -22px rgba(0, 0, 0, 0.55);
|
||||
--ease: cubic-bezier(.16, .84, .44, 1);
|
||||
}
|
||||
|
||||
/* Soft Professional Custom Styles */
|
||||
/* ---------- LIGHT palette (toggle · Variant 3 Modern Light) ---------- */
|
||||
body.light-mode {
|
||||
--bg: #ffffff;
|
||||
--bg-soft: #f7f9fc;
|
||||
--surface: #ffffff;
|
||||
--surface-2: #f4f8fd;
|
||||
--text: #16203a;
|
||||
--text-secondary: #54607a;
|
||||
--text-muted: #69748a;
|
||||
--text-faint: #b9c5d8;
|
||||
|
||||
--primary: #2c63a8;
|
||||
--primary-strong: #2c63a8;
|
||||
--primary-ink: #ffffff;
|
||||
--accent: #cf3a36;
|
||||
--accent-soft: #cf3a36;
|
||||
|
||||
--border: #e7eefa;
|
||||
--border-strong: #d3e1f2;
|
||||
--border-primary: #2c63a8;
|
||||
--nav-bg: rgba(255, 255, 255, 0.82);
|
||||
--nav-border: #eef1f6;
|
||||
/* footer stays dark in both modes (per mockup) */
|
||||
|
||||
--hero-bg: linear-gradient(180deg, #d4e4fb 0%, #e8f1fc 44%, #ffffff 100%);
|
||||
--hero-glow: radial-gradient(1100px 500px at 50% -12%, rgba(44, 99, 168, 0.24), transparent 66%);
|
||||
|
||||
--pill-bg: #ffffff;
|
||||
--pill-border: #d3e1f2;
|
||||
--pill-text: #2c63a8;
|
||||
--icon-soft-bg: #eef4fd;
|
||||
--icon-accent-bg: #fdeeed;
|
||||
|
||||
--btn-primary-bg: #2c63a8;
|
||||
--btn-primary-text: #ffffff;
|
||||
--btn-primary-bg-hover: #1d4677;
|
||||
--btn-ghost-bg: #ffffff;
|
||||
--btn-ghost-border: #dbe5f1;
|
||||
--btn-ghost-bg-hover: #ffffff;
|
||||
|
||||
--shadow-card: 0 18px 40px -22px rgba(22, 32, 58, 0.45);
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
Base
|
||||
============================================================ */
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html, body { margin: 0; padding: 0; }
|
||||
|
||||
body {
|
||||
font-family: var(--font-sans) !important;
|
||||
background: var(--background) !important;
|
||||
color: var(--foreground) !important;
|
||||
letter-spacing: var(--tracking-normal) !important;
|
||||
font-family: var(--font-body) !important;
|
||||
background: var(--bg) !important;
|
||||
color: var(--text) !important;
|
||||
line-height: 1.6 !important;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
transition: background 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
|
||||
/* Professional card styling with soft blue accents */
|
||||
.professional-card {
|
||||
background: var(--card) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: var(--radius) !important;
|
||||
box-shadow: var(--shadow) !important;
|
||||
position: relative !important;
|
||||
transition: none !important;
|
||||
transform: none !important;
|
||||
::selection { background: var(--primary-strong); color: #fff; }
|
||||
|
||||
a { text-decoration: none; }
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family: var(--font-display) !important;
|
||||
color: var(--text) !important;
|
||||
letter-spacing: -0.02em !important;
|
||||
line-height: 1.15 !important;
|
||||
font-weight: 800 !important;
|
||||
}
|
||||
|
||||
.professional-card:hover {
|
||||
transition: none !important;
|
||||
transform: none !important;
|
||||
.professional-text-primary { color: var(--text) !important; }
|
||||
.professional-text-secondary { color: var(--text-secondary) !important; }
|
||||
.professional-text-muted { color: var(--text-muted) !important; }
|
||||
|
||||
/* Eyebrow / kicker label */
|
||||
.eyebrow {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* Soft professional blue buttons */
|
||||
.professional-btn-primary {
|
||||
background: var(--button-gradient) !important;
|
||||
color: var(--primary-foreground) !important;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
border: none !important;
|
||||
font-weight: 600 !important;
|
||||
text-decoration: none !important;
|
||||
display: inline-block !important;
|
||||
padding: 12px 24px !important;
|
||||
/* ============================================================
|
||||
Wordmark (logo image kept; this styles any text fallback)
|
||||
============================================================ */
|
||||
.romfast-wordmark {
|
||||
font-family: var(--font-mark);
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
letter-spacing: -0.5px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.romfast-wordmark .rom { color: var(--brand-rom); }
|
||||
.romfast-wordmark .fast { color: var(--brand-fast); }
|
||||
|
||||
.romfast-logo {
|
||||
height: 60px !important;
|
||||
width: auto;
|
||||
filter: brightness(1.05) contrast(1.05);
|
||||
}
|
||||
|
||||
.professional-btn-primary:hover {
|
||||
opacity: 0.9 !important;
|
||||
.brand-tagline {
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.professional-btn-secondary {
|
||||
background: transparent !important;
|
||||
color: var(--primary) !important;
|
||||
border: none !important;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
font-weight: 500 !important;
|
||||
text-decoration: underline !important;
|
||||
display: inline-block !important;
|
||||
padding: 12px 24px !important;
|
||||
}
|
||||
|
||||
.professional-btn-secondary:hover {
|
||||
color: var(--secondary) !important;
|
||||
}
|
||||
|
||||
/* Muted red accent button for urgent actions */
|
||||
.professional-btn-urgent {
|
||||
background: var(--red-gradient) !important;
|
||||
color: var(--accent-foreground) !important;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
border: none !important;
|
||||
font-weight: 600 !important;
|
||||
text-decoration: none !important;
|
||||
display: inline-block !important;
|
||||
padding: 12px 24px !important;
|
||||
}
|
||||
|
||||
.professional-btn-urgent:hover {
|
||||
opacity: 0.9 !important;
|
||||
}
|
||||
|
||||
/* Professional navbar with soft gradient */
|
||||
/* ============================================================
|
||||
Navbar — sticky, blurred
|
||||
============================================================ */
|
||||
.professional-navbar {
|
||||
background: var(--navbar-bg) !important;
|
||||
backdrop-filter: blur(12px) !important;
|
||||
border-bottom: 1px solid var(--border) !important;
|
||||
background: var(--nav-bg) !important;
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
backdrop-filter: blur(16px) !important;
|
||||
border-bottom: 1px solid var(--nav-border) !important;
|
||||
}
|
||||
|
||||
/* Hero section with soft professional styling */
|
||||
.nav-link {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary) !important;
|
||||
transition: color 0.2s ease !important;
|
||||
}
|
||||
.nav-link:hover { color: var(--text) !important; }
|
||||
|
||||
/* Contact pill in nav */
|
||||
.nav-cta {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: var(--btn-primary-text) !important;
|
||||
background: var(--btn-primary-bg);
|
||||
padding: 9px 18px;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.nav-cta:hover { background: var(--btn-primary-bg-hover); color: var(--btn-primary-text) !important; }
|
||||
|
||||
/* Theme toggle button */
|
||||
#theme-toggle {
|
||||
color: var(--text-secondary);
|
||||
border-radius: var(--radius-sm);
|
||||
transition: color 0.2s, background 0.2s;
|
||||
}
|
||||
#theme-toggle:hover { color: var(--text); }
|
||||
|
||||
/* Dropdown menu (Servicii) */
|
||||
.nav-dropdown {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.nav-dropdown a {
|
||||
color: var(--text-secondary);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.nav-dropdown a:hover { background: var(--surface-2); color: var(--text); }
|
||||
|
||||
/* ============================================================
|
||||
Hero
|
||||
============================================================ */
|
||||
.professional-hero {
|
||||
background: var(--hero-gradient) !important;
|
||||
border-radius: var(--radius-xl) !important;
|
||||
padding: 4rem 2rem !important;
|
||||
margin-bottom: 4rem !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
background: var(--hero-bg) !important;
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
padding: 84px 24px 70px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.professional-hero::before {
|
||||
content: '' !important;
|
||||
position: absolute !important;
|
||||
top: -50% !important;
|
||||
left: -50% !important;
|
||||
width: 200% !important;
|
||||
height: 200% !important;
|
||||
background: radial-gradient(circle, rgba(82, 136, 196, 0.03) 0%, transparent 50%) !important;
|
||||
opacity: 0.5 !important;
|
||||
animation: subtle-float 12s ease-in-out infinite !important;
|
||||
inset: 0 !important;
|
||||
background: var(--hero-glow) !important;
|
||||
pointer-events: none !important;
|
||||
animation: none !important;
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
.professional-hero > * { position: relative; z-index: 1; }
|
||||
|
||||
.hero-title {
|
||||
font-weight: 800;
|
||||
font-size: clamp(34px, 6vw, 56px);
|
||||
line-height: 1.08;
|
||||
letter-spacing: -1.4px;
|
||||
color: var(--text);
|
||||
max-width: 860px;
|
||||
margin: 24px auto 0;
|
||||
}
|
||||
.hero-title .accent { color: var(--primary); }
|
||||
|
||||
.hero-sub {
|
||||
font-size: 18px;
|
||||
line-height: 1.6;
|
||||
color: var(--text-secondary);
|
||||
max-width: 630px;
|
||||
margin: 22px auto 0;
|
||||
}
|
||||
.hero-sub strong { color: var(--text); }
|
||||
|
||||
/* ============================================================
|
||||
Pill badge
|
||||
============================================================ */
|
||||
.pill-badge {
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--pill-text);
|
||||
background: var(--pill-bg);
|
||||
border: 1px solid var(--pill-border);
|
||||
padding: 8px 18px;
|
||||
border-radius: var(--radius-pill);
|
||||
}
|
||||
|
||||
@keyframes subtle-float {
|
||||
0%, 100% { transform: translate(0, 0) rotate(0deg); }
|
||||
50% { transform: translate(20px, -20px) rotate(180deg); }
|
||||
/* ============================================================
|
||||
Buttons
|
||||
============================================================ */
|
||||
.professional-btn-primary,
|
||||
.btn-solid {
|
||||
background: var(--btn-primary-bg) !important;
|
||||
color: var(--btn-primary-text) !important;
|
||||
border: none !important;
|
||||
border-radius: 12px !important;
|
||||
font-weight: 700 !important;
|
||||
font-size: 16px !important;
|
||||
padding: 15px 30px !important;
|
||||
display: inline-block !important;
|
||||
text-decoration: none !important;
|
||||
transition: background 0.2s ease, opacity 0.2s ease !important;
|
||||
}
|
||||
.professional-btn-primary:hover,
|
||||
.btn-solid:hover { background: var(--btn-primary-bg-hover) !important; opacity: 1 !important; }
|
||||
|
||||
.professional-btn-secondary,
|
||||
.btn-ghost {
|
||||
background: var(--btn-ghost-bg) !important;
|
||||
color: var(--text) !important;
|
||||
border: 1px solid var(--btn-ghost-border) !important;
|
||||
border-radius: 12px !important;
|
||||
font-weight: 700 !important;
|
||||
font-size: 16px !important;
|
||||
padding: 15px 26px !important;
|
||||
display: inline-block !important;
|
||||
text-decoration: none !important;
|
||||
transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
|
||||
}
|
||||
.professional-btn-secondary:hover,
|
||||
.btn-ghost:hover {
|
||||
background: var(--btn-ghost-bg-hover) !important;
|
||||
border-color: var(--primary-strong) !important;
|
||||
color: var(--primary) !important;
|
||||
}
|
||||
|
||||
/* Professional support section */
|
||||
.professional-support {
|
||||
background: var(--muted) !important;
|
||||
.professional-btn-urgent {
|
||||
background: var(--accent) !important;
|
||||
color: #fff !important;
|
||||
border: none !important;
|
||||
border-radius: 12px !important;
|
||||
font-weight: 700 !important;
|
||||
padding: 14px 26px !important;
|
||||
display: inline-block !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
.professional-btn-urgent:hover { opacity: 0.92 !important; }
|
||||
|
||||
/* small inline link */
|
||||
.link-arrow {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--primary);
|
||||
}
|
||||
.link-arrow:hover { color: var(--text); }
|
||||
|
||||
/* ============================================================
|
||||
Cards
|
||||
============================================================ */
|
||||
.professional-card {
|
||||
background: var(--surface) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: var(--radius-xl) !important;
|
||||
padding: 3rem !important;
|
||||
position: relative !important;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
box-shadow: none !important;
|
||||
transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
|
||||
transform: none !important;
|
||||
}
|
||||
.professional-card:hover {
|
||||
border-color: var(--border-primary) !important;
|
||||
box-shadow: var(--shadow-card) !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
/* Professional icon containers with soft blue themes */
|
||||
.professional-icon-wrapper {
|
||||
width: 80px !important;
|
||||
height: 80px !important;
|
||||
background: var(--button-gradient) !important;
|
||||
/* Feature card (3 differentiators) */
|
||||
.feature-card {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: flex-start;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 26px 24px;
|
||||
transition: border-color 0.25s ease, box-shadow 0.25s ease;
|
||||
}
|
||||
.feature-card:hover { border-color: var(--border-primary); box-shadow: var(--shadow-card); }
|
||||
.feature-card.is-accent { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
|
||||
.feature-card.is-accent:hover { border-color: var(--accent); }
|
||||
|
||||
.feature-icon {
|
||||
flex-shrink: 0;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
border-radius: 13px;
|
||||
background: var(--icon-soft-bg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.feature-icon.is-accent { background: var(--icon-accent-bg); }
|
||||
.feature-title { font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -0.4px; }
|
||||
.feature-desc { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
|
||||
|
||||
/* Featured (red) card kept for subpages */
|
||||
.professional-card-featured {
|
||||
background: var(--surface) !important;
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent) !important;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
transition: border-color 0.25s ease !important;
|
||||
transform: none !important;
|
||||
}
|
||||
.professional-card-featured:hover { border-color: var(--accent) !important; transform: none !important; }
|
||||
|
||||
/* ============================================================
|
||||
Module grid (Module ROA)
|
||||
============================================================ */
|
||||
.module-grid {
|
||||
background: var(--border);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow-card);
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1px;
|
||||
}
|
||||
.module-row {
|
||||
display: grid;
|
||||
grid-template-columns: 38px 1fr 22px;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
background: var(--surface);
|
||||
padding: 18px 24px;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.module-row:hover { background: var(--surface-2); }
|
||||
.module-num {
|
||||
font-family: var(--font-mark);
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
color: var(--text-faint);
|
||||
}
|
||||
.module-name { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; }
|
||||
.module-desc { font-size: 13px; line-height: 1.45; color: var(--text-muted); }
|
||||
.module-arrow { font-size: 16px; color: var(--primary); text-align: right; }
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.module-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
Support section
|
||||
============================================================ */
|
||||
.professional-support {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
padding: 28px 24px 12px !important;
|
||||
}
|
||||
.professional-support-card {
|
||||
background: var(--surface-2) !important;
|
||||
border: 1px solid var(--border-strong) !important;
|
||||
border-radius: var(--radius) !important;
|
||||
padding: 24px 26px !important;
|
||||
transition: border-color 0.2s ease, background 0.2s ease !important;
|
||||
}
|
||||
.professional-support-card:hover { border-color: var(--border-primary) !important; }
|
||||
|
||||
/* ============================================================
|
||||
Footer (dark in both modes)
|
||||
============================================================ */
|
||||
.site-footer {
|
||||
background: var(--footer-bg) !important;
|
||||
color: var(--footer-text) !important;
|
||||
}
|
||||
.site-footer a { color: var(--footer-text); transition: color 0.2s ease; }
|
||||
.site-footer a:hover { color: #fff; }
|
||||
.site-footer .footer-heading {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: #5f6c84;
|
||||
}
|
||||
.site-footer .footer-muted { color: var(--footer-muted); }
|
||||
.site-footer .footer-divider { border-color: rgba(255, 255, 255, 0.09); }
|
||||
|
||||
/* ============================================================
|
||||
Service accent blocks (subpages)
|
||||
============================================================ */
|
||||
.service-technology {
|
||||
background: color-mix(in srgb, var(--primary-strong) 8%, transparent) !important;
|
||||
border-left: 4px solid var(--primary) !important;
|
||||
padding: 1.5rem !important;
|
||||
border-radius: var(--radius-sm) !important;
|
||||
}
|
||||
.service-reliability {
|
||||
background: color-mix(in srgb, var(--primary-strong) 6%, transparent) !important;
|
||||
border-left: 4px solid var(--primary-strong) !important;
|
||||
padding: 1.5rem !important;
|
||||
border-radius: var(--radius-sm) !important;
|
||||
}
|
||||
.red-bullet { color: var(--accent) !important; }
|
||||
|
||||
.professional-icon-wrapper {
|
||||
width: 64px !important;
|
||||
height: 64px !important;
|
||||
background: var(--icon-soft-bg) !important;
|
||||
border-radius: var(--radius) !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
margin: 0 auto 1.5rem auto !important;
|
||||
margin: 0 auto 1.25rem auto !important;
|
||||
}
|
||||
|
||||
/* Logo styling */
|
||||
.romfast-logo {
|
||||
height: 60px !important;
|
||||
filter: brightness(1.05) contrast(1.05) !important;
|
||||
/* ============================================================
|
||||
Scroll-reveal
|
||||
============================================================ */
|
||||
[data-reveal] {
|
||||
opacity: 0;
|
||||
transform: translateY(26px);
|
||||
transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
|
||||
}
|
||||
[data-reveal].is-visible { opacity: 1; transform: none; }
|
||||
|
||||
/* ============================================================
|
||||
Dark-mode remap of Tailwind light utilities in page content.
|
||||
Active ONLY in the default dark theme; in .light-mode the
|
||||
original Tailwind colors are kept (they read fine on white).
|
||||
Scoped to main/footer content so nav chrome is untouched.
|
||||
============================================================ */
|
||||
body:not(.light-mode) main .bg-white,
|
||||
body:not(.light-mode) main .bg-gray-50,
|
||||
body:not(.light-mode) main .bg-gray-100,
|
||||
body:not(.light-mode) main .bg-slate-50 {
|
||||
background-color: var(--surface) !important;
|
||||
}
|
||||
body:not(.light-mode) main .bg-blue-50,
|
||||
body:not(.light-mode) main .bg-indigo-50 {
|
||||
background-color: rgba(125, 176, 238, 0.10) !important;
|
||||
}
|
||||
body:not(.light-mode) main .bg-green-50,
|
||||
body:not(.light-mode) main .bg-emerald-50,
|
||||
body:not(.light-mode) main .bg-teal-50 {
|
||||
background-color: rgba(110, 200, 150, 0.10) !important;
|
||||
}
|
||||
body:not(.light-mode) main .bg-yellow-50,
|
||||
body:not(.light-mode) main .bg-amber-50,
|
||||
body:not(.light-mode) main .bg-orange-50 {
|
||||
background-color: rgba(224, 180, 110, 0.10) !important;
|
||||
}
|
||||
body:not(.light-mode) main .bg-red-50,
|
||||
body:not(.light-mode) main .bg-rose-50 {
|
||||
background-color: rgba(226, 85, 79, 0.10) !important;
|
||||
}
|
||||
|
||||
/* Enhanced typography */
|
||||
h1, h2, h3 {
|
||||
font-weight: 700 !important;
|
||||
letter-spacing: -0.02em !important;
|
||||
line-height: 1.2 !important;
|
||||
body:not(.light-mode) main .border-gray-200,
|
||||
body:not(.light-mode) main .border-gray-300,
|
||||
body:not(.light-mode) main .border-slate-200 {
|
||||
border-color: var(--border) !important;
|
||||
}
|
||||
body:not(.light-mode) main .border-blue-200,
|
||||
body:not(.light-mode) main .border-indigo-200 { border-color: rgba(125, 176, 238, 0.28) !important; }
|
||||
body:not(.light-mode) main .border-green-200,
|
||||
body:not(.light-mode) main .border-emerald-200 { border-color: rgba(110, 200, 150, 0.28) !important; }
|
||||
body:not(.light-mode) main .border-yellow-200,
|
||||
body:not(.light-mode) main .border-amber-200 { border-color: rgba(224, 180, 110, 0.30) !important; }
|
||||
body:not(.light-mode) main .border-red-200,
|
||||
body:not(.light-mode) main .border-rose-200 { border-color: rgba(226, 85, 79, 0.30) !important; }
|
||||
|
||||
/* Soft professional text colors */
|
||||
.professional-text-primary {
|
||||
color: var(--foreground) !important;
|
||||
}
|
||||
body:not(.light-mode) main .text-gray-900,
|
||||
body:not(.light-mode) main .text-gray-800,
|
||||
body:not(.light-mode) main .text-slate-900,
|
||||
body:not(.light-mode) main .text-slate-800 { color: var(--text) !important; }
|
||||
body:not(.light-mode) main .text-gray-700,
|
||||
body:not(.light-mode) main .text-gray-600,
|
||||
body:not(.light-mode) main .text-gray-500,
|
||||
body:not(.light-mode) main .text-slate-700,
|
||||
body:not(.light-mode) main .text-slate-600 { color: var(--text-secondary) !important; }
|
||||
|
||||
.professional-text-secondary {
|
||||
color: var(--muted-foreground) !important;
|
||||
}
|
||||
|
||||
/* Special featured card (ROA AUTO) - Muted red accent styling */
|
||||
.professional-card-featured {
|
||||
background: var(--card) !important;
|
||||
border: 2px solid var(--accent) !important;
|
||||
box-shadow: var(--shadow-xl) !important;
|
||||
transition: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.professional-card-featured:hover {
|
||||
transition: none !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.professional-card-featured .professional-icon-wrapper {
|
||||
background: var(--red-gradient) !important;
|
||||
}
|
||||
|
||||
/* Muted red bullet points for ROA AUTO problems */
|
||||
.red-bullet {
|
||||
color: var(--accent) !important;
|
||||
}
|
||||
|
||||
/* Enhanced hover effects for support cards */
|
||||
.professional-support-card {
|
||||
background: var(--card) !important;
|
||||
border: 1px solid var(--border) !important;
|
||||
border-radius: var(--radius) !important;
|
||||
padding: 2rem !important;
|
||||
}
|
||||
|
||||
.professional-support-card:hover {
|
||||
border-color: var(--primary) !important;
|
||||
}
|
||||
|
||||
/* Soft blue hover states for navigation */
|
||||
.nav-link {
|
||||
transition: color 0.3s ease !important;
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: #90caf9 !important; /* Gentle blue hover - softer than original */
|
||||
}
|
||||
|
||||
/* Professional service sections with soft blue accents */
|
||||
.service-technology {
|
||||
background: linear-gradient(135deg, rgba(82, 136, 196, 0.03), rgba(74, 123, 167, 0.03)) !important;
|
||||
border-left: 4px solid var(--primary) !important;
|
||||
padding: 1.5rem !important;
|
||||
border-radius: var(--radius) !important;
|
||||
}
|
||||
|
||||
.service-reliability {
|
||||
background: linear-gradient(135deg, rgba(74, 123, 167, 0.03), rgba(82, 136, 196, 0.03)) !important;
|
||||
border-left: 4px solid var(--secondary) !important;
|
||||
padding: 1.5rem !important;
|
||||
border-radius: var(--radius) !important;
|
||||
}
|
||||
|
||||
/* Dark mode adjustments for soft professional blue theme */
|
||||
.dark-mode {
|
||||
--background: #141822 !important;
|
||||
--foreground: #e2e8f0 !important;
|
||||
--card: #1e2235 !important;
|
||||
--card-foreground: #e2e8f0 !important;
|
||||
--card-hover: #252a3e !important;
|
||||
--muted: #252a3e !important;
|
||||
--muted-foreground: #94a3b8 !important;
|
||||
--border: #334155 !important;
|
||||
--input: #1e2235 !important;
|
||||
--navbar-bg: linear-gradient(135deg, #0f172a, #1e293b) !important;
|
||||
--hero-gradient: linear-gradient(180deg, #1e2235, #141822) !important;
|
||||
}
|
||||
|
||||
.dark-mode .professional-text-primary {
|
||||
color: var(--foreground) !important;
|
||||
}
|
||||
|
||||
.dark-mode .professional-text-secondary {
|
||||
color: var(--muted-foreground) !important;
|
||||
}
|
||||
|
||||
/* Mobile responsiveness for soft professional design */
|
||||
/* ============================================================
|
||||
Responsive
|
||||
============================================================ */
|
||||
@media (max-width: 768px) {
|
||||
.professional-hero {
|
||||
padding: 2rem 1.5rem !important;
|
||||
border-radius: var(--radius-lg) !important;
|
||||
}
|
||||
|
||||
.professional-card {
|
||||
border-radius: var(--radius-md) !important;
|
||||
}
|
||||
|
||||
.professional-btn-primary,
|
||||
.professional-btn-secondary,
|
||||
.professional-btn-urgent {
|
||||
border-radius: var(--radius) !important;
|
||||
}
|
||||
}
|
||||
.professional-hero { padding: 56px 18px 48px !important; }
|
||||
.professional-support { padding: 44px 18px 18px !important; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user