:root
{
    --cheforange: #ec5614;
    --chefbrown: #342624;
    --silver: #7c7e7c;
}

html
{
    background-color: #000;
    background-image: linear-gradient(rgba(0,0,0,0) 90%, rgb(255,255,255) 100%);
    min-height: 100%;
    font-family: 'Inter', system-ui, sans-serif;
}

body
{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

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

/* Header */
header
{
    padding: 10px;
}

.logo-link
{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img
{
    max-width: max(50px, 7vw);
    height: auto;
}

header h1
{
    font-family: 'Ballet', cursive;
    font-size: max(20pt, 4vw);
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, rgb(0,0,0), rgb(250,250,250));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Navigation */
nav
{
    display: flex;
    justify-content: space-around;
    margin-bottom: 4px;
}

nav > *
{
    flex: 0 0 auto;
    text-align: center;
    border: 1px solid white;
    padding: 5px 16px;
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255)) 1;
}

nav a
{
    text-decoration: none;
    color: white;
}

nav a:hover
{
    background: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255));
    color: #000;
}

/* Hero */
.hero
{
    padding: 80px 20px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h2
{
    font-family: 'Ballet', cursive;
    font-size: max(22pt, 3.5vw);
    background: linear-gradient(180deg, rgb(255,255,255), rgb(140,140,140));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    margin: 0 0 20px 0;
}

.hero p
{
    font-size: 1.1rem;
    color: #bbb;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.cta
{
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn
{
    padding: 12px 28px;
    background: linear-gradient(45deg, rgb(80,80,80), rgb(220,220,220));
    color: #000;
    font-weight: 600;
    display: inline-block;
}

.btn:hover
{
    background: linear-gradient(45deg, rgb(100,100,100), rgb(255,255,255));
    color: #000;
}

.btn-outline
{
    padding: 12px 28px;
    border: 1px solid slategray;
    color: slategray;
    display: inline-block;
}

.btn-outline:hover
{
    border-color: white;
    color: white;
}

/* Services */
.services
{
    padding: 40px 20px;
    border: 2px solid white;
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255)) 1;
    margin: 10px;
    background: #000;
}

.services h2
{
    text-align: center;
    font-size: 1.4rem;
    background: linear-gradient(45deg, rgb(100,100,100), rgb(255,255,255));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    margin: 0 0 28px 0;
}

.services-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card
{
    padding: 16px;
    border: 1px solid #333;
}

.service-card h3
{
    font-size: 1rem;
    color: white;
    margin: 0 0 8px 0;
}

.service-card p
{
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

/* Portfolio */
.project-card
{
    padding: 20px;
    color: white;
    border: 2px solid white;
    margin: 10px;
    background: #000;
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255)) 1;
}

.project-header
{
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.project-header h2
{
    font-size: 1.4rem;
    margin: 0;
    background: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.project-subtitle
{
    font-size: 0.85em;
    opacity: 0.7;
}

.project-links
{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-links a
{
    color: slategray;
    font-size: 0.85rem;
    border: 1px solid #555;
    padding: 2px 10px;
}

.project-links a:hover
{
    color: white;
    border-color: white;
}

.project-desc
{
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.project-screenshots
{
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.screenshot-pair
{
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 6px;
    align-items: start;
}

.screenshot-pair img
{
    width: 100%;
    height: auto;
    display: block;
}

.project-iframe
{
    width: 100%;
    height: calc(100vw / 1.8);
    max-height: 600px;
    border: 2px solid rgb(172,68,7);
    display: block;
    margin-bottom: 12px;
}

.project-date
{
    display: block;
    text-align: right;
    font-size: small;
    color: var(--silver);
}

/* Per-project color schemes */
.chefsteve
{
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(244,137,65)) 1;
}

.chefsteve .project-header h2
{
    background: linear-gradient(45deg, #eb5514, #fff);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.chefsteve2
{
    border-image: linear-gradient(45deg, rgb(50,50,50), #ff3c26) 1;
}

.chefsteve2 .project-header h2
{
    background: linear-gradient(45deg, #ff3c26, #fff);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.cosmicirony
{
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(168,141,224)) 1;
}

.cosmicirony .project-header h2
{
    background: linear-gradient(45deg, #a88de0, #fff);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.hunterbooks
{
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(172,68,7)) 1;
}

.hunterbooks .project-header h2
{
    background: linear-gradient(45deg, rgb(172,68,7), #fff);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

/* About */
.about
{
    padding: 30px;
    color: white;
    border: 2px solid white;
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255)) 1;
    margin: 10px;
    background: #000;
    min-height: 60vh;
}

.about h2
{
    background: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 1.4rem;
    margin: 0 0 24px 0;
}

.about p
{
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    margin: 0 0 16px 0;
    max-width: 680px;
}

/* Contact */
.contact
{
    padding: 30px;
    color: white;
    border: 2px solid white;
    border-image: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255)) 1;
    margin: 10px;
    background: #000;
    min-height: 60vh;
}

.contact h2
{
    background: linear-gradient(45deg, rgb(50,50,50), rgb(255,255,255));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 1.4rem;
    margin: 0 0 12px 0;
}

.contact > p
{
    color: #aaa;
    margin: 0 0 24px 0;
}

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

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

.form-group label
{
    display: block;
    font-size: 0.8rem;
    color: slategray;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea
{
    width: 100%;
    background: #111;
    border: 1px solid #444;
    color: white;
    padding: 10px 12px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus
{
    outline: none;
    border-color: slategray;
}

.form-group button
{
    background: linear-gradient(45deg, rgb(50,50,50), rgb(200,200,200));
    color: #000;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.form-group button:hover
{
    background: linear-gradient(45deg, rgb(80,80,80), rgb(255,255,255));
}

.form-success
{
    background: #0a2a0a;
    border: 1px solid #2a6a2a;
    color: #7ec87e;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.form-error
{
    background: #2a0a0a;
    border: 1px solid #6a2a2a;
    color: #c87e7e;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.contact-social
{
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-social a
{
    color: slategray;
    font-size: 0.9rem;
}

.contact-social a:hover
{
    color: white;
}

/* Footer */
footer
{
    border-top: 1px solid white;
    padding: 20px;
    margin-top: 40px;
    mix-blend-mode: difference;
}

.footer-content
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer span,
footer a
{
    font-size: 0.85rem;
    color: white;
    text-decoration: none;
}

.footer-links
{
    display: flex;
    gap: 16px;
}
