/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;900&display=swap');

/* Font Families */
body {
  font-family: 'Inter', sans-serif;
  background-color: #fffdf7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

/* Brutalist Shadow Utilities */
.brutal-shadow {
  box-shadow: 4px 4px 0px 0px #000000;
}

.brutal-shadow-sm {
  box-shadow: 2px 2px 0px 0px #000000;
}

.brutal-shadow-lg {
  box-shadow: 6px 6px 0px 0px #000000;
}

.brutal-shadow-xl {
  box-shadow: 8px 8px 0px 0px #000000;
}

/* Brutalist Button Hover Effect */
.brutal-btn {
  transition: all 0.15s ease;
}

.brutal-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px #000000;
}

.brutal-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 0px #000000;
}

/* Brutalist Card Hover Effect */
.brutal-card {
  transition: all 0.2s ease;
}

.brutal-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px 0px #000000;
}

/* Background Grid Pattern */
.bg-grid-pattern {
  background-image: linear-gradient(#000000 1px, transparent 1px), 
                    linear-gradient(90deg, #000000 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  opacity: 0.03;
}

/* Rotation Utilities */
.rotate-n-3 { 
  transform: rotate(-3deg); 
}

.rotate-n-2 { 
  transform: rotate(-2deg); 
}

.rotate-n-1 { 
  transform: rotate(-1deg); 
}

.rotate-1 { 
  transform: rotate(1deg); 
}

.rotate-2 { 
  transform: rotate(2deg); 
}

.rotate-3 { 
  transform: rotate(3deg); 
}

/* Text Selection */
::selection {
  background-color: #ffc0cb;
  color: #000000;
}

::-moz-selection {
  background-color: #ffc0cb;
  color: #000000;
}

/* Brutal Badge */
.brutal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 2px solid #000000;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Brutal Input */
.brutal-input {
  border: 2px solid #000000;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

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

/* Brutal Details/Accordion */
details.brutal-details {
  border: 2px solid #000000;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 4px 4px 0px 0px #000000;
  transition: all 0.2s ease;
}

details.brutal-details[open] {
  background-color: #fef08a;
}

details.brutal-details summary {
  cursor: pointer;
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  list-style: none;
}

details.brutal-details summary::-webkit-details-marker {
  display: none;
}

/* Brutal Link */
.brutal-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.brutal-link:hover {
  text-underline-offset: 6px;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

/* Utility: Sticky Header Padding */
.sticky-header-padding {
  padding-top: 5rem;
}