* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #860400;
    --secondary-color: #b35400;
    --tertiary-color: #a22500;
    --text-color: #fafafa;
    --bg-color: #202020;
    --accent-color: #050505;
    --text-accent: #707070;
    --glow: 0 0 10px #8a000083;
    --hover-glow: 0 0 20px #b42400d8;
    --logo-gradient: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    background-size: 100% 100%;
    position: relative;
    overflow-x: hidden;
}

main, header, footer {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, .logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Fade In Animation */
@keyframes fadeInAnimation {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.opacity-0 {
    opacity: 0;
}

.fade-in {
    animation: 1s fadeInAnimation;
}

/* Header Styles */
header {
    cursor: default;
    user-select: none;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--accent-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: var(--logo-gradient) 1;
}

nav {
    max-width: 1200px;
    max-height: 70px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo p {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--glow);
}

.logo img {
    margin: auto 1rem auto 0.5rem;
    height: 2rem;
    overflow: hidden;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
    transition-delay: 0.2s;
}

.nav-links a:hover::after {
    width: 100%;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Main Styles */
main {
    cursor: default;
    max-width: 1200px;
    margin: 0 auto;
    border-left: 1px solid black;
    border-right: 1px solid black;
    box-shadow: 0 0 30px var(--accent-color);
}

section {
    padding: 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 2rem 2rem;
}

.home h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home p {
    color: var(--text-accent);
}

/* About Style */
.message p {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--tertiary-color);
}

/* Timeline Style */
.timeline {
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--tertiary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.dates {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.date {
    padding: 8px 12px;
    position: relative;
    border-radius: 8px;
    border: 1px solid black;
    background-color: transparent;
}

.left .date {
    background-image: linear-gradient(270deg, var(--primary-color), var(--tertiary-color));
}

.right .date {
    background-image: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
}

.dates::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    top: 25px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: "";
    height: 0px;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 28px;
    border: medium solid var(--primary-color);
    border-width: 13px 0px 13px 13px;
    border-color: transparent transparent transparent var(--primary-color);
}

.right::before {
    content: "";
    height: 0px;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 28px;
    border: medium solid var(--primary-color);
    border-width: 13px 13px 13px 0px;
    border-color: transparent var(--primary-color) transparent transparent;
}

.right::after {
    left: -10px;
}

/* Project Style */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    gap: 5%;
    margin-top: 2rem;
}

.project-page {
    text-decoration: none;
    color: inherit;
    cursor: default;
}

.project {
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    box-shadow: var(--glow);
    transition: translate 0.3s ease-out, box-shadow 0.3s ease-out;
    text-decoration: none;
}

.project:hover {
    translate: 0 -10px;
    box-shadow: var(--glow), var(--hover-glow);
}

.project-image {
    height: 200px;
    background-color: var(--accent-color);
    border-radius: 8px 8px 0 0;
}

.project h3 {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 60, 0, 0.4);
    padding: 1.5rem;
    font-size: 1.5rem;
    margin: 0;
}

.project p {
    padding: 0 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.tags {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.tags span {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-align: center;
    border: 1px solid var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 81, 0, 0.4);
    transition: all 0.3s ease-out;
}

.tags span:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 5px rgba(255, 72, 0, 0.2),
                0 0 20px rgba(255, 60, 0, 0.4);
}

/* Footer Styles */
footer {
    background-color: var(--accent-color);
    padding: 2rem 1rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: all 0.3s;
    text-shadow: var(--glow);
}

.social-icon:hover {
    transform: translateY(-3px);
    text-shadow: var(--hover-glow);
    color: var(--primary-color);
}

.footer-bottom {
    color: var(--text-accent);
    opacity: 0.7;
    font-size: 0.8rem;
}

/* @media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    .social-icons {
        gap: 1.5rem;
    }

    .social-icon {
        font-size: 2rem;
    }
} */
