/* Design System - CSS Variables */
:root {
  --background: 30 15% 97%;
  --foreground: 20 10% 12%;

  --card: 0 0% 100%;
  --card-foreground: 20 10% 12%;

  --popover: 0 0% 100%;
  --popover-foreground: 20 10% 12%;

  --primary: 20 10% 12%;
  --primary-foreground: 30 15% 97%;

  --secondary: 28 85% 60%;
  --secondary-foreground: 20 10% 12%;

  --muted: 30 10% 90%;
  --muted-foreground: 20 8% 45%;

  --accent: 28 85% 60%;
  --accent-foreground: 20 10% 12%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 30 15% 97%;

  --border: 30 10% 88%;
  --input: 30 10% 88%;
  --ring: 28 85% 60%;

  --radius: 0.75rem;

  /* Custom design tokens */
  --gradient-warm: linear-gradient(135deg, hsl(28 85% 60%), hsl(18 80% 55%));
  --gradient-subtle: linear-gradient(180deg, hsl(30 15% 97%), hsl(30 12% 93%));
  --shadow-soft: 0 4px 20px -4px hsl(20 10% 12% / 0.1);
  --shadow-strong: 0 10px 40px -10px hsl(20 10% 12% / 0.2);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --background: 20 10% 12%;
  --foreground: 30 15% 97%;

  --card: 20 12% 15%;
  --card-foreground: 30 15% 97%;

  --popover: 20 12% 15%;
  --popover-foreground: 30 15% 97%;

  --primary: 30 15% 97%;
  --primary-foreground: 20 10% 12%;

  --secondary: 28 85% 60%;
  --secondary-foreground: 20 10% 12%;

  --muted: 20 8% 25%;
  --muted-foreground: 30 8% 65%;

  --accent: 28 85% 60%;
  --accent-foreground: 20 10% 12%;

  --destructive: 0 62.8% 50%;
  --destructive-foreground: 30 15% 97%;

  --border: 20 8% 25%;
  --input: 20 8% 25%;
  --ring: 28 85% 60%;

  --shadow-soft: 0 4px 20px -4px hsl(0 0% 0% / 0.3);
  --shadow-strong: 0 10px 40px -10px hsl(0 0% 0% / 0.5);
}

/* Base Styles */
* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.6;
}

/* Utility Classes */
.text-accent {
  color: hsl(var(--accent));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.gradient-warm {
  background: var(--gradient-warm);
}

.gradient-subtle {
  background: var(--gradient-subtle);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-strong {
  box-shadow: var(--shadow-strong);
}

.transition-smooth {
  transition: var(--transition-smooth);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.nav.scrolled {
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}

.nav-logo:hover {
  color: hsl(var(--accent));
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: hsl(var(--accent));
}

/* Mobile Menu Toggle Button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
  position: relative;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle-icon {
  width: 28px;
  height: 2px;
  background-color: hsl(var(--foreground));
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: hsl(var(--foreground) / 0.5);
  z-index: 54;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background-color: hsl(var(--background));
    backdrop-filter: blur(16px);
    box-shadow: -4px 0 20px -4px hsl(var(--foreground) / 0.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 55;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
    transition: var(--transition-smooth);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover,
  .nav-link:focus {
    color: hsl(var(--accent));
    padding-left: 0.5rem;
  }
}


/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.hero-container {
  max-width: 896px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
  }
}

.hero-image-wrapper {
  flex-shrink: 0;
  position: relative;
}

.hero-image-blur {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--accent) / 0.2);
  border-radius: 9999px;
  filter: blur(32px);
}

.hero-image {
  position: relative;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 4px solid hsl(var(--accent) / 0.2);
  box-shadow: var(--shadow-strong);
}

@media (min-width: 768px) {
  .hero-image {
    width: 12rem;
    height: 12rem;
  }
}

.hero-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.hero-badge {
  margin-bottom: 1rem;
  display: inline-block;
}

.badge-text {
  padding: 0.375rem 0.75rem;
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-subdescription {
  font-size: 1rem;
  color: hsl(var(--muted-foreground) / 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-scroll {
  margin-top: 5rem;
  animation: bounce 2s infinite;
}

.scroll-icon {
  display: block;
  margin: 0 auto;
  color: hsl(var(--muted-foreground));
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  border-radius: calc(var(--radius) - 2px);
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: hsl(var(--accent) / 0.9);
  box-shadow: var(--shadow-strong);
}

.btn-outline {
  border: 2px solid hsl(var(--input));
  background-color: transparent;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: hsl(var(--accent));
}

.btn-ghost {
  background-color: transparent;
}

.btn-ghost:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Skills Section */
.skills {
  padding: 3rem 1.5rem;
}

.skills-container {
  max-width: 1152px;
  margin: 0 auto;
}

.skills-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid hsl(var(--border));
}

.skill-card:hover {
  box-shadow: var(--shadow-strong);
}

.skill-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon {
  transform: scale(1.1);
}

.skill-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.skill-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.skills-cta {
  margin-top: 2.5rem;
  background: var(--gradient-warm);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-strong);
}

@media (min-width: 768px) {
  .skills-cta {
    padding: 2rem;
  }
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--accent-foreground));
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 1.5rem;
  }
}

.cta-description {
  font-size: 1rem;
  color: hsl(var(--accent-foreground) / 0.9);
  max-width: 48rem;
  margin: 0 auto;
}

/* Projects Section */
.projects {
  padding: 3rem 1.5rem;
  background-color: hsl(var(--muted) / 0.3);
}

.projects-container {
  max-width: 1152px;
  margin: 0 auto;
}

.projects-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.projects-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background-color: hsl(var(--card));
  border-radius: calc(var(--radius));
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid hsl(var(--border));
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card:hover {
  box-shadow: var(--shadow-strong);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.9), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  font-size: 0.875rem;
  color: hsl(var(--accent));
  font-weight: 500;
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.project-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.projects-footer {
  margin-top: 3rem;
  text-align: center;
}

.projects-footer-text {
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 3rem 1.5rem;
}

.contact-container {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.contact-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.contact-subdescription {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground) / 0.8);
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .contact-buttons {
    flex-direction: row;
  }
}

.contact-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-link {
  color: hsl(var(--muted-foreground));
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link:hover {
  color: hsl(var(--accent));
}

/* Footer */
.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

.footer-container {
  max-width: 1152px;
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground) / 0.6);
}

/* About Page Styles */
.about-main {
  padding-top: 6rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.about-container {
  max-width: 896px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 3.75rem;
  }
}

.about-intro {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

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

.about-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-strong);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
}

.about-text p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.facts-section {
  margin-bottom: 4rem;
}

.facts-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.facts-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fact-card {
  background-color: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  transition: var(--transition-smooth);
}

.fact-card:hover {
  border-color: hsl(var(--accent) / 0.5);
}

.fact-icon {
  color: hsl(var(--accent));
  margin-bottom: 1rem;
  width: 32px;
  height: 32px;
}

.fact-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.fact-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.tools-section {
  margin-bottom: 4rem;
}

.tools-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.tools-grid {
  display: grid;
  gap: 2rem;
}

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

.tool-card {
  background-color: hsl(var(--card));
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
}

.tool-icon {
  color: hsl(var(--accent));
  margin-bottom: 1rem;
  width: 40px;
  height: 40px;
}

.tool-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.tool-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.about-cta {
  text-align: center;
  background-color: hsl(var(--card));
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
}

.cta-icon {
  color: hsl(var(--accent));
  margin: 0 auto 1rem;
  width: 48px;
  height: 48px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Project Detail Page Styles */
.project-main {
  padding-top: 6rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.project-detail-container {
  max-width: 896px;
  margin: 0 auto;
}

.project-back {
  margin-bottom: 2rem;
  display: inline-block;
  text-decoration: none;
}

.project-header {
  margin-bottom: 1.5rem;
}

.project-category-label {
  font-size: 0.75rem;
  color: hsl(var(--accent));
  font-weight: 500;
}

.project-detail-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .project-detail-title {
    font-size: 2.25rem;
  }
}

.project-detail-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-strong);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-content-section {
  margin-top: 3rem;
}

.project-content-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-content-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-content-section p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.project-content-section .project-content-section p {
  font-size: 0.875rem;
}

.project-meta {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

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

.meta-section h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: hsl(var(--muted-foreground));
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 1280px;
  width: 100%;
  background-color: hsl(var(--background));
  border-radius: 0.5rem;
  padding: 0;
  border: none;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 50;
  border-radius: 0.125rem;
  opacity: 0.7;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(4px);
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  color: hsl(var(--foreground));
}

.modal-close:hover {
  opacity: 1;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

/* 404 Page */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
}

.not-found-content {
  text-align: center;
}

.not-found h1 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.not-found p {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #4b5563;
}

.not-found a {
  color: #3b82f6;
  text-decoration: underline;
}

.not-found a:hover {
  color: #1d4ed8;
}

