almeira-web/transporte-cali-buenaventura/backend/public/css/style.css

685 lines
14 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');
:root {
--bg-primary: #080c14;
--bg-secondary: #0f172a;
--bg-card: rgba(15, 23, 42, 0.75);
--bg-card-hover: rgba(30, 41, 59, 0.85);
--border-glass: rgba(255, 255, 255, 0.08);
--border-focus: rgba(6, 182, 212, 0.5);
--accent-cyan: #06b6d4;
--accent-cyan-glow: rgba(6, 182, 212, 0.35);
--accent-emerald: #10b981;
--accent-emerald-glow: rgba(16, 185, 129, 0.3);
--accent-amber: #f59e0b;
--accent-amber-glow: rgba(245, 158, 11, 0.35);
--accent-purple: #8b5cf6;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--text-dim: #64748b;
--radius-sm: 8px;
--radius-md: 14px;
--radius-lg: 22px;
--radius-full: 9999px;
--shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
--shadow-glow: 0 0 25px var(--accent-cyan-glow);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background-color: var(--bg-primary);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
background-image:
radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 45%),
radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.07) 0%, transparent 50%);
background-attachment: fixed;
}
h1, h2, h3, h4, .brand-title {
font-family: 'Outfit', sans-serif;
letter-spacing: -0.02em;
}
/* NAVBAR */
.navbar {
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
background: rgba(8, 12, 20, 0.85);
border-bottom: 1px solid var(--border-glass);
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.brand {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
}
.brand-badge {
background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
color: #000;
font-weight: 900;
font-size: 1.1rem;
width: 42px;
height: 42px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 20px var(--accent-cyan-glow);
}
.brand-text h1 {
font-size: 1.35rem;
color: #fff;
line-height: 1.1;
display: flex;
align-items: center;
gap: 0.4rem;
}
.brand-text span {
font-size: 0.72rem;
color: var(--accent-amber);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.nav-links {
display: flex;
gap: 1.5rem;
align-items: center;
}
.nav-links a {
color: var(--text-muted);
text-decoration: none;
font-weight: 500;
font-size: 0.95rem;
transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
color: var(--accent-cyan);
}
.btn-apk-header {
background: linear-gradient(135deg, #22c55e, #10b981);
color: #052e16;
font-weight: 700;
padding: 0.6rem 1.25rem;
border-radius: var(--radius-full);
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
font-size: 0.9rem;
transition: all 0.25s ease;
box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
.btn-apk-header:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}
/* HERO SECTION */
.hero {
max-width: 1280px;
margin: 0 auto;
padding: 3.5rem 1.5rem 2rem;
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 3rem;
align-items: center;
}
.hero-pill {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.35rem 0.9rem;
background: rgba(6, 182, 212, 0.1);
border: 1px solid rgba(6, 182, 212, 0.3);
border-radius: var(--radius-full);
color: var(--accent-cyan);
font-size: 0.8rem;
font-weight: 600;
margin-bottom: 1.25rem;
}
.hero-title {
font-size: 3.2rem;
line-height: 1.15;
color: #fff;
margin-bottom: 1.25rem;
}
.hero-title span {
background: linear-gradient(135deg, var(--accent-cyan), var(--accent-amber));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-desc {
font-size: 1.15rem;
color: var(--text-muted);
margin-bottom: 2rem;
max-width: 600px;
}
.hero-badges {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 2rem;
}
.badge-item {
display: flex;
align-items: center;
gap: 0.5rem;
background: var(--bg-card);
padding: 0.5rem 1rem;
border-radius: var(--radius-md);
border: 1px solid var(--border-glass);
font-size: 0.88rem;
}
.badge-item svg {
color: var(--accent-emerald);
}
/* HERO CARD VISUAL */
.hero-visual {
position: relative;
}
.visual-container {
position: relative;
border-radius: var(--radius-lg);
overflow: hidden;
border: 1px solid var(--border-glass);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.hero-image {
width: 100%;
height: 480px;
object-fit: cover;
display: block;
filter: brightness(0.95);
}
.floating-pool-card {
position: absolute;
bottom: 20px;
left: 20px;
right: 20px;
background: rgba(15, 23, 42, 0.88);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: var(--radius-md);
padding: 1.25rem;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.pool-status-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
}
.pool-seats {
display: flex;
gap: 0.4rem;
}
.seat-dot {
width: 22px;
height: 22px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 700;
background: #334155;
color: #94a3b8;
transition: all 0.3s ease;
}
.seat-dot.active {
background: var(--accent-emerald);
color: #022c22;
box-shadow: 0 0 12px var(--accent-emerald-glow);
}
.seat-dot.pending {
background: var(--accent-amber);
color: #451a03;
animation: pulse-seat 1.5s infinite;
}
@keyframes pulse-seat {
0% { transform: scale(1); }
50% { transform: scale(1.08); }
100% { transform: scale(1); }
}
/* SECTION TABS INTERACTION */
.main-wrapper {
max-width: 1280px;
margin: 0 auto;
padding: 2rem 1.5rem 5rem;
}
.tab-nav {
display: flex;
gap: 0.75rem;
background: var(--bg-secondary);
padding: 0.4rem;
border-radius: var(--radius-md);
border: 1px solid var(--border-glass);
margin-bottom: 2.5rem;
max-width: 820px;
margin-left: auto;
margin-right: auto;
overflow-x: auto;
}
.tab-btn {
flex: 1;
background: transparent;
border: none;
color: var(--text-muted);
padding: 0.75rem 1rem;
border-radius: var(--radius-sm);
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: all 0.25s ease;
white-space: nowrap;
}
.tab-btn:hover {
color: #fff;
background: rgba(255, 255, 255, 0.04);
}
.tab-btn.active {
background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2));
color: #fff;
border: 1px solid rgba(6, 182, 212, 0.4);
box-shadow: 0 4px 15px rgba(6, 182, 212, 0.15);
}
/* TAB PANELS */
.tab-content {
display: none;
animation: fadeIn 0.35s ease forwards;
}
.tab-content.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
/* GLASS CONTAINER CARDS */
.glass-panel {
background: var(--bg-card);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--border-glass);
border-radius: var(--radius-lg);
padding: 2.5rem;
box-shadow: var(--shadow-card);
}
.panel-header {
margin-bottom: 2rem;
text-align: center;
}
.panel-header h2 {
font-size: 2rem;
color: #fff;
margin-bottom: 0.5rem;
}
.panel-header p {
color: var(--text-muted);
max-width: 600px;
margin: 0 auto;
}
/* BOOKING GRID */
.grid-2col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2.5rem;
}
.form-group {
margin-bottom: 1.25rem;
}
.form-label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted);
margin-bottom: 0.45rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.form-input, .form-select {
width: 100%;
padding: 0.85rem 1.15rem;
background: rgba(15, 23, 42, 0.9);
border: 1px solid var(--border-glass);
border-radius: var(--radius-sm);
color: #fff;
font-size: 0.98rem;
font-family: inherit;
transition: all 0.2s ease;
}
.form-input:focus, .form-select:focus {
outline: none;
border-color: var(--accent-cyan);
box-shadow: 0 0 12px var(--accent-cyan-glow);
}
/* TRIP SUMMARY & BOLD PREVIEW */
.summary-box {
background: rgba(11, 17, 32, 0.8);
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
padding: 1.75rem;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.summary-item {
display: flex;
justify-content: space-between;
padding: 0.65rem 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.summary-item:last-child {
border-bottom: none;
}
.summary-total {
margin-top: 1.25rem;
padding-top: 1.25rem;
border-top: 1px solid rgba(255, 255, 255, 0.15);
display: flex;
justify-content: space-between;
align-items: baseline;
}
.total-price {
font-size: 2.2rem;
font-weight: 800;
font-family: 'Outfit', sans-serif;
color: var(--accent-emerald);
}
.bold-gateway-badge {
display: flex;
align-items: center;
gap: 0.5rem;
background: rgba(245, 158, 11, 0.1);
border: 1px solid rgba(245, 158, 11, 0.25);
border-radius: var(--radius-sm);
padding: 0.5rem 0.75rem;
margin: 1rem 0;
font-size: 0.8rem;
color: var(--accent-amber);
}
.btn-primary {
width: 100%;
background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
color: #042f2e;
border: none;
font-weight: 700;
font-size: 1.05rem;
padding: 1rem;
border-radius: var(--radius-sm);
cursor: pointer;
transition: all 0.25s ease;
box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
display: flex;
align-items: center;
justify-content: center;
gap: 0.6rem;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
}
/* RADAR VISUALIZER */
.radar-screen {
background: #050810;
border: 1px solid var(--border-glass);
border-radius: var(--radius-md);
height: 380px;
position: relative;
overflow: hidden;
margin-bottom: 2rem;
}
.radar-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
background-size: 40px 40px;
}
.radar-sweep {
position: absolute;
width: 200%;
height: 200%;
top: -50%;
left: -50%;
background: conic-gradient(from 0deg, transparent 0deg, rgba(6, 182, 212, 0.15) 60deg, transparent 61deg);
animation: radar-spin 6s linear infinite;
pointer-events: none;
}
@keyframes radar-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.corridor-line {
position: absolute;
top: 50%;
left: 10%;
right: 10%;
height: 4px;
background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #f59e0b 100%);
border-radius: 2px;
box-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}
.corridor-point {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
width: 14px;
height: 14px;
border-radius: 50%;
border: 2px solid #fff;
}
.corridor-point.cali {
left: 10%;
background: #10b981;
}
.corridor-point.dagua {
left: 35%;
background: #06b6d4;
}
.corridor-point.lobo {
left: 65%;
background: #06b6d4;
}
.corridor-point.buena {
left: 90%;
background: #f59e0b;
}
.radar-vehicle {
position: absolute;
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(6, 182, 212, 0.2);
border: 1px solid var(--accent-cyan);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
box-shadow: 0 0 15px var(--accent-cyan-glow);
cursor: pointer;
transition: transform 0.2s ease;
}
.radar-vehicle:hover {
transform: scale(1.3);
z-index: 10;
}
/* DRIVER RESIDENCE CARD */
.driver-card {
background: rgba(15, 23, 42, 0.85);
border: 1px solid var(--border-glass);
border-radius: var(--radius-sm);
padding: 1.25rem;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
transition: all 0.2s ease;
}
.driver-card:hover {
border-color: var(--accent-cyan);
background: rgba(30, 41, 59, 0.85);
}
.driver-tag {
display: inline-block;
font-size: 0.72rem;
padding: 0.2rem 0.5rem;
border-radius: 4px;
background: rgba(16, 185, 129, 0.15);
color: var(--accent-emerald);
font-weight: 600;
margin-top: 0.25rem;
}
/* DOWNLOAD SECTION */
.download-card {
background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
border: 1px solid rgba(34, 197, 94, 0.3);
border-radius: var(--radius-lg);
padding: 3rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
margin-top: 3rem;
}
.btn-apk-large {
background: linear-gradient(135deg, #22c55e, #10b981);
color: #052e16;
font-weight: 800;
font-size: 1.15rem;
padding: 1.1rem 2rem;
border-radius: var(--radius-full);
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.75rem;
box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
transition: all 0.25s ease;
}
.btn-apk-large:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(34, 197, 94, 0.6);
}
/* FOOTER */
.footer {
border-top: 1px solid var(--border-glass);
padding: 3rem 2rem 2rem;
background: #050810;
color: var(--text-dim);
font-size: 0.88rem;
text-align: center;
}
/* RESPONSIVE */
@media (max-width: 900px) {
.hero {
grid-template-columns: 1fr;
padding-top: 2rem;
}
.grid-2col {
grid-template-columns: 1fr;
}
.download-card {
flex-direction: column;
text-align: center;
}
}