/* --- 1. SETTINGS & COLORS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: white;
}

.gold-text {
    color: #ffcc00;
}

/* --- 2. NAVIGATION BAR --- */
.navbar {
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 1000;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* --- 3. HERO SECTION (TOP PART) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.greeting {
    color: #ffcc00;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 15px 0;
}

.sub-headline {
    font-size: 1.5rem;
    color: #bbb;
    margin-bottom: 30px;
}

/* --- 4. BUTTONS --- */
.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-gold, .btn-outline {
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    min-width: 160px;
    text-align: center;
    transition: 0.3s;
}

.btn-gold {
    background: #ffcc00;
    color: black;
    border: 2px solid #ffcc00;
}

.btn-outline {
    border: 2px solid #ffcc00;
    color: #ffcc00;
}

.btn-outline:hover {
    background: #ffcc00;
    color: black;
}

/* --- 5. PROFILE IMAGE --- */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 8px solid #ffcc00;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 6. PROJECTS GRID --- */
.section-container {
    padding: 120px 10%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    border-left: 5px solid #ffcc00;
    padding-left: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    transition: 0.3s;
}

.project-card:hover {
    border-color: #ffcc00;
    transform: translateY(-5px);
}

/* --- 7. CONTACT FORM --- */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;

}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.input-group {
    display: flex;
    gap: 20px;
}

.input-group input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    background: #111;
    border: 1px solid #333;
    color: white;
    border-radius: 10px;
    outline: none;
}

.contact-form .btn-gold {
    width: fit-content;
    align-self: center;
}
/* --- 8. MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    /* 1. Fix Hero Section (Stack image on top of text) */
    .hero-container {
        flex-direction: column-reverse; /* Put image on top, text below */
        text-align: center;
        gap: 30px;
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 3rem; /* Smaller font so it fits on phone screens */
    }

    .image-circle {
        width: 280px;  /* Smaller circle for mobile */
        height: 280px;
        margin: 0 auto;
    }

    /* 2. Fix Navbar (Make it simpler for touch) */
    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none; /* Usually, we hide these or make a burger menu, 
                          but for now, this prevents overlapping. */
    }

    /* 3. Center all Section Titles & Content */
    .section-container {
        padding: 80px 5%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    /* 4. Fix Contact Form (Stack Name and Email) */
    .input-group {
        flex-direction: column; /* Stack the inputs vertically */
        gap: 15px;
    }

    /* 5. Fix Buttons */
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn-gold, .btn-outline {
        width: 100%; /* Make buttons full width on mobile */
        max-width: 300px;
    }
}