/* Dark Theme CSS */
:root {
  --primary-color: #4A90E2;       /* Soft blue for highlights */
  --secondary-color: #E0E0E0;     /* Light text color */
  --accent-color: #FF6F61;        /* Warm accent color */
  --background-color: #121212;    /* Dark background */
  --header-bg: #1E1E1E;           /* Darker header and section backgrounds */
  --font-family: 'Roboto', sans-serif;
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--secondary-color);
}

/* Navigation */
header {
  background-color: var(--header-bg);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
pre.code-block {
  font-family: 'Consolas', 'Courier New', monospace;
  color:#FFF;
  font-size:13px;
  white-space: pre;       /* preserves whitespace, including tabs */
  tab-size: 4;            /* sets tab width to 4 spaces */
  background-color: #353535 !important; /* force background color */
  padding: 10px;
  border-radius: 4px;
  overflow-x: auto;
  border: 1px solid #ccc !important; /* adds a light gray border */
}



nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--secondary-color);
  padding: 8px 12px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: var(--primary-color);
  color: #121212;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  /* Use a dark-themed hero image or a gradient if preferred */
  background: url('img/hero-background-dark.jpg') no-repeat center center/cover;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

.cta {
  background-color: var(--primary-color);
  padding: 10px 20px;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: var(--accent-color);
}

/* About Section */
.about {
  padding: 60px 20px;
  background-color: var(--header-bg);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.about-content img {
  width: 200px;
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}

.about-text {
  max-width: 600px;
}

/* Portfolio Section */
.portfolio {
  padding: 60px 20px;
}

.portfolio h2 {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 40px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.project-card {
  background-color: var(--header-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
  transform-origin: center;  /* Ensures the zoom effect is centered */
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  display: block;
}

.project-card h3 {
  padding: 15px;
  font-size: 1.2em;
  color: var(--primary-color);
}

.project-card p {
  padding: 0 15px 15px;
  color: var(--secondary-color);
}

.project-link {
  display: block;
  padding: 10px 15px;
  background-color: var(--primary-color);
  text-decoration: none;
  color: #fff;
  text-align: center;
  transition: background-color 0.3s;
}

.project-link:hover {
  background-color: var(--accent-color);
}

/* Contact Section */
.contact {
  padding: 60px 20px;
  background-color: var(--header-bg);
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: var(--background-color);
  color: var(--secondary-color);
}

.contact button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact button:hover {
  background-color: var(--accent-color);
}

    .zoom-on-hover {
      transition: transform 0.3s ease;
      cursor: zoom-in;
    }

    .zoom-on-hover:hover {
      transform: scale(2);
      z-index: 10;
      position: relative;
    } 
	
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: var(--header-bg);
  border-top: 1px solid #333;
  font-size: 0.9em;
}
<style>
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }
  .photo-grid img {
    width: 200px;
    height: auto;
    border-radius: 4px;
  }
</style>

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
}
