/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: #222;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00b894;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00b894;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 3px;
    background-color: #fff;
    display: block;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #00b894, #55efc4);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: #ffeaa7;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #ffeaa7;
    color: #2d3436;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #fab1a0;
}
.hero-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 1rem;
    border: 4px solid #ffeaa7;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #00b894;
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.project-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.projects h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #00b894;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: 0.75rem;
    color: #0984e3;
}

.project-card p {
    margin-bottom: 1rem;
    color: #636e72;
}

.btn-small {
    background-color: #0984e3;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: #74b9ff;
}

/* Section Skills */
.skills {
    padding: 4rem 0;
    background-color: #f0f4f8;
}

.skills h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #00b894;
}

.skill-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.skill-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card h3 {
    margin-top: 1rem;
    color: #0984e3;
}

.skill-card p {
    margin-top: 0.5rem;
    color: #636e72;
}

.skill-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #00b894;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3436;
}

input, textarea {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #b2bec3;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #00b894;
    box-shadow: 0 0 5px #00b894;
}

#form-message {
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding: 1rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.social-links a {
    color: #00b894;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: 600;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #222;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        border-radius: 0 0 0 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }

    .social-links {
        margin-top: 1rem;
    }
}
