@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Typography Defaults & Settings */
:root {
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Logo Colors */
    --color-brand-blue: #0F82C5;
    --color-brand-green: #7BC143;
    
    /* Base Scheme */
    --color-deep-charcoal: #111111;
    --color-black: #080808;
    --color-warm-white: #F7F5F0;
    --color-concrete-gray: #6B7280;
}

/* Global Reset */
html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
}

body {
    background-color: var(--color-black);
    color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-black);
}
::-webkit-scrollbar-thumb {
    background: #2D2D2D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-brand-blue);
}

/* Accessibility: Focus Indicators */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-brand-blue);
    outline-offset: 4px;
}

/* Premium Animations */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-out infinite alternate;
}

/* Scroll reveal helpers */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered transition delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Image reveal overlay animation */
.reveal-image-container {
    position: relative;
    overflow: hidden;
}

.reveal-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-brand-blue);
    transform: translateX(-101%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.reveal-image-container.active::after {
    transform: translateX(101%);
}

.reveal-image-container img {
    opacity: 0;
    transition: opacity 0.1s ease 0.3s;
}

.reveal-image-container.active img {
    opacity: 1;
}

/* Glassmorphism Classes */
.glass-nav {
    background-color: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Project Hover Zoom Overlay */
.project-card-overlay {
    background: linear-gradient(to top, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.4) 60%, rgba(8, 8, 8, 0) 100%);
}

/* FAQ Accordion Styling */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-brand-blue);
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal, .reveal-image-container::after, .reveal-image-container img, .animate-slow-zoom {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
