/* --- CSS VARIABLES --- */
:root {
    --primary-color: #005f73; 
    --secondary-color: #94d2bd; 
    --accent-color: #ee9b00; 
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- NAVIGATION --- */
nav {
    background-color: var(--bg-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
header {
    background: linear-gradient(rgba(0, 95, 115, 0.85), rgba(0, 95, 115, 0.85)), 
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #ca8200;
    transform: translateY(-2px);
}

/* --- SECTIONS --- */
section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.profile-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 1.2rem;
}

/* --- CARDS & TIMELINE --- */
.card {
    background: var(--bg-off-white);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card h3 { margin-bottom: 0.3rem; }

.date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.card ul {
    list-style: disc;
    margin-left: 1.2rem;
    margin-top: 0.8rem;
}

/* --- SKILLS --- */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.skill-tag {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- CONTACT & FOOTER --- */
.contact-container {
    text-align: center;
    background: var(--bg-off-white);
    padding: 3rem;
    border-radius: 12px;
}

.contact-info { margin: 2rem 0; }

footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2.5rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}