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

:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(240, 10%, 3.9%);
    --muted: hsl(240, 3.8%, 46.1%);
    --border: hsl(240, 5.9%, 90%);
    --card: hsl(0, 0%, 100%);
}

body.dark-mode {
    --background: hsl(240, 10%, 3.9%);
    --foreground: hsl(0, 0%, 98%);
    --muted: hsl(240, 5%, 64.9%);
    --border: hsl(240, 3.7%, 15.9%);
    --card: hsl(240, 10%, 3.9%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;

}
p {
    font-size: 1rem;


}

/* Header & Navigation */
header {
    background-color: var(--background);
    /* border-bottom: 1px solid var(--border); */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--foreground);
    font-size: 1.25rem;
    font-weight: 600;
}

.logo a {
    color: var(--foreground);
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    background-color: var(--border);
}

.theme-toggle svg {
    display: block;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}


/* Hero Section */
main {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
}
/* make hero -> grid */
/* image and content as items  */
/* remove grid for mobile */

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: left;
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 5fr;
    gap: 1rem;
    /* display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center; */
    
}
.hero-content {
    

}
.hero-image img{
    width: 16rem;
    border-radius: 100%;
    margin: 0 0 1rem 0;
    /* display: none; */
}


.hero-content h1 {
   
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-weight: 400;
}

.hero-content a {
    color: var(--foreground);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
}

.hero-content a:hover {
    opacity: 0.7;
}

.cta-button {
    background-color: var(--foreground);
    color: var(--background);
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.cta-button:hover {
    opacity: 0.9;
}


/* Footer */
footer {
    background-color: var(--background);
    color: var(--muted);
    text-align: left;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

footer p {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.1rem;
    }
}
