/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", Arial, sans-serif;
}

:root {
    --bg: #f7f7fa;
    --text: #1a1a1a;
    --subtle: #6c6c6c;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --card: #ffffff;
}

/* MAIN LAYOUT WRAPPER */
.container {
    width: min(1100px, 90%);
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: #ffffffd9;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.nav-left .logo {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 4px;
    transition: 0.2s;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--accent-hover);
    border-bottom: 2px solid var(--accent);
}

.nav-links a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 120px 0;
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero span {
    color: #dce3ff;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SECTIONS */
.section {
    padding: 70px 0;
    background: var(--bg);
}

.centered-text {
    text-align: center;
    margin-bottom: 40px;
}

.centered-text h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    background: var(--accent);
    color: white;
    transition: 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    transition: 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 8px;
}

.project-info p {
    margin-bottom: 15px;
    color: var(--subtle);
}

/* FOOTER */
footer {
    background: white;
    border-top: 1px solid #e5e5e5;
    padding: 20px;
    text-align: center;
    color: var(--subtle);
    margin-top: 40px;
}
