/* Custom styles for newhorizonaris */
:root {
    --color-primary: #000000;
    --color-secondary: #f59e0b;
    --color-accent: #2563eb;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Custom button hover effects */
.btn-primary {
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Custom card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Accordion animations */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.open {
    max-height: 200px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-icon.rotate {
    transform: rotate(45deg);
}

/* Form validation styles */
.form-error {
    border-color: #ef4444;
}

.form-success {
    border-color: #10b981;
}

/* Loading animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 300px;
}

/* Cookie banner styles */
#cookie-banner {
    transition: transform 0.3s ease;
}

#cookie-banner.show {
    transform: translateY(0);
}

#cookie-banner.hidden {
    transform: translateY(100%);
}

/* Prose styles for legal pages */
.prose h2 {
    @apply text-2xl font-bold text-gray-900 mt-8 mb-4;
}

.prose h3 {
    @apply text-xl font-semibold text-gray-900 mt-6 mb-3;
}

.prose p {
    @apply text-gray-600 mb-4 leading-relaxed;
}

.prose ul {
    @apply mb-4 pl-6;
}

.prose li {
    @apply text-gray-600 mb-2 list-disc;
}

.prose a {
    @apply text-blue-600 hover:underline;
}

.prose table {
    @apply w-full border-collapse;
}

.prose th {
    @apply bg-gray-50 px-4 py-2 text-left font-medium text-gray-900 border;
}

.prose td {
    @apply px-4 py-2 text-gray-600 border;
}

/* Utility classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-content.open {
        max-height: 300px;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #000000;
        --color-secondary: #000000;
        --color-accent: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}