/* ========================================
   Aunt Nette's — Custom Styles
   Premium Dark Luxury | Teal + Slate + Gold
   ======================================== */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: rgba(212, 160, 23, 0.3);
    color: #f0c850;
}

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid rgba(212, 160, 23, 0.6);
    outline-offset: 2px;
}

/* ========================================
   Navbar
   ======================================== */
#navbar {
    background: transparent;
    transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(6, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.08), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a017, #f0c850);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

.mobile-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.mobile-link:hover {
    padding-left: 12px;
}

/* ========================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible by default)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        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-left {
        opacity: 0;
        transform: translateX(-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-right {
        opacity: 0;
        transform: translateX(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-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

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

/* ========================================
   Button Hover Glow
   ======================================== */
button:hover,
a:hover {
    cursor: pointer;
}

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

/* ========================================
   Subtle gold shimmer on buttons
   ======================================== */
.bg-gradient-to-r.from-gold-400.to-gold-500 {
    background-size: 200% 200%;
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.bg-gradient-to-r.from-gold-400.to-gold-500:hover {
    background-position: 100% 100%;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.3) !important;
}

/* ========================================
   Image lazy-load placeholder
   ======================================== */
img {
    background-color: rgba(15, 23, 42, 0.5);
}

/* ========================================
   Input autofill styling
   ======================================== */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    caret-color: #f0c850;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d9488, #d4a017);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #14b8a6, #f0c850);
}

/* ========================================
   Responsive adjustments
   ======================================== */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.15;
    }
}

/* ========================================
   Print styles
   ======================================== */
@media print {
    body {
        background: white;
        color: black;
    }
    
    nav, footer, button {
        display: none;
    }
}
