/* ============= Premium Personal Brand Stylesheet ============= */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #030f20;
    background-image:
        radial-gradient(at 20% 30%, rgba(42, 93, 143, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 70%, rgba(212, 175, 55, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

/* ============= Hero Background ============= */
.hero-bg {
    background:
        radial-gradient(ellipse at top left, rgba(42, 93, 143, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #030f20 0%, #0a2549 50%, #030f20 100%);
}

.wave-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cpath d='M0 300 Q 300 200 600 300 T 1200 300' stroke='%23d4af37' stroke-width='1' fill='none' opacity='0.3'/%3E%3Cpath d='M0 350 Q 300 250 600 350 T 1200 350' stroke='%23d4af37' stroke-width='0.5' fill='none' opacity='0.2'/%3E%3Cpath d='M0 250 Q 300 150 600 250 T 1200 250' stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.1'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

/* ============= Navigation ============= */
#navbar {
    backdrop-filter: blur(0);
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(6, 26, 53, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #030f20;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37 0%, #a87a1f 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e3cf7b 0%, #d4af37 100%);
}

/* ============= Text Selection ============= */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #ffffff;
}

/* ============= Glass Effect ============= */
.glass {
    background: rgba(15, 53, 97, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ============= Hover Effects ============= */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

/* ============= Decorative Elements ============= */
.deco-line {
    position: relative;
}

.deco-line::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    width: 1rem;
    height: 1px;
    background: #d4af37;
}

/* ============= Image Effects ============= */
img {
    user-select: none;
    -webkit-user-drag: none;
}

img[alt*="Mandy"] {
    object-position: center top;
}

/* ============= AOS customizations ============= */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

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

.gold-pulse {
    animation: gold-pulse 2s infinite;
}

/* ============= Float Animation ============= */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* ============= Mobile optimizations ============= */
@media (max-width: 768px) {
    .font-serif-cn {
        line-height: 1.2;
    }
}

/* ============= Print styles ============= */
@media print {
    .no-print,
    nav,
    footer,
    #back-to-top {
        display: none !important;
    }
}

/* ============= Loading state ============= */
.page-loading {
    position: fixed;
    inset: 0;
    background: #030f20;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.page-loading.hidden {
    opacity: 0;
    pointer-events: none;
}
