.caveatedFont {
    font-family: 'Caveat', cursive;
    color: #ef4c23;
    /* Using secondary brand color */
}

/* Custom premium design system variables */
:root {
    --primary: #ef4c23;
    /* Crimson Red */
    --secondary: #ef4c23;
    /* Forest Green */
    --dark: #0d121c;
    /* Midnight Navy/Slate */
    --surface: #f8fafc;
    /* Clean background slate-50 */
    --text-muted: #64748b;
    /* Slate-500 */
    --gold: #d4af37;
    /* Luxury Gold Accent */
}

body {
    background-color: var(--surface);
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism navbar styling */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 18, 28, 0.06);
}

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

.glass-card-dark {
    background: rgba(13, 18, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom text cursor and cycling animations */
.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--primary);
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

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

/* Reveal direction modifiers */
.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-left.reveal-visible,
.reveal-right.reveal-visible {
    transform: translateX(0);
}

.reveal-scale.reveal-visible {
    transform: scale(1);
}

/* Premium Card hover effects */
.premium-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 18, 28, 0.06);
    border-color: rgba(239, 76, 35, 0.15);
}

/* Button enhancements */
.btn-premium-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(239, 76, 35, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-primary:hover {
    background-color: #cf3e1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 76, 35, 0.35);
}

.btn-premium-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(239, 76, 35, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium-secondary:hover {
    background-color: #cf3e1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 76, 35, 0.35);
}

/* Gradient effects */
.bg-gradient-luxury {
    background: linear-gradient(135deg, #0d121c 0%, #1e293b 100%);
}

.text-gradient-brand {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: rgba(239, 76, 35, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Custom layout features */
.project-filter-btn {
    transition: all 0.3s ease;
}

.project-filter-btn.active {
    background-color: var(--secondary);
    color: white;
}

/* Auto-scrolling Carousel utilities */
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Logo Rotate on Nav Hover */
.logo-animate {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo-parent:hover .logo-animate {
    transform: rotateY(360deg);
}

/* Glow highlights */
.glow-primary {
    box-shadow: 0 0 40px rgba(239, 76, 35, 0.1);
}

.glow-secondary {
    box-shadow: 0 0 40px rgba(239, 76, 35, 0.1);
}