/* Additional custom styles beyond Tailwind */
:root {
    --plum-light: #fdf4f8;
    --plum-main: #ec4899;
    --plum-dark: #9d174d;
    --amber-light: #fef3c7;
    --amber-main: #f59e0b;
    --amber-dark: #b45309;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--plum-main);
    outline-offset: 2px;
}

/* Custom selection color */
::selection {
    background-color: var(--plum-main);
    color: white;
}

/* Subtle pattern overlay for sections */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(236, 72, 153, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--amber-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(157, 23, 77, 0.15);
}

/* Button pulse animation */
@keyframes pulse-soft {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }
}

.btn-pulse {
    animation: pulse-soft 2s infinite;
}

/* Scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive typography scaling */
@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .font-serif {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (min-width: 1025px) {
    .font-serif {
        font-size: clamp(3rem, 5vw, 5rem);
    }
}
