
:root {
    --bg-color: #1e1e1e;
    --card-bg-color: #252526;
    --text-color: #a8d8ff;
    --heading-color: #569cd6;
    --link-color: #3794ff;
    --alt-color: #32CD32;
    --border-radius: 10px;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --font-family: 'Segoe UI', Consolas, monospace;
}

@media (max-width: 1024px) {
    .project-grid {
    grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .project-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .project-grid {
    grid-template-columns: 1fr;
    }
}

a {
  text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--heading-color);
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--alt-color);
}  

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    background-color: var(--btn-bg);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.btn:hover {
    background-color: var(--btn-hover);
    color: #ffffff;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #151515;
    border-top: 1px solid #333;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: #4fc3f7;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    color: var(--heading-color);
    margin-bottom: 2rem;
}
h2 {
    text-align: center;
    color: var(--alt-color);
    margin-bottom: 2rem;
}

.homepage-logo {
  display: block;
  margin: 40px auto;      /* centers the logo horizontally */
  width: 150px;           /* adjust size as needed */
  height: auto;
  transition: transform 0.3s ease;
}

.homepage-logo:hover {
  transform: scale(1.05); /* subtle hover effect */
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}


.project-card {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.project-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}
.project-image2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #333;
}
.project-content {
    padding: 1rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #cccccc;
}

.project-links a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.2s;
}

.project-links a:hover {
    color: #4fc3f7;
}

.resume-section {
    background-color: #151515;
    padding: 2rem 0;
    color: var(--text-color);
    border-top: 1px solid #333;
}

.resume-section h2 {
    color: var(--alt-color);
    margin-bottom: 1rem;
}

.resume-section h1 {
    text-align: center;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.resume-download {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

.resume-download:hover {
    color: #4fc3f7;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}


.resume-item ul {
    list-style: none;
    padding: 0;
}

.resume-item li {
    margin-bottom: 1rem;
    line-height: 1.5;
}
.topnav {
    background-color: #151515;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #61dafb;
    text-decoration: none;
}

.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #d4d4d4;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #61dafb;
  font-size: 1.4rem;
  font-weight: bold;
}

.nav-logo img {
  height: 32px;            /* Adjust logo size */
  width: auto;
  margin-right: 0.5rem;    /* Spacing between logo and text */
  vertical-align: middle;
}


/* Responsive (optional) */
@media (max-width: 600px) {
    .nav-links {
    display: none; /* Replace with dropdown/hamburger for mobile if needed */
    }
}

.request-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
    color: var(--text-color);
}

.request-page h1 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}
.request-page h2 {
    font-size: 2rem;
    color: var(--alt-color);
    margin-bottom: 1rem;
}

.request-page p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Reuse existing .btn class and optionally customize */
.return-btn {
    background-color: var(--btn-bg);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.return-btn:hover {
    background-color: var(--btn-hover);
    color: #fff;
}
.contact-page {
    padding: 4rem 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-page h1 {
    color: var(--heading-color);
    margin-bottom: 2rem;
}
.contact-page h2 {
    color: var(--alt-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    background-color: #2d2d2d;
    border: 1px solid #444;
    color: var(--text-color);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form .btn {
    align-self: center;
}

.project-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center; 
    text-align: center;
  }

.project-page h1 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.project-subtitle {
  color: #aaa;
  margin-bottom: 2rem;
}


.project-description h2,
.project-description h3 {
  color: var(--accent-color);
  margin-top: 1.5rem;
}

.tech-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center; 
    margin-top: 1rem;
}
  

.tech-list li {
  background: #333;
  padding: 0.4rem 0.75rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

.project-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}
.pyscript-section {
    background-color: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    margin-top: 2rem;
    text-align: center;
}

.pyscript-section input,
.pyscript-section button {
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

.pyscript-section input {
    width: 150px;
}

.pyscript-section button {
    background-color: #007acc;
    color: white;
    cursor: pointer;
}

.pyscript-section button:hover {
    background-color: #005fa3;
}

@media (min-width: 768px) {
  .project-content {
    flex-direction: row;
  }

  .project-image {
    flex: 1;
  }

  .project-description {
    flex: 1;
  }
}
