* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', 'Courier', monospace;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
}

/* ===== Header & Navigation ===== */
header {
  padding: 40px 20px;
  text-align: center;
  border-bottom: 1px solid #333;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

h1 {
  font-size: 3em;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(255, 68, 68, 0.3);
}

h2 {
  color: #ff4444;
  font-size: 2em;
  margin-bottom: 20px;
}

h3 {
  color: #ff4444;
}

.tagline {
  color: #999;
  font-style: italic;
  font-size: 1.1em;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  padding: 20px;
  flex-wrap: wrap;
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}



nav a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 1em;
  transition: all 0.3s;
  padding: 8px 16px;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
}



nav a:hover {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  border-bottom: 2px solid #ff4444;
}

/* ===== Page Sections ===== */
.page {
  display: none;
  min-height: calc(100vh - 200px);
}

.page.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.artwork {
  background: #1a1a1a;
  padding: 20px;
  border: 1px solid #333;
  transition: all 0.3s;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}

.artwork:hover {
  transform: translateY(-5px);
  border-color: #ff4444;
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.2);
}

.artwork-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9em;
  border: 1px dashed #444;
  border-radius: 4px;
  transition: all 0.3s;
}

.artwork-image-img {
  width: 100%;
  height: 300px;
  margin-bottom: 15px;
  display: block;
  border-radius: 4px;
  object-fit: contain;
  background: #0a0a0a;
  padding: 10px;
}

.artwork:hover .artwork-image {
  background: linear-gradient(135deg, #ff4444 0%, #2a2a2a 100%);
  color: #0a0a0a;
}

.artwork p {
  color: #999;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.artwork-meta {
  font-size: 0.85em;
  color: #666;
  border-top: 1px solid #333;
  padding-top: 10px;
  margin-top: 10px;
}

/* ===== About Section ===== */
.about-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: #1a1a1a;
  border-left: 4px solid #ff4444;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.about-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #c0c0c0;
}

.about-content ul {
  margin: 15px 0 15px 20px;
  color: #c0c0c0;
}

.about-content li {
  margin-bottom: 10px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.skill-item {
  background: #0a0a0a;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 4px;
  text-align: center;
}

.skill-item strong {
  color: #ff4444;
  display: block;
  margin-bottom: 10px;
}

/* ===== Contact Section ===== */
.contact-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 30px;
}

.contact-section p {
  color: #c0c0c0;
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.contact-link {
  background: #1a1a1a;
  padding: 20px 30px;
  border: 1px solid #333;
  border-radius: 4px;
  text-decoration: none;
  color: #e0e0e0;
  transition: all 0.3s;
}

.contact-link:hover {
  border-color: #ff4444;
  color: #ff4444;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 68, 68, 0.2);
}

.contact-link strong {
  display: block;
  margin-bottom: 8px;
  color: #ff4444;
}

/* ===== Forms ===== */
form {
  background: #1a1a1a;
  padding: 30px;
  border: 1px solid #333;
  border-radius: 4px;
  margin: 30px auto;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ff4444;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff4444;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  background: #ff4444;
  color: #0a0a0a;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background: #ff6666;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #333;
  color: #666;
  margin-top: 40px;
  background: rgba(26, 26, 26, 0.5);
}

footer p {
  margin: 5px 0;
}

.footer-links {
  margin: 15px 0;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0 15px;
}

.footer-links a:hover {
  color: #ff4444;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  nav {
    gap: 15px;
    padding: 15px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 0.9em;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .about-content {
    margin: 20px;
    padding: 20px;
  }

  .contact-section {
    padding: 20px;
  }

  form {
    padding: 20px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-links {
    gap: 15px;
  }

  .contact-link {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
    letter-spacing: 2px;
  }

  header {
    padding: 20px 10px;
  }

  nav {
    gap: 10px;
    padding: 10px;
  }

  .gallery {
    padding: 10px;
    gap: 10px;
  }

  .artwork-image {
    height: 200px;
  }
}

/* ===== Image Modal ===== */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease-in;
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease-in;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ff4444;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1001;
}

.modal-close:hover {
  color: #ff6666;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .modal-close {
    top: 20px;
    right: 20px;
    font-size: 30px;
  }

  .modal-image {
    max-width: 95%;
    max-height: 85vh;
  }
}
