/* ===== ULTRA-COMPACT PROFESSIONAL PORTFOLIO ===== */
:root {
    --white: #ffffff;
    --gray-1: #f5f5f7;
    --gray-2: #e5e5e7;
    --gray-3: #86868b;
    --gray-6: #1d1d1f;
    --black: #000000;
    --blue: #0071e3;
    --blue-hover: #0077ED;
    --max-width: 980px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--gray-6);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== TIGHT CONTAINER ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== MINIMAL TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 24px;
    margin-bottom: 1em;
}

h3 {
    font-size: 18px;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 16px;
    margin-bottom: 0.4em;
    font-weight: 600;
}

p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0.8em;
    color: var(--gray-3);
}

a {
    text-decoration: none;
    color: var(--blue);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--blue-hover);
}

/* ===== MINIMAL NAVIGATION ===== */
header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-1);
    height: 60px;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-6);
    padding: 0 4px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

.nav-links a.active {
    color: var(--black);
    font-weight: 500;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    height: 2px;
    background-color: var(--black);
}

/* ===== MAIN CONTENT - EXTREMELY COMPACT ===== */
main {
    flex: 1;
    margin-top: 60px;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

/* ===== HOME PAGE - ULTRA MINIMAL ===== */
.home-hero {
    padding: 100px 0 50px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    animation: fadeUp 0.6s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-3);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-6);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* UFV Branding Styles */
.ufv-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #00543C 0%, #1e6b4c 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,84,60,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.ufv-badge i {
    color: #FFD700;
    font-size: 1rem;
}

.ufv-full {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 5px;
}

/* Alternative UFV Logo Style (if you want just text) */
.ufv-text-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 40px;
    border-left: 4px solid #00543C;
}

.ufv-text-logo strong {
    color: #00543C;
    font-size: 1.1rem;
}

/* Co-op badge */
.coop-badge {
    display: inline-flex;
    align-items: center;
    background: #f0f4f8;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: #1e293b;
    gap: 8px;
    border: 1px solid #e2e8f0;
}

/* For the hero section alignment */
.ufv-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0 10px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 24px;
}

.skill-tag {
    font-size: 13px;
    padding: 6px 14px;
    background-color: var(--gray-1);
    border-radius: 100px;
    color: var(--gray-6);
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background-color: var(--gray-2);
    transform: translateY(-1px);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

/* ===== MINIMAL BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 100px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    background-color: var(--blue);
    color: var(--white);
    text-decoration: none;
    height: 40px;
    min-width: 120px;
}

.btn:hover {
    background-color: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gray-2);
    color: var(--gray-6);
}

.btn-outline:hover {
    background-color: var(--gray-1);
    border-color: var(--gray-3);
    color: var(--black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== COMPACT SECTIONS ===== */
.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-1);
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

/* ===== MINIMAL PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.project-card {
    cursor: default;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--gray-1);
    background: var(--white);
    padding: 20px;
}

.project-card:hover {
    transform: translateY(-2px);
    border-color: var(--gray-2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.project-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-3);
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 11px;
    padding: 3px 8px;
    background-color: var(--gray-1);
    border-radius: 4px;
    color: var(--gray-3);
    font-weight: 500;
}

/* ===== MINIMAL CERTIFICATIONS ===== */
.certifications-list {
    margin-top: 24px;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-1);
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-icon {
    font-size: 16px;
    margin-right: 16px;
    color: var(--gray-3);
    margin-top: 2px;
    min-width: 20px;
}

.cert-content {
    flex: 1;
}

.cert-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cert-date {
    font-size: 12px;
    color: var(--gray-3);
    margin-bottom: 4px;
}

/* ===== MINIMAL CONTACT ===== */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 24px;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-3);
    flex-shrink: 0;
}

.contact-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: var(--gray-6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-2);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* ===== MINIMAL FOOTER ===== */
footer {
    padding: 24px 0;
    text-align: center;
    border-top: 1px solid var(--gray-1);
    background: var(--white);
    margin-top: auto;
}

.footer-text {
    font-size: 12px;
    color: var(--gray-3);
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-3);
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--gray-2);
    color: var(--gray-6);
    transform: translateY(-1px);
}

.copyright {
    font-size: 11px;
    color: var(--gray-3);
    letter-spacing: 0.02em;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-6);
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-1);
    padding: 16px 24px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 12px;
}

.mobile-nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    color: var(--gray-6);
    border-bottom: 1px solid var(--gray-1);
    font-weight: 400;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--black);
    font-weight: 500;
}

.mobile-nav-links a.active {
    color: var(--blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    /* Mobile Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Layout Adjustments */
    .home-hero {
        padding: 60px 0 40px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .home-hero {
        padding: 48px 0 32px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .skills-list {
        gap: 6px;
    }
    
    .skill-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.ml-2 { margin-left: 8px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ===== VISUAL POLISH ===== */
.hover-lift {
    transition: transform 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Smooth scrolling offset for fixed header */
html {
    scroll-padding-top: 70px;
}