/* --- 1. HEADER LOGO (Small, Static, Clean) --- */
#logo-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0;
    transform: scale(0.9); /* Adjust this to fit your nav height */
}

/* Dark Grey Triangle */
#triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 56px solid #000000;
    margin-right: -32px; /* Pulls the shapes together */
    position: relative;
    z-index: 1;
}

/* Turquoise Gem with Two Lines */

#shape {
    width: 60px;
    height: 56px;
    background-color: #46b4b1;
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 50% 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Two White Crosslines (Fixed) */
#shape::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 35%,
        rgba(255, 255, 255, 0.4) 35%,
        rgba(255, 255, 255, 0.4) 38%,
        transparent 38%,
        transparent 45%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.4) 48%,
        transparent 48%
    );
}

/* --- 2. PRELOADER LOGO (Large, Pulsing, Sweeping Gloss) --- */
#aylum-logo-container {
    display: flex;
    align-items: flex-end;
    gap: 0;
    margin-bottom: 40px;
    animation: preloaderPulse 3s ease-in-out infinite;
}

/* Large Dark Grey Triangle */
#aylum-left-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid #3d464d;
    margin-right: -24px;
    position: relative;
    z-index: 1;
}

/* Large Turquoise Gem */
#aylum-right-gem {
    width: 60px;
    height: 60px;
    background-color: #46b4b1;
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 50% 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(70, 180, 177, 0.5));
}

/* Two White Crosslines (Sweeping Animation) */
#aylum-right-gem::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 200%; 
    height: 200%; /* Larger to allow for movement */
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.6) 10px,
        rgba(255, 255, 255, 0.6) 12px,
        transparent 12px,
        transparent 20px,
        rgba(255, 255, 255, 0.6) 20px,
        rgba(255, 255, 255, 0.6) 22px,
        transparent 22px,
        transparent 100px
    );
    animation: gloss-sweep 4s ease-in-out infinite;
}

/* Animations for Preloader Only */
@keyframes preloaderPulse {
    0%, 100% {
        transform: scale(1); 
        filter: brightness(1); 
    }
    50% { 
        transform: scale(1.08); 
        filter: brightness(1.2); 
    }
}

@keyframes gloss-sweep {
    0% { 
        transform: translate(-70%, -70%); 
        opacity: 0; 
    }

    20% { 
        opacity: 1; 
    }
    50%, 100% { 
        transform: translate(20%, 20%); opacity: 0; 
    }
}



html {
    scroll-behavior: smooth;
}

/* Optional: Custom Scrollbar to match your Teal theme */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #000; 
}
::-webkit-scrollbar-thumb {
    background: #46B4B1; 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3da3a0; 
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}