/* Explain: Base reset, typography defaults, and animation utilities */
* {
    box-sizing: border-box;
}

html {
    background-color: var(--background-color);
    background-image: radial-gradient(circle at 15% 50%, rgba(196, 162, 101, 0.06), transparent 30%), radial-gradient(circle at 85% 30%, rgba(30, 58, 138, 0.04), transparent 30%);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: transparent !important;
    font-weight: 300;
}

/* Override bold fonts for a thinner, elegant layout */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300 !important;
}

.font-bold, .font-extrabold {
    font-weight: 400 !important;
}

/* Premium advanced CSS classes - Glassmorphism */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none;
    box-shadow: 0 10px 40px -10px rgba(31, 38, 135, 0.1);
}

.glass-textured {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"), rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Micro-animations & Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(12px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease-out;
}
.scroll-reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.perspective-1000 {
    perspective: 1000px;
}

.fancy-pin {
    border-radius: 50% 50% 50% 0;
    border: 3px solid white;
    width: 36px;
    height: 36px;
    transform: rotate(-45deg);
    box-shadow: -2px 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.fancy-pin:hover {
    transform: rotate(-45deg) scale(1.2) translateY(-4px);
    box-shadow: -4px 8px 16px rgba(0,0,0,0.4);
    z-index: 1000 !important;
}
.fancy-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 15px;
}
