/* Global Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: linear-gradient(135deg, #1d1d1d, #111);
}

.hero-content {
    text-align: center;
    animation: fadeIn 1.2s ease;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero h1 span {
    color: #00d9ff;
}

.hero p {
    color: #ccc;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #00d9ff;
    color: #000;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* Projects */
.projects {
    padding: 100px 60px;
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtext {
    color: #aaa;
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1b1b1b;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

/* About */
.about {
    padding: 100px 60px;
    text-align: center;
}

.about p {
    max-width: 600px;
    margin: auto;
    color: #ccc;
}

/* Contact */
.contact {
    padding: 100px 60px;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    width: 350px;
    margin: 20px auto 0;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
}

.contact textarea {
    height: 120px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #777;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
