/* Text shadow utility */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Fade in down animation */
@keyframes fade-in-down {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fade-in-down 0.8s ease-out;
}

/* Hover scale effect */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Active link styling */
.nav-link {
    position: relative;
}

.nav-link.active {
    color: #dc2626; /* red-600 */
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #dc2626;
}

/* Primary CTA Button */
.cta-primary {
    background-color: #dc2626; /* red-600 */
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-primary:hover {
    background-color: #b91c1c; /* red-700 */
}

/* Secondary CTA Button */
.cta-secondary {
    border: 2px solid #dc2626; /* red-600 */
    color: #dc2626;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background-color: #dc2626;
    color: white;
}

/* Header animation */
.animate-header {
    animation: slide-in-fade 1s ease-out;
    position: relative;
    display: inline-block;
}

@keyframes slide-in-fade {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative underline */
.animate-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ef4444, #dc2626);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s ease;
}

.animate-header:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Text gradient effect */
.gradient-text {
    background: linear-gradient(90deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}