@font-face {
  font-family: "Title";
  src: url("./fonts/CreatoDisplay-MediumItalic.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("./fonts/Raleway-Bold.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "mono";
  src: url("./fonts/GeistMono-Light.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "content";
  src: url("./fonts/WorkSans-Regular.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "goth";
  src: url("./fonts/TheQualityBrave-Regular.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

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

::-webkit-scrollbar {
  width: 8px; /* width of the entire scrollbar */
}
::-webkit-scrollbar-thumb {
  background-color: #dc0000; /* color of the scroll thumb */
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

*:focus {
  outline: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

body {
  line-height: 1.2;
  font-weight: 300;
  font-family: "content";
}

/* Custom Cursor */

.goth {
  font-family: goth;
}
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #dc0000;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s ease;
}

.cursor.hover {
  transform: scale(8);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ff0000;
}

/* Loader Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-text {
  color: #000;
  font-size: clamp(1rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 0.8;
  text-align: center;
  overflow: hidden;
}

.loader-line {
  overflow: hidden;
}

.loader-word {
  display: inline-block;
  transform: translateY(100%);
  font-family: "Raleway";
}

.loader-subtitle {
  color: #666;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 3rem;
  transform: translateY(50px);
  opacity: 0;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: "mono", monospace;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 3rem 2rem;
  opacity: 0;
}

.logo {
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: "mono";
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  z-index: 100;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-icon {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, #fff, transparent);
  position: relative;
}

.scroll-icon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 6px solid #fff;
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: #fff;
  font-family: "mono";
}

/* Main Container */

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

.canvas-container {
  height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.hero-content {
  text-align: center;
  max-width: 1400px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.hero-title {
  font-size: clamp(1rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.85;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  font-family: "Title", sans-serif;
}

.title-line {
  overflow: hidden;
  display: block;
}

.title-word {
  display: inline-block;
  transform: translateY(100%);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: #999;
  margin-bottom: 6rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 1px;
  opacity: 0;
  font-family: "mono";
}

.hero-role {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: #666;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0;
  font-family: "mono", monospace;
}

/* About Section */

.section {
  min-height: 100vh;
  padding: 8rem 8rem;
  align-items: center;
  background: #000;
  border-top: 1px solid #222;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.section-title {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 400;
  color: #666;
  text-transform: uppercase;
  font-family: mono;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 2px;
}

.section-description {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #c0c0c0;
  line-height: 1.6;
  opacity: 0;
  font-weight: 300;
  font-family: "content";
  text-align: justify;
  max-width: 800px;
  z-index: 10;
}

/* tech skills */

/* Minimalist Modern Tech Skills Section */
.specialist-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 8rem;
  margin-bottom: 4rem;
}

.frontend-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  max-width: 600px;
  padding: 0;
  background: transparent;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  font-size: 0.8rem;
  font-family: "mono", monospace;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  text-align: center;
}

/* SVG responsiveness */
.specialist-container svg {
  width: 100%;
  height: auto;
  max-width: 280px;
  min-width: 180px;
  transition: opacity 0.2s ease;
}

.specialist-container svg:hover {
  opacity: 0.8;
}

/* Clean grid layout for different screen sizes */
@media (max-width: 1024px) {
  .specialist-container {
    gap: 5rem;
    flex-direction: column;
  }

  .specialist-container svg {
    max-width: 240px;
    order: -1;
  }

  .frontend-skills {
    max-width: 500px;
    order: 1;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.8rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.45rem 0.8rem;
  }
}

@media (max-width: 768px) {
  .specialist-container {
    gap: 3rem;
    padding: 0 2rem;
  }

  .specialist-container svg {
    max-width: 200px;
    min-width: 140px;
  }

  .frontend-skills {
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 0.7rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.7rem;
    border-radius: 1px;
  }
}

@media (max-width: 480px) {
  .specialist-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .specialist-container svg {
    max-width: 160px;
    min-width: 120px;
  }

  .frontend-skills {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.6rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.6rem;
  }
}

@media (max-width: 360px) {
  .specialist-container {
    gap: 1.5rem;
  }

  .specialist-container svg {
    max-width: 140px;
    min-width: 100px;
  }

  .frontend-skills {
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.5rem;
    letter-spacing: 0.3px;
  }
}

/* SVG styling */
.specialist-container svg {
  display: block;
  margin: 0 auto;
}

/* Remove all animations for pure minimalism */
@media (prefers-reduced-motion: no-preference) {
  .badge {
    transition: all 0.15s ease;
  }

  .badge::after {
    transition: width 0.2s ease;
  }
}

/* Focus states for accessibility */
.badge:focus {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.badge:focus:not(:focus-visible) {
  outline: none;
}

/* Skills Section */

/* Minimalist Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem;
  transition: background 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 300px;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.skill-item:last-child {
  border-right: none;
}

.skill-item:nth-last-child(-n + 3) {
  border-bottom: none;
}

.skill-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.skill-item-svg {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.skill-item-svg svg {
  width: 60px;
  height: 60px;
}

.skill-name {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  opacity: 1;
  margin-bottom: 0;
  font-family: "mono", monospace;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.skill-description {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.6;
  opacity: 1;
  font-weight: 300;
  font-family: "content";
  max-width: 100%;
  margin: 0;
}

/* Remove the label as it's not needed in minimal design */
.skills-label {
  display: none;
}

/* Tablet styles (1024px and below) */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
  }

  .skill-item {
    padding: 3rem 1.5rem;
    min-height: 280px;
  }

  .skill-name {
    font-size: 1rem;
  }

  .skill-description {
    font-size: 0.8rem;
  }

  .skill-item-svg svg {
    width: 50px;
    height: 50px;
  }
}

/* Mobile styles (768px and below) */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .skill-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    min-height: 200px;
  }

  .skill-item:last-child {
    border-bottom: none;
  }

  .skill-name {
    font-size: 0.95rem;
  }

  .skill-description {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .skill-item-svg {
    margin-bottom: 1rem;
  }

  .skill-item-svg svg {
    width: 45px;
    height: 45px;
  }
}

/* Small mobile styles (480px and below) */
@media (max-width: 480px) {
  .skill-item {
    padding: 2rem 1.5rem;
    min-height: 180px;
  }

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

  .skill-name {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
  }

  .skill-description {
    font-size: 0.75rem;
    line-height: 1.8;
  }

  .skill-item-svg svg {
    width: 40px;
    height: 40px;
  }
}

/* Extra small mobile styles (360px and below) */
@media (max-width: 360px) {
  .skill-item {
    padding: 1.5rem 1rem;
    min-height: 160px;
  }

  .skill-name {
    font-size: 0.85rem;
  }

  .skill-description {
    font-size: 0.7rem;
  }

  .skill-item-svg svg {
    width: 35px;
    height: 35px;
  }
}

.split-animation-style {
  will-change: transform;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.contact-input,
.contact-textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.contact-textarea {
  min-height: 100px;
  resize: vertical;
}

/* projects */

/* Minimalist Projects Section */
.section-project {
  display: flex;
  flex-direction: column;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 0;
}

.project-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2.5rem;
  transition: background 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
}

.project-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.project-item:last-child,
.project-item:nth-last-child(2) {
  border-right: none;
}

.project-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

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

.project-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  font-family: "mono", monospace;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
}

.project-stack {
  color: #666;
  font-size: 0.75rem;
  font-family: "mono", monospace;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.project-desc {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 1;
  font-weight: 300;
  font-family: "content";
  flex-grow: 1;
}

.project-buttons {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  align-items: center;
}

.project-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: "mono", monospace;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.project-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.project-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.project-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.project-button:hover::before {
  left: 100%;
}

.project-button:hover::after {
  width: 100%;
}

.project-button:active {
  transform: translateY(0);
}

.project-button a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.project-button:focus {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
}

.project-button:focus:not(:focus-visible) {
  outline: none;
}

.external-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.external-link-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Tablet styles (1024px and below) */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .project-item {
    padding: 3.5rem 2rem;
    min-height: 320px;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-desc {
    font-size: 0.8rem;
  }

  .project-buttons {
    gap: 1.5rem;
  }
}

/* Mobile styles (768px and below) */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    min-height: 280px;
  }

  .project-item:last-child {
    border-bottom: none;
  }

  .project-title {
    font-size: 1rem;
  }

  .project-stack {
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .project-desc {
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .project-buttons {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .project-button {
    font-size: 0.7rem;
    padding: 0.45rem 0.8rem;
  }
}

/* Small mobile styles (480px and below) */
@media (max-width: 480px) {
  .project-item {
    padding: 2.5rem 1.5rem;
    min-height: 250px;
  }

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

  .project-title {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
  }

  .project-stack {
    font-size: 0.65rem;
    margin-bottom: 0.8rem;
  }

  .project-desc {
    font-size: 0.75rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
  }

  .project-buttons {
    gap: 0.8rem;
  }

  .project-button {
    font-size: 0.65rem;
    padding: 0.4rem 0.7rem;
    letter-spacing: 0.3px;
  }
}

/* Extra small mobile styles (360px and below) */
@media (max-width: 360px) {
  .project-item {
    padding: 2rem 1rem;
    min-height: 220px;
  }

  .project-title {
    font-size: 0.9rem;
  }

  .project-stack {
    font-size: 0.6rem;
  }

  .project-desc {
    font-size: 0.7rem;
  }

  .project-button {
    font-size: 0.6rem;
    padding: 0.35rem 0.6rem;
  }
}

/* Footer */
/* Minimalist Contact Section */
.section:has(.contact-form) {
  border-bottom: none;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: "mono", monospace;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.contact-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.4s ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.contact-link:hover::before {
  left: 100%;
}

.contact-link:hover::after {
  width: 100%;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-input,
.contact-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 1rem 0;
  font-size: 0.85rem;
  font-family: "mono", monospace;
  transition: all 0.3s ease;
  resize: none;
  outline: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.contact-input:focus,
.contact-textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.5);
  padding-left: 0.5rem;
}

.contact-textarea {
  min-height: 120px;
  font-family: "content", sans-serif;
  line-height: 1.6;
}

.form-submit {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: "mono", monospace;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.form-submit:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.form-submit:hover::before {
  left: 100%;
}

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

#form-status {
  font-size: 0.75rem;
  font-family: "mono", monospace;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Enhanced Footer */
.footer {
  padding: 6rem 4rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: footerGlow 3s ease-in-out infinite alternate;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-signature {
  font-size: 0.7rem;
  color: #666;
  font-family: "mono", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-center {
  text-align: center;
}

.footer-text {
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 1px;
  font-family: "mono", monospace;
  text-transform: uppercase;
  opacity: 1;
  position: relative;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.scroll-top {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}

.scroll-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.4s ease;
}

.scroll-top:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.scroll-top:hover::before {
  left: 100%;
}

@keyframes footerGlow {
  0% {
    opacity: 0.2;
    transform: translateX(-100%);
  }
  100% {
    opacity: 0.6;
    transform: translateX(100%);
  }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 600px;
  }

  .footer-content {
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .footer-left {
    order: 2;
  }

  .footer-right {
    order: 1;
    justify-content: flex-start;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-container {
    gap: 2rem;
  }

  .contact-links {
    gap: 0.8rem;
  }

  .contact-link {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
  }

  .contact-form {
    gap: 1.2rem;
  }

  .contact-input,
  .contact-textarea {
    font-size: 0.8rem;
    padding: 0.8rem 0;
  }

  .form-submit {
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
  }

  .footer {
    padding: 4rem 2rem 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    order: 0;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0 1rem;
  }

  .contact-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.65rem;
  }

  .contact-input,
  .contact-textarea {
    font-size: 0.75rem;
  }

  .form-submit {
    padding: 0.5rem 1.2rem;
    font-size: 0.65rem;
  }

  .footer {
    padding: 3rem 1.5rem 2rem;
  }

  .footer-text {
    font-size: 0.7rem;
  }

  .scroll-top {
    width: 35px;
    height: 35px;
    font-size: 0.7rem;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 6rem 3rem;
    gap: 1.5rem;
  }

  .section-container {
    max-width: 900px;
    gap: 20px;
  }

  .section-description {
    max-width: 700px;
    font-size: clamp(0.9rem, 2.2vw, 1.2rem);
    margin-bottom: 3rem;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .section {
    padding: 4rem 2rem;
    min-height: auto;
    gap: 1rem;
  }

  .section-container {
    max-width: 100%;
    gap: 15px;
  }

  .section-title {
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    margin-bottom: 15px;
  }

  .section-description {
    max-width: 100%;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.7;
  }
}

/* Small mobile styles */
@media (max-width: 480px) {
  .section {
    padding: 3rem 1.5rem;
  }

  .section-description {
    font-size: clamp(0.85rem, 4.5vw, 1rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

canvas {
  display: block;
}

/* Reduce motion for users who prefer it */

/* GPU acceleration hints */
