/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #f97316;
    --primary-hover: #ea580c;
}

/* Theme variables */
body.theme-dark {
    --bg-primary: #111111;
    --bg-secondary: #181818;
    --bg-tertiary: #1f1f1f;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --border-color: #2e2e2e;
    --heading-accent: #f97316;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.theme-light {
    --bg-primary: #f3f4f6;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e5e7eb;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --border-color: #cbd5e1;
    --heading-accent: #ea580c;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    scroll-behavior: smooth;
}

/* Headings mix with orange accent */
h1, h2 {
    color: var(--text-primary);
}
h2 {
    position: relative;
    padding-bottom: 8px;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}
.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Micro-animations and utility classes */
.hover-lift {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* Styles to blend tailwind borders with custom theme variable */
.border-theme {
    border-color: var(--border-color) !important;
}
.bg-theme-secondary {
    background-color: var(--bg-secondary) !important;
}
.bg-theme-tertiary {
    background-color: var(--bg-tertiary) !important;
}
.text-theme-secondary {
    color: var(--text-secondary) !important;
}
.text-theme-primary {
    color: var(--text-primary) !important;
}

/* Fix placeholders contrast in light mode */
input::placeholder, textarea::placeholder {
    color: var(--text-secondary) !important;
    opacity: 0.7;
}

/* Highlight style */
.highlight-orange {
    color: var(--primary) !important;
}
