/* css/style.css */

/* ===== Base ===== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* ===== Header & Navbar ===== */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Logo block with avatar + text */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #008080; /* Teal */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

/* ===== Layout ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #ff7f50; /* Warm orange */
    color: #fff;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.primary {
    background-color: #008080;
    color: #fff;
}

.secondary {
    background-color: #fff;
    color: #008080;
    border: 2px solid #008080;
}

.small {
    font-size: 0.875rem;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 2rem 1rem;
}

.how-it-works h2 {
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step {
    text-align: center;
}

.icon {
    font-size: 2rem;
    color: #ff7f50;
}

/* ===== Examples / Why / CTA ===== */
.examples h2,
.why h2,
.cta h2 {
    text-align: center;
}

.job-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.job-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price {
    font-weight: 600;
    color: #008080;
}

.why ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.why li {
    margin: 0.5rem 0;
}

.cta {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f0f0f0;
}

/* ===== Browse Jobs / Filters ===== */
.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-bar input,
.filter-bar select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.job-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.job-card h3 {
    margin-top: 0;
}

.tag {
    background-color: #008080;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.interested-btn {
    background-color: #ff7f50;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

/* ===== Forms (Post Job / Contact) ===== */
.post-job form,
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.post-job input,
.post-job textarea,
.post-job select,
.contact input,
.contact textarea,
.contact select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.post-job textarea,
.contact textarea {
    height: 100px;
}

.how-section {
    margin-bottom: 2rem;
}

/* ===== About / Founder ===== */
.about .founder {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #ccc; /* Placeholder */
    flex-shrink: 0;
}

/* ===== Footer ===== */
footer {
    background-color: #fff;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: #333;
}

.social i {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    color: #008080;
}

/* ===== Modal (demo) ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* ===== Hover states ===== */
.btn:hover,
.interested-btn:hover {
    opacity: 0.9;
}

/* ===== Responsive tweaks ===== */
@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .job-list {
        grid-template-columns: repeat(3, 1fr);
    }
}