/* ==========================================================================
   Teymensel / Portfolio - Global Design System & Stylesheet (PHP Version)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fira+Code:wght@500;600;700&display=swap');

/* --- HIDE SCROLLBAR UTILITY --- */
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* --- BIYOGRAFI 4.0.0 ELEGANT SHAPE FLOAT ANIMATIONS --- */
@keyframes shapeFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(15px);
  }
}

.animate-shape-float {
  animation: shapeFloat 12s ease-in-out infinite;
}

@keyframes linePulse {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

.animate-line-pulse {
  stroke-dasharray: 8 8;
  animation: linePulse 3s linear infinite;
}

/* --- MONOCHROME DARK THEME DEFAULTS --- */
:root, .dark {
  --radius: 0.75rem;
  --background: 0 0% 1.5%;             /* AMOLED Dark #040404 */
  --foreground: 0 0% 98%;               /* Off-white */
  --card: 0 0% 5%;                      /* HEX #0d0d0d */
  --card-foreground: 0 0% 98%;          /* Off-white */
  --popover: 0 0% 7%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 0% 98%;                  /* White */
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 12%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 12%;
  --muted-foreground: 217.9 10.6% 64.9%;
  --accent: 0 0% 12%;
  --accent-foreground: 0 0% 98%;
  --border: 0 0% 16%;                   /* Subtle Dark Border */
  --input: 0 0% 16%;
  --ring: 0 0% 98%;
}

html, body {
  background-color: #0a0a0a !important;
  color: #f3f4f6 !important;
  overflow-x: hidden !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header & Glass Card Overrides */
#main-header {
  background-color: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.bg-card, [class*="bg-card"], [data-slot="card"] {
  background-color: #111111 !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

input[data-slot="input"], textarea[data-slot="textarea"] {
  background-color: #1a1a1a !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Toast Notifications System */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  background-color: #161616;
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Floating Animation Utility */
@keyframes shapeFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

.shape-float {
  animation: shapeFloat 8s ease-in-out infinite;
}

/* Modal Overlay & Modal Window */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 32rem;
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}
