/* styles.css - Responsive Portfolio for doqa.io */

:root {
    --primary:rgb(231, 97, 97);
    --background: #f5e9dc;
    --text: #222;
    --accent: #ffb300;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.navbar {
    background: #f5e9dc;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}
.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--primary);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.hero {
    background-color: var(--primary);
    /*background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);*/
    color: #fff;
    padding: 4rem 0 2rem 0;
    text-align: center;
}
.hero h1 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
}
.hero p {
    font-size: 1.2rem;
}

.projects-section {
    padding: 3rem 0;
}
.projects-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s;
}
.project-card:hover {
    box-shadow: 0 4px 16px rgba(26,115,232,0.12);
}
.project-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.project-desc {
    flex: 1;
    margin-bottom: 1rem;
}
.project-links {
    display: flex;
    gap: 1rem;
}
.project-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border 0.2s;
}
.project-links a:hover {
    border-bottom: 1px solid var(--primary);
}

.about-section, .contact-section {
    padding: 2rem 0;
    background: #f5e9dc;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.about-section h2, .contact-section h2 {
    margin-top: 0;
}

.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 700px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        display: none;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}
