:root {
  --bg: #fafaf9;
  --black: #0f0f0f;
  --yellow: #ffd43b;
  --pink: #ff6b9d;
  --blue: #4dabf7;
  --green: #51cf66;
  --purple: #9775fa;
  --orange: #ff922b;
  --red: #ff6b6b;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--black);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* === BRUTAL COMPONENTS === */

.brutal-shadow {
  box-shadow: 6px 6px 0px 0px var(--black);
}

.brutal-shadow-sm {
  box-shadow: 4px 4px 0px 0px var(--black);
}

.brutal-shadow-lg {
  box-shadow: 8px 8px 0px 0px var(--black);
}

.brutal-card {
  background: white;
  border: 3px solid var(--black);
  border-radius: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.brutal-card:hover {
  transform: translate(-2px, -2px);
}

.brutal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 3px solid var(--black);
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}

.brutal-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px 0px var(--black);
}

.brutal-btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.brutal-btn.btn-black {
  background: var(--black);
  color: white;
}

.brutal-btn.btn-white {
  background: white;
  color: var(--black);
}

.brutal-btn.btn-pink {
  background: var(--pink);
  color: white;
}

.brutal-btn.btn-green {
  background: var(--green);
  color: white;
}

.brutal-btn.btn-blue {
  background: var(--blue);
  color: white;
}

/* Badge */
.brutal-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 2px solid var(--black);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Skill Tag */
.skill-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 2.5px solid var(--black);
  background: white;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.skill-tag:hover {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 3px 3px 0px var(--black);
}

/* Input */
.brutal-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 3px solid var(--black);
  background: white;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.brutal-input:focus {
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px var(--black);
}

/* Navbar */
nav.navbar {
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--black);
}

/* Hero Wave Animation */
@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(-20deg);
  }
}

.wave {
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

/* Float Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Section Decorations */
.section-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--black);
  margin-right: 0.75rem;
  transform: rotate(45deg);
}

/* Project Card Styles */
.project-card {
  background: white;
  border: 3px solid var(--black);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.project-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px var(--black);
}

.project-img {
  height: 220px;
  overflow: hidden;
  border-bottom: 3px solid var(--black);
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1) rotate(2deg);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
  border-left: 3px solid var(--black);
}

.timeline-item:last-child {
  border-left: 3px dashed #ccc;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 50%;
}

/* Swiper Custom */
.swiper {
  padding: 2rem 0 3rem 0 !important;
}

.swiper-slide {
  width: 360px !important;
  height: auto;
}

@media (max-width: 640px) {
  .swiper-slide {
    width: 300px !important;
  }
}

/* Mobile Menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .brutal-shadow {
    box-shadow: 4px 4px 0px 0px var(--black);
  }

  .brutal-shadow-lg {
    box-shadow: 5px 5px 0px 0px var(--black);
  }

  h1 {
    font-size: 2.25rem !important;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--yellow);
  color: var(--black);
  padding: 8px;
  text-decoration: none;
  border: 2px solid var(--black);
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Profile Pattern */
.profile-bg-pattern {
  background-color: var(--blue);
  background-image: radial-gradient(rgba(0, 0, 0, 0.15) 2px, transparent 2px);
  background-size: 20px 20px;
}
