/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --background-color: #121212;
    --text-color: #ffffff;
    --accent-color: #E85D04;
    --secondary-color: #1f1f1f;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(18, 18, 18, 0.95);
        width: 100%;
        padding: 10px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .toggle {
        display: block;
        font-size: 28px;
        color: var(--text-color);
        background: none;
        border: none;
        cursor: pointer;
    }

    .logo-text {
        font-size: 20px;
    }
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    transition: transform 0.3s ease-in-out;
}

.profile-img:hover {
    transform: scale(1.1);
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.section {
    padding: 120px 5%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.project-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.project-card {
    background: transparent; /* remove grey box */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    padding: 15px;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}


.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-content {
    padding: 16px;
}

.project-content h3 {
    margin: 10px 0;
    font-size: 1.4rem;
    color: var(--accent-color);
}

.project-content p {
    font-size: 1rem;
    color: var(--text-color);
}

.project-icon {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--background-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

#contact a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#contact a:hover {
    color: #ff7700;
    text-decoration: underline;
}

#projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
/* Mobile Menu Button Styling */
.menu-toggle {
    display: none; /* Hidden by default */
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
  }
  
  
  .menu-toggle:hover {
    background-color: #ff7700;
  }
  
  /* Mobile Responsive */
  @media screen and (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background: #1f1f1f;
      width: 100%;
      padding: 20px 0;
      z-index: 999;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .menu-toggle {
      display: flex;
    }
  }
  
