627 lines
13 KiB
CSS
627 lines
13 KiB
CSS
:root {
|
|
--primary-dark: #0a0a0a;
|
|
--secondary-dark: #1a1a1a;
|
|
--accent-fire: #ff6400;
|
|
--accent-ember: #ff4500;
|
|
--accent-dragon: #8B0000;
|
|
--text-light: #f5f5f5;
|
|
--text-ash: #aaaaaa;
|
|
--glow-effect: 0 0 10px var(--accent-fire), 0 0 20px rgba(255, 100, 0, 0.4);
|
|
--card-bg: #141414;
|
|
--card-border: #2a2a2a;
|
|
--code-bg: #1e1e1e;
|
|
}
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Fira+Code:wght@400;600&display=swap');
|
|
|
|
body {
|
|
background-color: var(--primary-dark);
|
|
color: var(--text-light);
|
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230a0a0a"/><path d="M0 20L20 0L40 20L60 0L80 20L100 0V20L80 40L100 60L80 80L100 100H80L60 80L40 100H20L0 80V60L20 40L0 20Z" fill="%231a1a1a" fill-opacity="0.3"/></svg>');
|
|
background-size: 300px;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
font-family: 'Cinzel', serif;
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: radial-gradient(circle at 50% 50%, rgba(139, 0, 0, 0.08), rgba(10, 10, 10, 0.4));
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Navbar Styles */
|
|
.navbar {
|
|
border-bottom: 1px solid rgba(255, 100, 0, 0.3);
|
|
background-color: rgba(10, 10, 10, 0.95);
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.logo-icon {
|
|
font-size: 2rem;
|
|
color: var(--accent-fire);
|
|
text-shadow: var(--glow-effect);
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo-dragon {
|
|
font-size: 1.2rem;
|
|
position: absolute;
|
|
top: 0;
|
|
right: -12px;
|
|
color: var(--accent-dragon);
|
|
}
|
|
|
|
.logo-text {
|
|
font-weight: 700;
|
|
font-size: 1.5rem;
|
|
background: linear-gradient(to right, var(--accent-fire), var(--text-light));
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--text-light);
|
|
font-size: 1.1rem;
|
|
position: relative;
|
|
margin: 0 0.75rem;
|
|
}
|
|
|
|
.nav-link::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 0;
|
|
height: 2px;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(to right, var(--accent-fire), transparent);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--accent-fire);
|
|
}
|
|
|
|
.nav-link:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--accent-fire);
|
|
}
|
|
|
|
.nav-link.active::after {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Page Header */
|
|
.page-header {
|
|
padding-top: 7rem;
|
|
padding-bottom: 3rem;
|
|
text-align: center;
|
|
background-color: var(--secondary-dark);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.page-header::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
background-image: url('/api/placeholder/1200/400');
|
|
opacity: 0.15;
|
|
filter: brightness(0.3);
|
|
z-index: 0;
|
|
}
|
|
|
|
.page-header-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 3rem;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.page-title::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 60px;
|
|
height: 3px;
|
|
background: var(--accent-fire);
|
|
bottom: -10px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
box-shadow: var(--glow-effect);
|
|
}
|
|
|
|
.page-subtitle {
|
|
font-size: 1.2rem;
|
|
color: var(--text-ash);
|
|
}
|
|
|
|
/* Card Styles */
|
|
.card {
|
|
background-color: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-10px);
|
|
border-color: rgba(255, 100, 0, 0.3);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.card-accent-top {
|
|
position: relative;
|
|
}
|
|
|
|
.card-accent-top::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 5px;
|
|
top: 0;
|
|
left: 0;
|
|
background: linear-gradient(to right, var(--accent-dragon), var(--accent-fire));
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
|
|
.card-accent-left {
|
|
position: relative;
|
|
}
|
|
|
|
.card-accent-left::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 70%;
|
|
top: 15%;
|
|
left: 0;
|
|
background: linear-gradient(to bottom, var(--accent-dragon), var(--accent-fire));
|
|
border-radius: 0 3px 3px 0;
|
|
}
|
|
|
|
.card-title {
|
|
color: var(--text-light);
|
|
font-weight: 600;
|
|
position: relative;
|
|
}
|
|
|
|
.card-text {
|
|
color: var(--text-ash);
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary {
|
|
background: linear-gradient(45deg, var(--accent-dragon), var(--accent-fire));
|
|
border: none;
|
|
color: var(--text-light);
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
|
|
background: linear-gradient(45deg, var(--accent-dragon), var(--accent-fire));
|
|
border: none;
|
|
}
|
|
|
|
.btn-primary::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: 0.6s;
|
|
}
|
|
|
|
.btn-primary:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.btn-outline-primary {
|
|
border: 1px solid var(--accent-fire);
|
|
color: var(--accent-fire);
|
|
background-color: transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-outline-primary:hover {
|
|
background-color: rgba(255, 100, 0, 0.1);
|
|
color: var(--accent-fire);
|
|
border-color: var(--accent-fire);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
/* Form Controls */
|
|
.form-control, .form-select {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid var(--card-border);
|
|
color: var(--text-light);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-control:focus, .form-select:focus {
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
border-color: var(--accent-fire);
|
|
box-shadow: 0 0 0 0.25rem rgba(255, 100, 0, 0.25);
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.form-label {
|
|
color: var(--text-ash);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Tech Icons */
|
|
.tech-icon {
|
|
color: var(--accent-fire);
|
|
font-size: 1.2rem;
|
|
width: 24px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.tech-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
padding: 5px 10px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-family: 'Fira Code', monospace;
|
|
color: var(--text-ash);
|
|
transition: all 0.3s ease;
|
|
margin: 0.25rem;
|
|
}
|
|
|
|
.tech-item:hover {
|
|
background-color: rgba(255, 100, 0, 0.1);
|
|
color: var(--accent-fire);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Code Elements */
|
|
pre, code {
|
|
font-family: 'Fira Code', monospace;
|
|
background-color: var(--code-bg);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--card-border);
|
|
}
|
|
|
|
code {
|
|
color: var(--accent-fire);
|
|
padding: 0.2rem 0.4rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
pre {
|
|
padding: 1rem;
|
|
}
|
|
|
|
pre code {
|
|
background-color: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Binary Line Effect */
|
|
.binary-line {
|
|
position: absolute;
|
|
font-family: 'Fira Code', monospace;
|
|
color: var(--accent-fire);
|
|
font-size: 0.8rem;
|
|
opacity: 0.15;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background-color: var(--primary-dark);
|
|
padding: 3rem 0 1.5rem;
|
|
border-top: 1px solid rgba(255, 100, 0, 0.2);
|
|
margin-top: 5rem;
|
|
}
|
|
|
|
.social-icon {
|
|
font-size: 1.5rem;
|
|
color: var(--text-ash);
|
|
margin: 0 0.5rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.social-icon:hover {
|
|
color: var(--accent-fire);
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.copyright {
|
|
color: var(--text-ash);
|
|
font-size: 0.9rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
/* Animation for embers */
|
|
@keyframes float {
|
|
0% {
|
|
transform: translateY(0) rotate(0deg);
|
|
opacity: 0.6;
|
|
}
|
|
100% {
|
|
transform: translateY(-100px) rotate(360deg);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.ember-particle {
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 3px;
|
|
background-color: var(--accent-fire);
|
|
border-radius: 50%;
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
box-shadow: 0 0 5px var(--accent-fire);
|
|
animation: float 3s linear infinite;
|
|
}
|
|
|
|
/* Home Page Specific */
|
|
.hero {
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: url('/api/placeholder/1200/800') center/cover no-repeat;
|
|
opacity: 0.15;
|
|
filter: brightness(0.5) contrast(1.2);
|
|
z-index: -1;
|
|
}
|
|
|
|
.title-main {
|
|
font-size: 4rem;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.title-main::before {
|
|
content: "< ";
|
|
color: var(--accent-fire);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.title-main::after {
|
|
content: " />";
|
|
color: var(--accent-fire);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.blinking-cursor {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 24px;
|
|
background-color: var(--accent-fire);
|
|
margin-left: 5px;
|
|
animation: blink 1s step-end infinite;
|
|
box-shadow: var(--glow-effect);
|
|
}
|
|
|
|
@keyframes blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0; }
|
|
}
|
|
|
|
/* Projects Page Specific */
|
|
.project-category {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
background-color: rgba(139, 0, 0, 0.9);
|
|
color: var(--text-light);
|
|
padding: 5px 12px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
backdrop-filter: blur(5px);
|
|
z-index: 2;
|
|
}
|
|
|
|
.featured-badge {
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 15px;
|
|
background: linear-gradient(45deg, var(--accent-dragon), var(--accent-fire));
|
|
color: var(--text-light);
|
|
padding: 5px 12px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
/* Blog Page Specific */
|
|
.post-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
font-size: 0.9rem;
|
|
color: var(--text-ash);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.meta-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.meta-icon {
|
|
color: var(--accent-fire);
|
|
}
|
|
|
|
.post-tag {
|
|
background-color: rgba(255, 100, 0, 0.1);
|
|
color: var(--accent-fire);
|
|
padding: 5px 12px;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
display: inline-block;
|
|
margin: 0.25rem;
|
|
}
|
|
|
|
.post-tag:hover {
|
|
background-color: rgba(255, 100, 0, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* About Page Specific */
|
|
.timeline {
|
|
position: relative;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.timeline::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 100%;
|
|
background: linear-gradient(to bottom, var(--accent-fire), var(--accent-dragon), rgba(255, 100, 0, 0.2));
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1;
|
|
}
|
|
|
|
.timeline-dot {
|
|
width: 16px;
|
|
height: 16px;
|
|
background-color: var(--accent-fire);
|
|
border-radius: 50%;
|
|
position: absolute;
|
|
top: 20px;
|
|
box-shadow: var(--glow-effect);
|
|
z-index: 2;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.timeline::before {
|
|
left: 20px;
|
|
}
|
|
|
|
.timeline-item {
|
|
width: 100%;
|
|
padding-right: 0;
|
|
padding-left: 60px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.timeline-item:nth-child(even) {
|
|
left: 0;
|
|
}
|
|
|
|
.timeline-item:nth-child(odd) .timeline-content::before,
|
|
.timeline-item:nth-child(even) .timeline-content::before {
|
|
left: -10px;
|
|
}
|
|
|
|
.timeline-item:nth-child(odd) .timeline-dot,
|
|
.timeline-item:nth-child(even) .timeline-dot {
|
|
left: 12px;
|
|
}
|
|
}
|
|
|
|
/* Contact Page Specific */
|
|
.contact-info-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
background-color: rgba(255, 100, 0, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent-fire);
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.map-frame {
|
|
width: 100%;
|
|
height: 400px;
|
|
border: none;
|
|
background-color: var(--card-bg);
|
|
filter: grayscale(90%) invert(92%) hue-rotate(180deg);
|
|
}
|
|
|
|
/* Response Utilities */
|
|
@media (max-width: 768px) {
|
|
.title-main {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 2.2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.title-main {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 1.8rem;
|
|
}
|
|
} |