/* InternPortal.net — Homepage (adapted from CVtoWebsite/css/home.css) */

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

:root {
    --white:   #ffffff;
    --surface: #f8fafc;
    --border:  #e2e8f0;
    --text:    #0f172a;
    --muted:   #64748b;
    --accent:  #2563eb;
    --nav-h:   64px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--white);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav {
    position: sticky;
    top: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-logo {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.15rem;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
}

.nav-cta {
    background: var(--text) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    margin-left: 8px;
    font-weight: 600 !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    padding: 7px 10px;
}

.nav-drawer { display: none; position: fixed; inset: 0; z-index: 200; }
.nav-drawer.open { display: block; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }

.drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 82vw);
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer-brand { font-family: "DM Serif Display", Georgia, serif; }
.drawer-close { background: none; border: none; cursor: pointer; }

.drawer-panel a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.drawer-cta {
    margin-top: 12px;
    background: var(--text) !important;
    color: var(--white) !important;
    text-align: center;
    font-weight: 600 !important;
}

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.hero-inner { max-width: 640px; text-align: center; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero-title {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.65;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.975rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

.btn-primary { background: var(--text); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn-primary:hover, .btn-secondary:hover { opacity: 0.85; }

.footer {
    border-top: 1px solid var(--border);
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; }

@media (max-width: 768px) {
    .nav { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 48px 16px; }
    .footer { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
}
