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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #2a2a2e;
    font-family: Georgia, 'Times New Roman', serif;
    color: #3b3b3b;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Navigation */
#navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #202020;
    border-bottom: 1px solid #ac7c62;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    z-index: 1000;
}

#navbar a {
    color: #cfaaaa;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

#navbar a:hover {
    color: #ac7c62;
    border-radius: 8px;
    background: rgba(172, 124, 98, 0.1);
}

#navbar .dot {
    color: #cfaaaa;
    font-size: 12px;
}

/* Scroll offsets */
#about { scroll-margin-top: 100px; }
#work { scroll-margin-top: 80px; }
#contact { scroll-margin-top: 80px; }

/* Main container */
.page {
    max-width: 800px;
    width: 100%;
    background-color: #e0dada;
    padding: 60px 40px;
    margin: 0 15px;
    border-left: 2px dashed #bab3b0;
    border-right: 2px dashed #bab3b0;
    box-shadow: 0 0 0 15px #ddd7d7;
    min-height: 100vh;
}

/* Hero section */
.hero {
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2a2a2a;
}

.hero .subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #4a4a4a;
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
}

.hero strong {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 600;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    border: 1px solid #3b3b3b;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-primary {
    background: transparent;
    color: #3b3b3b;
}

.btn-primary:hover {
    background: #202020;
    color: #cfaaaa;
    border-color: #202020;
}

.btn-secondary {
    background: transparent;
    color: #3b3b3b;
}

.btn-secondary:hover {
    background: #515585;
    color: #fff;
    border-color: #515585;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid #929292;
    margin: 40px 0;
}

/* Skills */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 60px;
}

.skill {
    background-color: #515585;
    color: #f0f0f0;
    padding: 10px 16px;
    border-radius: 4px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

/* Section title */
.section-title {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #6a6a6a;
    margin-bottom: 40px;
}

/* Projects */
.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.project-card {
    background-color: #d2cac5;
    padding: 40px;
    flex: 1 1 300px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.project-description {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-meta {
    font-size: 15px;
    font-style: italic;
    color: #5a5a5a;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #6a6a6a;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 800px) {
    .page {
        padding: 40px 25px;
        margin: 0 10px;
        border-left: none;
        border-right: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    #navbar a {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .project-card {
        padding: 30px 25px;
    }
}