argobox-portfolio/styles.css

914 lines
16 KiB
CSS

/*
* Main stylesheet for argobox.com
* Modern tech portfolio design
*/
:root {
--primary: #0f172a;
--secondary: #1e293b;
--accent: #3b82f6;
--accent-dark: #2563eb;
--text: #e2e8f0;
--text-muted: #94a3b8;
--border: #475569;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--info: #3b82f6;
--gradient-start: #1e40af;
--gradient-end: #3b82f6;
}
/* Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--primary);
color: var(--text);
line-height: 1.6;
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
section {
padding: 6rem 0;
}
a {
text-decoration: none;
color: var(--accent);
transition: color 0.3s ease;
}
a:hover {
color: var(--accent-dark);
}
ul {
list-style: none;
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
transition: all 0.3s ease;
cursor: pointer;
border: none;
}
.btn-primary {
background-color: var(--accent);
color: white;
}
.btn-primary:hover {
background-color: var(--accent-dark);
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-outline {
background-color: transparent;
border: 2px solid var(--accent);
color: var(--accent);
}
.btn-outline:hover {
background-color: var(--accent);
color: white;
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Navbar */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(71, 85, 105, 0.3);
height: 4rem;
display: flex;
align-items: center;
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.logo {
display: flex;
align-items: center;
}
.logo-text {
font-size: 1.5rem;
font-weight: 700;
color: var(--accent);
}
.logo-dot {
font-size: 1.5rem;
font-weight: 700;
color: var(--text);
}
.nav-menu {
display: flex;
gap: 2rem;
}
.nav-link {
position: relative;
color: var(--text-muted);
font-weight: 500;
transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active {
color: var(--text);
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--accent);
transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
width: 100%;
}
.nav-buttons {
display: flex;
align-items: center;
gap: 1rem;
}
.dashboard-link {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background-color: rgba(59, 130, 246, 0.2);
border-radius: 0.5rem;
color: var(--text);
font-weight: 500;
transition: all 0.3s ease;
}
.dashboard-link:hover {
background-color: rgba(59, 130, 246, 0.3);
color: var(--text);
}
.menu-toggle {
display: none;
background: transparent;
border: none;
color: var(--text);
font-size: 1.5rem;
cursor: pointer;
}
/* Live indicator animation */
.live-indicator {
width: 10px;
height: 10px;
background-color: var(--success);
border-radius: 50%;
display: inline-block;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
padding-top: 4rem;
}
.hero .container {
display: flex;
align-items: center;
gap: 2rem;
}
.hero-content {
flex: 1;
}
.hero-title {
font-size: 3rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}
.highlight {
color: var(--accent);
}
.status-indicator {
display: inline-flex;
align-items: center;
background-color: rgba(59, 130, 246, 0.2);
padding: 0.5rem 1rem;
border-radius: 9999px;
margin-bottom: 1.5rem;
}
.hero-description {
font-size: 1.25rem;
color: var(--text-muted);
margin-bottom: 1.5rem;
max-width: 600px;
}
.command-line {
font-family: monospace;
color: var(--text-muted);
margin-bottom: 2rem;
}
.typing-animation {
display: inline-block;
width: 18ch;
animation: typing 2s steps(18), blink .5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
}
@keyframes typing {
from { width: 0 }
}
@keyframes blink {
50% { border-color: transparent }
}
.hero-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.hero-visual {
flex: 1;
min-width: 300px;
max-width: 600px;
}
.tech-dashboard {
background-color: var(--secondary);
border-radius: 1rem;
overflow: hidden;
border: 1px solid var(--border);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
transition: all 0.3s ease;
}
.tech-dashboard:hover {
transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
/* Data Stream Animation */
.data-stream {
height: 200px;
background-color: rgba(15, 23, 42, 0.95);
border-radius: 0.5rem 0.5rem 0 0;
position: relative;
overflow: hidden;
background-image:
linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
background-size: 20px 20px;
}
.data-line {
position: absolute;
height: 2px;
background: linear-gradient(90deg, var(--accent), transparent);
opacity: 0.5;
transform: translateY(-100%);
will-change: transform;
animation: datastream 3s linear infinite;
}
@keyframes datastream {
from { transform: translateY(-100%); }
to { transform: translateY(1000%); }
}
.terminal {
background-color: rgba(15, 23, 42, 0.98);
border-radius: 0 0 0.5rem 0.5rem;
padding: 1rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
}
.terminal-line {
margin-bottom: 0.5rem;
color: var(--text-muted);
}
.terminal-line.success { color: var(--success); }
.terminal-line.warning { color: var(--warning); }
.terminal-line.info { color: var(--info); }
.success {
color: var(--success);
}
.warning {
color: var(--warning);
}
.info {
color: var(--info);
}
/* Services Section */
.services {
background-color: var(--secondary);
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}
.section-title::after {
content: '';
position: absolute;
width: 60px;
height: 4px;
background: linear-gradient(90deg, var(--accent), var(--accent-dark));
bottom: -0.5rem;
left: 50%;
transform: translateX(-50%);
border-radius: 2px;
}
.section-description {
font-size: 1.1rem;
color: var(--text-muted);
max-width: 700px;
margin: 0 auto;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.service-card {
background-color: var(--primary);
border-radius: 0.75rem;
padding: 2rem;
transition: all 0.3s ease;
border: 1px solid var(--border);
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
border-color: var(--accent);
}
.service-icon {
font-size: 2rem;
color: var(--accent);
margin-bottom: 1.5rem;
}
.service-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.service-description {
color: var(--text-muted);
margin-bottom: 1.5rem;
}
.tech-badges {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.tech-badge {
background-color: rgba(59, 130, 246, 0.2);
color: var(--accent);
border: 1px solid var(--accent);
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.8rem;
font-weight: 500;
}
/* Lab Section */
.lab-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.lab-card {
background-color: var(--secondary);
border-radius: 0.75rem;
padding: 2rem;
border: 1px solid var(--border);
}
.lab-card-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.lab-card-description {
color: var(--text-muted);
margin-bottom: 1.5rem;
}
.lab-subtitle {
font-size: 1rem;
font-weight: 600;
color: var(--accent);
margin-bottom: 0.75rem;
}
.lab-list {
margin-bottom: 1.5rem;
}
.lab-list li {
display: flex;
align-items: start;
margin-bottom: 0.5rem;
color: var(--text-muted);
}
.bullet {
display: inline-block;
width: 6px;
height: 6px;
background-color: var(--accent);
border-radius: 50%;
margin-right: 0.75rem;
margin-top: 0.5rem;
}
.lab-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.flex-center {
display: flex;
align-items: center;
gap: 0.5rem;
}
.metric {
margin-bottom: 1.5rem;
}
.metric-header {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.metric-name {
color: var(--text-muted);
}
.metric-value {
color: var(--accent);
}
.metric-bar {
height: 10px;
background-color: rgba(59, 130, 246, 0.2);
border-radius: 5px;
overflow: hidden;
}
.metric-progress {
height: 100%;
background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
border-radius: 5px;
}
.services-grid-small {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 0.75rem;
}
.service-tag {
display: flex;
align-items: center;
background-color: rgba(59, 130, 246, 0.2);
padding: 0.5rem;
border-radius: 0.5rem;
font-size: 0.9rem;
}
.status-dot {
width: 8px;
height: 8px;
background-color: var(--success);
border-radius: 50%;
margin-right: 0.5rem;
}
.code-card {
background-color: var(--secondary);
border-radius: 0.75rem;
padding: 2rem;
border: 1px solid var(--border);
}
.code-card-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.code-card-description {
color: var(--text-muted);
margin-bottom: 1.5rem;
}
.code-block {
background-color: #0d1117;
padding: 1.5rem;
border-radius: 0.5rem;
font-family: monospace;
font-size: 0.9rem;
overflow-x: auto;
line-height: 1.5;
}
.comment { color: #8b949e; }
.keyword { color: #ff7b72; }
.function { color: #d2a8ff; }
.string { color: #a5d6ff; }
/* Projects Section */
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.project-card {
background-color: var(--secondary);
border-radius: 0.75rem;
padding: 2rem;
transition: all 0.3s ease;
border: 1px solid var(--border);
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
border-color: var(--accent);
}
.project-icon {
font-size: 2rem;
color: var(--accent);
margin-bottom: 1.5rem;
}
.project-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1rem;
}
.project-description {
color: var(--text-muted);
margin-bottom: 1.5rem;
}
/* Experience Section */
.experience {
background-color: var(--secondary);
}
.timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
}
.timeline::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 2px;
background-color: var(--border);
left: 25px;
}
.timeline-item {
position: relative;
padding-left: 3rem;
margin-bottom: 3rem;
}
.timeline-dot {
position: absolute;
left: 0;
top: 0;
width: 14px;
height: 14px;
background-color: var(--accent);
border-radius: 50%;
transform: translateX(-6px);
}
.timeline-content {
background-color: var(--primary);
border-radius: 0.75rem;
padding: 1.5rem;
border: 1px solid var(--border);
}
.timeline-title {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.timeline-subtitle {
font-size: 1rem;
font-weight: 500;
color: var(--accent);
margin-bottom: 0.5rem;
}
.timeline-date {
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: 1rem;
}
.timeline-description {
color: var(--text-muted);
}
/* Contact Section */
.contact-grid {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 2rem;
}
.contact-info {
display: flex;
flex-direction: column;
gap: 2rem;
}
.contact-item {
background-color: var(--secondary);
border-radius: 0.75rem;
padding: 1.5rem;
border: 1px solid var(--border);
}
.contact-icon {
font-size: 2rem;
color: var(--accent);
margin-bottom: 1rem;
}
.contact-item-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.contact-form-container {
background-color: var(--secondary);
border-radius: 0.75rem;
padding: 2rem;
border: 1px solid var(--border);
}
.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.form-group label {
font-weight: 500;
}
.form-group input, .form-group textarea {
padding: 0.75rem;
border-radius: 0.5rem;
background-color: var(--primary);
border: 1px solid var(--border);
color: var(--text);
font-family: inherit;
resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
outline: none;
border-color: var(--accent);
}
/* Footer */
.footer {
background-color: var(--primary);
padding: 4rem 0 2rem;
border-top: 1px solid var(--border);
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 2rem;
margin-bottom: 3rem;
}
.footer-links {
display: flex;
gap: 1.5rem;
flex-wrap: wrap;
}
.footer-links a {
color: var(--text-muted);
}
.footer-links a:hover {
color: var(--accent);
}
.footer-social {
display: flex;
gap: 1rem;
}
.footer-social a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(59, 130, 246, 0.2);
border-radius: 50%;
color: var(--text);
transition: all 0.3s ease;
}
.footer-social a:hover {
background-color: var(--accent);
color: white;
transform: translateY(-3px);
}
.footer-bottom {
text-align: center;
color: var(--text-muted);
font-size: 0.9rem;
}
/* Responsive Styles */
@media (max-width: 992px) {
.hero .container {
flex-direction: column;
}
.hero-content {
text-align: center;
}
.hero-description {
margin: 0 auto 1.5rem;
}
.hero-buttons {
justify-content: center;
}
.contact-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.nav-menu {
display: none;
position: absolute;
top: 4rem;
left: 0;
width: 100%;
flex-direction: column;
background-color: var(--primary);
padding: 1rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.nav-menu.active {
display: flex;
}
.nav-buttons .dashboard-link {
display: none;
}
.menu-toggle {
display: block;
}
.section-title {
font-size: 2rem;
}
.hero-title {
font-size: 2.25rem;
}
.footer-content {
flex-direction: column;
align-items: center;
text-align: center;
}
}