/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #2980b9;
    --light: #f8f9fa;
    --dark: #333;
    --text-light: #fff;
    --text-dark: #2c3e50;
    --border-radius: 6px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9f9f9;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== PROFESSIONAL HEADER ===== */
.professional-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.headshot-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.professional-headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.header-text {
    flex-grow: 1;
}

.professional-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 8px 0 20px;
}

/* ===== DROPDOWN NAVIGATION ===== */
.dropdown-nav {
    position: relative;
    display: inline-block;
    z-index: 100;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-nav.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-nav.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: var(--light);
}

/* ===== PROJECTS SECTION ===== */
#projects {
    padding: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
}

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

.project-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-card p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.project-tech {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 15px;
}

/* ===== EXPERIENCE PAGE ===== */
.experience-timeline {
    padding: 60px 0;
}

.experience-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-date {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.experience-highlights {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.highlight {
    flex: 1;
    min-width: 250px;
    background: var(--light);
    padding: 15px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 10px;
    align-items: center;
}

.highlight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.experience-details {
    margin-top: 25px;
}

.experience-details h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.experience-details ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.experience-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.experience-details li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.tech-used {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-used span {
    background: #e8f4fc;
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.professional-footer {
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .headshot-container {
        margin: 0 auto 20px;
    }

    .dropdown-nav {
        display: block;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}
