
/* Base styles */
:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --muted-foreground: 0 0% 45.1%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.logo strong {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-links {
    display: none;
}

@media (min-width: 768px) {
    .desktop-links {
        display: flex;
        gap: 2rem;
    }
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.link-hover {
    text-decoration: none;
    color: inherit;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.link-hover:hover::after {
    width: 100%;
}

.icon {
    display: inline-block;
    vertical-align: middle;
}

.desktop-text {
    display: none;
}

@media (min-width: 768px) {
    .desktop-text {
        display: inline;
    }
}

/* Hero section */
main {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    max-width: 800px;
    position: relative;
}

.signature-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.signature {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: -1;
    max-width: 180px;
    opacity: 0.9;
    transform: rotate(-5deg);
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: right;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 8rem;
    }
}

.hand-icon {
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.hero-content p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    text-align: right;
    max-width: 32rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .hero-content p {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.animate-delay-100 {
    animation-delay: 100ms;
}

.animate-delay-300 {
    animation-delay: 300ms;
}

.animate-delay-400 {
    animation-delay: 400ms;
}

/* Main content */
main {
    margin-top: 60px; /* Account for fixed header */
}

section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* About section */
.about {
    background-color: #fff;
}

.about-content {
    margin-top: 2rem;
}

/* Portfolio section */
.portfolio {
    background-color: #f9f9f9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Contact section */
.contact {
    background-color: #fff;
}

.contact-content {
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Responsive design + hamburger nav */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 2rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 80px;
        right: 1.5rem;
        width: max-content;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .desktop-links,
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
}
