/* Base styles for TailwindCSS portfolio */

/* Custom Font Faces */
@font-face {
  font-family: '36Regular';
  src: url('../fonts/MidnightSansRDPro-36Regular.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '12Bold';
  src: url('../fonts/MidnightSansRDPro-12Bold.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Signifier';
  src: url('../fonts/Signifier-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Signifier Italic';
  src: url('../fonts/Signifier-LightItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* Base reset and global styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: '36Regular', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  color: #ff0000;
}

/* Base link styles */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.4s ease;
}

/* Base image styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Custom utility classes that Tailwind doesn't have */
.font-display {
  font-family: '12Bold', sans-serif;
  text-transform: uppercase;
}

.font-serif {
  font-family: 'Signifier', serif;
}

.font-serif-italic {
  font-family: 'Signifier Italic', serif;
  font-style: italic;
}

/* Arrow icon SVG styling */
.arrow-icon {
  fill: none;
  stroke: #ff0000;
  stroke-width: px;
  transition: all 0.3s ease;
}

.arrow-icon-sm {
  width: 1.2rem;
  height: 1.2rem;
}

.arrow-icon-lg {
  width: 10rem;
  height: 10rem;
}

/* Hover effects for project cards */
.project-card {
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.5s ease;
}

.project-card:hover {
  background-size: auto 110%;
}

/* Mobile menu animations */
.hamburger span {
  display: block;
  width: 32px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.4s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  right: -100%;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Page Load Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations */
body {
  animation: fadeIn 0.6s ease-out;
}

.hero {
  animation: slideUp 0.8s ease-out 0.2s both;
}

section:not(.hero) {
  animation: fadeIn 0.6s ease-out 0.4s both;
}

/* Nav link hover animation removed per user request */
/* .nav-link was previously here */
