/* Custom Architectural Styling for Hexafly Doors & Windows */

:root {
  --color-primary: #162839;
  --color-primary-container: #2c3e50;
  --color-secondary: #595f63;
  --color-tertiary: #002942;
  --color-accent: #2980b9;
  --color-surface: #f9f9f9;
  --color-border: #c4c6cd;
}

/* Blueprint Grid Background */
.bg-blueprint-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(116, 119, 125, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(116, 119, 125, 0.08) 1px, transparent 1px);
}

.bg-blueprint-dark {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f3f4;
}

::-webkit-scrollbar-thumb {
  background: #74777d;
}

::-webkit-scrollbar-thumb:hover {
  background: #162839;
}

/* Precision Sharp Layout Details */
.sharp-border {
  border-radius: 0 !important;
}

/* Smooth Focus States */
input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: #162839 !important;
  box-shadow: 0 0 0 1px #162839 !important;
}

/* Toast Notifications */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #162839;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-left: 4px solid #2980b9;
  animation: slideIn 0.3s ease-out forwards;
  min-width: 320px;
  max-width: 480px;
}

.toast-message.toast-error {
  border-left-color: #ba1a1a;
}

.toast-message.toast-success {
  border-left-color: #10b981;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Project Card Hover Transitions */
.project-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* Print Styles */
@media print {
  header, footer, #toastContainer, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
