/* Base styles */
:root {
  --primary: #d35400; /* Logo orange/rust color */
  --primary-hover: #a04000; /* Darker shade of the orange */
  --primary-light: #ffeee4; /* Very light orange for backgrounds */
  --primary-foreground: #ffffff;
  --secondary: #e5e5e5; /* Light gray */
  --secondary-light: #f8f9fa; /* Very light gray for backgrounds */
  --secondary-dark: #bdc3c7; /* Medium gray from logo (50% lighter) */
  --secondary-foreground: #2c3e50; /* Dark gray for text */
  --muted: #8d8899; /* Medium gray */
  --muted-background: #f4f6f7; /* Very light gray background */
  --border: #bdc3c7; /* Light border color */
  --radius: 0.5rem;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: #0f172a;
  line-height: 1.5;
  background-color: var(--secondary-light);
}

/* Layout */
.flex-col {
  display: flex;
  flex-direction: column;
}

.min-h-screen {
  min-height: 100vh;
}

.flex-1 {
  flex: 1 1 0%;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.min-w-200 {
  min-width: 200px;
}

/* Spacing */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.p-8 {
  padding: 2rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pl-5 {
  padding-left: 1.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

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

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted);
}

.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;
}

/* Borders */
.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-full {
  border-radius: 9999px;
}

/* Flexbox */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.shrink-0 {
  flex-shrink: 0;
}

/* Grid */
.grid {
  display: grid;
}

/* Background */
.bg-white {
  background-color: var(--primary-foreground);
}

.bg-muted {
  background-color: var(--primary-foreground);
  color: var(--secondary-foreground);
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Lists */
.list-disc {
  list-style-type: disc;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

/* Social buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition: background-color 0.2s;
}

.linkedin-btn {
  background-color: #0077b5;
  color: white;
}

.linkedin-btn:hover {
  background-color: #005885;
}

.github-btn {
  background-color: #333;
  color: white;
}

.github-btn:hover {
  background-color: #000;
}

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

.primary-btn:hover {
  background-color: var(--primary-hover);
}

/* Skill tags */
.skill-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--primary);
}

/* Hover effects */
.hover-primary:hover {
  color: var(--primary);
}

.hover-underline:hover {
  text-decoration: underline;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Responsive */
@media (min-width: 640px) {
  .sm-flex-row {
    flex-direction: row;
  }

  .sm-mt-0 {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .md-flex-row {
    flex-direction: row;
  }

  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-text-2xl {
    font-size: 1.5rem;
  }

  .md-text-6xl {
    font-size: 3.75rem;
  }

  .md-py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .md-mt-0 {
    margin-top: 0;
  }
}

/* Footer styles */
.social-media {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-button {
  transition: transform 0.2s;
}

.social-button:hover {
  transform: scale(1.1);
}

.footer-credits {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-credits a {
  color: var(--primary);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* Profile image container styles */
.profile-image-container {
  padding: 2rem;
  border-radius: var(--radius);
}

.profile-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 3px solid var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Header and Footer styles */
header.border-b {
  background-color: var(--secondary);
  border-bottom-color: var(--primary);
}

footer.border-t {
  background-color: var(--secondary);
  border-top-color: var(--primary);
}
