/* Custom Styles for Kathy's Korner */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #060a14;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #D4AF37, #14b8a6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FCD34D, #2dd4bf);
}

/* Selection Color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* Gold Gradient Text Utility */
.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #FCD34D 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Teal Gradient Text Utility */
.teal-gradient {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reveal Animation - Progressive Enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

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

/* Fallback: content always visible if JS is disabled */
.reveal {
    opacity: 1;
    transform: none;
}

/* Navbar Glass Effect Enhancement */
#navbar nav div {
    transition: all 0.3s ease;
}

/* Button Hover Effects */
a[href^="tel:"], a[href^="mailto:"] {
    text-decoration: none;
}

/* Image Hover Zoom */
img {
    max-width: 100%;
    height: auto;
}

/* Card Hover Glow */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation for Badge */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
}

.animate-pulse {
    animation: pulse-glow 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }

    .font-serif.text-4xl {
        font-size: 2rem;
    }

    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    #navbar,
    .reveal,
    iframe {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
