/**
 * TYPO3 Specialist - Main Stylesheet
 * Additional custom styles beyond Tailwind
 */


:root {
    --color-teal-400: #2DD4BF;
    --color-teal-500: #14B8A6;
    --color-teal-600: #0D9488;
    --color-gold-400: #D4A853;
    --color-navy-900: #0A1628;
    --color-navy-950: #060D18;
    --transition-standard: all 0.3s ease-in-out;
}

/* Enhanced forms */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-teal-500) !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Smooth transitions */
a,
button {
    transition: var(--transition-standard);
}

/* Link hover effects */
a {
    position: relative;
}

/* Custom scrollbar styling for better UX */
::-webkit-scrollbar-thumb:active {
    background: #234278;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .glow-teal {
        box-shadow: 0 0 30px -6px rgba(20, 184, 166, 0.5);
    }
    
    .border-white\/5 {
        border-color: rgba(255, 255, 255, 0.15);
    }
}

/* Modal animations */
.news-modal {
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.news-modal:not(.hidden) {
    animation: modalFadeIn 0.3s ease;
}

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

/* Modal content animation */
#modalContent {
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.frame {  
  padding: 6rem;
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
  color: var(--color-navy-900);
}

/* md breakpoint: 768px */
@media (min-width: 768px) {
  .frame {
    padding: 8rem;
  }
}

/* news modal */
#news-bodytext h2, .frame h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

@media (max-width: 767px) {
    #news-bodytext h2 {
        font-size: 1.2rem;
    }
}

#news-bodytext h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 767px) {
    #news-bodytext h3 {
        font-size: 1.15rem;
    }
}

#cases .frame {
    color: #ffffff;
}

#news-bodytext {
    color: var(--color-navy-900);
}