/* Custom Styles for patrickfranke.de */

/* Custom Smooth Scroll & Font Utilities */
html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Glassmorphism & Custom Glows */
.glass-header {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ambient-bg {
  background: radial-gradient(circle at 80% 10%, rgba(251, 243, 219, 0.6) 0%, rgba(250, 248, 245, 1) 60%);
}

/* Monogram Logo Badge */
.brand-monogram {
  background: linear-gradient(135deg, #1C1917 0%, #44403C 100%);
  color: #FAF8F5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #D6D3D1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A8A29E;
}

/* Lightbox Modal Animation */
#lightbox-modal.active {
  display: flex !important;
  animation: fadeIn 0.25s ease-out forwards;
}

#lightbox-modal .modal-content {
  transform: scale(0.95);
  transition: transform 0.25s ease-out;
}

#lightbox-modal.active .modal-content {
  transform: scale(1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Accordion Smooth Chevron Rotation */
.chevron-rotate {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.chevron-rotate.active {
  transform: rotate(180deg);
}

/* Case Study Filter Tabs Transition */
.case-card {
  transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s ease;
}
.case-card.hidden-filter {
  display: none !important;
}

/* Toast Notification Animation */
.toast-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Print Stylesheet for Executive Resume Generation */
@media print {
  body {
    background: #ffffff !important;
    color: #1c1917 !important;
    font-size: 11pt;
  }
  
  .fixed, header, footer, #contact-modal, #lightbox-modal, .no-print {
    display: none !important;
  }
  
  main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  section {
    page-break-inside: avoid;
    margin-bottom: 1.5rem !important;
  }

  .shadow-sm, .shadow-md {
    box-shadow: none !important;
    border: 1px solid #e7e5e4 !important;
  }

  .accordion-content {
    display: block !important;
  }

  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #57534e;
  }

  a[href^="#"]:after, a[href^="javascript:"]:after {
    content: "";
  }
}
