/* tfox.me - Main Stylesheet */
/* Color Palette:
   - Background Tan: #F5EBE0
   - Burnt Orange: #C85A3C
   - Accent Green: #4A7C59
   - Dark Text: #2C3E50
   - Light Text/Borders: #BDC3C7
   - White/Off-white: #FDFCFB
*/

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

body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: #2C3E50;
    background: #F5EBE0;
}

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

/* Header & Navigation */
header {
    background: #FDFCFB;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    border-bottom: 2px solid #BDC3C7;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #C85A3C;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-links a {
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4A7C59;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    color: #C85A3C;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: #4A7C59;
    margin-bottom: 2rem;
    font-weight: 500;
}

.intro {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #2C3E50;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background: #C85A3C;
    color: #FDFCFB;
}

.btn-primary:hover {
    background: #4A7C59;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #C85A3C;
    color: #FDFCFB;
}

.btn-secondary:hover {
    background: #4A7C59;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Sections */
.about, .projects {
    background: #FDFCFB;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #BDC3C7;
}

.about h1, .projects h1 {
    color: #C85A3C;
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-disclaimer {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.skill-category {
    background: #F5EBE0;
    border-radius: 8px;
    padding: 1.25rem;
    border-left: 4px solid #C85A3C;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.skill-category:hover {
    border-left-color: #4A7C59;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.skill-category-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C85A3C;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.skill-category:hover .skill-category-label {
    color: #4A7C59;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #FDFCFB;
    color: #2C3E50;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #BDC3C7;
    transition: all 0.2s;
}

.skill-tag:hover {
    border-color: #4A7C59;
    color: #4A7C59;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(74, 124, 89, 0.15);
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #FDFCFB;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid #BDC3C7;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
    border-color: #C85A3C;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #C85A3C 0%, #4A7C59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.project-content {
    padding: 1.5rem;
}

.project-card h3 {
    color: #C85A3C;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-card .tech-stack {
    color: #4A7C59;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card p {
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.project-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #C85A3C;
    color: #FDFCFB;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.project-link:hover {
    background: #4A7C59;
    transform: translateY(-2px);
}

.project-link.secondary {
    background: transparent;
    border: 2px solid #4A7C59;
    color: #4A7C59;
}

.project-link.secondary:hover {
    background: #4A7C59;
    color: #FDFCFB;
}

/* Footer */
footer {
    background: #2C3E50;
    color: #FDFCFB;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 3px solid #C85A3C;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        text-align: center;
    }

    .about, .projects {
        padding: 1.5rem;
        font-size: 0.9rem;
    }

    .about h1, .projects h1 {
        font-size: 1.4rem;
    }

    .about h2 {
        font-size: 1.1rem;
    }

    .about p {
        font-size: 0.85rem;
    }

    .skills-disclaimer {
        font-size: 0.8rem;
    }

    .skill-category {
        padding: 1rem;
    }

    .skill-category-label {
        font-size: 0.7rem;
    }

    .skill-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}
