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

body {
    font-family: 'Georgia', serif;
    background-color: #fdf6f0;
    color: #3a3a3a;
}

nav {
    background-color: #c4768d;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

nav .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
    opacity: 0.75;
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
}

.hero {
    background: linear-gradient(135deg, #e8a0b4 0%, #c4768d 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.container {
    max-width: 860px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #c4768d;
}

.card h2 {
    color: #c4768d;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p, .card li {
    line-height: 1.8;
    font-size: 1rem;
}

.card ul {
    padding-left: 1.2rem;
}

.entry {
    margin-bottom: 1.5rem;
}

.entry:last-child {
    margin-bottom: 0;
}

.entry h3 {
    font-size: 1.1rem;
    color: #3a3a3a;
}

.entry .meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.4rem;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.entry-meta-right {
    text-align: right;
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.degree {
    font-style: italic;
    color: #c4768d;
    font-size: 0.95rem;
    margin-top: 0.15rem;
}

.deal-section {
    font-size: 0.85rem;
    font-style: italic;
    text-decoration: underline;
    color: #555;
    margin: 0.8rem 0 0.4rem;
}

.page-title {
    font-size: 2rem;
    color: #c4768d;
    margin-bottom: 2rem;
    text-align: center;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #aaa;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
    margin-top: 3rem;
}

/* Landing page */
.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    gap: 1.5rem;
}

.landing-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 4px solid #c4768d;
}

.landing-name {
    font-size: 2.8rem;
    color: #3a3a3a;
    letter-spacing: 1px;
}

.landing-tagline {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 0.5px;
}

/* LinkedIn link */
.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0a66c2;
    font-weight: bold;
    text-decoration: none;
}

.linkedin-link::before {
    content: "in";
    display: inline-block;
    background: #0a66c2;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 3px;
}

.linkedin-link:hover {
    text-decoration: underline;
}

/* Resume request form */
.resume-form {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
}

.form-group input {
    padding: 0.6rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #c4768d;
}

.form-group textarea {
    padding: 0.6rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
}

.form-group textarea:focus {
    border-color: #c4768d;
}

.optional {
    font-weight: normal;
    color: #aaa;
    font-size: 0.85rem;
}

.char-count {
    font-size: 0.8rem;
    color: #aaa;
    text-align: right;
}

.btn-send {
    align-self: flex-start;
    background-color: #c4768d;
    color: #fff;
    border: none;
    padding: 0.65rem 1.8rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-send:hover {
    background-color: #ad5f77;
}

/* Flash messages */
.flash {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    margin-top: 0.8rem;
    font-size: 0.95rem;
}

.flash-success {
    background-color: #e6f4ea;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.flash-error {
    background-color: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
