:root {
    --primary-color: #2a2722;
    --secondary-color: #fafafa;
    --font-primary: 'Neue Montreal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-color);
    background: var(--secondary-color);
    text-transform: lowercase;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

main {
    flex: 1;
}

.main-nav {
    display: flex;
    justify-content: center;
    padding: 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.logo img {
    height: 40px;
}

.logo h1 {
    margin-top: 100px;
    font-size: 10.5em;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.hero {
    height: calc(100vh - 6rem);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0 2.3rem;
    margin-top: 4rem;
}

.hero-content {
    text-align: left;
    max-width: 1400px;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1,
.hero-content p {
    width: 100%;
    text-align: left;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    max-width: none;
    white-space: nowrap;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.hero-content p span {
    opacity: 0;
    animation: floatIn 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.5s;
    display: inline-block;
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(20px) rotate(2deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

section {
    padding: 6rem 2rem;
}

.work-section {
    background: var(--accent-color);
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-section {
    text-align: center;
}

.contact-button {
    margin-left: 0;
    align-self: flex-start;
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--secondary-color);
    background: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: scale(1);
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.contact-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-button:active {
    transform: scale(0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 1rem;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
    position: absolute;
    bottom: 1rem;
    width: 100%;
}

footer a {
    text-decoration: none;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

footer a:hover {
    transform: translateY(-2px);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.github-icon {
    color: var(--primary-color);
    display: block;
}

.footer-text {
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
}

.footer-text:hover {
    text-decoration: underline;
}
