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

body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: #ECECEC;
    color: #222;
}

/* Container System */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 700px;
}

/* Sections */
.section {
    padding: 60px 0;
    background: #F5F3EF;
    border-bottom: 1px solid #E0D9CD;
}

.section + .section {
    margin-top: 30px;
}

.hero .section-box {
    padding: 80px 60px;
}

.section-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.section:first-of-type {
    padding-top: 140px;
}

.alt {
    background: #E7E1D7;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #E6E6E6;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Hero */
.hero {
    background: linear-gradient(
        to bottom,
        #F5F3EF,
        #ECE7DF
    );
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h2 {
    font-weight: 400;
    margin-bottom: 15px;
    color: #555;
}

.hero-buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 10px;
    font-weight: 500;
}

.primary {
    background-color: #8A6F4D;
    color: white;
}

.primary:hover {
    background-color: #6E563B;
}

.secondary {
    border: 1px solid #8A6F4D;
    color: #8A6F4D;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: #FFFFFF;
    border: 1px solid #D8D0C4;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.project-card h3 {
    margin-bottom: 10px;
}

.tech {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Links */
a {
    color: #8A6F4D;
}

a:hover {
    color: #6E563B;
}

/* Responsive */
@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}